/* =========================================================
   CigarWatchman — landing page styles
   Palette: mahogany, espresso, Spanish cedar, brass
   ========================================================= */

:root {
  --bg-0: #100907;
  --bg-1: #170d09;
  --bg-2: #20120c;
  --mahogany: #4a1d10;
  --mahogany-2: #6b2b16;
  --mahogany-3: #8a3a1e;
  --cedar: #b97f52;
  --cedar-2: #d4a577;
  --gold: #c9a35f;
  --gold-2: #e2c48a;
  --gold-3: #f3dfb0;
  --brass-dark: #8a6a35;
  --cream: #f3e9d8;
  --parchment: #efe4d0;
  --ink: #2a160d;
  --text: #e9dcc7;
  --muted: #b39e86;
  --faint: #7f6b58;
  --line: rgba(201, 163, 95, 0.18);
  --line-2: rgba(201, 163, 95, 0.32);
  --green: #93b07d;
  --amber: #e0a24a;
  --oxblood: #b4503a;
  --water: #9fc0b9;

  --ff-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* film grain */
  content: "";
  position: fixed; inset: 0;
  background: url(../assets/noise.svg);
  opacity: .05;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: overlay;
}
body.locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold-3); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--cream); }
h1, h2 { font-family: var(--ff-display); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 9vw, 5.4rem); line-height: .98; }
h2 { font-size: clamp(2.1rem, 6vw, 3.5rem); line-height: 1.04; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold-2); }
h3 { font-size: 1.08rem; letter-spacing: .005em; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.hero .eyebrow::before { display: none; }

.lead { font-size: clamp(1.05rem, 2.4vw, 1.2rem); color: var(--muted); max-width: 36em; }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 1.06rem; max-width: 40em; }
.label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.fine { font-size: .8rem; color: var(--faint); margin-top: 14px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn-primary {
  color: #1d1009;
  background: linear-gradient(135deg, #f3dca5 0%, #d3ad68 42%, #a8803f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 26px -10px rgba(201,163,95,.6);
}
.btn-primary:hover { color: #1d1009; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 14px 32px -10px rgba(201,163,95,.75); }
.btn-ghost { color: var(--gold-2); border-color: var(--line-2); background: rgba(201,163,95,.04); }
.btn-ghost:hover { color: var(--gold-3); border-color: var(--gold); background: rgba(201,163,95,.09); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .86rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled { background: rgba(16, 9, 7, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand-mark { width: 30px; height: 30px; color: var(--gold-2); }
.brand-word { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; letter-spacing: .005em; }
.brand-word span { color: var(--gold-2); font-style: italic; font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) { color: var(--muted); font-size: .9rem; font-weight: 500; position: relative; }
.main-nav a:not(.btn):hover { color: var(--cream); }
.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(16,9,7,.5);
  }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--gold-2); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 22px 24px;
    background: rgba(16, 9, 7, .97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-cta { margin-top: 18px; }
  .site-header.menu-open { background: rgba(16, 9, 7, .97); }
}

/* ---------- sections ---------- */
.section { position: relative; padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.section-wood {
  background:
    linear-gradient(180deg, rgba(16,9,7,.95) 0%, rgba(16,9,7,.74) 16%, rgba(16,9,7,.74) 84%, rgba(16,9,7,.95) 100%),
    url(../assets/wood-grain.svg) center / 900px 600px,
    linear-gradient(160deg, #3d170c, #24100a 60%, #1a0c07);
}

.section-parchment {
  background:
    radial-gradient(1200px 500px at 15% 0%, rgba(255,255,255,.5), transparent 60%),
    linear-gradient(180deg, #f2e7d4, #e7d8bf);
  color: var(--ink);
}
.section-parchment h2, .section-parchment h3 { color: var(--ink); }
.section-parchment h2 em { color: var(--mahogany-3); }
.section-parchment .eyebrow { color: var(--mahogany-3); }
.section-parchment .section-lead, .section-parchment p { color: #5a4232; }
.section-parchment .label { color: #8a6a50; }

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
}

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   AGE GATE
   ========================================================= */
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 22px;
  background:
    radial-gradient(800px 500px at 50% 30%, rgba(138,58,30,.35), transparent 70%),
    rgba(10, 6, 4, .94);
  backdrop-filter: blur(8px);
}
.age-gate[hidden] { display: none; }
.age-card {
  width: min(440px, 100%);
  text-align: center;
  padding: 44px 32px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #24140d, #170d09);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(243,223,176,.08);
  animation: rise .6s var(--ease) both;
}
.age-mark { width: 54px; height: 54px; margin: 0 auto 18px; color: var(--gold-2); }
.age-card .eyebrow { justify-content: center; }
.age-card .eyebrow::before { display: none; }
.age-card h2 { font-size: 2.3rem; }
.age-copy { color: var(--muted); margin: 12px 0 28px; font-size: .95rem; }
.age-actions { display: flex; gap: 12px; justify-content: center; }
.age-actions .btn { flex: 1; }
.age-denied { margin-top: 18px; color: var(--amber); font-size: .92rem; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: calc(var(--header-h) + 40px) 0 56px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 600px at 78% 38%, rgba(138, 58, 30, .45), transparent 65%),
    radial-gradient(700px 500px at 10% 10%, rgba(74, 29, 16, .6), transparent 70%),
    linear-gradient(180deg, #1c0f0a 0%, var(--bg-0) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: url(../assets/wood-grain.svg) center / 900px 600px;
  opacity: .2;
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; gap: 20px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(147,176,125,.15); }
.hero-nos { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-nos li { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-size: .92rem; font-weight: 500; }
.hero-nos li::before { content: ""; width: 14px; height: 1px; background: var(--gold); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-device { margin: 0; position: relative; }
.device-svg { width: 100%; height: auto; overflow: visible; }
.device-svg text { font-family: var(--ff-body); }
.device-svg .engrave { font-weight: 700; }
.dev-btn { cursor: pointer; outline: none; }
.dev-btn circle:nth-child(2) { transition: fill .2s; }
.dev-btn:hover circle:nth-child(2), .dev-btn:focus-visible circle:nth-child(2) { fill: #2a170d; }
.dev-btn.pressed circle:nth-child(2) { fill: #4a2c14; }
#dTop.blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.wave { animation: wave 5s linear infinite; }
@keyframes wave { to { transform: translateX(36px); } }
.wisps { opacity: 0; transition: opacity 1.2s; }
.wisps.on { opacity: 1; }
.wisps path { animation: wisp 4s ease-in-out infinite; }
.wisps path:nth-child(2) { animation-delay: -1.3s; }
.wisps path:nth-child(3) { animation-delay: -2.6s; }
@keyframes wisp { 0% { transform: translateY(8px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-26px); opacity: 0; } }

.device-caption {
  display: flex; align-items: flex-start; gap: 10px; justify-content: center;
  margin: 6px auto 0; max-width: 30em;
  font-size: .8rem; color: var(--faint); text-align: left;
}
.device-caption b { color: var(--gold-2); }
.hint-dot { flex: none; margin-top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,163,95,.6); } 100% { box-shadow: 0 0 0 10px rgba(201,163,95,0); } }

.hero-stats {
  margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-stats > div { padding: 22px 16px; border-right: 1px solid var(--line); }
.hero-stats > div:nth-child(2n) { border-right: 0; }
.hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.hero-stats dt { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 600; color: var(--gold-2); line-height: 1.1; }
.hero-stats dd { margin: 4px 0 0; font-size: .84rem; color: var(--muted); }

@media (min-width: 900px) {
  .hero { padding: calc(var(--header-h) + 56px) 0 64px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 40px; }
  .hero-device { margin-right: -30px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats > div { border-bottom: 0 !important; border-right: 1px solid var(--line) !important; padding: 26px 24px; }
  .hero-stats > div:last-child { border-right: 0 !important; }
}

/* =========================================================
   PROBLEM
   ========================================================= */
.problem-grid { display: grid; gap: 18px; }
.problem {
  position: relative; padding: 32px 28px 30px;
  border-radius: var(--radius);
  background: rgba(255, 252, 245, .55);
  border: 1px solid rgba(106, 60, 30, .14);
  box-shadow: 0 20px 40px -30px rgba(74, 29, 16, .45);
}
.problem-num { display: block; font-family: var(--ff-display); font-size: 3.2rem; line-height: 1; font-style: italic; color: var(--mahogany-3); opacity: .85; margin-bottom: 18px; }
.problem h3 { font-size: 1.2rem; margin-bottom: 10px; }
.problem p { font-size: .98rem; }
@media (min-width: 820px) { .problem-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* =========================================================
   FEATURES
   ========================================================= */
.feature-grid { display: grid; gap: 14px; }
.feature {
  position: relative; padding: 28px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 235, 200, .035), rgba(255, 235, 200, .01));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px 160px at var(--mx, 50%) var(--my, 0%), rgba(201,163,95,.14), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feature:hover::after { opacity: 1; }
.f-icon { width: 34px; height: 34px; margin-bottom: 20px; fill: none; stroke: var(--gold-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .95rem; }
.feature p em { color: var(--gold-2); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* =========================================================
   TWO-WAY SIMULATOR
   ========================================================= */
.sim {
  display: grid; gap: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(23,13,9,.92), rgba(16,9,7,.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sim-stage { padding: 26px 18px 14px; position: relative; background: radial-gradient(500px 300px at 50% 40%, rgba(138,58,30,.22), transparent 70%); }
.cutaway { width: 100%; height: auto; overflow: visible; }
.svg-micro { font-family: var(--ff-body); font-size: 8px; letter-spacing: 1.4px; fill: var(--muted); font-weight: 600; }
.svg-gold { fill: var(--gold-2); }
.zl { font-family: var(--ff-body); font-size: 11px; letter-spacing: 2.6px; font-weight: 700; fill: var(--faint); transition: fill .4s; }
.sim-note { text-align: center; font-size: .72rem; color: var(--faint); margin-top: 6px; letter-spacing: .04em; }

.fan .blades { transform-box: fill-box; transform-origin: center; }
.cutaway.is-humidify #simFan1 .blades, .cutaway.is-dehumidify #simFan2 .blades { animation: spin .6s linear infinite; }
.cutaway.is-humidify .zl-h, .cutaway.is-dehumidify .zl-d { fill: var(--gold-2); }
.zl-c { fill: var(--green) !important; opacity: .8; }

.mist circle { opacity: 0; }
.cutaway.is-humidify .mist circle { animation: mist 2.2s linear infinite; }
.mist circle:nth-child(2) { animation-delay: -.3s !important; }
.mist circle:nth-child(3) { animation-delay: -.6s !important; }
.mist circle:nth-child(4) { animation-delay: -.9s !important; }
.mist circle:nth-child(5) { animation-delay: -1.2s !important; }
.mist circle:nth-child(6) { animation-delay: -1.5s !important; }
.mist circle:nth-child(7) { animation-delay: -1.8s !important; }
.mist circle:nth-child(8) { animation-delay: -2.05s !important; }
@keyframes mist {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: .9; }
  70% { opacity: .55; }
  100% { transform: translate(var(--dx, 0px), -160px); opacity: 0; }
}
.mist circle:nth-child(odd) { --dx: -14px; }
.mist circle:nth-child(3n) { --dx: 16px; }

.air line { opacity: 0; }
.cutaway.is-dehumidify .air line { animation: air 1.8s linear infinite; }
.air line:nth-child(2) { animation-delay: -.6s !important; }
.air line:nth-child(3) { animation-delay: -1.2s !important; }
.air line:nth-child(4) { animation-delay: -.3s !important; }
.air line:nth-child(5) { animation-delay: -.9s !important; }
.air line:nth-child(6) { animation-delay: -1.5s !important; }
@keyframes air {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: .9; }
  85% { opacity: .7; }
  100% { transform: translateY(335px); opacity: 0; }
}
.louver { transform-box: fill-box; transform-origin: center; transition: transform .9s var(--ease); }
.cutaway.is-dehumidify .louver { transform: rotate(78deg); }
@keyframes spin { to { transform: rotate(360deg); } }

#simWater { transition: y .6s, height .6s; }
.chip { transition: stroke .4s; }

.sim-panel { padding: 26px 22px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.sim-readout { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; }
.sim-rh { white-space: nowrap; font-family: var(--ff-display); font-size: 4rem; line-height: .9; font-weight: 600; color: var(--cream); font-variant-numeric: tabular-nums; }
.sim-rh small { font-family: var(--ff-body); font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: .04em; }

.mode-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--muted);
  transition: color .3s, border-color .3s, background .3s;
}
.mode-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mode-pill[data-mode="humidify"] { color: var(--water); border-color: rgba(159,192,185,.45); background: rgba(159,192,185,.08); }
.mode-pill[data-mode="dehumidify"] { color: var(--gold-2); border-color: rgba(226,196,138,.5); background: rgba(226,196,138,.08); }
.mode-pill[data-mode="hold"] { color: var(--green); border-color: rgba(147,176,125,.45); background: rgba(147,176,125,.08); }

.segmented { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.segmented button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,235,200,.025); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; color: var(--text); text-align: left;
  transition: border-color .25s, background .25s, color .25s;
}
.segmented button small { font-size: .72rem; font-weight: 500; color: var(--faint); }
.segmented button:hover { border-color: var(--line-2); }
.segmented button[aria-checked="true"] { border-color: var(--gold); background: rgba(201,163,95,.1); color: var(--gold-3); box-shadow: inset 0 0 0 1px rgba(201,163,95,.3); }
.segmented button[aria-checked="true"] small { color: var(--gold); }

.ctrl-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: rgba(255,235,200,.02); }
.stepper button { width: 44px; height: 42px; border: 0; background: transparent; font-size: 1.25rem; color: var(--gold-2); transition: background .2s; }
.stepper button:hover { background: rgba(201,163,95,.12); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 54px; text-align: center; font-weight: 700; color: var(--cream); font-variant-numeric: tabular-nums; }

.sim-chart-wrap { border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 6px; background: rgba(0,0,0,.18); }
.chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .76rem; color: var(--muted); margin-bottom: 6px; }
.lg { display: inline-flex; align-items: center; gap: 7px; }
.lg-cw::before { content: ""; width: 16px; height: 2.5px; border-radius: 2px; background: var(--gold-2); }
.lg-ao { cursor: pointer; }
.lg-ao input { accent-color: var(--gold); margin: 0; }
.lg-time { margin-left: auto; color: var(--faint); }
#simChart { width: 100%; height: auto; display: block; overflow: visible; }
#simChart .grid line { stroke: rgba(201,163,95,.1); vector-effect: non-scaling-stroke; }
#simChart .grid text { font-size: 15px; fill: var(--faint); font-family: var(--ff-body); }
.sim-log { min-height: 3em; font-size: .9rem; color: var(--muted); border-left: 2px solid var(--gold); padding-left: 12px; }

@media (min-width: 980px) {
  .sim { grid-template-columns: 1.25fr 1fr; }
  .sim-stage { padding: 40px 30px 18px; display: flex; flex-direction: column; justify-content: center; }
  .sim-panel { border-top: 0; border-left: 1px solid var(--line); padding: 32px 30px; }
}

.how-grid { display: grid; gap: 14px; margin-top: 26px; }
.how { padding: 22px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(16,9,7,.5); }
.how h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.how p { color: var(--muted); font-size: .94rem; }
.how-dot { width: 9px; height: 9px; border-radius: 50%; }
.how-h { background: var(--water); } .how-d { background: var(--gold-2); } .how-c { background: var(--green); }
@media (min-width: 820px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   SAFETY
   ========================================================= */
.safety {
  display: grid;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #1b0f0a, #130a07);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.safety-stage { position: relative; padding: 30px 18px 22px; background: radial-gradient(500px 280px at 40% 30%, rgba(201,163,95,.08), transparent 70%); }
.schematic { width: 100%; height: auto; overflow: visible; }
.schematic text { font-family: var(--ff-body); }
.blk { fill: #120a07; stroke: var(--line-2); stroke-width: 1.2; transition: stroke .4s, fill .4s; }
.blk-wd { stroke: rgba(201,163,95,.6); }
.blk-t { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; fill: var(--cream); }
.blk-s { font-size: 9.5px; fill: var(--muted); letter-spacing: .3px; }
.blk-st { font-size: 10px; font-weight: 700; letter-spacing: .8px; fill: var(--green); transition: fill .3s; }
.sf-val { font-size: 12px; font-weight: 700; fill: var(--gold-2); font-variant-numeric: tabular-nums; }
.pwr { fill: none; stroke: var(--gold-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 6; animation: flow 1s linear infinite; transition: stroke .4s, opacity .4s; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.term { fill: #120a07; stroke: var(--gold-2); stroke-width: 2; }
.arm { stroke: var(--gold-2); stroke-width: 3.5; stroke-linecap: round; transform-box: view-box; transform-origin: 226px 64px; transition: transform .35s cubic-bezier(.5, -0.4, .4, 1.6), stroke .3s; }
.sig { fill: none; stroke: var(--faint); stroke-width: 1.5; stroke-dasharray: 3 4; }
.sig-wd { stroke: var(--gold); }
.sf-fan .blades { transform-box: fill-box; transform-origin: center; }

.schematic.is-humidifying .sf-fan .blades { animation: spin .5s linear infinite; }
.schematic.is-frozen #sfCtrlBlk { stroke: var(--oxblood); fill: #1e0d09; animation: glitch .25s steps(2) infinite; }
.schematic.is-frozen #sfCtrlStatus { fill: #e07a62; }
@keyframes glitch { 50% { opacity: .75; } }
.schematic.is-tripped .arm { transform: rotate(-32deg); stroke: var(--amber); }
.schematic.is-tripped #sfPowerB { stroke: var(--faint); opacity: .25; animation: none; }
.schematic.is-tripped #sfWdBlk { stroke: var(--amber); fill: #22150a; }
.schematic.is-tripped #sfWdStatus { fill: var(--amber); }
.schematic.is-tripped #sfHumBlk { stroke: rgba(201,163,95,.15); }

.phone-toast {
  position: absolute; left: 50%; top: 12px; z-index: 3;
  display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start;
  width: min(360px, calc(100% - 28px));
  padding: 12px 14px; border-radius: 16px;
  background: rgba(40, 26, 18, .92); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.8), inset 0 0 0 1px rgba(243,223,176,.12);
  transform: translate(-50%, -140%); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s;
}
.phone-toast.show { transform: translate(-50%, 0); opacity: 1; }
.phone-toast svg { width: 30px; height: 30px; color: var(--gold-2); background: #120a07; border-radius: 8px; padding: 3px; }
.phone-toast strong { display: block; font-size: .85rem; color: var(--cream); }
.phone-toast span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.phone-toast time { font-size: .7rem; color: var(--faint); }

.safety-panel { padding: 26px 22px 30px; border-top: 1px solid var(--line); }
.safety-status { font-size: 1.02rem; color: var(--cream); min-height: 3.2em; }
.safety-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 16px; }
.sf-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .78rem; color: var(--muted); margin-bottom: 22px; }
.sf-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 16px; height: 0; border-top: 3px solid var(--gold-2); border-radius: 2px; }
.sw-ghost { border-top: 2px dashed var(--oxblood); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: .93rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px);
}
.check-list b { color: var(--cream); font-weight: 600; }
@media (min-width: 980px) {
  .safety { grid-template-columns: 1.3fr 1fr; }
  .safety-stage { padding: 56px 34px 30px; display: flex; align-items: center; }
  .safety-panel { border-top: 0; border-left: 1px solid var(--line); padding: 36px 32px; }
}

/* =========================================================
   INSIDE / HOTSPOTS
   ========================================================= */
.inside { display: grid; gap: 22px; align-items: center; }
.inside-figure { position: relative; max-width: 640px; margin: 0 auto; width: 100%; }
.inside-figure img { width: 100%; height: auto; }
.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .74rem; font-weight: 700; color: #1d1009;
  background: linear-gradient(135deg, #f3dca5, #c49a55);
  border: 0;
  box-shadow: 0 0 0 4px rgba(201,163,95,.22), 0 6px 14px rgba(0,0,0,.5);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.hotspot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(243,223,176,.7);
  animation: ring 2.4s var(--ease) infinite;
}
.hotspot:hover, .hotspot.active { transform: translate(-50%, -50%) scale(1.15); box-shadow: 0 0 0 6px rgba(243,223,176,.3), 0 8px 18px rgba(0,0,0,.55); }
.hotspot.active { background: linear-gradient(135deg, #fff1cf, #e2c48a); }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.inside-panel { border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(16,9,7,.7); backdrop-filter: blur(6px); overflow: hidden; }
.spot-tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.spot-tabs::-webkit-scrollbar { display: none; }
.spot-tabs button {
  flex: 1 0 auto; padding: 14px 14px; border: 0; background: transparent;
  font-size: .82rem; font-weight: 600; color: var(--faint);
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.spot-tabs button[aria-selected="true"] { color: var(--gold-2); border-bottom-color: var(--gold); }
.spot-tabs button:hover { color: var(--cream); }
.spot-detail { padding: 26px 24px 28px; min-height: 260px; }
.spot-detail .spot-num { font-family: var(--ff-display); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.spot-detail h3 { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 600; margin: 4px 0 12px; }
.spot-detail p { color: var(--muted); }
.spot-detail ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.spot-detail li { display: flex; gap: 10px; font-size: .9rem; color: var(--text); }
.spot-detail li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 9px; background: var(--gold); transform: rotate(45deg); }
.spot-detail.swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.sensor-live { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 18px; }
.sensor-live div { padding: 12px; border-radius: 12px; border: 1px solid var(--line); text-align: center; background: rgba(255,235,200,.02); }
.sensor-live span { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.sensor-live b { font-size: 1.2rem; color: var(--cream); font-variant-numeric: tabular-nums; }
.sensor-live .ok b { color: var(--green); }

.mini-specs { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.mini-specs li { padding: 20px 18px; background: rgba(20, 11, 8, .92); }
.mini-specs b { display: block; font-family: var(--ff-display); font-size: 1.45rem; color: var(--gold-2); font-weight: 600; }
.mini-specs span { font-size: .83rem; color: var(--muted); }
@media (min-width: 980px) {
  .inside { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .mini-specs { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   APP / PHONE
   ========================================================= */
.app-grid { display: grid; gap: 48px; align-items: center; }
.app-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.app-points li { position: relative; padding-left: 22px; color: var(--muted); font-size: .96rem; }
.app-points li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.app-points b { color: var(--cream); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 600; color: var(--gold-2); background: rgba(201,163,95,.05); }
@media (min-width: 980px) { .app-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.phone-wrap { display: flex; flex-direction: column; align-items: center; }
.phone {
  position: relative;
  width: 320px; max-width: 100%;
  aspect-ratio: 9 / 19;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(145deg, #3a2618, #120a07 40%, #2a1a10);
  box-shadow:
    inset 0 0 0 1.5px rgba(226,196,138,.45),
    inset 0 0 0 5px #0b0604,
    0 50px 80px -30px rgba(0,0,0,.9),
    0 0 120px -20px rgba(201,163,95,.18);
}
.phone-island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 5; }
.phone-screen {
  position: relative; height: 100%; border-radius: 42px; overflow: hidden;
  background: radial-gradient(420px 300px at 50% 0%, #3a1a0e, transparent 70%), linear-gradient(180deg, #1a0e09, #120a07);
  display: flex; flex-direction: column;
  font-size: 13px;
}
.app-statusbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px 0; height: 46px; font-size: 12.5px; font-weight: 700; color: var(--cream); }
.sb-icons { display: flex; gap: 4px; }
.sb-icons i { width: 14px; height: 9px; border-radius: 2px; background: var(--cream); opacity: .85; }
.sb-icons i:nth-child(1) { width: 12px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sb-icons i:nth-child(3) { width: 20px; border-radius: 3px; }

.app-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 4px; }
.humidor-switch { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; font-family: var(--ff-display); font-size: 1.35rem; font-weight: 600; color: var(--cream); }
.humidor-switch svg { width: 12px; height: 12px; color: var(--gold); }
.conn { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--green); }
.conn i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.app-views { position: relative; flex: 1; overflow: hidden; }
.app-view { position: absolute; inset: 0; padding: 8px 18px 14px; overflow-y: auto; scrollbar-width: none; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .35s, transform .35s var(--ease), visibility .35s; }
.app-view::-webkit-scrollbar { display: none; }
.app-view.is-active { opacity: 1; visibility: visible; transform: none; }

.ring-wrap { position: relative; width: 190px; margin: 4px auto 0; }
.ring { width: 100%; height: auto; overflow: visible; }
.ring path { fill: none; stroke-linecap: round; stroke-width: 12; }
.ring-track { stroke: rgba(201,163,95,.13); }
.ring-val { stroke: var(--gold-2); stroke-dasharray: 0 100; transition: stroke-dasharray .8s var(--ease); filter: drop-shadow(0 0 6px rgba(226,196,138,.45)); }
#ringSp { transform-origin: 100px 100px; transition: transform .5s var(--ease); }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 6px; }
.ring-num { font-family: var(--ff-display); font-size: 3.1rem; font-weight: 600; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.ring-unit { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.ring-mode { margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.target-row { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 12px; padding: 8px 12px; border-radius: 14px; background: rgba(255,235,200,.03); border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.stepper-sm button { width: 32px; height: 30px; font-size: 1rem; }
.stepper-sm output { min-width: 40px; font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat-grid div { padding: 10px 12px; border-radius: 12px; background: rgba(255,235,200,.03); border: 1px solid var(--line); }
.stat-grid span { display: block; font-size: 10.5px; color: var(--faint); }
.stat-grid b { font-size: 14px; color: var(--cream); font-variant-numeric: tabular-nums; }

.seg-sm { display: flex; padding: 3px; border-radius: 10px; background: rgba(255,235,200,.04); border: 1px solid var(--line); margin-bottom: 10px; }
.seg-sm button { flex: 1; border: 0; background: none; padding: 6px 0; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: var(--faint); transition: background .2s, color .2s; }
.seg-sm button.on { background: rgba(201,163,95,.16); color: var(--gold-3); }
.hist-chart { width: 100%; height: auto; margin-bottom: 8px; }
.hist-chart text { font-family: var(--ff-body); font-size: 8px; fill: var(--faint); }
.hist-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 12px; }
.hist-stats div { text-align: center; padding: 7px 2px; border-radius: 10px; background: rgba(255,235,200,.03); }
.hist-stats span { display: block; font-size: 9.5px; color: var(--faint); }
.hist-stats b { font-size: 12.5px; color: var(--cream); font-variant-numeric: tabular-nums; }
.app-fine { display: block; font-size: 10.5px; color: var(--faint); margin-top: 8px; text-align: center; }

.alert-list { list-style: none; margin: 0 0 12px; padding: 0; }
.alert-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 2px; border-bottom: 1px solid var(--line); }
.alert-list b { display: block; font-size: 12.5px; font-weight: 600; color: var(--cream); }
.alert-list span { display: block; font-size: 10.5px; color: var(--faint); line-height: 1.35; }
.tg { flex: none; position: relative; width: 38px; height: 22px; border-radius: 999px; border: 0; background: rgba(255,235,200,.12); transition: background .25s; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); transition: transform .25s var(--ease); }
.tg[aria-checked="true"] { background: var(--gold); }
.tg[aria-checked="true"]::after { transform: translateX(16px); }

.app-banner {
  position: absolute; left: 10px; right: 10px; top: 8px; z-index: 6;
  display: grid; grid-template-columns: 28px 1fr; gap: 9px; align-items: start;
  padding: 10px 12px; border-radius: 18px;
  background: rgba(52, 34, 23, .96); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.8), inset 0 0 0 1px rgba(243,223,176,.12);
  transform: translateY(-130%); transition: transform .55s var(--ease);
}
.app-banner.show { transform: none; }
.app-banner svg { width: 28px; height: 28px; color: var(--gold-2); background: #120a07; border-radius: 7px; padding: 3px; }
.app-banner strong { display: block; font-size: 12px; color: var(--cream); }
.app-banner span { display: block; font-size: 11px; color: var(--muted); line-height: 1.35; }

.health-top { display: flex; align-items: center; gap: 14px; margin: 6px 0 16px; }
.health-top b { display: block; font-size: 14px; color: var(--cream); }
.health-top .app-fine { text-align: left; margin: 2px 0 0; }
.health-score { width: 84px; height: 84px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center; background: conic-gradient(var(--gold-2) calc(var(--p, 94) * 1%), rgba(201,163,95,.12) 0); position: relative; }
.health-score::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #170d09; }
.health-score span, .health-score small { position: relative; }
.health-score span { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--cream); }
.health-score small { font-size: 9px; color: var(--faint); }
.health-bars { display: grid; gap: 10px; margin-bottom: 16px; }
.hb-top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.hb-top b { color: var(--cream); }
.hb-track { height: 6px; border-radius: 6px; background: rgba(201,163,95,.12); overflow: hidden; }
.hb-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cedar), var(--gold-2)); width: 0; transition: width 1s var(--ease); }
.health-week { display: flex; align-items: flex-end; gap: 6px; height: 72px; padding: 0 2px; }
.health-week div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.health-week i { display: block; width: 100%; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--gold-2), var(--cedar)); opacity: .85; height: 0; transition: height .8s var(--ease); }
.health-week span { font-size: 9px; color: var(--faint); }

.app-tabs { display: flex; justify-content: space-around; padding: 8px 10px 22px; border-top: 1px solid var(--line); background: rgba(16,9,7,.85); }
.app-tabs button { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; font-size: 10px; font-weight: 600; color: var(--faint); padding: 4px 8px; transition: color .2s; }
.app-tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-tabs button.on { color: var(--gold-2); }
.phone-caption { margin-top: 18px; font-size: .78rem; color: var(--faint); }

/* =========================================================
   FIT / HUMIDOR
   ========================================================= */
.fit-grid { display: grid; gap: 40px; align-items: center; }
.humidor { width: 100%; height: auto; overflow: visible; }
.hm-state { transition: opacity .6s var(--ease); opacity: 0; pointer-events: none; }
.hm-state.is-on { opacity: 1; }
#hmLidDevice, #hmTrayDevice, #hmPuck, #hmPlate, #hmMagnets, #hmCable { transition: opacity .5s var(--ease), transform .6s var(--ease); }
#hmCable { transition: d .6s var(--ease), opacity .4s; }
.hm-callout { opacity: 0; transition: opacity .5s; }
.hm-callout text { font-family: var(--ff-body); font-size: 13px; font-weight: 600; letter-spacing: .08em; fill: var(--gold-2); }
.humidor.is-closed .hm-callout { opacity: 1; }
.hm-disp { font-family: var(--ff-body); }
.fit-note { min-height: 3em; color: var(--cream); font-size: 1rem; margin: 18px 0 24px; padding-left: 12px; border-left: 2px solid var(--gold); }
.segmented-3 { grid-template-columns: repeat(3, 1fr); }
.toggles { display: grid; gap: 10px; margin-top: 18px; }
.switch-row { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .94rem; color: var(--text); }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { flex: none; position: relative; width: 42px; height: 24px; border-radius: 999px; background: rgba(255,235,200,.1); border: 1px solid var(--line-2); transition: background .25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); transition: transform .25s var(--ease); }
.switch-row input:checked + .switch { background: var(--gold); border-color: var(--gold); }
.switch-row input:checked + .switch::after { transform: translateX(18px); background: #1d1009; }
.switch-row input:focus-visible + .switch { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.fit-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fit-facts li { display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; background: rgba(20,11,8,.9); }
.fit-facts b { flex: none; width: 7.5em; font-family: var(--ff-display); font-size: 1.3rem; color: var(--gold-2); font-weight: 600; }
.fit-facts span { font-size: .86rem; color: var(--muted); }
@media (min-width: 980px) { .fit-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; } }

/* =========================================================
   COMPARISON
   ========================================================= */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,235,200,.015); max-width: 900px; margin: 0 auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding-top: 22px; }
.compare thead th.cw-col { color: var(--gold-2); }
.compare tbody th { font-weight: 600; color: var(--cream); }
.compare td { color: var(--muted); }
.compare td .ic { display: inline-block; vertical-align: -4px; width: 18px; height: 18px; margin-right: 8px; }
.ic-yes { color: var(--gold-2); }
.ic-no { color: var(--faint); }
.cw-col { background: rgba(201,163,95,.06); }
.compare td.cw-col { color: var(--cream); font-weight: 600; }
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover { background: rgba(255,235,200,.025); }
@media (max-width: 600px) {
  .compare { min-width: 0; table-layout: fixed; }
  .compare th, .compare td { padding: 13px 10px; font-size: .82rem; vertical-align: top; }
  .compare thead th { font-size: .62rem; letter-spacing: .1em; }
  .compare th[scope="row"] { width: 34%; }
  .compare td .ic { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
}

/* =========================================================
   SPECS
   ========================================================= */
.specs-grid { display: grid; gap: 30px; }
.inbox { margin-top: 30px; padding: 20px 22px; border-radius: var(--radius); border: 1px dashed rgba(106,60,30,.35); background: rgba(255,252,245,.45); }
.inbox p { color: var(--ink) !important; font-weight: 500; }
.spec-table { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,252,245,.6); border: 1px solid rgba(106,60,30,.15); box-shadow: 0 24px 50px -36px rgba(74,29,16,.5); }
.spec-table div { display: grid; grid-template-columns: minmax(120px, 0.8fr) 1.2fr; gap: 16px; padding: 15px 22px; border-bottom: 1px solid rgba(106,60,30,.12); }
.spec-table div:last-child { border-bottom: 0; }
.spec-table dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a6a50; padding-top: 2px; }
.spec-table dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (min-width: 980px) { .specs-grid { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; gap: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 2px; font-size: 1.06rem; font-weight: 600; color: var(--cream);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--gold-2), var(--gold-2)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) center / 1.5px 10px no-repeat;
  transition: transform .3s var(--ease), background-size .3s;
}
.faq details[open] summary::after { transform: rotate(180deg); background-size: 10px 1.5px, 1.5px 0; }
.faq summary:hover { color: var(--gold-2); }
.faq details p { padding: 0 40px 24px 2px; color: var(--muted); }
.faq details[open] p { animation: swap .4s var(--ease); }
@media (min-width: 980px) { .faq-grid { grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: start; } .faq-grid .section-head { position: sticky; top: 110px; } }

/* =========================================================
   ABOUT
   ========================================================= */
.about { display: grid; gap: 26px; align-items: center; max-width: 960px; }
.about-mark { width: 84px; height: 84px; color: var(--gold-2); opacity: .9; }
.about-copy { font-family: var(--ff-display); font-size: clamp(1.45rem, 3.4vw, 2.05rem); line-height: 1.3; color: var(--cream); font-weight: 500; }
@media (min-width: 760px) { .about { grid-template-columns: auto 1fr; gap: 44px; } .about-mark { width: 120px; height: 120px; } }

/* =========================================================
   WAITLIST
   ========================================================= */
.waitlist-section { background: radial-gradient(900px 500px at 80% 40%, rgba(138,58,30,.35), transparent 70%), var(--bg-0); }
.waitlist { display: grid; gap: 36px; align-items: center; }
.waitlist-form {
  position: relative;
  padding: 30px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #22130c, #170d09);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(243,223,176,.07);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); padding: 0; }
.field legend { margin-bottom: 10px; }
.field legend span { color: var(--faint); font-weight: 500; }
.field-row { display: grid; gap: 18px; }
.field input[type=email], .field select {
  width: 100%; min-height: 50px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(0,0,0,.25); color: var(--cream);
  font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23c9a35f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px;
}
.field select option { background: #1a0f0a; color: var(--cream); }
.field input::placeholder { color: var(--faint); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,163,95,.15); }
.field input.invalid { border-color: var(--oxblood); }
.field-error { font-size: .8rem; color: #e08a72; min-height: 0; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-checks label { cursor: pointer; }
.chip-checks input { position: absolute; opacity: 0; pointer-events: none; }
.chip-checks span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; color: var(--muted); transition: all .2s; }
.chip-checks input:checked + span { background: rgba(201,163,95,.15); border-color: var(--gold); color: var(--gold-3); }
.chip-checks input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.waitlist-form .fine { margin-top: -6px; text-align: center; }
.wl-success { position: absolute; inset: 0; border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; background: linear-gradient(180deg, #24140d, #170d09); animation: swap .5s var(--ease); }
.wl-success[hidden] { display: none; }
.wl-success svg { width: 64px; height: 64px; color: var(--gold-2); margin-bottom: 16px; }
.wl-success h3 { font-family: var(--ff-display); font-size: 2.2rem; margin-bottom: 10px; }
.wl-success p { color: var(--muted); max-width: 22em; }
.wl-success b { color: var(--gold-2); word-break: break-all; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .waitlist-form { padding: 36px 34px; } }
@media (min-width: 980px) { .waitlist { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: #0c0705; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-tag { margin-top: 10px; font-family: var(--ff-display); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { color: var(--muted); font-size: .9rem; }
.footer-nav a:hover { color: var(--gold-2); }
.footer-fine { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .78rem; color: var(--faint); }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
