/* Glassy: site styles. Palette: white, near-black and deep sapphire navy. Cards and see-through buttons are glass. */

:root {
  --black: #000;
  --ink: #03050f;
  --ink-2: #060b1f;
  --navy-950: #040a26;
  --navy-900: #08174a;
  --navy-800: #0d2470;
  --navy-700: #16359e;
  --navy-600: #2c4fcf;
  --navy-300: #a6b6ea;
  --electric: #2c4fcf;
  --white: #fff;
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.2);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.09);

  --font-sans: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --radius-lg: 32px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;

  /* Glass surfaces (cards, panels) come in two looks, switched on <html data-glass>:
     liquid (default): clear glass with no frost, read from its lit rim (bright top-left edge, dim
     bottom-right edge, a faint inner glow), the way a pane of glass catches light;
     frost: glassmorphism, a milky pane that blurs what is behind it, with a flat hairline. */
  --g-fill: rgba(255, 255, 255, 0.018);
  --g-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 1.5px 1.5px 0 -0.5px rgba(255, 255, 255, 0.42), inset -1.5px -1.5px 0 -0.5px rgba(255, 255, 255, 0.14), inset 0 0 36px rgba(255, 255, 255, 0.025), 0 30px 60px -36px rgba(0, 0, 0, 0.85);
  --g-blur: none;
  --gl-fill: rgba(255, 255, 255, 0.32);
  --gl-shadow: inset 0 0 0 1px rgba(4, 10, 31, 0.07), inset 1.5px 1.5px 0 -0.5px #fff, inset -1.5px -1.5px 0 -0.5px rgba(4, 10, 31, 0.06), 0 1px 1px rgba(4, 10, 31, 0.04), 0 26px 50px -30px rgba(4, 10, 31, 0.3);
  /* the see-through buttons: liquid glass, no frost */
  --lg-btn: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 1.5px 1.5px 0 -0.5px rgba(255, 255, 255, 0.8), inset -1.5px -1.5px 0 -0.5px rgba(255, 255, 255, 0.38), inset 0 10px 18px -14px rgba(255, 255, 255, 0.5), inset 0 -10px 16px -14px rgba(255, 255, 255, 0.28), 0 8px 22px -10px rgba(0, 0, 0, 0.55);
}
html[data-glass="frost"] {
  --g-fill: rgba(255, 255, 255, 0.065);
  --g-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 50px -30px rgba(0, 0, 0, 0.75);
  --g-blur: blur(22px) saturate(140%);
  --gl-fill: rgba(255, 255, 255, 0.72);
  --gl-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), 0 0 0 1px rgba(4, 10, 31, 0.06), 0 20px 44px -26px rgba(4, 10, 31, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; }
strong { font-weight: 600; color: var(--text); }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.022em; line-height: 1.08; }
h2 { font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -0.035em; }
h3, .h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
::selection { background: rgba(166, 182, 234, 0.35); color: var(--white); }

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

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }
.center { text-align: center; justify-content: center; }
.muted { color: var(--text-3); }
.fine { font-size: 14px; color: var(--text-3); margin-top: 22px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--navy-900);
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 0;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-light {
  background: var(--white); color: var(--navy-950);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -12px rgba(120, 145, 225, 0.4);
}
.btn-light:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 40px -12px rgba(140, 160, 235, 0.55); transform: translateY(-1px); }
.btn-glass { color: var(--white); background: rgba(255, 255, 255, 0.015); box-shadow: var(--lg-btn); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-1px); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, -webkit-backdrop-filter 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled, body.menu-open .site-header {
  background: rgba(3, 5, 15, 0.92);
  box-shadow: 0 1px 0 var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.site-nav a:hover { color: var(--white); }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .header-row { gap: 12px; height: 60px; }
  .header-cta { margin-left: auto; }
  .menu-toggle {
    display: inline-grid; place-content: center; gap: 6px; width: 42px; height: 42px;
    border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.015); cursor: pointer;
    box-shadow: var(--lg-btn);
  }
  .menu-toggle span { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--white); transition: transform 0.3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 60px 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 22px;
    background: rgba(3, 5, 15, 0.97);
    box-shadow: 0 1px 0 var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  body.menu-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s, transform 0.25s var(--ease); }
  .site-nav a { padding: 14px 0; font-size: 18px; color: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 380px) { .header-cta { display: none; } .menu-toggle { margin-left: auto; } }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh);
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(60% 70% at 80% 30%, rgba(24, 50, 150, 0.55), transparent 70%),
    radial-gradient(50% 60% at 15% 85%, rgba(6, 22, 80, 0.9), transparent 70%),
    var(--ink);
  cursor: crosshair;
}
.hero .anchor { position: absolute; top: 0; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero--gl .hero-canvas { opacity: 1; }
.hero--fallback::after { /* fade into the next section (the WebGL backdrop fades on its own) */
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--ink));
}
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 130px; cursor: auto; pointer-events: none; }
.glass-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 60; pointer-events: none; }
.hero-copy { max-width: 820px; margin: 0 auto; pointer-events: auto; }
.hero-kicker { margin-bottom: 22px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--navy-300); }
.hero h1 { font-size: clamp(46px, 7.6vw, 92px); letter-spacing: -0.045em; line-height: 0.98; font-weight: 680; }
.lede { margin: 24px auto 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 0; margin: 30px 0 0; list-style: none; font-size: 13.5px; color: var(--text-3); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.hero-hint {
  position: absolute; left: var(--gutter); bottom: 30px; margin: 0; text-align: left;
  font-size: 12.5px; color: var(--text-3); letter-spacing: 0.02em; pointer-events: none;
}
.hero-hint .h-touch { display: none; }
@media (hover: none) { .hero-hint .h-touch { display: inline; } .hero-hint .h-mouse { display: none; } }
.hero:not(.hero--gl) .hero-hint { display: none; }
.hero-hint { transition: opacity 0.4s; }
@keyframes hero-rise { from { opacity: 0; } to { opacity: 1; } }
.hero--gl .hero-hint { animation: hero-rise 1s var(--ease) 3s both; }
@media (prefers-reduced-motion: reduce) { .hero--gl .hero-hint { animation: none; } }
.hero--still .hero-hint { opacity: 0; }
.hero.is-grab, .hero.is-grab :is(.hero-inner, .hero-copy, .hero-kicker, h1, h1 *, .lede, .hero-meta, .hero-meta *) { cursor: grab; }
.hero.is-dragging, .hero.is-dragging * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
.hero-pause {
  position: absolute; right: var(--gutter); bottom: 22px; z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.015); color: var(--white);
  box-shadow: var(--lg-btn);
}
.hero-pause svg { width: 14px; height: 14px; }
.hero-pause .i-play, .hero-pause[data-state="paused"] .i-pause { display: none; }
.hero-pause[data-state="paused"] .i-play { display: block; }
.hero:not(.hero--gl) .hero-pause { display: none; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; width: 26px; height: 40px; margin-left: -13px;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }

/* CSS fallback when WebGL 2 is missing */
.hero-fallback { display: none; position: absolute; inset: 0; z-index: -1; }
.hero--fallback .hero-fallback { display: block; }
.hero--fallback { cursor: auto; }
.fb-drop {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5), inset 6px 8px 18px rgba(255, 255, 255, 0.18), inset -10px -14px 30px rgba(0, 0, 0, 0.35), 18px 24px 50px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(3px) saturate(150%); backdrop-filter: blur(3px) saturate(150%);
  animation: float 16s ease-in-out infinite;
}
.d1 { width: 220px; height: 220px; left: 62%; top: 22%; }
.d2 { width: 140px; height: 140px; left: 80%; top: 52%; animation-delay: -5s; animation-duration: 19s; }
.d3 { width: 96px; height: 96px; left: 58%; top: 64%; animation-delay: -9s; animation-duration: 14s; }
.d4 { width: 64px; height: 64px; left: 76%; top: 16%; animation-delay: -3s; animation-duration: 21s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-24px, 18px); } 66% { transform: translate(18px, -14px); } }
@media (max-width: 860px) {
  .d1 { left: 50%; top: 66%; width: 160px; height: 160px; }
  .d2 { left: 12%; top: 74%; }
  .d3 { left: 72%; top: 82%; }
  .d4 { left: 30%; top: 64%; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-drop, .scroll-cue span { animation: none; }
}

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.section-tight { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-block; margin-bottom: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-300);
}
.sub { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 600px; }
.section-head.center .sub { margin-left: auto; margin-right: auto; }

.card {
  position: relative; border-radius: var(--radius);
  padding: 30px;
}
.card, .preset, .demo, .price-card {
  background: var(--g-fill); box-shadow: var(--g-shadow);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
}
.card p { color: var(--text-2); margin-top: 10px; font-size: 16px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar .icon { margin-bottom: 22px; color: var(--navy-300); }
.pillar .icon svg { width: 30px; height: 30px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ demo */
.section-demo { background: var(--ink); }
.demo {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px;
  padding: 14px; border-radius: var(--radius-lg);
}
.demo-stage { position: relative; border-radius: 20px; overflow: hidden; background: var(--navy-900); aspect-ratio: 16 / 10; align-self: start; }
.demo-canvas { width: 100%; height: 100%; cursor: grab; touch-action: none; }
.demo-canvas.is-dragging { cursor: grabbing; }
.demo-canvas:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; border-radius: 20px; }
.demo-fallback { display: none; position: absolute; inset: 0; place-items: center; padding: 30px; text-align: center; color: var(--text-2); }
.demo--fallback .demo-fallback { display: grid; }
.demo--fallback .demo-canvas, .demo--fallback .demo-panel { opacity: 0.35; pointer-events: none; }
.demo-tags { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; pointer-events: none; }
.tag { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px var(--line-2); }
.tag-before { display: none; }
.demo--before .tag-before { display: inline-block; }
.demo-hint { position: absolute; right: 14px; top: 12px; font-size: 12px; color: rgba(255, 255, 255, 0.6); pointer-events: none; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }

.demo-panel { display: flex; flex-direction: column; gap: 16px; padding: 8px 8px 8px 4px; min-width: 0; }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-row-col { flex-direction: column; align-items: stretch; gap: 10px; }
.panel-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.panel-foot { margin-top: auto; padding-top: 6px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 550; color: var(--text-2); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--navy-950); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 0; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 550; cursor: pointer;
  color: var(--text-2); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.chip:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--navy-950); box-shadow: none; }
.sliders { display: grid; gap: 9px; }
.slider { display: grid; grid-template-columns: 84px minmax(0, 1fr) 48px; align-items: center; gap: 10px; }
.slider label { font-size: 13.5px; color: var(--text-2); }
.slider output { font-size: 12.5px; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.slider input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer;
}
.slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(to right, var(--white) var(--p), rgba(255, 255, 255, 0.14) var(--p));
}
.slider input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.slider input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--white); }
.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%;
  background: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.5);
}
.slider input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12); }
.slider input[type="range"]:focus-visible { outline: none; }
.slider input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); transition: background-color 0.2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); transition: transform 0.25s var(--ease); }
.switch input:checked + .track { background: var(--navy-600); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--white); outline-offset: 2px; }
@media (max-width: 980px) {
  .demo { grid-template-columns: 1fr; }
  .demo-panel { padding: 6px 4px 4px; }
}
@media (max-width: 560px) {
  .demo { padding: 8px; border-radius: 24px; }
  .demo-stage { border-radius: 16px; aspect-ratio: 4 / 3.4; }
}

/* ------------------------------------------------------------------ features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > .card { grid-column: span 3; }
.bento .bento-light { grid-column: span 3; min-height: 300px; overflow: hidden; }
.bento .bento-glass { grid-column: span 3; }
.bento .bento-wide { grid-column: span 6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; position: relative; z-index: 1; }
.tags li { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.bento-light h3, .bento-light p { max-width: calc(100% - 120px); position: relative; z-index: 1; }
.dial {
  position: absolute; right: 28px; top: 28px; width: 92px; height: 92px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 0 12px rgba(255, 255, 255, 0.025), inset 0 0 0 13px var(--line);
  opacity: 0.8;
}
.dial span { position: absolute; left: 50%; top: 50%; width: 46%; height: 2px; transform-origin: 0 50%; transform: rotate(-135deg); background: linear-gradient(90deg, transparent, var(--white)); }
.dial span::after { content: ""; position: absolute; right: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); box-shadow: 0 0 20px 6px rgba(255, 255, 255, 0.45); }
.swatches { display: flex; gap: 10px; margin-top: 22px; }
.sw { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4), inset 3px 4px 8px rgba(255, 255, 255, 0.25); }
.sw1 { background: rgba(255, 255, 255, 0.08); }
.sw2 { background: rgba(255, 255, 255, 0.45); }
.sw3 { background: rgba(24, 50, 150, 0.8); }
.sw4 { background: rgba(0, 0, 0, 0.75); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4 7.6 12 13 6.4' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > .card, .bento .bento-light, .bento .bento-glass { grid-column: span 2; }
  .bento > .card:nth-child(3), .bento > .card:nth-child(4) { grid-column: span 1; }
  .dial { width: 70px; height: 70px; right: 20px; top: 20px; }
  .bento-light h3, .bento-light p { max-width: calc(100% - 84px); }
  .checks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bento > .card:nth-child(3), .bento > .card:nth-child(4) { grid-column: span 2; }
  .card { padding: 24px; }
}

/* ------------------------------------------------------------------ presets */
.preset-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.preset {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 20px 18px; border: 0; border-radius: 20px; text-align: left; cursor: pointer; color: inherit;
  transition: transform 0.3s var(--ease);
}
.preset:hover { transform: translateY(-3px); }
.p-name { font-weight: 600; font-size: 16px; }
.p-desc { font-size: 13.5px; color: var(--text-3); line-height: 1.35; }
.p-thumb { align-self: stretch; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; margin-bottom: 14px; background: var(--navy-900); }
.p-drop {
  --rim: 0.55; --fill: 0.06; --blur: 0px; --hi: 0.6;
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 14px;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, var(--hi)) 0 10%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, var(--fill)), rgba(255, 255, 255, calc(var(--fill) + 0.08)) 100%),
    linear-gradient(135deg, var(--navy-600), var(--navy-900));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, var(--rim)), inset 4px 6px 12px rgba(255, 255, 255, 0.12), inset -6px -8px 14px rgba(0, 0, 0, 0.4), 6px 10px 20px rgba(0, 0, 0, 0.45);
}
.p-clear { --rim: 0.45; --hi: 0.5; }
.p-subtle { --rim: 0.25; --hi: 0.25; --fill: 0.02; }
.p-frosted { --fill: 0.22; --rim: 0.5; }
.p-crystal { --rim: 0.85; --hi: 0.9; }
.p-bold { --rim: 0.8; --hi: 0.75; --fill: 0.04; }
.p-bubble { --rim: 0.95; --hi: 0.95; --fill: 0.02; }
.p-pebble { --rim: 0.6; --fill: 0.12; }
.p-smoky { --rim: 0.45; --fill: 0; background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.4) 0 10%, transparent 30%), linear-gradient(135deg, #10131c, #000); }
.p-ice { --rim: 0.7; --fill: 0.3; --hi: 0.7; }
@media (max-width: 980px) { .preset-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .preset-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .preset { padding: 16px; } }

/* ------------------------------------------------------------------ light sections */
.section-light { background: #f3f5fa; color: var(--navy-950); color-scheme: light; }
.step, .install { background: var(--gl-fill); box-shadow: var(--gl-shadow); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); }
.section-light .kicker { color: var(--navy-600); }
.section-light .sub, .section-light p { color: rgba(4, 10, 31, 0.68); }
.section-light strong { color: var(--navy-950); }
.section-light .fine { color: rgba(4, 10, 31, 0.55); }
.section-light :focus-visible { outline-color: var(--navy-700); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
/* each step's number sits above its card; a dashed line joins the numbers in the open space
   above the cards (never across a card) */
.step { position: relative; margin-top: 72px; padding: 32px; border-radius: var(--radius); }
.step h3 { margin-top: 0; }
.step p { margin-top: 10px; font-size: 16px; }
.step-n {
  position: absolute; top: -72px; left: 32px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--navy-700);
  background: var(--white); box-shadow: inset 0 0 0 1.5px var(--navy-600);
}
.step:not(:last-child)::after {   /* the dashed path to the next step */
  content: ""; position: absolute; top: -48px; left: 92px; right: -38px;
  border-top: 1.5px dashed rgba(44, 79, 207, 0.4); pointer-events: none;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step:not(:last-child)::after { display: none; } }

.specs { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding-top: 50px; border-top: 1px solid rgba(4, 10, 31, 0.1); }
.spec-list { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(4, 10, 31, 0.08); }
.spec-list dt { font-weight: 600; }
.spec-list dd { margin: 0; color: rgba(4, 10, 31, 0.68); text-align: right; }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr; gap: 10px; } .spec-list { grid-template-columns: 1fr; } }

.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.install { padding: 32px; border-radius: var(--radius); }
.install h3 { display: flex; align-items: center; gap: 10px; }
.install h3 svg { width: 22px; height: 22px; }
.btn-download { margin-top: 18px; padding: 0 24px 0 20px; gap: 10px; background: var(--navy-950); color: #fff; }
.btn-download:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-download svg { width: 18px; height: 18px; }
.btn-download:hover svg { transform: translateY(2px); }
.dl-meta { margin-top: 10px; font-size: 13px; color: rgba(4, 10, 31, 0.55); }
.install ol { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 8px; color: rgba(4, 10, 31, 0.72); }
@media (max-width: 760px) { .install-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ pricing */
.section-pricing { background: radial-gradient(70% 60% at 50% 55%, rgba(18, 41, 106, 0.55), transparent 70%), var(--ink); overflow: hidden; }
.price-card {
  position: relative; max-width: 480px; margin: 0 auto; padding: 40px 36px 30px; border-radius: var(--radius-lg); overflow: hidden;
}
.price-glow { display: none; }
.price-top { position: relative; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.price-name { font-weight: 600; color: var(--text-2); }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 68px; font-weight: 680; letter-spacing: -0.045em; line-height: 1; }
.price .cur { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--text-3); }
.price-note { margin-top: 12px; font-size: 15px; color: var(--text-3); }
.price-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; position: relative; }
.price-list li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 15.5px; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4 7.6 12 13 6.4' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 19px no-repeat;
}
@media (max-width: 480px) { .price-card { padding: 32px 22px 24px; } .price { font-size: 56px; } }

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 18.5px; font-weight: 600; letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 28px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--text-2); }
.faq a { color: var(--white); text-underline-offset: 3px; }

/* ------------------------------------------------------------------ final CTA + footer */
.final-cta { background: radial-gradient(60% 80% at 50% 100%, rgba(24, 50, 150, 0.5), transparent 70%), var(--ink); }
.final-cta h2 { font-size: clamp(44px, 8vw, 96px); letter-spacing: -0.05em; }
.final-cta .sub { margin: 18px auto 0; }
.final-cta .cta-row { justify-content: center; }

.site-footer { padding: 48px 0 40px; background: var(--black); border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-nav a { color: var(--text-2); text-decoration: none; font-size: 14.5px; }
.footer-nav a:hover { color: var(--white); }
.footer-legal { margin-top: 30px; display: grid; gap: 8px; font-size: 12.5px; color: var(--text-3); }

/* ------------------------------------------------------------------ dialog */
.dialog {
  width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 28px; color: var(--white);
  background: rgba(9, 15, 38, 0.97);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 1.5px 1.5px 0 -0.5px rgba(255, 255, 255, 0.42), inset -1.5px -1.5px 0 -0.5px rgba(255, 255, 255, 0.14), 0 40px 120px rgba(0, 0, 0, 0.6);
}
.dialog::backdrop { background: rgba(0, 3, 12, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dialog[open] { animation: pop 0.35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .dialog[open] { animation: none; } }
.dialog-inner { padding: 34px 30px 28px; }
.dialog h2 { font-size: 26px; letter-spacing: -0.025em; }
.dialog p { margin-top: 12px; color: var(--text-2); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.dialog-drop {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 22px;
  background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.8) 0 9%, transparent 28%), linear-gradient(135deg, var(--navy-600), var(--navy-900));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6), inset 4px 6px 12px rgba(255, 255, 255, 0.15), 0 10px 30px rgba(24, 50, 150, 0.6);
}

/* ------------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ small screens: hero copy over the glass */
@media (max-width: 860px) {
  .hero { align-items: flex-start; }
  .hero-inner { padding-top: 100px; padding-bottom: 130px; }
  .lede, .hero-meta { text-shadow: 0 2px 18px rgba(3, 6, 15, 0.55); }
  .hero-hint { left: var(--gutter); right: calc(var(--gutter) + 52px); line-height: 1.45; }
  .scroll-cue { display: none; }
}
@media (max-width: 420px) {
  .cta-row .btn { flex: 1 1 100%; }
}
