:root {
  --green-950: #021f1a;
  --green-900: #04352e;
  --green-800: #06493f;
  --green-700: #0b6355;
  --green-100: #e2f0ea;
  --cyan-400: #00c2e8;
  --cyan-100: #d7f4fb;
  --cream-50: #fbf9f5;
  --orange-500: #f68b2c;
  --line-dark: rgb(226 240 234 / 0.16);
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 5.2vw, 84px);
  --measure: 1440px;
  --motion-fast: 160ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; min-width: 320px; background: var(--green-950); color: var(--cream-50); font-family: var(--font); font-size: 16px; font-weight: 500; line-height: 1.55; overflow-x: hidden; }
h1, p { margin: 0; }
h1 { line-height: 1.06; letter-spacing: -0.05em; font-weight: 800; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--cyan-400); color: var(--green-950); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-200%); padding: 12px 18px; border-radius: 10px; background: var(--cream-50); color: var(--green-950); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

/* Film grain keeps the flat brand greens from reading as a template gradient. */
body::after { position: fixed; z-index: 900; inset: 0; content: ""; opacity: 0.16; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; pointer-events: none; }

.eyebrow { display: block; color: var(--cyan-400); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { flex: 0 0 auto; border-radius: 11px; }
.brand > span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 1.42rem; font-weight: 800; letter-spacing: -0.055em; }
.brand small { margin-top: 4px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.19em; text-transform: uppercase; opacity: 0.55; }

.topbar { position: relative; z-index: 20; display: flex; align-items: center; padding: clamp(16px, 2vw, 26px) var(--gutter); max-width: var(--measure); margin-inline: auto; }

/* ---------- Hero ---------- */
/* Copy and mark sit side by side so the page stays roughly one screen tall;
   they stack only once there is no room for two columns. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); align-items: center; gap: clamp(30px, 4.5vw, 72px); min-height: min(70svh, 660px); padding: clamp(24px, 3vw, 44px) var(--gutter) clamp(34px, 4vw, 60px); max-width: var(--measure); margin-inline: auto; }
.hero__copy { max-width: 44rem; }
.hero h1 { margin-top: 13px; font-size: clamp(3rem, 6.6vw, 6.2rem); line-height: 0.9; letter-spacing: -0.062em; }
.hero h1 em { font-style: normal; color: var(--cyan-400); }
.lede { max-width: 40ch; margin-top: clamp(18px, 1.8vw, 24px); color: var(--green-100); font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.1rem); line-height: 1.62; opacity: 0.82; }

/* The logo's smile at scale, whole and inside the frame. */
.hero__mark { justify-self: end; width: 100%; max-width: 460px; height: auto; color: var(--green-800); }
.hero__mark path { fill: none; stroke: currentColor; stroke-linecap: round; }
.hero__mark-smile { stroke-width: 30; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 2.1s 0.15s var(--ease) forwards; }
.hero__mark-brow { stroke-width: 26; stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.1s 1.05s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.signup { display: grid; gap: 11px; max-width: 470px; margin-top: clamp(22px, 2.2vw, 30px); }
.signup__row { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 9px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgb(255 255 255 / 0.04); transition: border-color var(--motion-fast), background var(--motion-fast); }
.signup__row:focus-within { border-color: var(--cyan-400); background: rgb(255 255 255 / 0.07); }
.signup__row input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border: 0; background: none; font-size: 0.95rem; font-weight: 600; outline: 0; }
.signup__row input::placeholder { color: var(--green-100); opacity: 0.45; }
.signup__submit { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--cyan-400); color: var(--green-950); font-size: 0.85rem; font-weight: 800; white-space: nowrap; transition: background var(--motion-fast), transform var(--motion-fast); }
.signup__submit:hover { background: var(--cyan-100); }
.signup__submit:active { transform: scale(0.97); }
.signup__submit svg { width: 17px; height: 17px; stroke-width: 2.2; transition: transform var(--motion-fast); }
.signup__submit:hover svg { transform: translateX(3px); }
.signup__note, .signup__status { padding-left: 18px; font-size: 0.78rem; font-weight: 600; }
.signup__note { color: var(--green-100); opacity: 0.5; }
.signup__status { display: none; }
.signup__status.is-shown { display: block; }
.signup__status.is-error { color: var(--orange-500); }
.signup__status.is-ok { color: var(--cyan-400); }
.signup.is-done .signup__row, .signup.is-done .signup__note { display: none; }
.signup.is-done .signup__status { padding-left: 0; font-size: 1.02rem; font-weight: 750; }

/* ---------- Ticker ---------- */
.ticker { display: flex; overflow: hidden; padding: 13px 0; background: var(--cyan-400); color: var(--green-950); user-select: none; }
.ticker__track { display: flex; flex: 0 0 auto; animation: slide 46s linear infinite; }
.ticker__set { display: flex; align-items: center; flex: 0 0 auto; font-size: clamp(1.1rem, 2.6vw, 1.65rem); font-weight: 800; letter-spacing: -0.035em; white-space: nowrap; }
.ticker i { padding: 0 clamp(16px, 2.4vw, 30px); font-style: normal; opacity: 0.42; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; padding: clamp(30px, 3.4vw, 48px) var(--gutter) clamp(24px, 2.6vw, 36px); max-width: var(--measure); margin-inline: auto; }
.footer__brand { display: grid; gap: 12px; }
.footer__line { max-width: 34ch; color: var(--green-100); font-size: 0.86rem; opacity: 0.55; }
.footer__legal { display: grid; gap: 3px; color: var(--green-100); font-size: 0.74rem; font-weight: 600; text-align: right; opacity: 0.42; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: clamp(26px, 5vw, 40px); }
  .hero__mark { justify-self: start; max-width: 320px; }
  .footer__legal { text-align: left; }
}

@media (max-width: 620px) {
  .signup__row { flex-wrap: wrap; border-radius: 24px; }
  .signup__row input { flex-basis: 100%; }
  .signup__submit { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero__mark path { stroke-dashoffset: 0; }
}
