/* =========================================================================
   One Flow State: site styles
   Dark/Glow environment (flagship). Tokens from the brand system.
   ========================================================================= */

/* ---------- Fonts (self-hosted, latin subset only) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/fraunces-300.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/fraunces-300-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-variable.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plexmono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plexmono-500.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --midnight: #000000;
  --navy: #0D2545;
  --navy-2: #123B63;
  --teal: #129CB2;
  --teal-bright: #66D5ED;
  --teal-pale: #A5EEFF;
  --deep-teal: #00687E;
  --gold: #E8A33D;
  --gold-bright: #FFB956;
  --charcoal: #1A1D23;
  --slate: #5C6670;
  --mist: #E7E9EC;
  --cloud: #FAFAFA;
  --white: #FFFFFF;

  --surface-0: #060809;
  --surface-1: #0C0F0F;
  --surface-2: #121414;
  --surface-3: #1A1C1C;
  --surface-4: #1E2020;

  --text: #E6E8EA;
  --text-2: #B9BEC6;
  --text-3: #8E9098;
  --line: rgba(102, 213, 237, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --container: 1200px;
  --nav-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--teal-bright); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: rgba(18, 156, 178, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 var(--space-3);
  color: #fff;
}
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 400; }
h4 { font-size: 20px; font-weight: 400; }
p { margin: 0 0 var(--space-3); }
p.lead { font-size: 18px; line-height: 1.65; color: var(--text-2); }
.muted { color: var(--text-3); }
.mono { font-family: var(--font-mono); font-size: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-bright); margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center::before { display: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-3); }
@media (min-width: 900px) { .container { padding: 0 var(--space-7); } }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

main { flex: 1; padding-top: var(--nav-h); }
section { padding: var(--space-7) 0; position: relative; }
@media (min-width: 900px) { section { padding: var(--space-8) 0; } }
.section-tight { padding: var(--space-6) 0; }
.section-head { max-width: 720px; margin-bottom: var(--space-6); }
.section-head p { color: var(--text-2); font-size: 17px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gold); color: var(--charcoal);
  box-shadow: 0 0 0 rgba(232,163,61,0), 0 8px 24px -10px rgba(232,163,61,.55);
}
.btn-primary:hover { background: var(--gold-bright); box-shadow: 0 0 28px rgba(232,163,61,.35), 0 10px 28px -10px rgba(232,163,61,.65); }
.btn-secondary { background: rgba(18,156,178,.08); color: var(--teal-bright); border-color: rgba(102,213,237,.45); }
.btn-secondary:hover { background: rgba(18,156,178,.16); border-color: var(--teal-bright); }
.btn-ghost { background: transparent; color: var(--text); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--teal-bright); }
.btn-ghost:hover .icon { transform: translateX(3px); }
.btn-ghost .icon { transition: transform .25s var(--ease); }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-sm { padding: 10px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 6px;
  background: rgba(18,156,178,.15); color: var(--teal-bright);
  font-size: 12.5px; font-weight: 600; letter-spacing: .03em; line-height: 1.2;
}
.chip .icon { width: 14px; height: 14px; }
.chip-gold { background: rgba(232,163,61,.16); color: var(--gold-bright); }
.chip-muted { background: rgba(255,255,255,.07); color: var(--text-2); }
.chip-outline { background: transparent; border: 1px solid var(--line); }

/* ---------- Glass card ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(600px 200px at 20% -20%, rgba(102,213,237,.10), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(102,213,237,.5); box-shadow: 0 24px 48px -28px rgba(18,156,178,.45); }
.card:hover::before { opacity: 1; }
.card-static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card-static:hover::before { opacity: 0; }
.card-body { padding: var(--space-4); }
@media (min-width: 900px) { .card-body { padding: var(--space-5); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(6, 8, 9, .62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(6, 8, 9, .86); box-shadow: 0 10px 40px -20px rgba(0,0,0,.8); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: .005em; line-height: 1; }
.nav-links { display: none; align-items: center; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text-2); font-weight: 500; font-size: 15px; text-decoration: none;
  padding: 6px 0; position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--teal-bright); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--line); color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav.is-open .nav-toggle .icon-menu { display: none; }
.nav.is-open .nav-toggle .icon-close { display: block; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
.nav-mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(6,8,9,.96); border-bottom: 1px solid var(--line);
  padding: var(--space-4) var(--space-3) var(--space-5);
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.nav-mobile.is-open { transform: none; opacity: 1; pointer-events: auto; }
.nav-mobile a.nav-item {
  display: block; padding: 14px 4px; color: var(--text); font-size: 18px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a.is-active { color: var(--teal-bright); }
.nav-mobile .btn { margin-top: var(--space-4); }
@media (min-width: 900px) { .nav-mobile { display: none; } }

/* ---------- Vortex mark ---------- */
.ofs-vortex-wrap { display: inline-block; width: var(--vortex-size, 40px); line-height: 0; flex: none; }
.ofs-vortex { width: 100%; height: auto; overflow: visible; }
/* The twisting ribbons are driven by assets/js/vortex.js (the tube geometry lives there and in
   includes/logo-vortex.php). CSS only adds breath, a pulsing glow, and a slow drift of the specular. */
.ofs-vortex .breathe { animation: ofs-breathe 8s ease-in-out infinite; }
.ofs-vortex .glow    { animation: ofs-glow 8s ease-in-out infinite; }
.ofs-vortex .spec    { animation: ofs-spec 11s ease-in-out infinite; transform-origin: 0 0; }
@keyframes ofs-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@keyframes ofs-glow { 0%, 100% { opacity: .5; } 50% { opacity: .85; } }
@keyframes ofs-spec { 0%, 100% { transform: rotate(-6deg); opacity: .85; } 50% { transform: rotate(6deg); opacity: 1; } }
/* the noise filter that roughens the liquid edges is the one costly effect: desktop only */
@media (max-width: 959px), (prefers-reduced-motion: reduce) {
  .ofs-vortex .liquid { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ofs-vortex * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: var(--space-7) 0 var(--space-6);
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(13,37,69,.85) 0%, rgba(13,37,69,0) 70%),
    var(--midnight);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(102,213,237,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,213,237,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
}
.hero-dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-dots span {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal-bright); box-shadow: 0 0 10px 2px rgba(102,213,237,.6);
  animation: ofs-drift 14s ease-in-out infinite;
}
.hero-dots span:nth-child(1) { left: 12%; top: 28%; animation-delay: -2s; }
.hero-dots span:nth-child(2) { left: 22%; top: 68%; width: 3px; height: 3px; animation-delay: -6s; }
.hero-dots span:nth-child(3) { left: 78%; top: 24%; width: 3px; height: 3px; animation-delay: -9s; }
.hero-dots span:nth-child(4) { left: 86%; top: 62%; animation-delay: -4s; }
.hero-dots span:nth-child(5) { left: 60%; top: 82%; width: 2px; height: 2px; animation-delay: -11s; }
@keyframes ofs-drift { 0%, 100% { transform: translate(0, 0); opacity: .5; } 50% { transform: translate(6px, -14px); opacity: 1; } }

.hero-inner { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: var(--space-7); }
}
.hero-copy h1 { margin-bottom: var(--space-4); }
.hero-copy .lead { max-width: 560px; margin-bottom: var(--space-5); }
.hero-mark { display: flex; justify-content: center; order: -1; }
@media (min-width: 960px) { .hero-mark { order: 0; } }
.hero-mark .ofs-vortex-wrap { width: min(70vw, 300px); filter: drop-shadow(0 30px 60px rgba(18,156,178,.25)); }
@media (min-width: 960px) { .hero-mark .ofs-vortex-wrap { width: min(38vw, 440px); } }
.hero-trust { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line-soft); }
.hero-trust .label { font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
.market-row { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--text-2); font-size: 14px; font-weight: 500; }
.market-row .mono-badge { margin-right: 6px; }

.mono-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--teal-bright);
}

/* ---------- Product grid & card ---------- */
.grid { display: grid; gap: var(--space-4); }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.product-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; }
.product-card:hover { text-decoration: none; }
.product-cover {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--surface-1) 70%);
  border-bottom: 1px solid var(--line-soft);
}
.product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-cover img { transform: scale(1.03); }
.product-cover .chip { position: absolute; top: 12px; left: 12px; backdrop-filter: blur(6px); background: rgba(6,8,9,.7); border: 1px solid var(--line); }
.product-cover .chip-gold { background: rgba(60,40,10,.75); }
.product-body { padding: var(--space-4); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 22px; margin: 0; }
.product-body .tagline { color: var(--text-2); margin: 0; font-size: 15px; line-height: 1.5; }
.product-foot { margin-top: auto; padding-top: var(--space-3); display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); }
.price { font-family: var(--font-mono); font-size: 15px; color: #fff; }
.price small { color: var(--text-3); font-family: var(--font-body); font-size: 12px; margin-right: 4px; }
.market-badges { display: inline-flex; gap: 6px; }
.product-card .go { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-bright); font-weight: 600; font-size: 14px; }
.product-card .go .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.product-card:hover .go .icon { transform: translateX(4px); }
.product-card.is-soon .product-cover img { opacity: .55; filter: saturate(.6); }

/* ---------- Feature / principle blocks ---------- */
.feature { padding: var(--space-4); }
.feature .icon-wrap {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--space-3);
  background: rgba(18,156,178,.12); border: 1px solid rgba(102,213,237,.25); color: var(--teal-bright);
}
.feature .icon-wrap .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { color: var(--text-2); margin: 0; font-size: 15px; }
.num { font-family: var(--font-mono); color: var(--teal-bright); font-size: 13px; letter-spacing: .08em; }

/* ---------- Platform tiles ---------- */
.platform-tile { display: flex; gap: 16px; align-items: flex-start; padding: var(--space-4); color: inherit; text-decoration: none; }
.platform-tile:hover { text-decoration: none; }
.platform-tile .icon-wrap { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(13,37,69,.7); border: 1px solid var(--line); color: var(--teal-bright); }
.platform-tile .icon-wrap .icon { width: 22px; height: 22px; }
.platform-tile h4 { margin: 0 0 4px; font-family: var(--font-body); font-weight: 600; font-size: 16px; }
.platform-tile p { margin: 0; color: var(--text-2); font-size: 14px; }
.platform-tile .count { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }

/* ---------- Founder / quote ---------- */
.founder { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: .9fr 1.1fr; gap: var(--space-7); } }
.founder blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.3; color: #fff;
}
.founder .quote-icon { color: var(--gold); width: 40px; height: 40px; margin-bottom: var(--space-3); opacity: .8; }
.founder cite { display: block; margin-top: var(--space-4); font-style: normal; }
.founder cite strong { display: block; color: #fff; font-weight: 600; }
.founder cite span { color: var(--teal-bright); font-size: 14px; }
.portrait {
  position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; border-radius: 50%;
  padding: 2px; background: linear-gradient(180deg, var(--teal-bright), rgba(18,156,178,0) 80%);
  box-shadow: 0 0 60px -10px rgba(18,156,178,.35);
}
.portrait-inner {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #12304f, #05080c 70%);
  display: grid; place-items: center;
}
.portrait-inner img { width: 100%; height: 100%; object-fit: cover; }
.portrait-inner .initials { font-family: var(--font-display); font-weight: 300; font-size: 96px; color: rgba(255,255,255,.85); letter-spacing: .02em; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: var(--space-4); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); color: var(--teal-bright); font-size: 13px; letter-spacing: .1em;
  display: block; margin-bottom: var(--space-3);
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: var(--space-6) var(--space-4);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(18,156,178,.25), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(232,163,61,.14), transparent 60%),
    linear-gradient(180deg, #0f1d33, #070b12);
  border: 1px solid var(--line);
  text-align: center;
}
@media (min-width: 900px) { .cta-band { padding: var(--space-7); } }
.cta-band h2 { margin-bottom: var(--space-3); }
.cta-band p { color: var(--text-2); max-width: 560px; margin: 0 auto var(--space-5); }

/* ---------- Catalog page ---------- */
.page-head { padding: var(--space-6) 0 var(--space-4); }
.page-head h1 { margin-bottom: var(--space-3); }
.page-head p { color: var(--text-2); font-size: 17px; max-width: 640px; }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; margin: var(--space-4) 0 var(--space-5); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
  background: rgba(255,255,255,.04); color: var(--text-2); border: 1px solid var(--line-soft);
  transition: all .2s;
}
.filter-btn:hover { color: #fff; border-color: var(--line); }
.filter-btn.is-active { background: rgba(18,156,178,.16); color: var(--teal-bright); border-color: rgba(102,213,237,.5); }
.search { position: relative; min-width: 240px; flex: 1; max-width: 340px; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); pointer-events: none; }
.search input { padding-left: 40px; }
.empty { text-align: center; padding: var(--space-7) var(--space-3); color: var(--text-2); }
.empty h3 { margin-bottom: 8px; }
.results-count { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }

/* ---------- Product detail ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); padding-top: var(--space-4); }
.crumbs a { color: var(--text-2); }
.crumbs .icon { width: 14px; height: 14px; }
.detail { display: grid; gap: var(--space-6); padding-top: var(--space-4); align-items: start; }
@media (min-width: 960px) { .detail { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: var(--space-7); } }
.detail-media { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface-1); box-shadow: 0 40px 80px -40px rgba(18,156,178,.35); }
.detail-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery button { padding: 0; border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; background: none; cursor: pointer; }
.gallery button.is-active { border-color: var(--teal-bright); }
.gallery img { aspect-ratio: 16/10; object-fit: cover; width: 100%; height: auto; }
.detail h1 { font-size: clamp(32px, 4.4vw, 52px); margin: var(--space-4) 0 var(--space-3); }
.detail .tagline { font-size: 19px; color: var(--text-2); margin-bottom: var(--space-5); }
.detail-section { margin-top: var(--space-6); }
.detail-section h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: var(--space-3); }
.detail-section p { color: var(--text-2); }
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.outcomes li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.outcomes .icon { flex: none; width: 22px; height: 22px; color: var(--teal-bright); margin-top: 2px; }
.inside { display: grid; gap: 12px; }
@media (min-width: 640px) { .inside { grid-template-columns: repeat(2, 1fr); } }
.inside .item { padding: var(--space-3) var(--space-4); border: 1px solid var(--line-soft); border-radius: var(--r-md); background: rgba(255,255,255,.02); }
.inside .item strong { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.inside .item span { color: var(--text-2); font-size: 14.5px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--teal-bright); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; margin: 0; color: var(--text-2); }

.buy-panel { position: sticky; top: calc(var(--nav-h) + 16px); }
.buy-panel .card-body { display: grid; gap: var(--space-3); }
.buy-panel .name { font-size: 20px; margin: 0; }
.buy-panel .big-price { font-family: var(--font-display); font-weight: 300; font-size: 48px; line-height: 1; color: var(--teal-bright); }
.buy-panel .big-price small { font-family: var(--font-body); font-size: 13px; color: var(--text-3); vertical-align: middle; margin-right: 6px; }
.buy-list { display: grid; gap: 10px; }
.buy-btn { justify-content: space-between; text-align: left; padding: 14px 16px; }
.buy-btn .left { display: inline-flex; align-items: center; gap: 12px; }
.buy-btn .mono-badge { background: rgba(0,0,0,.18); border-color: rgba(0,0,0,.2); color: inherit; }
.btn-secondary.buy-btn .mono-badge { background: rgba(18,156,178,.12); border-color: var(--line); color: var(--teal-bright); }
.buy-btn .price-tag { font-family: var(--font-mono); font-size: 14px; opacity: .9; }
.buy-note { font-size: 13px; color: var(--text-3); margin: -2px 0 0; }
.assurance { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); color: var(--text-2); font-size: 14px; }
.assurance .icon { flex: none; width: 20px; height: 20px; color: var(--teal-bright); }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { padding: 10px 0; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.specs th { color: var(--text-3); font-weight: 500; width: 42%; }
.specs td { color: #fff; font-family: var(--font-mono); font-size: 13.5px; }
.specs-title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 600; margin: 4px 0 0; }
.soon-panel { text-align: center; padding: var(--space-4); border: 1px dashed rgba(232,163,61,.4); border-radius: var(--r-md); color: var(--text-2); }

/* ---------- About ---------- */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: var(--space-4); }
.stat .value { font-family: var(--font-display); font-weight: 300; font-size: 44px; color: var(--teal-bright); line-height: 1; }
.stat .label { color: var(--text-2); font-size: 14px; margin-top: 8px; }
.prose { max-width: 720px; }
.prose p { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.prose h2 { margin-top: var(--space-6); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 var(--space-4) 32px; border-left: 1px solid var(--line); margin-left: 6px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px rgba(18,156,178,.8); }
.timeline li:last-child { border-color: transparent; }
.timeline strong { display: block; color: #fff; font-weight: 600; }
.timeline span { color: var(--text-2); font-size: 15px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: var(--space-3); }
label { font-weight: 500; font-size: 14px; color: var(--text); }
label .opt { color: var(--text-3); font-weight: 400; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--r-sm);
  background: rgba(0,0,0,.45); border: 1px solid var(--line); color: #fff; font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-bright); box-shadow: 0 0 0 3px rgba(102,213,237,.15); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal-bright) 50%), linear-gradient(135deg, var(--teal-bright) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: var(--surface-3); color: #fff; }
textarea { min-height: 160px; resize: vertical; }
.field-row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 13px; color: var(--text-3); }
.alert { padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid; font-size: 15px; margin-bottom: var(--space-4); display: flex; gap: 12px; align-items: flex-start; }
.alert .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.alert-ok { border-color: rgba(102,213,237,.5); background: rgba(18,156,178,.12); color: #E6FBFF; }
.alert-err { border-color: rgba(255,180,171,.5); background: rgba(147,0,10,.2); color: #FFDAD6; }
.contact-layout { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.15fr .85fr; gap: var(--space-7); } }
.contact-aside .card + .card { margin-top: var(--space-3); }
.contact-aside h3 { font-size: 20px; margin-bottom: 8px; }
.contact-aside p { color: var(--text-2); font-size: 15px; margin: 0; }
.contact-aside a.big { font-size: 18px; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface-0); padding: var(--space-7) 0 var(--space-5); margin-top: var(--space-6); }
.footer-grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .brand-name { font-size: 20px; }
.footer p { color: var(--text-3); font-size: 14px; max-width: 320px; }
.footer h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); font-size: 14.5px; }
.footer ul a:hover { color: var(--teal-bright); }
.footer-bottom { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-3); font-size: 13px; }
.footer-bottom .mono { font-size: 12px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Misc ---------- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.text-gold { color: var(--gold-bright); }
.text-teal { color: var(--teal-bright); }
.notfound { text-align: center; padding: var(--space-8) 0; }
.notfound .code { font-family: var(--font-mono); color: var(--teal-bright); letter-spacing: .2em; margin-bottom: var(--space-3); }
