/* TIDE/31 — tide31.com
   A connected LED tide display, sold as a Launch Edition of 31.

   Dark, technical, product-led: the opposite register from tidepiece.com's
   printed-catalog world. Ink ground, one signal green, one coral, and a serif
   italic that carries the second half of every headline.

   Hand-written. No build step, no framework. Load order matters: tokens,
   primitives, then sections top-to-bottom in DOM order. */

/* ---------------------------------------------------------------- tokens */

:root {
  --ink: #061b1f;
  --ink-2: #0b1c20;
  --signal: #5bf291;
  --coral: #ff7358;
  --sand: #f2f0e8;

  /* Section grounds, in the order they appear down the page. */
  --band-display: #0a1519;
  --band-made: #101e22;
  --band-stats: #17282d;
  --band-cta: #09262a;
  --band-card: #0d2428;
  --band-sim: #151d22;

  --white: #fff;
  --w-90: rgba(255, 255, 255, .9);
  --w-67: rgba(255, 255, 255, .67);
  --w-58: rgba(255, 255, 255, .58);
  --w-48: rgba(255, 255, 255, .48);
  --w-40: rgba(255, 255, 255, .4);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .15);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Newsreader", ui-serif, Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --radius: .95rem;
  --radius-lg: 1.8rem;

  /* The panel is 96x16 and the curve is drawn at 8x, so the canvas keeps a
     6:1 box. Declared here because both the CSS and app.js depend on it. */
  --panel-ratio: 6 / 1;
}

*, *::before, *::after { box-sizing: border-box; }

/* Beats any later display: rule. Several components below set display on
   elements that JS toggles with .hidden, and the UA rule loses to them. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden;
  white-space: nowrap;
}

/* ------------------------------------------------------------ primitives */

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--signal);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .9;
  margin: 0;
}
.h-display em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.055em;
  color: var(--signal);
}

.lede {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--w-58);
}

/* Buttons. Pill, tall enough to be a comfortable target, and the primary
   carries a green bloom rather than a hard shadow. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    color .18s var(--ease-out),
    background-color .18s var(--ease-out),
    border-color .18s var(--ease-out),
    transform .16s var(--ease-out),
    box-shadow .18s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  min-height: 52px;
  padding: .9rem 1.5rem;
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--ink);
  box-shadow: 0 12px 35px rgba(91, 242, 145, .15);
}
.btn-primary:hover { box-shadow: 0 16px 44px rgba(91, 242, 145, .28); }

.btn-outline {
  min-height: 50px;
  padding: .85rem 1.4rem;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--white);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); }

.btn-sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .76rem; }

.icon { width: 1em; height: 1em; flex: none; stroke-width: 2; }

/* Texture: the LED lattice, echoed as a background pattern. */
.dot-field {
  background-image: radial-gradient(circle, currentColor 1.15px, transparent 1.2px);
  background-size: 13px 13px;
}

/* Entrance animation, opt-in per element and fully disabled for anyone who
   asks for reduced motion. */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.rise { animation: rise-in .7s var(--ease-out) both; }
.rise-1 { animation-delay: .06s; }
.rise-2 { animation-delay: .12s; }
.rise-3 { animation-delay: .18s; }
.rise-4 { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover { transform: none; }
}

/* --------------------------------------------------------- announcement */

.announce {
  background: var(--signal);
  color: var(--ink);
  padding: .65rem 1rem;
  text-align: center;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 27, 31, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow .25s var(--ease-out);
}
.site-header[data-scrolled="true"] { box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(91, 242, 145, .35);
  background: rgba(91, 242, 145, .1);
  color: var(--signal);
  transition: transform .2s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--white);
}

.nav-desktop { display: none; }
.header-actions { display: none; }

.nav-link {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--w-67);
  transition: color .18s var(--ease-out);
}
.nav-link:hover { color: var(--white); }

.header-stock {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--w-40);
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding: 1.25rem 0 1.5rem;
}
.nav-mobile[data-open="true"] { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.nav-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem .75rem;
  border-radius: .75rem;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  color: var(--w-67);
}
.nav-mobile a:hover { background: rgba(255, 255, 255, .05); color: var(--white); }
.nav-mobile .btn { width: 100%; margin-top: .75rem; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  padding-block: 3.5rem 3rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  z-index: -3;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 23, 27, .55) 0%, rgba(5, 23, 27, .88) 70%, var(--ink) 100%);
}
.hero-glow {
  position: absolute;
  left: -5rem; bottom: -13rem;
  width: 520px; height: 520px;
  border-radius: 999px;
  background: rgba(91, 242, 145, .15);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

.hero-inner { display: grid; gap: 3rem; align-items: center; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.badge-edition {
  border-radius: 999px;
  border: 1px solid rgba(91, 242, 145, .3);
  background: rgba(91, 242, 145, .1);
  padding: .5rem 1rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--signal);
}
.badge-place {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
}
.badge-place .icon { color: var(--coral); width: .95em; height: .95em; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 8.7rem);
  line-height: .82;
  letter-spacing: -.075em;
  margin: 0;
}
.hero h1 em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.055em;
  color: var(--signal);
}

.hero-lede {
  margin: 1.75rem 0 0;
  max-width: 590px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--w-67);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  margin-top: 2rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .52);
}
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points { list-style: none; padding: 0; }
.hero-points .icon { color: var(--signal); width: 1rem; height: 1rem; }

/* Inventory card. Sits beside the headline on wide screens, below it on
   narrow ones, and is the only place the price appears above the fold. */
.stock-card {
  width: 100%;
  border-radius: 1.6rem;
  border: 1px solid var(--line-2);
  background: rgba(6, 27, 31, .78);
  padding: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5);
}
.stock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.stock-count {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 1.75rem;
}
.stock-count b {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.07em;
}
.stock-count span {
  padding-bottom: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--signal);
}
.stock-bar {
  height: 6px;
  margin-top: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}
.stock-bar i { display: block; height: 100%; border-radius: 999px; background: var(--signal); }
.stock-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--w-58);
}
.stock-price b { font-family: var(--font-mono); font-size: 1.25rem; color: var(--white); font-weight: 500; }

/* Hero stat rail */
.hero-rail { display: none; }

/* --------------------------------------------------------- section base */

.section { padding-block: 4.5rem; }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { margin: .5rem 0 0; }

/* ------------------------------------------------------ #display / sim */

#display { background: var(--band-display); scroll-margin-top: 5rem; }

.sim {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.sim-top {
  position: relative;
  background: var(--band-sim);
  padding: 1.25rem;
}
.sim-top-dots {
  position: absolute;
  inset: 0;
  color: var(--white);
  opacity: .06;
  pointer-events: none;
}
.sim-head { position: relative; z-index: 1; margin-bottom: 1.25rem; }
.sim-head h3 {
  margin: .5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.03em;
}

.sim-stage {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
}
.sim-stage img { width: 100%; transition: opacity .2s var(--ease-out); }
.sim-stage img[hidden] { display: none; }

/* The live panel. A real 96x16 lattice drawn from NOAA predictions, sitting
   in a frame that reads as the physical product. */
.sim-panel {
  background: #0b0a08;
  border: 10px solid #1c1a17;
  border-radius: .8rem;
  padding: .5rem;
}
.sim-panel canvas {
  display: block;
  width: 100%;
  aspect-ratio: var(--panel-ratio);
  image-rendering: pixelated;
}
.sim-panel[hidden] { display: none; }

.sim-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  max-width: 760px;
  margin: 1.25rem auto 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.sim-caption .alt { display: inline-flex; align-items: center; gap: .5rem; color: var(--coral); }

.sim-controls {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--band-card);
}
.sim-controls .field-label {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.select {
  width: 100%;
  min-height: 48px;
  padding: .7rem 2.5rem .7rem 1rem;
  border-radius: .8rem;
  border: 1px solid var(--line-2);
  background-color: rgba(255, 255, 255, .05);
  color: var(--white);
  font-size: .95rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235bf291' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 1.1rem;
  cursor: pointer;
}
.select option { background: var(--ink-2); color: var(--white); }

.mode-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 62px;
  padding: .6rem .4rem;
  border-radius: .8rem;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--w-67);
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s var(--ease-out);
}
.mode-btn:hover { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.mode-btn[aria-pressed="true"] {
  border-color: var(--signal);
  background: rgba(91, 242, 145, .12);
  color: var(--signal);
}

/* ------------------------------------------------------------ #made-for */

#made-for { background: var(--band-made); scroll-margin-top: 5rem; }

.bento { display: grid; gap: 1.25rem; }

.image-card {
  position: relative;
  min-height: 390px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  overflow: hidden;
}
.image-card > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.image-card:hover > img { transform: scale(1.025); }
.image-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(6, 27, 31, .05) 28%, rgba(6, 27, 31, .72) 62%, rgba(6, 27, 31, .96));
  pointer-events: none;
}
.image-card-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.75rem;
}
.image-card-copy h3 {
  margin: .5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -.035em;
}
.image-card-copy p { margin: .6rem 0 0; max-width: 46ch; color: var(--w-67); font-size: .95rem; line-height: 1.65; }

.use-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.use-card-dots { position: absolute; inset: 0; color: var(--white); opacity: .1; pointer-events: none; }
.use-card > * { position: relative; z-index: 1; }
.use-card-head { display: flex; align-items: center; justify-content: space-between; }
.use-number {
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: .63rem;
  font-weight: 700;
}
.use-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -.045em;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.chips li {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  padding: .5rem .85rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--w-58);
}
.use-note { margin: 1.25rem 0 0; font-size: .75rem; line-height: 1.55; color: rgba(255, 255, 255, .38); }

/* -------------------------------------------------------- #how-it-works */

#how-it-works { background: var(--ink); overflow: hidden; scroll-margin-top: 5rem; }
.how-grid { display: grid; gap: 2.5rem; }
.how-intro h2 { font-size: clamp(2.6rem, 9vw, 5.5rem); letter-spacing: -.06em; }
.how-intro h2 em { display: block; }

.steps { border-block: 1px solid var(--line); }
.step {
  display: grid;
  gap: 1rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-n { font-family: var(--font-mono); font-size: .875rem; color: var(--signal); }
.step-title { display: flex; align-items: center; gap: 1rem; }
.step-icon {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  flex: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--signal);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.step:hover .step-icon { background: var(--signal); color: var(--ink); }
.step-title h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.03em;
}
.step p { margin: 0; line-height: 1.7; color: var(--w-48); }

/* ---------------------------------------------------------- stats band */

.stats-band {
  border-block: 1px solid var(--line);
  background: var(--band-stats);
  padding-block: 4rem;
}
.stats-grid { display: grid; gap: 2.5rem; align-items: center; }
.stats-band h2 { max-width: 850px; font-size: clamp(2.4rem, 7vw, 5.2rem); line-height: .92; letter-spacing: -.06em; }
.stats-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, .15);
  min-width: 250px;
}
.stats-pair div { background: #20353a; padding: 1.25rem; }
.stats-pair b { font-family: var(--font-mono); font-size: 1.875rem; font-weight: 700; }
.stats-pair small {
  display: block;
  margin-top: .25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

/* ------------------------------------------------------------ #questions */

#questions { background: var(--band-display); scroll-margin-top: 5rem; }
.faq-grid { display: grid; gap: 2.5rem; }
.faq-intro h2 { font-size: clamp(2.4rem, 8vw, 3.75rem); letter-spacing: -.055em; line-height: .92; }
.faq-intro p { margin-top: 1.5rem; max-width: 24rem; line-height: 1.7; color: rgba(255, 255, 255, .55); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.025em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 1rem; height: 1rem;
  margin-top: .3rem;
  background: currentColor;
  color: rgba(255, 255, 255, .5);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  transition: transform .2s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--signal); }
.faq-item p { margin: 0; padding: 0 3rem 1.5rem 0; max-width: 42rem; line-height: 1.7; color: rgba(255, 255, 255, .55); }

/* ----------------------------------------------------------- final CTA */

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--band-cta);
  padding-block: 4.5rem;
  text-align: center;
}
.final-cta-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 820px; height: 420px;
  max-width: 120vw;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(91, 242, 145, .1);
  filter: blur(100px);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  margin: 1.5rem auto 0;
  max-width: 980px;
  font-size: clamp(2.9rem, 10vw, 7.5rem);
  line-height: .86;
  letter-spacing: -.075em;
}
.final-cta p { margin: 2rem auto 0; max-width: 36rem; }
.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-top: 2.25rem;
}

/* -------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding-block: 2.25rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-inner p { margin: 0; max-width: 36rem; font-size: .875rem; line-height: 1.6; color: rgba(255, 255, 255, .42); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--signal);
  transition: color .18s var(--ease-out);
}
.footer-links a:hover { color: var(--white); }

/* -------------------------------------------------------------- dialog */

.request-dialog {
  width: min(560px, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--white);
  overflow: hidden;
}
.request-dialog::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }

.dialog-head {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(83, 245, 144, .13), transparent 58%);
}
.dialog-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -.035em;
}
.dialog-head p { margin: .75rem 0 0; max-width: 28rem; font-size: .95rem; line-height: 1.7; color: rgba(255, 255, 255, .62); }
.dialog-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
}
.dialog-close {
  position: absolute;
  top: 1rem; right: 1rem;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(6, 27, 31, .6);
  cursor: pointer;
  color: var(--w-67);
}
.dialog-close:hover { color: var(--white); border-color: rgba(255, 255, 255, .35); }

.request-form { display: grid; gap: 1.25rem; padding: 1.75rem 1.5rem; }
.field-row { display: grid; gap: 1.25rem; }
.field label {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.field input, .field select {
  width: 100%;
  min-height: 48px;
  padding: .7rem 1rem;
  border-radius: .8rem;
  border: 1px solid var(--line-2);
  background-color: rgba(255, 255, 255, .05);
  color: var(--white);
  font-family: inherit;
  font-size: .95rem;
}
.field select { padding-right: 2.5rem; }
.field input::placeholder { color: rgba(255, 255, 255, .3); }
.field input:focus, .field select:focus { border-color: var(--signal); }
.form-note { margin: 0; text-align: center; font-size: .75rem; line-height: 1.5; color: var(--w-40); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* --------------------------------------------------------- thanks page */

.thanks {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem 1.25rem;
  text-align: center;
}
.thanks-inner { max-width: 34rem; }
.thanks h1 {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .95;
}
.thanks p { margin: 1.25rem 0 0; line-height: 1.75; color: var(--w-58); }
.thanks .btn { margin-top: 2rem; }

/* ==================================================== 640px and wider */

@media (min-width: 640px) {
  .container { padding-inline: 1.5rem; }
  .section { padding-block: 6rem; }
  .hero { padding-block: 4.5rem 3.5rem; }
  .hero-ctas { flex-direction: row; }
  .final-cta-actions { flex-direction: row; justify-content: center; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .sim-top { padding: 1.75rem; }
  .sim-controls { padding: 1.75rem; }
  .image-card-copy { padding: 2.5rem; }
  .use-card { padding: 2.25rem; }
  .stats-band { padding-block: 5rem; }
  .final-cta { padding-block: 6rem; }
  .faq-item summary { font-size: 1.35rem; padding-block: 1.75rem; }
  .dialog-head { padding: 1.75rem 2rem; }
  .request-form { padding: 1.75rem 2rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 58px 1fr 1.25fr; align-items: center; gap: 1.25rem; padding-block: 2.25rem; }
  .stats-grid { grid-template-columns: 1fr auto; }
}

/* =================================================== 1024px and wider */

@media (min-width: 1024px) {
  .section { padding-block: 8rem; }

  .nav-desktop { display: flex; align-items: center; gap: 2rem; }
  .header-actions { display: flex; align-items: center; gap: 1rem; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .header-bar { height: 76px; }

  .hero { min-height: 820px; display: flex; align-items: center; padding-block: 5rem 7rem; }
  .hero-bg { opacity: .72; }
  .hero-scrim {
    background: linear-gradient(90deg,
      rgba(5, 23, 27, .99) 0%,
      rgba(5, 23, 27, .94) 36%,
      rgba(5, 23, 27, .42) 70%,
      rgba(5, 23, 27, .38) 100%);
  }
  .hero-inner { grid-template-columns: .86fr 1.14fr; gap: 3rem; width: 100%; }
  .hero h1 { font-size: clamp(4.1rem, 8.3vw, 8.7rem); }
  .hero-lede { font-size: 1.25rem; }
  .stock-card { max-width: 292px; justify-self: end; align-self: end; }

  /* The stat rail only exists where there is room for four columns. */
  .hero-rail {
    display: block;
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    border-top: 1px solid var(--line);
    background: rgba(6, 27, 31, .65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .hero-rail ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0; padding: 0;
    list-style: none;
  }
  .hero-rail li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem 1.25rem 0;
    border-left: 1px solid var(--line);
    padding-left: 1.75rem;
  }
  .hero-rail li:first-child { border-left: 0; padding-left: 0; }
  .hero-rail .icon { width: 1.25rem; height: 1.25rem; flex: none; color: var(--signal); }
  .hero-rail b { display: block; font-size: .875rem; font-weight: 600; }
  .hero-rail small { font-size: .75rem; color: var(--w-40); }

  .sim-top { padding: 2.5rem; }
  .sim-controls { grid-template-columns: 1fr 1.15fr; gap: 1.5rem; padding: 2rem; }

  .bento { grid-template-columns: repeat(12, 1fr); grid-template-rows: 400px 350px; }
  .bento > .card-tide { grid-column: span 7; grid-row: span 2; }
  .bento > .card-time { grid-column: span 5; min-height: 0; }
  .bento > .use-card { grid-column: span 5; }

  .how-grid { grid-template-columns: .8fr 1.2fr; gap: 2.5rem; }
  .faq-grid { grid-template-columns: .72fr 1.28fr; gap: 3rem; }
  .section-head { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 2rem; margin-bottom: 3rem; }
  .section-head .lede { padding-bottom: .5rem; }
}

/* =================================================== 1320px and wider */

@media (min-width: 1320px) {
  .container { padding-inline: 2rem; }
}
