:root {
  color-scheme: dark;
  --bg: oklch(0.095 0 0);
  --surface: oklch(0.165 0.014 280);
  --surface-strong: oklch(0.235 0.02 280);
  --ink: oklch(0.985 0 0);
  --muted: oklch(0.83 0.012 280);
  --faint: oklch(0.71 0.018 280);
  --line: oklch(0.4 0.018 280);
  --primary: oklch(0.62 0.17 280);
  --primary-deep: oklch(0.48 0.15 280);
  --accent: oklch(0.82 0.17 84);
  --accent-soft: oklch(0.31 0.065 84);
  --max-width: 1240px;
  --radius: 14px;
  --shadow: 0 8px 28px oklch(0.02 0 0 / 0.32);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: oklch(0.985 0 0);
  --surface: oklch(0.96 0 0);
  --surface-strong: oklch(0.91 0.01 280);
  --ink: oklch(0.16 0.03 280);
  --muted: oklch(0.36 0.035 280);
  --faint: oklch(0.45 0.03 280);
  --line: oklch(0.74 0.025 280);
  --primary: oklch(0.5 0.19 280);
  --primary-deep: oklch(0.42 0.14 280);
  --accent: oklch(0.5 0.17 84);
  --accent-soft: oklch(0.92 0.05 84);
  --shadow: 0 8px 26px oklch(0.25 0.02 280 / 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
  transition: background-color 240ms ease, color 240ms ease;
}
body::selection { background: var(--primary); color: white; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 10; padding: .75rem 1rem; background: var(--accent); color: oklch(0.16 0.02 280); font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--line);
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .14em; font-size: .94rem; }
.brand-name span { color: var(--accent); }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; position: relative; }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; display: block; border: 1px solid var(--accent); border-radius: 50%; }
.brand-mark::before { width: 13px; height: 13px; }
.brand-mark::after { width: 4px; height: 4px; background: var(--accent); }
.brand-mark span { width: 20px; height: 6px; border-top: 0; border-bottom: 0; transform: rotate(-28deg); }
.site-nav { display: flex; gap: 27px; margin-left: auto; color: var(--muted); font-size: .82rem; font-weight: 700; }
.site-nav a { transition: color 160ms ease; }
.site-nav a:hover { color: var(--ink); }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); color: var(--ink); background: transparent; padding: 9px 12px; border-radius: 999px; font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent); }
.theme-icon { font-size: 1rem; line-height: 1; }
.theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: inline; }
[data-theme="light"] .theme-label { font-size: 0; }
[data-theme="light"] .theme-label::after { content: "Dark mode"; font-size: .72rem; }

main { overflow: hidden; }
.hero { width: min(calc(100% - 48px), var(--max-width)); min-height: 680px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); align-items: center; gap: clamp(44px, 7vw, 110px); padding: 76px 0 96px; }
.signal-label, .section-kicker, .product-index, .group-count, .tile-stamp, .visual-readout, .image-note { font-family: "Space Mono", monospace; text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; }
.signal-label { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); margin: 0 0 25px; }
.signal-dot, .group-status i { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 18%, transparent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; text-wrap: balance; }
h1 { max-width: 650px; margin-bottom: 26px; font-size: clamp(3.5rem, 7vw, 6.7rem); letter-spacing: -.035em; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-lede { max-width: 56ch; margin-bottom: 32px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 18px; border-radius: 999px; font-size: .8rem; font-weight: 800; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.download-icon { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-radius: 12px; background: var(--primary); color: white; }
.button-primary:hover { background: var(--primary-deep); }
.button-quiet { border: 1px solid var(--line); color: var(--ink); }
.button-quiet:hover { border-color: var(--accent); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 36px; color: var(--faint); font-family: "Space Mono", monospace; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.hero-visual { position: relative; min-width: 0; }
.visual-frame { position: relative; aspect-ratio: 1.06 / 1; overflow: hidden; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.visual-frame::after { content: ""; position: absolute; inset: 0; background: oklch(0.08 0.02 280 / .18); pointer-events: none; }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.visual-readout { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 3px; color: white; font-size: .58rem; text-shadow: 0 1px 8px oklch(0 0 0 / .7); }
.visual-readout strong { color: var(--accent); font-size: .72rem; letter-spacing: .08em; }
.readout-top { left: 22px; top: 20px; }
.readout-bottom { right: 22px; bottom: 20px; text-align: right; }
.visual-crosshair { position: absolute; z-index: 1; inset: 50% auto auto 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); border: 1px solid color-mix(in oklch, white 70%, transparent); border-radius: 50%; }
.visual-crosshair::before, .visual-crosshair::after { content: ""; position: absolute; background: color-mix(in oklch, white 70%, transparent); }
.visual-crosshair::before { width: 86px; height: 1px; left: -15px; top: 28px; }
.visual-crosshair::after { height: 86px; width: 1px; top: -15px; left: 28px; }
.visual-caption { display: flex; justify-content: space-between; gap: 12px; margin: 14px 2px 0; color: var(--faint); font-family: "Space Mono", monospace; font-size: .61rem; text-transform: uppercase; letter-spacing: .08em; }
.visual-caption span { color: var(--accent); }

.extension-section { width: min(calc(100% - 48px), var(--max-width)); margin: 0 auto; padding: 75px 0 122px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.section-kicker { margin-bottom: 16px; color: var(--accent); }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4.6vw, 4.6rem); letter-spacing: -.03em; }
.section-intro { max-width: 30ch; margin-bottom: 2px; color: var(--muted); font-size: 1rem; }
.product-group { padding-top: 34px; }
.roadmap-group { padding-top: 76px; }
.group-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.group-status { display: inline-flex; align-items: center; gap: 9px; font-family: "Space Mono", monospace; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.status-soon { color: var(--muted); }
.status-soon i { background: var(--primary); box-shadow: 0 0 0 4px color-mix(in oklch, var(--primary) 18%, transparent); }
.group-rule { height: 1px; flex: 1; background: var(--line); }
.group-count { color: var(--faint); }
.product-tile { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-live { display: grid; grid-template-columns: minmax(300px, .88fr) 1.12fr; min-height: 380px; }
.product-image { position: relative; min-height: 300px; overflow: hidden; background: var(--surface-strong); }
.product-image::after { content: ""; position: absolute; inset: 0; background: oklch(0.07 0.03 280 / .2); }
.product-live .product-image::after { background: oklch(0.04 0 0 / .06); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.tile-stamp { position: absolute; z-index: 1; left: 18px; bottom: 18px; padding: 7px 9px; border: 1px solid color-mix(in oklch, white 45%, transparent); background: oklch(0.08 0.02 280 / .65); color: white; }
.product-content { display: flex; flex-direction: column; padding: clamp(28px, 5vw, 58px); }
.product-title-row { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.product-index { color: var(--faint); margin-bottom: 10px; }
h3 { margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.75rem); letter-spacing: -.03em; }
.product-symbol { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 1.4rem; }
.product-heading-with-icon { display: flex; align-items: center; gap: 15px; min-width: 0; }
.product-logo { flex: 0 0 auto; width: 50px; height: 50px; object-fit: contain; border-radius: 13px; }
.product-logo-large { width: 60px; height: 60px; border-radius: 15px; }
.product-description { max-width: 48ch; margin: 25px 0 26px; color: var(--muted); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; color: var(--faint); font-family: "Space Mono", monospace; font-size: .61rem; text-transform: uppercase; letter-spacing: .07em; }
.product-meta span { padding-right: 9px; border-right: 1px solid var(--line); }
.product-meta span:last-child { border: 0; }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin-top: 28px; color: var(--accent); font-size: .82rem; font-weight: 800; }
.text-link:hover { color: var(--ink); }
.text-link-disabled { color: var(--faint); cursor: default; }
.text-link-disabled:hover { color: var(--faint); }
.product-cta { margin-top: 28px; align-self: flex-start; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-soon { min-height: 325px; display: flex; flex-direction: column; padding: 28px; background: transparent; }
.product-soon:hover { border-color: var(--primary); }
.soon-number { margin-bottom: 44px; color: var(--primary); font-family: "Space Mono", monospace; font-size: .72rem; }
.product-soon .product-description { min-height: 76px; margin-top: 18px; font-size: .93rem; }
.product-soon .product-heading-with-icon { min-width: 0; }
.product-soon .product-heading-with-icon h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.product-soon .product-meta { margin-top: auto; }

.principle-section { width: min(calc(100% - 48px), var(--max-width)); margin: 0 auto; padding: 0 0 125px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 8vw, 120px); align-items: center; }
.principle-image { position: relative; aspect-ratio: 1 / .93; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.principle-image::after { content: ""; position: absolute; inset: 0; background: oklch(0.08 0.03 280 / .15); }
.principle-image img { width: 100%; height: 100%; object-fit: cover; }
.image-note { position: absolute; z-index: 1; left: 22px; bottom: 20px; color: white; }
.principle-copy > p:not(.section-kicker) { max-width: 48ch; margin: 28px 0 36px; color: var(--muted); font-size: 1.05rem; }
.principle-points { border-top: 1px solid var(--line); }
.principle-points div { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.principle-points i { flex: 0 0 auto; width: 7px; height: 7px; margin: 8px 21px 0 3px; background: var(--accent); border-radius: 50%; }
.principle-points span { color: var(--ink); font-size: .88rem; }
.closing-section { width: min(calc(100% - 48px), var(--max-width)); margin: 0 auto; padding: 95px 30px 115px; text-align: center; border-top: 1px solid var(--line); }
.closing-section h2 { margin-bottom: 30px; }
.site-footer { width: min(calc(100% - 48px), var(--max-width)); margin: 0 auto; padding: 26px 0 38px; display: flex; align-items: center; gap: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.footer-brand { color: var(--ink); font-size: .68rem; }
.footer-brand .brand-mark { width: 22px; height: 22px; }
.footer-brand .brand-mark::before { width: 10px; height: 10px; }
.footer-brand .brand-mark::after { width: 3px; height: 3px; }
.footer-brand .brand-mark span { width: 16px; }
.footer-meta { margin-left: auto; color: var(--faint); }

@media (max-width: 880px) {
  .site-header { min-height: 76px; gap: 18px; }
  .site-nav { gap: 15px; }
  .theme-label { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-visual { max-width: 700px; width: 100%; margin: 0 auto; }
  .section-heading { align-items: start; flex-direction: column; gap: 24px; }
  .section-intro { max-width: 45ch; }
  .principle-section { grid-template-columns: 1fr; }
  .principle-image { max-width: 700px; }
}
@media (max-width: 680px) {
  .site-header, .hero, .extension-section, .principle-section, .closing-section, .site-footer { width: min(calc(100% - 32px), var(--max-width)); }
  .site-header { flex-wrap: wrap; padding: 17px 0; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; padding-top: 5px; }
  .hero { min-height: 0; padding: 52px 0 74px; gap: 45px; }
  h1 { font-size: clamp(3.2rem, 17vw, 5.1rem); }
  .hero-proof { flex-direction: column; gap: 8px; }
  .visual-caption { flex-direction: column; gap: 4px; }
  .extension-section { padding: 65px 0 92px; }
  .product-live { grid-template-columns: 1fr; }
  .product-image { min-height: 280px; aspect-ratio: 1.3 / 1; }
  .product-content { padding: 28px 22px 30px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .product-soon { min-height: 285px; }
  .principle-section { padding-bottom: 90px; }
  .closing-section { padding: 70px 0 84px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p { margin: 0; }
  .footer-meta { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
