@import url('https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

:root {
  --blue: #2323e6;
  --navy: #14146b;
  --bg-lavender: #e9ecfb;
  --bg-light: var(--white);
  --text-dark: #171717;
  --text-gray: #8a8a8a;
  --white: #fdfcfb;
  --serif: 'Averia Serif Libre', Georgia, serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--blue);
}

.site-nav {
  display: flex;
  gap: 40px;
  font-size: 1.05rem;
}

.site-nav a {
  color: var(--blue);
  transition: transform 0.1s ease;
}

.site-nav a:hover {
  font-weight: 800;
  transition: font-weight 0.2s
}

.site-nav a.active {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--blue);
  cursor: pointer;
}

/* ---------- Buttons / chips ---------- */

.pill-button {
  display: inline-block;
  background: var(--bg-lavender);
  font-family: "Helvetica Neue";
  color: var(--blue);
  font-weight: 600;
  padding: 18px 23px;
  border-radius: 5px 28px 5px 5px;
  transition: transform 0.15s ease;
}

.pill-button:hover {
  transform: translateY(-2px);
}

.arrow-ne {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.15s ease;
}

.pill-button:hover .arrow-ne {
  transform: rotate(45deg);
}

.pill-row {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 56px;
}

.chip {
  display: inline-block;
  background: var(--bg-light);
  color: var(--navy);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 20px 20px 20px 4px;
  transition: transform 0.15s ease;
}

.chip:hover {
  transform: translateY(-2px);
}

.chip-arrow {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.15s ease;
}

.chip:hover .chip-arrow {
  transform: rotate(45deg);
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--blue);
  font-weight: 400;
}

h1 {
  font-size: 2.75rem;
  margin: 0 0 24px;
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 64px 48px;
  color: var(--blue);
  font-size: 1rem;
  background: var(--white);
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-socials img {
  height: 34px;
  width: auto;
  transition: transform 0.15s ease;
}

.footer-socials a:hover img,
.footer-socials button:hover img {
  transform: scale(1.1);
}

.footer-copy-email {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  line-height: 0;
  cursor: none;
}

/* ---------- Cursor caption (hover pill that follows the mouse) ---------- */

.cursor-caption {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(16px, -50%);
  background: var(--blue);
  color: var(--white);
  font-family: var(--serif);
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 20px 20px 20px 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 1000;
  transition: opacity 0.15s ease;
}

.cursor-caption.visible {
  opacity: 1;
}

@media (pointer: coarse) {
  .footer-copy-email {
    cursor: pointer;
  }

  .cursor-caption {
    display: none;
  }
}

/* ---------- Responsive (shared: layout shell) ---------- */

@media (max-width: 860px) {
  .container {
    padding: 0 24px;
  }

  .site-header {
    padding: 24px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    z-index: 10;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .site-header {
    padding: 16px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .site-footer {
    padding: 48px 20px;
  }

  .pill-row {
    margin-top: 40px;
  }
}
