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

:root {
  --bg: #07080d;
  --bg-2: #0d1018;
  --surface: rgba(18, 21, 32, 0.78);
  --surface-2: rgba(27, 31, 46, 0.82);
  --surface-3: rgba(255, 255, 255, 0.055);
  --text: #f4f0ea;
  --muted: #aaa5b8;
  --soft: #d8d2e5;
  --line: rgba(255, 255, 255, 0.105);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #8fc7ff;
  --felt: #a78bff;
  --klosr: #e8c9a0;
  --clearline: #3dd9e8;
  --findwords: #7dd4a8;
  --danger: #ff5f72;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --max: 1120px;
  --nav-h: 72px;
}

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

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

body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(167, 139, 255, 0.24), transparent 36rem),
    radial-gradient(circle at 90% 16%, rgba(61, 217, 232, 0.16), transparent 32rem),
    radial-gradient(circle at 50% 100%, rgba(232, 201, 160, 0.09), transparent 34rem),
    linear-gradient(180deg, var(--bg), #090b12 45%, #05060a);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

h1, h2, h3, .brand { font-family: Fraunces, Georgia, serif; font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #b9dcff; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 14px; border-radius: 999px; background: var(--text); color: var(--bg);
  transform: translateY(-160%); transition: transform 0.15s ease; text-decoration: none; font-weight: 700; font-size: 0.9rem;
}
.skip-link:focus { transform: translateY(0); }

.page { position: relative; overflow: clip; }
.container { width: min(100% - 2.4rem, var(--max)); margin-inline: auto; }

.site-nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 8, 13, 0.78); border-bottom: 1px solid var(--line);
}
.nav-inner, .site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 1.05rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 1.05rem; height: 1.05rem; border-radius: 42% 58% 45% 55%; background: radial-gradient(circle at 35% 30%, #fff, #9ed8ff 26%, #8e72ff 58%, #1f2440); box-shadow: 0 0 22px rgba(143, 199, 255, 0.38); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.25rem; font-size: 0.91rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 650; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 0.52rem 0.95rem; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line); color: var(--text) !important; }
.nav-cta:hover { background: rgba(255,255,255,0.1); color: var(--text) !important; }

.hero { padding: 6.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.8rem); max-width: 11.5ch; margin-bottom: 1.35rem; }
.hero-lead { font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--soft); max-width: 46rem; margin-bottom: 1.75rem; }
.eyebrow { display: inline-block; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.82rem 1.18rem; border-radius: 999px; font-weight: 800; font-size: 0.94rem; text-decoration: none; border: 1px solid transparent; transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: var(--bg); box-shadow: 0 18px 50px rgba(244,240,234,0.11); }
.btn-primary:hover { background: #fff; color: var(--bg); }
.btn-secondary { background: rgba(255,255,255,0.045); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: rgba(255,255,255,0.085); color: var(--text); }

.signal-stage { position: relative; min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)); box-shadow: var(--shadow); overflow: hidden; }
.signal-stage::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: radial-gradient(circle at 50% 22%, rgba(255,255,255,0.13), transparent 18rem), radial-gradient(circle at 30% 80%, rgba(167,139,255,0.16), transparent 18rem); pointer-events: none; }
.stage-orb { position: absolute; border-radius: 45% 55% 58% 42%; filter: blur(0.2px); }
.orb-one { width: 15rem; height: 15rem; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 34% 28%, #fff, #b8dcff 16%, #9f83ff 38%, #37265f 72%, #0c0f1a); box-shadow: 0 0 75px rgba(167,139,255,0.42), inset -20px -28px 64px rgba(0,0,0,0.34); }
.orb-two { width: 6.4rem; height: 6.4rem; right: 11%; top: 13%; background: radial-gradient(circle at 35% 28%, #fff, #b8f3ff 24%, #3dd9e8 52%, #10293a); box-shadow: 0 0 45px rgba(61,217,232,0.32); }
.orb-three { width: 5.5rem; height: 5.5rem; left: 13%; bottom: 13%; background: radial-gradient(circle at 38% 30%, #fff7df, #e8c9a0 38%, #3a2818); box-shadow: 0 0 40px rgba(232,201,160,0.26); }
.stage-card { position: absolute; z-index: 2; padding: 0.75rem 0.88rem; width: 12rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(8,10,17,0.72); backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(0,0,0,0.3); }
.stage-card span { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.stage-card strong { display: block; color: var(--text); font-size: 0.98rem; margin-top: 0.2rem; }
.stage-card-top { left: 8%; top: 16%; }
.stage-card-mid { right: 7%; top: 45%; }
.stage-card-low { left: 14%; bottom: 14%; }
.stage-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent); transform-origin: left center; }
.stage-line.one { width: 280px; left: 26%; top: 35%; transform: rotate(24deg); }
.stage-line.two { width: 300px; left: 25%; top: 64%; transform: rotate(-18deg); }

section { padding: 4.5rem 0; content-visibility: auto; contain-intrinsic-size: auto 620px; }
section + section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 2rem; }
.section-head-wide { max-width: 760px; }
.section-head h2 { font-size: clamp(2rem, 5vw, 4.25rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); max-width: 62ch; }

.compact-manifesto { padding: 1.35rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.026); }
.manifesto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.manifesto-grid p { background: rgba(8,10,17,0.78); padding: 1.1rem; color: var(--muted); }
.manifesto-grid strong { display: block; color: var(--text); margin-bottom: 0.25rem; }

.product-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.premium-grid { align-items: stretch; }
.product-card { position: relative; display: flex; flex-direction: column; gap: 0.8rem; min-height: 330px; padding: 1.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: inherit; overflow: hidden; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease; }
.product-card::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(circle at 65% 0%, color-mix(in srgb, var(--product) 28%, transparent), transparent 14rem); opacity: 0.82; pointer-events: none; }
.product-card > * { position: relative; z-index: 1; }
.product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--product) 46%, var(--line)); background: var(--surface-2); color: inherit; }
.product-card h3 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
.product-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.product-card .tag { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--product); }
.product-card.felt { --product: var(--felt); }
.product-card.klosr { --product: var(--klosr); }
.product-card.clearline { --product: var(--clearline); }
.product-card.findwords { --product: var(--findwords); }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pill { padding: 0.3rem 0.68rem; border-radius: 999px; font-size: 0.76rem; font-weight: 800; background: rgba(255,255,255,0.07); color: var(--muted); border: 1px solid rgba(255,255,255,0.065); }
.pill.live { color: #adf0b8; background: rgba(125, 212, 168, 0.12); }
.pill.soon { color: #e8c9a0; background: rgba(232, 201, 160, 0.1); }
.pill.paused { color: var(--muted); }
.mini-visual { height: 86px; border-radius: 22px; border: 1px solid var(--line); background: rgba(0,0,0,0.22); overflow: hidden; }
.mini-orb { display: grid; place-items: center; }
.mini-orb span { width: 3.7rem; height: 3.7rem; border-radius: 45% 55% 60% 40%; background: radial-gradient(circle at 34% 28%, #fff, #b7d7ff 18%, var(--felt) 42%, #1a1236 75%); box-shadow: 0 0 40px rgba(167,139,255,0.44); }
.mini-paper { background: linear-gradient(135deg, rgba(232,201,160,0.12), rgba(255,255,255,0.035)); }
.mini-paper span { display: block; width: 72%; height: 52px; margin: 16px auto; border-radius: 16px 16px 22px 16px; background: rgba(232,201,160,0.18); border: 1px solid rgba(232,201,160,0.25); transform: rotate(-3deg); }
.mini-terminal { background: linear-gradient(180deg, rgba(61,217,232,0.08), rgba(0,0,0,0.24)); }
.mini-terminal span { display: block; width: 74%; height: 10px; margin: 34px auto; border-radius: 999px; background: var(--clearline); box-shadow: 0 0 28px rgba(61,217,232,0.45); }
.mini-cards { display: grid; place-items: center; background: linear-gradient(135deg, rgba(125,212,168,0.12), rgba(255,255,255,0.025)); }
.mini-cards span { width: 70%; height: 54px; border-radius: 18px; background: repeating-linear-gradient(90deg, rgba(125,212,168,0.2), rgba(125,212,168,0.2) 34px, rgba(255,255,255,0.08) 34px, rgba(255,255,255,0.08) 40px); border: 1px solid rgba(125,212,168,0.22); }

.split-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sticky-copy { position: sticky; top: calc(var(--nav-h) + 2rem); }
.stacked-panels { display: grid; gap: 1rem; }
.feature-panel, .card { padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-panel { min-height: 150px; }
.panel-number { display: inline-flex; margin-bottom: 1rem; color: var(--accent); font-weight: 900; font-size: 0.8rem; letter-spacing: 0.14em; }
.feature-panel h3, .card strong { display: block; margin-bottom: 0.4rem; font-size: 1.08rem; }
.feature-panel p, .card p { color: var(--muted); font-size: 0.97rem; }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.doctrine-card { padding: clamp(1.5rem, 5vw, 3rem); border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.doctrine-card h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); max-width: 12ch; margin-bottom: 1rem; }
.doctrine-card p { color: var(--soft); max-width: 62ch; }

.theme-felt { --product: var(--felt); }
.theme-klosr { --product: var(--klosr); }
.theme-clearline { --product: var(--clearline); }
.theme-findwords { --product: var(--findwords); }
.theme-felt .eyebrow, .theme-felt .product-hero h1 { color: var(--felt); }
.theme-klosr .eyebrow, .theme-klosr .product-hero h1 { color: var(--klosr); }
.theme-clearline .eyebrow, .theme-clearline .product-hero h1 { color: var(--clearline); }
.theme-findwords .eyebrow, .theme-findwords .product-hero h1 { color: var(--findwords); }
.product-hero { padding: 5.5rem 0 3.5rem; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.product-hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); margin-bottom: 1rem; color: var(--text); }
.product-hero .hero-lead { margin: 0; }
.product-device { min-height: 420px; border-radius: 42px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.product-device::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,0.12); border-radius: 32px; background: radial-gradient(circle at 50% 25%, color-mix(in srgb, var(--product) 26%, transparent), transparent 16rem), rgba(0,0,0,0.18); }
.device-label { position: absolute; left: 36px; right: 36px; bottom: 34px; padding: 1rem; border-radius: 22px; background: rgba(5,6,10,0.65); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.device-label span { display: block; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 900; }
.device-label strong { display: block; margin-top: 0.2rem; }
.device-orb { position: absolute; width: 12rem; height: 12rem; left: 50%; top: 40%; transform: translate(-50%, -50%); border-radius: 44% 56% 58% 42%; background: radial-gradient(circle at 34% 28%, #fff, #c9ddff 16%, var(--product) 42%, #141424 76%); box-shadow: 0 0 80px color-mix(in srgb, var(--product) 46%, transparent); }
.device-lines { position: absolute; left: 38px; top: 42px; right: 38px; display: grid; gap: 12px; }
.device-lines span { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.device-lines span:nth-child(2) { width: 76%; }
.device-lines span:nth-child(3) { width: 54%; background: color-mix(in srgb, var(--product) 38%, transparent); }

.legal-page main { padding: 3rem 0 4rem; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 0.5rem; }
.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.75rem; }
.legal-page h2 { font-size: 1.28rem; margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li { color: var(--muted); max-width: 72ch; }
.legal-page ul { margin: 0.5rem 0 1rem 1.25rem; }
.legal-page li + li { margin-top: 0.35rem; }
.legal-note { margin-top: 2rem; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }

.site-footer { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.footer-inner, .site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero-grid, .product-hero-grid, .split-grid { grid-template-columns: 1fr; }
  .signal-stage { min-height: 420px; }
  .sticky-copy { position: static; }
  .manifesto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1.2rem, var(--max)); }
  .nav-links { gap: 0.35rem 0.85rem; font-size: 0.84rem; }
  .nav-links .hide-mobile { display: none; }
  .brand { font-size: 0.98rem; }
  .hero, .product-hero { padding-top: 3.5rem; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .product-card { min-height: 300px; }
  .site-nav .container { min-height: auto; padding: 0.9rem 0; align-items: flex-start; flex-direction: column; }
}
