/* TURGOR. Premium static site. */
:root {
  --ground: #16191f;
  --ground-2: #1c2028;
  --surface: #20252e;
  --line: rgba(236, 238, 241, 0.1);
  --line-strong: rgba(236, 238, 241, 0.2);
  --ink: #f1f2f4;
  --muted: #a9b0ba;
  --faint: #7d8590;
  --cobalt: #3d5bea;
  --cobalt-deep: #1f3fbf;
  --green: #9bd43a;
  --terracotta: #c25b3a;
  --orange: #e89a5b;
  --coral: #f2735a;
  --pink: #f6b7c4;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 5vw, 5rem);
  --nav-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.94;
}

.skip {
  position: fixed; z-index: 200; top: 0.75rem; left: 0.75rem;
  padding: 0.7rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: var(--ground); font-weight: 600; text-decoration: none;
  transform: translateY(-180%); transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; z-index: 100; inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 var(--pad);
  padding-top: env(safe-area-inset-top);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav[data-state="solid"] {
  background: rgba(22, 25, 31, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav[data-hidden="true"] { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 24px; width: auto; }
.nav__links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav__link {
  position: relative; font-size: 0.92rem; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1.15rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.nav__cta:hover { color: var(--ground); border-color: var(--ink); }
.nav__cta:hover::before { transform: translateY(0); }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; height: 2.25rem; padding: 0 0.95rem; font-size: 0.85rem; }
  .nav__logo { height: 20px; }
}

/* ---------------- Journey (film) ---------------- */
.journey .scroll-scrub__route { top: auto; bottom: clamp(1rem, 3vw, 2rem); justify-content: flex-start; }
.journey .scroll-scrub__route-button { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; min-height: 2.5rem; }
.journey .scroll-scrub__progress { top: auto; bottom: 0; height: 2px; }
.journey .scroll-scrub__title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.005em; line-height: 0.9; max-width: 11ch;
  font-size: clamp(3.25rem, 8vw, 8rem);
}
.journey .scroll-scrub__body { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.2rem); max-width: 38ch; }
.journey .scroll-scrub__kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--ink); font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
}
.journey .scroll-scrub__tags li { border-radius: 999px; border-color: var(--line-strong); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.5rem 0.85rem; background: rgba(22, 25, 31, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.journey .scroll-scrub__story { overflow-x: clip; }
@media (min-width: 861px) { .journey .scroll-scrub__copy::before { inset: -4rem -6rem; } }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(61, 91, 234, 0.25); }
.journey__vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(10, 12, 15, 0.55) 100%),
              linear-gradient(180deg, rgba(10, 12, 15, 0.45) 0%, transparent 18%, transparent 80%, rgba(22, 25, 31, 0.9) 100%);
}
.journey__grain {
  position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-copy .line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; }
.hero-copy .line > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy .scroll-scrub__kicker { animation: rise 0.9s var(--ease) 0.15s both; }
  .hero-copy .line > span { animation: lift 1.1s var(--ease) both; }
  .hero-copy .line:nth-child(1) > span { animation-delay: 0.25s; }
  .hero-copy .line:nth-child(2) > span { animation-delay: 0.38s; }
  .hero-copy .scroll-scrub__body { animation: rise 0.9s var(--ease) 0.55s both; }
  .hero-copy .scroll-scrub__actions { animation: rise 0.9s var(--ease) 0.7s both; }
  .nav { animation: drop 0.9s var(--ease) 0.1s both; }
}
@keyframes lift { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
@media (max-width: 860px) {
  .journey .scroll-scrub__route { display: none; }
  .journey .scroll-scrub__chapter-pin { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}

/* Hero CTAs */
.cta-primary {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.65rem;
  height: 3.4rem; padding: 0 1.6rem; border-radius: 999px;
  background: var(--cobalt); color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(61, 91, 234, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease);
}
.cta-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.cta-primary:hover { box-shadow: 0 16px 40px -12px rgba(61, 91, 234, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.cta-primary:hover::before { transform: translateX(120%); }
.cta-primary:active { transform: translateY(1px) scale(0.985); }
.cta-primary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.cta-primary:hover svg { transform: translateX(4px); }
.cta-ghost {
  display: inline-flex; align-items: center; height: 3.4rem; padding: 0 0.4rem;
  color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong);
  text-underline-offset: 0.35em; transition: text-decoration-color 0.3s var(--ease);
}
.cta-ghost:hover { text-decoration-color: var(--ink); }

/* ---------------- Ticker ---------------- */
.ticker { position: relative; z-index: 4; overflow: hidden; border-block: 1px solid var(--line); background: var(--ground); padding: 1.1rem 0; }
.ticker__track { display: flex; align-items: center; gap: 2.5rem; width: max-content; }
.ticker span { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.ticker i { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); flex: none; }
@media (prefers-reduced-motion: no-preference) { .ticker__track { animation: ticker 38s linear infinite; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------- Sections ---------------- */
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 46rem; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.reveal { transform: translateY(28px); transition: transform 1.1s var(--ease); }
.reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; transition: none; } }

/* Flavors */
.flavors { padding: clamp(6rem, 12vw, 10rem) var(--pad); }
.flavors__title { font-size: clamp(3rem, 7vw, 6.5rem); }
.flavors__rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.flavor { --c: var(--cobalt-deep); --c2: var(--green); position: relative; }
.flavor:nth-child(2) { transition-delay: 0.08s; }
.flavor:nth-child(3) { transition-delay: 0.16s; }
.flavor--yuzu { --c: #2340c9; --c2: var(--green); }
.flavor--passion { --c: var(--terracotta); --c2: var(--orange); }
.flavor--dragon { --c: var(--coral); --c2: var(--pink); }
.flavor__stage {
  --mx: 50%; --my: 60%;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center;
  border-radius: 20px; background: var(--ground-2);
  border: 1px solid var(--line);
  isolation: isolate;
}
.flavor__stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 45% at var(--mx) var(--my), color-mix(in srgb, var(--c) 55%, transparent), transparent 72%);
  opacity: 0.7; transition: opacity 0.5s var(--ease);
}
.flavor__stage::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 8%; height: 7%; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); filter: blur(4px);
}
.flavor__can { height: 86%; width: auto; transition: transform 0.9s var(--ease); will-change: transform; }
.flavor:hover .flavor__stage::before { opacity: 1; }
.flavor:hover .flavor__can { transform: translateY(-10px) rotate(-3deg) scale(1.02); }
.flavor__meta { padding: 1.4rem 0.25rem 0; display: grid; gap: 0.4rem; }
.flavor__name { font-family: var(--display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; color: var(--c2); }
.flavor__notes { color: var(--muted); max-width: 32ch; }
@media (max-width: 680px) {
  .flavors__rail {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 0.5rem; scroll-padding: 0 var(--pad);
  }
  .flavors__rail::-webkit-scrollbar { display: none; }
  .flavor { scroll-snap-align: start; }
}

/* Definition */
.define {
  position: relative; overflow: hidden;
  padding: clamp(7rem, 14vw, 12rem) var(--pad);
  background: radial-gradient(90% 120% at 15% 0%, #3552e0 0%, var(--cobalt-deep) 45%, #14298a 100%);
  color: #fff;
}
.define__inner { position: relative; z-index: 1; max-width: 60rem; }
.define__phonetic { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.8); margin-bottom: 1.75rem; }
.define__phonetic span { color: rgba(255, 255, 255, 0.6); }
.define__word { font-size: clamp(3.25rem, 9vw, 8.5rem); max-width: 13ch; }
.define__body { margin-top: 2.25rem; max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.65; color: rgba(255, 255, 255, 0.88); }
.define__mark { position: absolute; right: -4%; bottom: -14%; width: clamp(14rem, 34vw, 30rem); height: auto; opacity: 0.12; transform: rotate(-12deg); }

/* Inside */
.inside { overflow-x: clip; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding: clamp(6rem, 12vw, 10rem) var(--pad); }
.inside__title { font-size: clamp(2.75rem, 5.5vw, 5rem); margin-bottom: 2.75rem; }
.specs { border-top: 1px solid var(--line-strong); }
.specs__row { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); transition: padding-left 0.4s var(--ease); }
.specs__row:hover { padding-left: 0.5rem; }
.specs dt { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); padding-top: 0.2rem; }
.specs dd { font-weight: 600; font-size: 1.05rem; }
.inside__note { margin-top: 1.4rem; color: var(--faint); font-size: 0.86rem; }
.inside__visual { position: relative; display: grid; place-items: center; }
.inside__visual::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 91, 234, 0.35), transparent); filter: blur(10px); }
.inside__can { position: relative; max-height: 640px; width: auto; transform: rotate(-6deg); transition: transform 0.2s linear; }
@media (max-width: 860px) {
  .inside { grid-template-columns: 1fr; }
  .inside__visual { order: -1; }
  .inside__can { max-height: 420px; max-width: 78%; height: auto; }
  .specs__row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------------- Join ---------------- */
.join {
  position: relative;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
  padding: clamp(6rem, 12vw, 10rem) var(--pad);
  background: radial-gradient(70% 60% at 85% 20%, rgba(61, 91, 234, 0.14), transparent 70%), var(--ground-2);
  border-top: 1px solid var(--line);
}
.join__title { font-size: clamp(3rem, 6.5vw, 6rem); }
.join__body { margin-top: 1.4rem; color: var(--muted); font-size: 1.15rem; max-width: 30ch; }
.perks { margin-top: 2.5rem; display: grid; gap: 1.4rem; }
.perks li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.perks__icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02); }
.perks__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.perks strong { display: block; font-weight: 600; }
.perks span { color: var(--muted); font-size: 0.95rem; }

.panel {
  position: relative; border-radius: 28px; padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.form { display: grid; gap: 0.5rem; }

/* Floating label field */
.field { position: relative; }
.field__input {
  width: 100%; height: 4rem; padding: 1.45rem 3.25rem 0.45rem 1.25rem;
  border-radius: 16px; border: 1px solid var(--line-strong); background: rgba(10, 12, 15, 0.45);
  font-size: 1.08rem; outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field__input:hover { border-color: rgba(236, 238, 241, 0.32); }
.field__input:focus { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(61, 91, 234, 0.22); background: rgba(10, 12, 15, 0.6); }
.field__label {
  position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); transform-origin: left center;
  color: var(--muted); pointer-events: none; font-size: 1.05rem;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label { transform: translateY(-1.15rem) scale(0.74); color: var(--ink); }
.field__ok { position: absolute; right: 1.1rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -0.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--green); transform: scale(0); transition: transform 0.35s var(--ease); }
.field__ok svg { width: 14px; height: 14px; fill: none; stroke: #16191f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.field[data-valid="true"] .field__ok { transform: scale(1); }
.field[data-invalid="true"] .field__input { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(242, 115, 90, 0.18); }
.field__hint { color: var(--faint); font-size: 0.85rem; padding: 0.35rem 0.25rem 0; }
.field__error { color: var(--coral); font-size: 0.9rem; padding: 0.1rem 0.25rem 0; }

/* Flavor picks */
.picks { border: 0; padding: 0; margin: 1.5rem 0 0; min-width: 0; }
.picks__legend { padding: 0; margin-bottom: 0.85rem; font-weight: 600; font-size: 0.98rem; }
.picks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.pick { --c: var(--cobalt); position: relative; cursor: pointer; }
.pick--yuzu { --c: var(--green); }
.pick--passion { --c: var(--orange); }
.pick--dragon { --c: var(--pink); }
.pick__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pick__card {
  position: relative; display: grid; justify-items: center; gap: 0.55rem;
  padding: 0.95rem 0.5rem 0.85rem; border-radius: 16px;
  border: 1px solid var(--line-strong); background: rgba(10, 12, 15, 0.35);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pick:hover .pick__card { border-color: rgba(236, 238, 241, 0.35); transform: translateY(-2px); }
.pick__can { height: 5.25rem; width: auto; transition: transform 0.4s var(--ease); }
.pick:hover .pick__can { transform: translateY(-3px) rotate(-3deg); }
.pick__name { font-size: 0.8rem; font-weight: 600; text-align: center; line-height: 1.25; color: var(--muted); transition: color 0.25s var(--ease); }
.pick__check { position: absolute; top: 0.55rem; right: 0.55rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--c); transform: scale(0); transition: transform 0.3s var(--ease); }
.pick__check svg { width: 12px; height: 12px; fill: none; stroke: #16191f; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pick__input:checked + .pick__card { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, rgba(10, 12, 15, 0.4)); box-shadow: 0 0 0 1px var(--c); }
.pick__input:checked + .pick__card .pick__name { color: var(--ink); }
.pick__input:checked + .pick__card .pick__check { transform: scale(1); }
.pick__input:focus-visible + .pick__card { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.pick-plain { position: relative; display: inline-flex; align-items: center; gap: 0.65rem; margin-top: 0.9rem; padding: 0.35rem 0.1rem; cursor: pointer; color: var(--muted); font-size: 0.92rem; }
.pick-plain__box { width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: border-color 0.2s var(--ease); }
.pick-plain__box::after { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform 0.25s var(--ease); }
.pick-plain .pick__input:checked + .pick-plain__box { border-color: var(--ink); }
.pick-plain .pick__input:checked + .pick-plain__box::after { transform: scale(1); }
.pick-plain .pick__input:checked ~ span:last-child { color: var(--ink); }
.pick-plain .pick__input:focus-visible + .pick-plain__box { outline: 2px solid var(--cobalt); outline-offset: 3px; }
@media (max-width: 420px) {
  .pick__can { height: 4.25rem; }
  .pick__name { font-size: 0.72rem; }
  .picks__grid { gap: 0.5rem; }
}

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Submit */
.submit {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 1.6rem; width: 100%; height: 4rem; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #ffffff, #d5d9df); color: var(--ground);
  font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 40px -18px rgba(255, 255, 255, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.submit::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(61, 91, 234, 0.18) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.submit:hover::before { transform: translateX(120%); }
.submit:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 22px 50px -18px rgba(255, 255, 255, 0.45); }
.submit:active { transform: translateY(1px) scale(0.99); }
.submit:disabled { cursor: progress; filter: saturate(0.6) brightness(0.92); }
.submit__spinner { position: absolute; right: 1.5rem; top: 50%; width: 1.25rem; height: 1.25rem; margin-top: -0.625rem; border-radius: 50%; border: 2px solid rgba(22, 25, 31, 0.25); border-top-color: var(--ground); opacity: 0; }
.submit[aria-busy="true"] .submit__spinner { opacity: 1; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__error { margin-top: 0.8rem; padding: 0.85rem 1rem; border-radius: 12px; background: rgba(242, 115, 90, 0.1); border: 1px solid rgba(242, 115, 90, 0.35); color: #ffc9bd; font-size: 0.92rem; }
.form__legal { margin-top: 1rem; color: var(--faint); font-size: 0.8rem; text-align: center; }

/* Done */
.done { display: grid; justify-items: center; text-align: center; gap: 1.1rem; padding: clamp(1rem, 3vw, 2rem) 0; outline: none; }
.done:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 8px; border-radius: 12px; }
.done__cell { width: 7.5rem; height: 7.5rem; }
.done__ring { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.done__water { fill: var(--cobalt); transform: translateY(0); }
.done__tick { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 0; }
.panel[data-state="done"] .done__water { animation: fill 1.4s var(--ease) both; }
.panel[data-state="done"] .done__tick { animation: tick 0.6s var(--ease) 1s both; }
.panel[data-state="done"] .done { animation: rise 0.7s var(--ease) both; }
@keyframes fill { from { transform: translateY(0); } to { transform: translateY(-120px); } }
@keyframes tick { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
.panel[data-state="done"] .done__water { transform: translateY(-120px); }
.done__title { font-size: clamp(2.25rem, 4vw, 3.4rem); }
.done__body { color: var(--muted); max-width: 38ch; }
.done__actions { margin-top: 0.5rem; }
.share {
  display: inline-flex; align-items: center; gap: 0.6rem; height: 3rem; padding: 0 1.3rem;
  border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-weight: 600;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.share:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) {
  .panel[data-state="done"] .done__water, .panel[data-state="done"] .done__tick, .panel[data-state="done"] .done { animation: none; }
}
@media (max-width: 920px) { .join { grid-template-columns: 1fr; } }

/* ---------------- Footer ---------------- */
.footer { padding: clamp(4rem, 8vw, 7rem) var(--pad) calc(2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.footer__logo { width: min(100%, 34rem); height: auto; }
.footer__tag { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.25rem); text-transform: uppercase; color: var(--muted); letter-spacing: 0.02em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; color: var(--faint); font-size: 0.85rem; }
.footer__top-link { color: var(--muted); text-decoration: none; }
.footer__top-link:hover { color: var(--ink); }

/* ---------------- Mobile dock ---------------- */
.dock {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  padding: 0.75rem var(--pad) calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(22, 25, 31, 0.92) 40%);
  transform: translateY(110%); transition: transform 0.5s var(--ease);
  pointer-events: none; display: none;
}
.dock[data-show="true"] { transform: none; pointer-events: auto; }
.dock__cta { display: flex; align-items: center; justify-content: center; height: 3.4rem; border-radius: 999px; background: var(--cobalt); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px -12px rgba(61, 91, 234, 0.8); }
@media (max-width: 760px) { .dock { display: block; } }

/* Toast */
.toast { position: fixed; z-index: 150; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom)); transform: translate(-50%, calc(100% + 3rem)); opacity: 0; visibility: hidden; padding: 0.75rem 1.1rem; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 600; font-size: 0.9rem; transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.45s; pointer-events: none; }
.toast[data-show="true"] { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 0.45s var(--ease), opacity 0.3s var(--ease); }

/* Thanks page */
.thanks { min-height: 100dvh; display: grid; place-items: center; padding: 2rem; text-align: center; }
.thanks__logo { height: 28px; width: auto; margin: 0 auto 2.5rem; }
.thanks__title { font-size: clamp(2.75rem, 7vw, 5rem); }
.thanks__body { color: var(--muted); margin: 1rem 0 2rem; }
