/* ============================================================
   NEBURA — Ultrasonic cold brew
   Dark, premium, technology-first design system
   ============================================================ */

:root {
  /* surfaces */
  --bg-0: #08070a;
  --bg-1: #0d0b10;
  --bg-2: #14111a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* ink */
  --ink: #f2ede4;
  --ink-dim: #b3aa9c;
  --ink-faint: #8a8378; /* ≥4.5:1 on --bg-0 (WCAG AA) */

  /* accent — coffee / amber / copper */
  --amber: #e0a866;
  --amber-soft: #e8c496;
  --copper: #b5713d;
  --accent-grad: linear-gradient(120deg, #e8b170, #c07a42);

  /* type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* layout */
  --container: 1160px;
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 76px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: inherit; }

::selection { background: rgba(224, 168, 102, 0.35); }

.visually-hidden {
  position: absolute !important;
  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;
}

.skip-link {
  position: absolute;
  top: -48px; left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--amber);
  color: #1a1108;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  position: relative;
  padding-block: clamp(88px, 12vw, 150px);
}

.section-alt {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(181, 113, 61, 0.07), transparent 60%),
    var(--bg-1);
  border-block: 1px solid var(--line);
}

/* ---------- typography blocks ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

h2,
.page-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 18ch;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-dim);
  max-width: 62ch;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-claim {
  margin: clamp(48px, 7vw, 80px) auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: none;
}

.fine-print {
  font-size: 0.82rem;
  color: var(--ink-faint);
  max-width: 60ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.25s, border-color 0.25s, opacity 0.25s;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent-grad);
  color: #1a1006;
  box-shadow: 0 8px 28px rgba(200, 130, 66, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200, 130, 66, 0.4);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--surface-strong);
  border-color: rgba(224, 168, 102, 0.5);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 9, 12, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark { width: 26px; height: 26px; color: var(--amber); flex: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}
.main-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.main-nav a:not(.btn):hover { color: var(--ink); }

.header-cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 48px) 80px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-glow-1 {
  width: 620px; height: 620px;
  right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(181, 113, 61, 0.32), transparent 65%);
}
.hero-glow-2 {
  width: 520px; height: 520px;
  left: -180px; bottom: -160px;
  background: radial-gradient(circle, rgba(90, 70, 140, 0.22), transparent 65%);
  animation-delay: -9s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 30px, 0) scale(1.08); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(224, 168, 102, 0.6);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 168, 102, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(224, 168, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 168, 102, 0); }
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  margin-bottom: 24px;
}
h1 em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--ink-dim);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.dot-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--copper);
  display: inline-block;
}

/* hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.hero-glass {
  position: relative;
  width: min(300px, 70vw);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.sonic-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.sonic-rings span {
  position: absolute;
  width: 300px; height: 300px;
  border: 1px solid rgba(224, 168, 102, 0.35);
  border-radius: 50%;
  animation: ring 6s var(--ease-out) infinite;
  opacity: 0;
}
.sonic-rings span:nth-child(2) { animation-delay: 1.5s; }
.sonic-rings span:nth-child(3) { animation-delay: 3s; }
.sonic-rings span:nth-child(4) { animation-delay: 4.5s; }
@keyframes ring {
  0%   { transform: scale(0.55); opacity: 0; }
  15%  { opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* bubbles inside SVGs */
.bubbles .b { animation: rise 5s ease-in infinite; opacity: 0; }
.bubbles .b1 { animation-delay: 0s; }
.bubbles .b2 { animation-delay: 1.1s; }
.bubbles .b3 { animation-delay: 2.3s; }
.bubbles .b4 { animation-delay: 3.1s; }
.bubbles .b5 { animation-delay: 4s; }
@keyframes rise {
  0%   { transform: translateY(0); opacity: 0; }
  12%  { opacity: 0.85; }
  85%  { opacity: 0.4; }
  100% { transform: translateY(-170px); opacity: 0; }
}

/* tech diagram waves */
.waves .w { animation: waveUp 3.2s ease-out infinite; opacity: 0; transform-origin: 180px 370px; }
.waves .w2 { animation-delay: 0.5s; }
.waves .w3 { animation-delay: 1s; }
@keyframes waveUp {
  0%   { opacity: 0; transform: translateY(10px); }
  25%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-26px); }
}

/* pour stream shimmer */
.pour { animation: pour 2.6s ease-in-out infinite; }
@keyframes pour {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 0.55; }
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--amber);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- statement band ---------- */
.statement-band {
  padding-block: clamp(56px, 8vw, 100px);
  background:
    radial-gradient(900px 320px at 50% 120%, rgba(181, 113, 61, 0.12), transparent 70%),
    var(--bg-1);
  border-block: 1px solid var(--line);
  text-align: center;
}
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.statement em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  gap: 20px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background-color 0.35s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 168, 102, 0.35);
  background: var(--surface-strong);
}
.card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--amber);
  background: rgba(224, 168, 102, 0.09);
  border: 1px solid rgba(224, 168, 102, 0.22);
}
.card-icon svg { width: 24px; height: 24px; }

.card-min { padding: 28px 24px; }

/* ---------- section head with pill ---------- */
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(224, 168, 102, 0.35);
  background: rgba(224, 168, 102, 0.07);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-top: 8px;
}

/* ---------- technology split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.split-copy > p:first-child {
  font-size: 1.1rem;
  color: var(--ink-dim);
}

.split-claim {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--amber-soft);
  margin: 28px 0 40px;
}

.tech-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.tech-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.tech-step h3 { font-size: 1.08rem; margin-bottom: 4px; }
.tech-step p { margin: 0; color: var(--ink-dim); font-size: 0.94rem; }

.step-num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #1a1006;
  background: var(--accent-grad);
}

.split-visual { position: sticky; top: calc(var(--header-h) + 24px); }

.tech-figure {
  margin: 0;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 300px at 50% 100%, rgba(181, 113, 61, 0.1), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
}
.tech-figure svg { width: 100%; }
.tech-figure figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------- product ---------- */
.product-stage {
  position: relative;
  margin-block: clamp(40px, 6vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  overflow: hidden;
}
.product-glow {
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 400px;
  background: radial-gradient(ellipse at 50% 100%, rgba(200, 130, 66, 0.18), transparent 65%);
  pointer-events: none;
}
.product-render {
  position: relative;
  width: min(560px, 100%);
  margin-inline: auto;
}
.product-caption {
  position: relative;
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------- coffee shops ---------- */
.pro-cta {
  margin-top: clamp(44px, 6vw, 64px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 15% 0%, rgba(181, 113, 61, 0.1), transparent 70%),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.pro-note {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 500;
  max-width: 34ch;
}

/* ---------- culture ---------- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.culture-card h3 { font-size: 1.15rem; margin: 20px 0 6px; }
.culture-card p { margin: 0; color: var(--ink-dim); font-size: 0.95rem; }

.culture-art {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.culture-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120px 120px at 75% 30%, rgba(255, 255, 255, 0.14), transparent 70%),
    linear-gradient(180deg, transparent 40%, rgba(8, 7, 10, 0.55));
}
.culture-art-1 {
  background:
    radial-gradient(220px 180px at 25% 75%, rgba(232, 196, 150, 0.4), transparent 70%),
    linear-gradient(140deg, #241610, #0f0a12 70%);
}
.culture-art-2 {
  background:
    radial-gradient(260px 200px at 70% 70%, rgba(200, 130, 66, 0.45), transparent 70%),
    linear-gradient(150deg, #1a1210, #120c16 65%);
}
.culture-art-3 {
  background:
    radial-gradient(240px 190px at 35% 35%, rgba(122, 96, 168, 0.35), transparent 70%),
    radial-gradient(200px 160px at 80% 85%, rgba(181, 113, 61, 0.3), transparent 70%),
    linear-gradient(160deg, #17111d, #0d0a10 70%);
}

/* ---------- comparison table ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.compare-table th,
.compare-table td {
  padding: 20px 26px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.025);
}
.compare-table tbody th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.compare-table td { color: var(--ink-dim); }

.compare-table .col-nebura {
  color: var(--amber-soft);
  background: rgba(224, 168, 102, 0.05);
}
.compare-table thead .col-nebura {
  color: var(--amber);
  border-bottom: 1px solid rgba(224, 168, 102, 0.35);
}

#comparison .fine-print { margin-top: 24px; }

/* ---------- waitlist ---------- */
.waitlist { overflow: hidden; }

.waitlist-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(181, 113, 61, 0.16), transparent 65%),
    radial-gradient(700px 500px at 90% 90%, rgba(90, 70, 140, 0.12), transparent 65%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-top: 1px solid var(--line);
  pointer-events: none;
}

.waitlist-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.waitlist-copy .lede { margin-bottom: 28px; }

.waitlist-claim {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--amber-soft);
}

.glass-panel {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.form-field .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink-faint);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 7, 10, 0.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-faint); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber);
  background: rgba(8, 7, 10, 0.75);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--ink-dim);
  border-bottom: 1.5px solid var(--ink-dim);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select-wrap select:invalid { color: var(--ink-faint); }
.select-wrap option { background: var(--bg-2); color: var(--ink); }

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 14px 0 6px;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-status.ok { color: #9fd8a4; }
.form-status.error { color: #e0917f; }

.waitlist-form .fine-print { margin: 6px 0 0; text-align: center; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  padding-block: 56px 32px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
}
.footer-brand .logo { font-size: 1.2rem; }
.footer-claim {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  font-size: 0.92rem;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--ink); }

.footer-mail {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--amber-soft);
  text-decoration: none;
}
.footer-mail:hover { text-decoration: underline; }

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer-legal p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* ---------- reveal animations ----------
   Hidden state is scoped to html.js (class set by an inline script in <head>),
   so content stays visible if JavaScript never loads. */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
html.js .reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* fallback for browsers without IntersectionObserver */
html.no-observer .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-visual { position: static; max-width: 560px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; order: -1; }
  .hero-glass { width: min(210px, 52vw); }
  .sonic-rings span { width: 230px; height: 230px; }
  .hero { padding-top: calc(var(--header-h) + 28px); }

  .card-grid-3 { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .waitlist-inner { grid-template-columns: 1fr; }

  /* mobile nav */
  .nav-toggle { display: flex; }
  .header-cta { display: inline-flex; margin-left: auto; }
  .nav-cta { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 28px;
    background: rgba(10, 9, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }
  .main-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .main-nav a:not(.btn) {
    padding: 16px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .card-grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .scroll-hint { display: none; }
  .pro-cta { justify-content: center; text-align: center; }
  .footer-inner { flex-direction: column; }
}

/* ---------- reduced motion ---------- */
@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;
    transition-delay: 0ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .sonic-rings, .scroll-hint span { display: none; }
  .bubbles .b { opacity: 0.5; }
  .waves .w { opacity: 0.5; }
}
