/* ==========================================================
   Maybe Waybe — landing page
   Desktop values follow the Figma CSS export (1440 frame).
   ========================================================== */

@font-face { font-family: "Onest"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/onest-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/onest-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/onest-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/onest-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/archivo-latin-600-normal.woff2") format("woff2"); }

:root {
  /* colours (Figma styles) */
  --bg: #fff7ff;            /* page */
  --bg-tint: #ffeef9;       /* tinted sections */
  --ink: #000000;           /* H1 */
  --ink-2: #1c1c1c;         /* H2, H3, H4 */
  --brand-ink: #111111;     /* footer wordmark */
  --text: #3c3c3c;          /* body text */
  --muted: #656565;         /* pre title & bottom text */
  --blue: #1b35fe;          /* blue accent */
  --blue-hover: #0e25d6;
  --on-blue: #fdfdfd;       /* button text */

  --gutter: 80px;
  --maxw: 1280px;
  --section-y: 120px;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Onest", system-ui, sans-serif;
  --font-label: "Archivo", "Onest", system-ui, sans-serif;

  /* Photos in assets/ were cut from the design and already include the dark
     right-hand shade. Set to 1 when you swap in raw photo exports from Figma. */
  --photo-shade: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section--tint { background: var(--bg-tint); }
.center { text-align: center; }

/* ---------- Type ---------- */
.eyebrow {                                   /* Pre title & bottom text */
  font-size: 12px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.h2 {                                        /* H3 / Section title */
  font-size: 32px;
  line-height: 41px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}
.eyebrow + .h2 { margin-top: 16px; }
.body { font-size: 16px; line-height: 24px; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 16px 32px;
  border: 0;
  border-radius: 64px;
  background: var(--blue);
  color: var(--on-blue);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--blue-hover); box-shadow: 0 8px 24px -10px rgba(27, 53, 254, .7); }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: default; }
.btn:focus-visible, a:focus-visible, .chip input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.btn--sm { height: 42px; padding: 12px 24px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: relative; z-index: 10; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.nav__logo svg { width: 40px; height: 40px; color: var(--blue); transition: transform .5s ease; }
.nav__logo:hover svg { transform: rotate(72deg); }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.nav__links a:not(.btn):hover { color: var(--blue); }

/* ---------- Hero ----------
   Positions are Figma px ÷ 12.8 (1cqw = 12.8px at the 1280px container). */
.hero { padding: 24px 0 var(--section-y); }
.hero__stage {
  position: relative;
  container-type: inline-size;
}
.hero__art { display: block; }
.hero__art img { width: 100%; height: auto; }
.hero__eyebrow {
  position: absolute;
  top: -0.156cqw;                 /* y 118 */
  left: 0.703cqw;                 /* x 89 */
}
.hero__title {
  position: absolute;
  top: 0.9375cqw;                 /* y 132 */
  left: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero__title span { display: block; line-height: 1.2; }
.hero__title span:first-child { font-size: 10cqw; }       /* 128px */
.hero__title span:last-child { font-size: 7.5cqw; margin-top: -0.625cqw; }   /* 96px */
.hero__lead {
  position: absolute;
  top: 1.797cqw;                  /* y 143 */
  right: 0;
  width: 26.02cqw;                /* 333px */
  text-align: right;
  font-size: clamp(13px, 1.25cqw, 16px);
  line-height: 1.5;
  color: var(--text);
}
.hero__tagline {
  position: absolute;
  top: 39.375cqw;                 /* y 624 */
  right: 65.08cqw;                /* right edge x 527 */
  text-align: right;
  font-size: 3.75cqw;             /* 48px */
  line-height: 4.766cqw;          /* 61px */
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Feature (section-post-intent) ---------- */
.feature { padding: 120px 0; }
.feature__inner {
  display: grid;
  grid-template-columns: 276px 1fr;
  align-items: center;
  column-gap: 200px;
  padding-left: calc(var(--gutter) + 144px);   /* 224px from the edge */
}
.feature__media { position: relative; width: 276px; }
.feature__media img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(120, 40, 110, .12)); }
.feature__spark { position: absolute; color: var(--blue); z-index: 2; }
.feature__spark--lg { width: 127px; height: 127px; top: -77px; right: -77px; animation: twinkle 6s ease-in-out infinite; }
.feature__spark--sm { width: 95px; height: 95px; bottom: -59px; left: -60px; animation: twinkle 6s ease-in-out -3s infinite; }
@keyframes twinkle { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(12deg) scale(1.06); } }
.feature__copy { max-width: 660px; }
.feature__copy .h2 { margin-top: 16px; }
.feature__copy .body { margin-top: 16px; }

/* ---------- Steps (section-friends-matching) ---------- */
.steps { padding: 120px 0; }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 247, 255, .32) 22.73%, rgba(255, 32, 202, .32) 83.17%, rgba(255, 0, 194, .32) 97.12%),
    rgba(255, 197, 233, .26);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(214, 60, 170, .45); }
.step__icon { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; color: var(--blue); }
.step__label { font-family: var(--font-label); font-size: 11px; line-height: 12px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.step__title { margin: 0; font-size: 24px; line-height: 31px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-2); }

/* ---------- Vienna (feature rows) ---------- */
.vienna { padding: 120px 0; }
.vienna__list { display: grid; gap: 24px; margin-top: 24px; }
.vcard {
  position: relative;
  display: grid;
  grid-template-columns: 445px 1fr;
  min-height: 248px;
  border-radius: 32px;
  background: linear-gradient(90deg, rgba(27, 53, 254, .4) 0%, rgba(192, 199, 255, .4) 16.83%, rgba(200, 206, 255, .4) 29.81%);
  overflow: hidden;
}
.vcard__info {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 16px 0 20px;
}
.vcard__num {
  flex: 0 0 auto;
  width: 121px;
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 115px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}
.vcard__title { margin-top: 4px; font-size: 24px; line-height: 31px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-2); }
.vcard__text { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--text); }
.vcard__media { position: relative; border-radius: 32px; overflow: hidden; }
.vcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .63) 100%);
  opacity: var(--photo-shade);
  pointer-events: none;
}
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__tags {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 24px;
  color: #fdfdfd;
}
.vcard__tags li { opacity: .95; }
.vcard__tags li:last-child { color: var(--bg); opacity: .7; }

/* ---------- Join (form section) ---------- */
.join {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 800px;
}
.join__visual {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 40px 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  overflow: hidden;
  background:
    radial-gradient(60% 45% at 62% 82%, #f7b3f7 0%, rgba(247, 179, 247, 0) 70%),
    radial-gradient(55% 60% at 0% 88%, #4b3cf7 0%, rgba(75, 60, 247, 0) 70%),
    radial-gradient(50% 50% at 45% 10%, #5b45f5 0%, rgba(91, 69, 245, 0) 75%),
    radial-gradient(45% 55% at 0% 25%, #e05bea 0%, rgba(224, 91, 234, 0) 75%),
    radial-gradient(60% 70% at 32% 55%, #c86af3 0%, rgba(200, 106, 243, 0) 80%),
    linear-gradient(90deg, #b25cf0 0%, #c490f5 55%, #e6d5fb 85%, #f5ecfd 100%);
}
.join__visual::after {            /* film grain (soft-light noise layer in Figma) */
  content: "";
  position: absolute;
  inset: 0;
  opacity: .45;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.join__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(56px, 8.9vw, 128px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.join__form-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px max(var(--gutter), calc((100vw - var(--maxw)) / 2)) 80px 80px;
}
.join__form { display: flex; flex-direction: column; gap: 56px; width: 100%; max-width: 561px; margin-left: auto; }
.join__fields { display: flex; flex-direction: column; gap: 40px; }
.join__dot {                      /* decorative ring + dot */
  position: absolute;
  width: 54px;
  height: 54px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}
.join__dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--blue);
}
.join__dot--tr { top: 16px; right: 16px; }
.join__dot--bl { bottom: 16px; left: 19px; }

.field { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
label.field { padding-bottom: 12px; }
.select select { height: 34px; }
.field__label {                                   /* Button text style */
  display: block;
  padding: 0;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.field__label small { font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input[type="email"], .select select {
  display: block;
  width: 100%;
  height: 32px;                  /* 8px gap + 15px text + 8px + 1px line */
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  line-height: 15px;
  color: var(--ink-2);
  outline: none;
  transition: border-color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input[type="email"]:focus, .select select:focus { border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.field.is-invalid input { border-bottom-color: #d4185b; }
.field__error { display: block; margin-top: 6px; font-size: 12px; color: #d4185b; }
.field__error:empty { display: none; }
.select { position: relative; display: block; }
.select select { cursor: pointer; padding-right: 24px; color: var(--muted); }
.select select.has-value { color: var(--ink-2); }
.select::after {                  /* chevron */
  content: "▾";
  position: absolute;
  right: 0;
  top: 8px;
  font-size: 14px;
  line-height: 17px;
  color: var(--text);
  pointer-events: none;
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--blue);
  border-radius: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  transition: background-color .15s ease, color .15s ease;
}
.chip:hover span { background: rgba(27, 53, 254, .08); }
.chip input:checked + span { background: var(--blue); color: var(--on-blue); }
.join__form .btn { font-size: 16px; line-height: 20px; }
.join__form .btn:disabled { opacity: .85; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__after { display: flex; flex-direction: column; gap: 8px; margin-top: -40px; }   /* sits 16px under the button */
.form__error { font-size: 14px; line-height: 20px; color: #d4185b; }
.form__error:empty { display: none; }
.form__note { font-size: 12px; line-height: 18px; color: var(--muted); }
.form__note a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.form__note a:hover { color: var(--blue); }

/* ---------- Invite (section-waitlist-share) ---------- */
.invite { padding: 120px 0; }
.invite__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.invite__title { max-width: 649px; font-size: 32px; line-height: 41px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-2); }
.invite__sub { margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--text); }
.invite__link {
  width: 100%;
  max-width: 649px;
  height: 46px;
  margin-top: 16px;
  padding: 23px 0 8px;
  border: 0;
  border-bottom: 1px solid var(--blue);
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--text);
  outline: none;
}
.invite__btn { width: 300px; max-width: 100%; margin-top: 32px; }
.invite:not([hidden]) { animation: rise .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Footer ---------- */
.footer { padding: 64px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 29px;
  font-weight: 600;
  color: var(--brand-ink);
}
.footer__brand svg { width: 24px; height: 24px; color: var(--blue); }
.footer__copy { margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--muted); }
.footer__links { display: flex; gap: 24px; font-size: 12px; line-height: 18px; color: var(--text); }
.footer__links a:hover { color: var(--blue); }

/* ---------- Mobile-only elements (hidden on desktop) ---------- */
.only-mobile, .hero__cta, .footer__spark { display: none; }
.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span { display: block; width: 16px; height: 1.8px; border-radius: 2px; background: var(--blue); transition: transform .25s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .feature__media { margin-left: 80px; }
  .vcard { grid-template-columns: 400px 1fr; }
  .vcard__info { gap: 24px; }
  .vcard__num { width: auto; font-size: 72px; }
}

@media (max-width: 960px) {
  :root { --gutter: 32px; --section-y: 88px; }

  /* hero stacks: eyebrow, title, art, tagline, lead, CTA */
  .hero { padding-top: 8px; }
  .hero__stage { display: flex; flex-direction: column; }
  .hero__eyebrow, .hero__title, .hero__lead, .hero__tagline { position: static; }
  .hero__eyebrow { order: 1; }
  .hero__title { order: 2; margin-top: 12px; }
  .hero__title span:first-child { font-size: clamp(64px, 12vw, 110px); }
  .hero__title span:last-child { font-size: clamp(50px, 9vw, 84px); margin-top: 4px; }
  .hero__art { order: 3; margin-top: 28px; }
  .hero__tagline { order: 4; margin-top: 24px; text-align: left; font-size: clamp(30px, 5vw, 44px); }
  .hero__tagline br { display: none; }
  .hero__lead { order: 5; width: auto; max-width: 520px; margin-top: 16px; text-align: left; font-size: 16px; line-height: 1.5; }
  .hero__cta { order: 6; display: inline-flex; margin-top: 24px; max-width: 360px; }

  /* feature: copy first, then phone */
  .feature { padding: 88px 0; }
  .feature__inner { grid-template-columns: 1fr; row-gap: 72px; padding-left: var(--gutter); }
  .feature__copy { order: 1; margin: 0; max-width: 600px; }
  .feature__media { order: 2; justify-self: center; margin: 0; width: 240px; }
  .feature__spark--lg { width: 84px; height: 84px; top: -38px; right: -44px; }
  .feature__spark--sm { width: 50px; height: 50px; bottom: -10px; left: -32px; }

  .steps, .vienna { padding: var(--section-y) 0; }
  .steps__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .h2 { font-size: 30px; }

  .vcard { grid-template-columns: 1fr; }
  .vcard__info { padding: 28px 24px 30px; }
  .vcard__media { margin: 0; aspect-ratio: 16 / 7; }
  .vcard__text, .vcard__title { max-width: none; }

  .join { grid-template-columns: 1fr; min-height: 0; }
  .join__visual { justify-content: center; min-height: 360px; padding: 0 var(--gutter); }
  .join__title { font-size: clamp(64px, 12vw, 110px); }
  .join__form-wrap { padding: 88px var(--gutter) 120px; }
  .join__form { margin: 0 auto; }

  .invite { padding: var(--section-y) 0; }
  .invite__title { font-size: 30px; }
}

/* ---------- Mobile (Figma mobile frame, 390px) ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; --section-y: 64px; }
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  .h2 { font-size: 32px; line-height: 41px; }
  .eyebrow + .h2 { margin-top: 8px; }

  /* header: 16px vertical padding, 44px bar */
  .nav__inner { height: 76px; }
  .nav__logo svg { width: 40px; height: 40px; }
  .nav__toggle { display: inline-flex; border-width: 2px; }
  .nav__toggle span { width: 18px; height: 2px; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    box-shadow: 0 24px 40px -24px rgba(90, 30, 90, .25);
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(60, 60, 60, .12); }
  .nav__links .btn { margin-top: 20px; height: 52px; font-size: 16px; line-height: 20px; }

  /* hero content: padding 16 0 64, gap 16 */
  .hero { padding: 16px 0 64px; }
  .hero__eyebrow { font-family: var(--font-label); font-size: 11px; line-height: 12px; letter-spacing: 0; }
  .hero__title { margin-top: 8px; color: var(--brand-ink); }
  .hero__title span { display: inline; line-height: 1.2; }
  .hero__title span:first-child, .hero__title span:last-child { font-size: 48px; margin: 0; }
  .hero__art { margin-top: 16px; }
  .hero__art img { width: 100%; height: auto; aspect-ratio: 358 / 299.31; object-fit: cover; border-radius: 40px; }
  .hero__tagline { margin-top: 16px; font-size: 32px; line-height: 41px; letter-spacing: -0.02em; color: var(--ink-2); }
  .hero__lead { margin-top: 16px; font-size: 16px; line-height: 24px; max-width: none; }
  .hero__cta { max-width: none; margin-top: 16px; font-size: 16px; line-height: 20px; }

  /* intent section: padding 64 16, gap 32 */
  .feature { padding: 64px 0; }
  .feature__inner { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding-left: var(--gutter); }
  .feature__copy .h2 { margin-top: 8px; }
  .feature__copy .body { margin-top: 16px; }
  .feature__media { align-self: center; width: 350px; max-width: 100%; height: 500px; }
  .feature__media img { width: 238px; margin: 8px auto 0; filter: drop-shadow(0 12px 28px rgba(19, 8, 44, .15)); }
  .feature__spark--lg { width: 82px; height: 82px; top: -27px; right: auto; left: calc(50% + 78px); }
  .feature__spark--sm { width: 48px; height: 48px; bottom: 0; left: calc(50% - 148px); }

  /* matching section: padding 64 16, gap 24; cards overlap 16px */
  .steps { padding: 64px 0; }
  .steps .eyebrow + .h2 { margin-top: 8px; }
  .steps__grid { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .step {
    min-height: 223px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff7ff 0%, rgba(254, 126, 255, .66) 100%);
  }
  .step + .step { margin-top: -16px; box-shadow: 0 -8px 18px -12px rgba(170, 40, 150, .35); }
  .step:hover { transform: none; }
  .step__label { display: flex; align-items: center; min-height: 40px; font-family: var(--font); font-size: 12px; line-height: 15px; letter-spacing: 0.02em; }
  .step__icon { top: 24px; right: 24px; }

  /* vienna section: padding 64 16, gap 24 */
  .vienna { padding: 64px 0; }
  .vienna .eyebrow + .h2 { margin-top: 8px; }
  .vienna__list { gap: 16px; margin-top: 24px; }
  .vcard {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(27, 53, 254, .4) 0%, rgba(192, 199, 255, .4) 54.8%, rgba(200, 206, 255, .4) 77.7%);
  }
  .vcard__info { flex-direction: row; align-items: center; min-height: 224px; gap: 16px; padding: 20px; }
  .vcard__num { width: 82px; font-size: 56px; line-height: 1.2; font-weight: 500; color: var(--brand-ink); }
  .vcard__title { margin-top: 8px; }
  .vcard__text { margin-top: 8px; font-size: 14px; line-height: 21px; }
  .vcard__title br { display: inline; }
  .vcard__media { height: 168px; border-radius: 0; aspect-ratio: auto; }
  .vcard__tags { top: auto; bottom: 26px; right: 28px; transform: none; font-size: 13px; line-height: 17px; color: #fff; }
  .vcard__tags li, .vcard__tags li:last-child { opacity: 1; color: #fff; }

  /* join: 330px gradient + form (padding 48 16, gap 24) */
  .join__visual {
    min-height: 330px;
    justify-content: flex-start;
    padding: 0 0 0 67px;
    background:
      radial-gradient(70% 55% at 10% 12%, #d95cf0 0%, rgba(217, 92, 240, 0) 70%),
      radial-gradient(60% 80% at 0% 70%, #4a37f6 0%, rgba(74, 55, 246, 0) 75%),
      radial-gradient(60% 60% at 70% 90%, #f0a6f4 0%, rgba(240, 166, 244, 0) 70%),
      linear-gradient(100deg, #6a3ff5 0%, #a452f2 35%, #d596f2 70%, #e9d2fb 100%);
  }
  .join__title { font-size: 64px; line-height: 1.2; }
  .join__form-wrap { display: block; padding: 48px var(--gutter); }
  .join__form { gap: 32px; max-width: none; margin: 0; }
  .join__fields { gap: 24px; }
  .form__after { margin-top: -16px; }
  .field input[type="email"], .select select { font-size: 16px; line-height: 20px; height: 37px; padding: 8px 0; }
  .join__form-wrap > .join__dot--tr { display: none; }
  .join__form-wrap > .join__dot--bl { position: absolute; left: var(--gutter); bottom: 48px; margin: 0; }
  .join__form { padding-bottom: 86px; }     /* 32px gap + 54px ring */

  /* closing callout: padding 64 16, gap 24 */
  .invite { padding: 64px 0; }
  .invite__title { font-size: 32px; line-height: 41px; }
  .invite__sub { margin-top: 16px; }
  .invite__link { height: 36px; margin-top: 24px; padding: 9px 0 12px; }
  .invite__btn { width: 100%; margin-top: 16px; letter-spacing: 2px; }

  /* footer: padding 40 16, gap 32 */
  .footer { padding: 40px 0; }
  .footer__inner { position: relative; flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .footer__links { flex-direction: column; gap: 16px; font-size: 13px; line-height: 19.5px; color: #101010; }
  .footer__spark { display: block; position: absolute; top: 0; right: 0; width: 82px; height: 82px; color: var(--blue); }
  .footer__brand { font-size: 16px; line-height: 1.2; }
  .footer__brand svg { width: 16px; height: 16px; }
  .footer__copy { margin-top: 8px; font-size: 12px; line-height: 18px; }
}

/* ==========================================================
   404 page
   ========================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--dark { background: #111111; color: var(--on-blue); }
.btn--dark:hover { background: #2a2a2a; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .5); }

.page-404 { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.e404-header { display: flex; justify-content: center; align-items: center; height: 96px; flex: 0 0 auto; }
.e404 { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 16px; }
.e404__stage { position: relative; width: 510px; max-width: 100%; margin-top: 12px; }
.e404__art { width: 100%; height: auto; animation: knot-float 9s ease-in-out infinite; }
@keyframes knot-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(3deg); } }
.e404__content {
  position: absolute;
  left: 0;
  right: 0;
  top: 33.2%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.e404__code {
  font-family: var(--font-display);
  font-size: 158px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
}
.e404__content .btn { margin-top: 0; }
.page-404 .footer { padding: 24px 0 30px; }

@media (max-width: 767px) {
  .e404-header { height: 64px; }
  .e404-header .nav__logo svg { width: 32px; height: 32px; }
  .e404 { align-items: flex-start; padding-top: 94px; }
  .page-404 .footer__links { color: var(--text); }
  .e404__stage { width: 358px; margin-top: 0; }
  .e404__content { top: 34%; }
  .e404__code { font-size: 96px; }
  .e404__content .btn { margin-top: 0; }
  .page-404 .footer { padding: 32px 0 36px; }
  .page-404 .footer__inner { flex-direction: column-reverse; align-items: center; gap: 8px; text-align: center; }
  .page-404 .footer__links { flex-direction: column; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; }
  .page-404 .footer__spark { display: none; }
  .page-404 .footer__brand { justify-content: center; font-size: 20px; }
  .page-404 .footer__brand svg { width: 20px; height: 20px; }
  .page-404 .footer__copy { margin-top: 6px; }
}

/* ==========================================================
   Privacy (legal) page
   ========================================================== */
.legal { padding: 40px 0 120px; }
.legal__inner { max-width: calc(720px + var(--gutter) * 2); }
.legal__title { margin-top: 16px; font-family: var(--font-display); font-size: 64px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--brand-ink); }
.legal__updated { margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--muted); }
.legal__lead { margin-top: 32px; font-size: 20px; line-height: 30px; color: var(--ink-2); }
.legal h2 { margin: 48px 0 12px; font-size: 24px; line-height: 31px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-2); }
.legal p, .legal li { font-size: 16px; line-height: 24px; color: var(--text); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal strong { font-weight: 600; color: var(--ink-2); }
.legal a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal__back { margin-top: 56px; }
@media (max-width: 767px) {
  .legal { padding: 16px 0 64px; }
  .legal__title { font-size: 44px; }
  .legal__lead { margin-top: 24px; font-size: 18px; line-height: 27px; }
  .legal h2 { margin-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
