/* Lynx OS - lynxos.io. Tokens follow the app's design system (src/app/globals.css). */
:root {
  --ink: #0e1a24;
  --ink-2: #33475a;
  --muted: #6b7a88;
  --bg: #f6f7fb;
  --card: #ffffff;
  --well: #eef1f5;
  --line: #e6e9ef;
  --accent: #6400ff;
  --accent-2: #8b45ff;
  --accent-deep: #4a00bf;
  --accent-soft: #efe6ff;
  --mint: #7eddd3;
  --mint-deep: #1fa898;
  --slate: #233746;
  --amber: #e9a23b;
  --night: #070b12;
  --night-2: #0d1520;
  --night-line: rgba(255, 255, 255, 0.08);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(14, 26, 36, 0.04), 0 18px 50px -24px rgba(14, 26, 36, 0.28);
  --shadow-pop: 0 2px 6px rgba(14, 26, 36, 0.06), 0 40px 90px -30px rgba(40, 10, 110, 0.45);
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.sub, .lede, .tile p, .trust-card p { text-wrap: pretty; }
p { margin: 0; }
kbd {
  font-family: var(--mono); font-size: 12px; padding: 2px 7px; border-radius: 7px; margin: 0 2px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-bottom-width: 2px;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 16px; }
.mono { font-family: var(--mono); }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head .sub { margin-inline: auto; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 500;
}
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.mint { color: var(--mint); }
.eyebrow img { border-radius: 50%; }
.display { font-size: clamp(38px, 5.6vw, 68px); font-weight: 750; letter-spacing: -0.035em; }
.display.light { color: #fff; }
.sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; margin-top: 20px; }
.sub.light { color: rgba(226, 233, 240, 0.72); }
.hl { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 60%, var(--mint-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-mint { background: linear-gradient(100deg, var(--mint), #b9a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted); flex: none; }
.dot.live { background: #00c389; box-shadow: 0 0 0 0 rgba(0, 195, 137, 0.6); animation: pulse 2.2s infinite; }
.dot.amber { background: var(--amber); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 195, 137, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(0, 195, 137, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 195, 137, 0); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 20px; font-weight: 650;
  text-decoration: none; border: 0; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-dark { background: var(--slate); color: #fff; }
.btn-dark:hover { background: #2e4759; }
.btn-accent { background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-deep)); color: #fff; box-shadow: 0 10px 30px -10px rgba(100, 0, 255, 0.6); }
.btn-accent:hover { box-shadow: 0 16px 40px -12px rgba(100, 0, 255, 0.75); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-mint { background: var(--mint); color: #062a26; box-shadow: 0 10px 30px -12px rgba(126, 221, 211, 0.7); }
.btn-mint:hover { background: #98e6de; }
.play { width: 0; height: 0; border-left: 9px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.link-btn { background: none; border: 0; color: rgba(255, 255, 255, 0.6); cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.text-link { color: var(--accent); font-weight: 650; text-decoration: none; display: inline-block; margin-top: 18px; }

/* Progress + nav */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--mint)); }
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1200px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px rgba(14, 26, 36, 0.06), 0 12px 40px -20px rgba(14, 26, 36, 0.3); transition: background 0.3s, box-shadow 0.3s;
}
.nav.on-dark { background: rgba(13, 21, 32, 0.72); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 40px -20px rgba(0, 0, 0, 0.6); color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand .mark { width: 34px; height: 34px; filter: drop-shadow(0 6px 14px rgba(100, 0, 255, 0.35)); }
.brand-word b { color: var(--mint-deep); font-weight: 800; }
.nav.on-dark .brand-word b { color: var(--mint); }
.links { position: relative; display: flex; gap: 2px; }
.links a { position: relative; z-index: 1; text-decoration: none; font-size: 14.5px; font-weight: 550; padding: 8px 13px; border-radius: 999px; color: var(--ink-2); transition: color 0.25s; }
.nav.on-dark .links a { color: rgba(255, 255, 255, 0.72); }
.links a.active { color: #fff; }
.spy-pill { position: absolute; top: 0; height: 100%; border-radius: 999px; background: var(--slate); transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s; opacity: 0; left: 0; }
.nav.on-dark .spy-pill { background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--well); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav.on-dark .menu-btn { background: rgba(255, 255, 255, 0.1); }
.mobile-menu {
  position: fixed; z-index: 49; top: 76px; left: 12px; right: 12px; padding: 14px; border-radius: 24px; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px); box-shadow: var(--shadow-pop); display: grid; gap: 2px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 14px; border-radius: 14px; text-decoration: none; font-weight: 600; }
.mobile-menu a:not(.btn):hover { background: var(--well); }
.mobile-menu .btn { justify-content: center; margin-top: 8px; }

.hud { position: fixed; bottom: 14px; z-index: 40; transition: opacity 0.4s; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--muted); display: flex; align-items: center; gap: 8px; pointer-events: none; mix-blend-mode: multiply; }
.hud-l { left: 18px; } .hud-r { right: 18px; }
body.past-hero .hud { opacity: 0; }

/* Hero */
.hero { position: relative; min-height: 100svh; padding: 130px 0 70px; overflow: hidden; background:
  radial-gradient(1100px 600px at 85% 10%, rgba(126, 221, 211, 0.22), transparent 60%),
  radial-gradient(900px 700px at 0% 0%, rgba(100, 0, 255, 0.10), transparent 60%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(14, 26, 36, 0.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero-grid { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(30px, 4vw, 64px); align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.wordmark { height: clamp(110px, 14vw, 190px); margin: 0 0 10px -6px; position: relative; }
.wordmark canvas { width: 100%; height: 100%; display: block; }
.hero-title { font-size: clamp(36px, 4.4vw, 60px); font-weight: 780; letter-spacing: -0.04em; max-width: 620px; }
.lede { margin-top: 22px; font-size: clamp(17px, 1.45vw, 19.5px); color: var(--ink-2); max-width: 560px; }
.lede strong { color: var(--ink); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row.center { justify-content: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.chips li { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--line); }
.chips li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-deep); margin-right: 8px; vertical-align: 2px; }

.hero-visual { position: relative; perspective: 1600px; }
.browser { border-radius: 18px; background: var(--card); box-shadow: var(--shadow-pop), 0 0 0 1px rgba(14, 26, 36, 0.06); overflow: hidden; position: relative; }
.browser.tilt { transform: rotateY(-9deg) rotateX(4deg) rotateZ(0.5deg); transform-style: preserve-3d; transition: transform 0.6s var(--ease); will-change: transform; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: linear-gradient(#fbfcfd, #f3f5f8); border-bottom: 1px solid var(--line); position: relative; }
.browser-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar > i:nth-child(2) { background: #febc2e; } .browser-bar > i:nth-child(3) { background: #28c840; }
.url { margin: 0 auto; font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--card); padding: 4px 14px 4px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 6px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url svg { width: 12px; height: 12px; fill: none; stroke: var(--mint-deep); stroke-width: 1.6; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13.5px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 13px; }
.float span { color: var(--ink-2); }
.float img { border-radius: 50%; }
.f1 { left: -28px; bottom: 16%; max-width: 270px; }
.f2 { right: -14px; top: 12%; animation-delay: -2s; }
.f3 { right: 8%; bottom: -22px; animation-delay: -4s; }
.key { font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent); padding: 3px 8px; border-radius: 7px; }
.tick { width: 18px; height: 18px; border-radius: 50%; background: #00c389; display: inline-block; position: relative; flex: none; }
.tick::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; font-size: 10.5px; font-weight: 750; display: inline-grid; place-items: center; margin-left: -8px; box-shadow: 0 0 0 2px #fff; }
.avatar:first-child { margin-left: 0; }
.live-txt { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; margin-left: 4px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(14, 26, 36, 0.25); transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--ink-2); transform: translateX(-50%); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* Why (scroll-driven convergence) */
.why { height: 240vh; position: relative; background: linear-gradient(var(--bg), #fff 40%, var(--bg)); }
.why-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.why canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.why-inner { position: relative; z-index: 2; width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; pointer-events: none; }
.why-copy { max-width: 540px; pointer-events: auto; }
.why-copy .display { font-size: clamp(36px, 4.6vw, 60px); }
.why-stats { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.why-stats > div { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); padding: 12px 18px; border-radius: 18px; box-shadow: var(--shadow); }
.why-stats b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; color: var(--accent); }
.why-stats span { font-size: 13px; color: var(--muted); }

/* Day timeline */
.day { background: #fff; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 980px; margin: 0 auto 44px; padding-top: 18px; }
.timeline button { background: none; border: 0; cursor: pointer; padding: 18px 8px 6px; text-align: center; border-radius: 14px; position: relative; z-index: 1; transition: background 0.25s; }
.timeline button:hover { background: var(--well); }
.timeline button::before { content: ""; position: absolute; top: -9px; left: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translateX(-50%); background: #fff; box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow 0.3s, background 0.3s; }
.timeline button[aria-selected="true"]::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline time { display: block; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.timeline span { display: block; font-weight: 700; font-size: 15px; margin-top: 2px; }
.timeline button[aria-selected="true"] time { color: var(--accent); }
.timeline-track { position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: var(--line); z-index: 0; }
.timeline-track span { display: block; height: 100%; background: var(--accent); width: 0; transition: width 0.6s var(--ease); }
.day-stage { position: relative; }
.day-card { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; background: var(--bg); border-radius: 28px; padding: clamp(22px, 3.4vw, 44px); box-shadow: inset 0 0 0 1px var(--line); animation: fadeUp 0.6s var(--ease); }
.day-card[hidden] { display: none; }
.day-text h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 750; }
.day-text p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.bubble { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.bubble img { border-radius: 50%; }
.bubble p { margin: 0; font-size: 15px; color: var(--ink); }
.shot { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-pop); background: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Tour */
.tour { background: var(--bg); }
.tour-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.tour-rail { display: grid; gap: 4px; position: sticky; top: 100px; }
.tour-rail button { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: none; cursor: pointer; padding: 11px 14px; border-radius: 14px; font-weight: 650; font-size: 15px; color: var(--ink-2); position: relative; overflow: hidden; transition: background 0.25s, color 0.25s; }
.tour-rail button:hover { background: var(--well); }
.tour-rail button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.tour-rail .ix { font-family: var(--mono); font-size: 11.5px; color: var(--muted); width: 22px; }
.tour-rail button[aria-selected="true"] .ix { color: var(--accent); }
.browser.big { border-radius: 20px; }
.tour-frames { position: relative; aspect-ratio: 16 / 10; background: var(--well); }
.tour-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); }
.tour-frames img.on { opacity: 1; transform: none; }
.tour-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(14, 26, 36, 0.06); }
.tour-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--mint-deep)); width: 0; }
.theme-switch { position: absolute; right: 12px; display: flex; background: var(--well); border-radius: 999px; padding: 3px; }
.theme-switch button { border: 0; background: none; font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.theme-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.theme-switch button:disabled { opacity: 0.4; cursor: not-allowed; }
.tour-caption { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; animation: fadeUp 0.5s var(--ease); }
.tour-caption h3 { font-size: 26px; font-weight: 750; }
.tour-caption h3 small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); font-weight: 500; margin-bottom: 8px; text-transform: uppercase; }
.tour-caption ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tour-caption li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: 15.5px; }
.tour-caption li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.tour-caption li::after { content: ""; position: absolute; left: 5.5px; top: 8.5px; width: 3.5px; height: 6.5px; border: solid var(--accent); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }

/* Dark sections */
.dark, .night { color: #e8eef3; }
.dark { background: radial-gradient(1000px 600px at 90% 0%, rgba(100, 0, 255, 0.35), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(31, 168, 152, 0.22), transparent 60%), var(--night); overflow: hidden; }
.night { background: radial-gradient(900px 500px at 50% 0%, rgba(100, 0, 255, 0.22), transparent 70%), var(--night); overflow: hidden; }
.night::before, .dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; pointer-events: none; }
.g1 { width: 380px; height: 380px; background: var(--accent); top: -120px; right: 10%; animation: drift 14s ease-in-out infinite; }
.g2 { width: 320px; height: 320px; background: var(--mint-deep); bottom: -120px; left: 5%; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 50% { transform: translate(-40px, 30px) scale(1.1); } }

/* Rabt */
.rabt-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; position: relative; }
.rabt-copy .eyebrow { color: var(--mint); }
.rabt-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 4px; }
.rabt-list li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--night-line); }
.rabt-list b { color: #fff; font-weight: 700; }
.rabt-list span { color: rgba(226, 233, 240, 0.7); font-size: 15.5px; }
.demo { background: rgba(13, 21, 32, 0.78); backdrop-filter: blur(20px); border-radius: 24px; padding: 18px; box-shadow: 0 0 0 1px var(--night-line), 0 40px 100px -40px rgba(0, 0, 0, 0.8); position: relative; }
.demo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.demo-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); display: inline-flex; align-items: center; gap: 8px; }
.demo textarea { width: 100%; resize: vertical; min-height: 230px; background: rgba(255, 255, 255, 0.04); color: #e8eef3; border: 1px solid var(--night-line); border-radius: 16px; padding: 14px 16px; font: 13.5px/1.65 var(--mono); }
.demo textarea:focus { outline: none; border-color: rgba(126, 221, 211, 0.5); box-shadow: 0 0 0 3px rgba(126, 221, 211, 0.15); }
.demo-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.hint { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.demo-out:empty { display: none; }
.demo-out { margin-top: 16px; display: grid; gap: 14px; }
.out-group h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 8px; font-weight: 500; display: flex; justify-content: space-between; }
.action { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--night-line); border-radius: 14px; padding: 10px 12px; animation: pop 0.45s var(--ease) both; }
.action .who { display: flex; }
.action .who .avatar { width: 30px; height: 30px; box-shadow: 0 0 0 2px var(--night-2); }
.action .who .avatar.none { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.6); }
.action .t { font-weight: 650; color: #fff; font-size: 14.5px; }
.action .m { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pill { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); }
.pill.urgent { background: rgba(224, 70, 78, 0.18); color: #ff8e94; }
.pill.high { background: rgba(233, 162, 59, 0.18); color: #f5c06e; }
.pill.key { font-family: var(--mono); background: rgba(139, 69, 255, 0.22); color: #c9adff; }
.pill.due { background: rgba(126, 221, 211, 0.14); color: var(--mint); }
.conf { font-family: var(--mono); font-size: 10.5px; color: rgba(255, 255, 255, 0.45); text-transform: uppercase; letter-spacing: 0.1em; }
.notes-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.notes-list li { font-size: 14px; color: rgba(232, 238, 243, 0.85); padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); animation: pop 0.45s var(--ease) both; }
.notes-list.risk li { border-left: 3px solid #ff8e94; }
.notes-list.dec li { border-left: 3px solid var(--mint); }
.approve-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mini-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-col { background: rgba(255, 255, 255, 0.04); border-radius: 14px; padding: 10px; min-height: 90px; }
.mini-col h5 { margin: 0 0 8px; font-size: 11.5px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); font-weight: 500; }
.mini-card { background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; animation: land 0.6s var(--ease) both; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.6); }
.mini-card small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--accent); font-weight: 600; }
.demo-note { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes land { from { opacity: 0; transform: translateY(-30px) rotate(-3deg); } to { opacity: 1; transform: none; } }

/* Office */
.office-stage { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--night-line), 0 60px 120px -40px rgba(100, 0, 255, 0.45); transform: perspective(1800px) rotateX(10deg) scale(0.96); transform-origin: 50% 0; transition: transform 0.2s linear; }
.ping { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--mint); }
.ping::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--mint); animation: ring 2.4s infinite; }
.p1 { left: 57%; top: 49%; } .p2 { left: 62%; top: 58%; animation-delay: -0.8s; } .p3 { left: 77%; top: 55%; }
.p2::after { animation-delay: -0.8s; } .p3::after { animation-delay: -1.6s; }
@keyframes ring { from { transform: scale(0.5); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.office-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.office-feats > div { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--night-line); }
.office-feats h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.office-feats p { color: rgba(226, 233, 240, 0.68); font-size: 15px; }

/* Bento */
.bento-sec { background: #fff; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.tile { background: var(--bg); border-radius: var(--radius); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.tile h3 { font-size: 22px; font-weight: 750; }
.tile p { margin-top: 8px; color: var(--ink-2); font-size: 15px; max-width: 460px; }
.tile img { margin-top: 20px; border-radius: 14px; box-shadow: var(--shadow); object-fit: cover; object-position: top left; }
.t-board { grid-column: span 4; grid-row: span 2; }
.t-board img { flex: 1; min-height: 0; aspect-ratio: 16 / 9; }
.t-projects { grid-column: span 2; grid-row: span 2; }
.t-projects img { aspect-ratio: 4 / 5; object-position: 30% top; }
.t-auto, .t-goals, .t-int { grid-column: span 2; }
.t-docs, .t-graph { grid-column: span 3; }
.t-docs img, .t-graph img { aspect-ratio: 16 / 8; }
.rule { margin-top: 18px; display: grid; gap: 8px; }
.rule div { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 14px; box-shadow: var(--shadow); color: var(--ink-2); }
.r-k { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent); margin-right: 8px; letter-spacing: 0.08em; }
.okr { margin-top: 18px; display: grid; gap: 12px; }
.okr div { font-size: 14px; font-weight: 600; }
.okr i { display: block; height: 8px; border-radius: 99px; background: var(--well); margin-top: 6px; position: relative; overflow: hidden; }
.okr i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--mint-deep)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.tile.in .okr i::after { transform: scaleX(1); }
.logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.logos span { font-size: 13px; font-weight: 650; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }

/* Radar */
.radar-sec { background: linear-gradient(#fff, var(--bg)); }
.radar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.radar-svg { width: 100%; max-width: 480px; margin-inline: auto; display: block; }
.rings circle, .rings path { fill: none; stroke: rgba(100, 0, 255, 0.18); stroke-width: 1; }
.sweep { transform-origin: 200px 200px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.blips circle { fill: var(--accent); opacity: 0.25; animation: blip 6s infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
@keyframes blip { 0%, 70%, 100% { opacity: 0.25; transform: scale(1); } 6% { opacity: 1; transform: scale(1.5); fill: var(--mint-deep); } }
.labels text { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.arrow { color: var(--muted); font-weight: 400; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 90px 1fr; gap: 10px; align-items: baseline; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: var(--accent); }
.steps b { font-size: 18px; }
.steps span { color: var(--ink-2); font-size: 15px; }

/* Phones */
.phone-sec { background: var(--bg); overflow: hidden; }
.phone-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); }
.phones { position: relative; height: clamp(440px, 46vw, 600px); }
.phone { position: absolute; width: clamp(170px, 18vw, 250px); aspect-ratio: 390 / 844; border-radius: 34px; padding: 8px; background: #0b0f17; box-shadow: var(--shadow-pop); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 30%; height: 18px; border-radius: 12px; background: #0b0f17; z-index: 1; }
.ph1 { left: 0; top: 12%; transform: rotate(-8deg); }
.ph2 { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.ph3 { right: 0; top: 12%; transform: rotate(8deg); }

/* Trust */
.trust { background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-card { background: var(--bg); border-radius: var(--radius); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.trust-card h3 { font-size: 20px; font-weight: 750; margin-bottom: 8px; }
.trust-card p { color: var(--ink-2); font-size: 15px; }
.trust-card .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.trust-card .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust-card.wide { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; }
.dark-card { background: var(--night); color: #e8eef3; box-shadow: none; }
.dark-card h3 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); }
.dark-card p { color: rgba(226, 233, 240, 0.72); font-size: 16.5px; }
.approval { background: linear-gradient(160deg, #142334, #0d1520); border-radius: 20px; padding: 20px; box-shadow: 0 0 0 1px rgba(126, 221, 211, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.7); position: relative; }
.approval::before, .approval::after { content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--mint); border-style: solid; }
.approval::before { top: 8px; left: 8px; border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.approval::after { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }
.ap-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.06em; text-transform: uppercase; }
.ap-tag { display: inline-flex; gap: 8px; align-items: center; }
.ap-title { margin: 14px 0 18px; font-size: 18px; font-weight: 650; color: #fff; }
.ap-btns { display: flex; gap: 10px; }
.ap-btns button { border: 0; border-radius: 10px; padding: 9px 16px; font-weight: 700; cursor: pointer; font-size: 14px; }
.ap-yes { background: var(--mint); color: #062a26; }
.ap-no { background: rgba(255, 255, 255, 0.08); color: #fff; }
.ap-done { display: flex; align-items: center; gap: 10px; color: var(--mint); font-weight: 650; margin-top: 14px; animation: pop 0.4s var(--ease); }
.ap-done[hidden] { display: none; }

/* Architecture */
.arch { background: rgba(255, 255, 255, 0.03); border-radius: 28px; padding: clamp(14px, 3vw, 30px); box-shadow: inset 0 0 0 1px var(--night-line); overflow-x: auto; }
.arch-svg { width: 100%; min-width: 760px; display: block; }
.wires path { fill: none; stroke: url(#edge); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; opacity: 0.9; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.packets circle { fill: var(--mint); filter: drop-shadow(0 0 6px var(--mint)); }
.node rect { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.16); }
.node.edge rect { fill: rgba(100, 0, 255, 0.18); stroke: rgba(139, 69, 255, 0.7); }
.node.app rect { fill: rgba(31, 168, 152, 0.14); stroke: rgba(126, 221, 211, 0.6); }
.node.db rect { fill: rgba(255, 255, 255, 0.08); stroke: rgba(126, 221, 211, 0.5); }
.node.small rect { fill: rgba(255, 255, 255, 0.04); stroke-dasharray: 4 4; }
.node text { text-anchor: middle; fill: #fff; }
.n-t { font-size: 17px; font-weight: 700; }
.n-s { font-size: 12.5px; fill: rgba(226, 233, 240, 0.65) !important; }
.n-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; fill: var(--mint) !important; }
.arch-flow { display: none; list-style: none; margin: 0; padding: 0; gap: 26px; }
.arch-flow > li { position: relative; border-radius: 16px; padding: 14px 16px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); display: grid; gap: 2px; }
.arch-flow > li + li::before { content: ""; position: absolute; left: 50%; top: -26px; width: 2px; height: 26px; transform: translateX(-50%); background: linear-gradient(#6400ff, #7eddd3); }
.arch-flow > li + li::after { content: ""; position: absolute; left: 50%; top: -26px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: drip 1.8s linear infinite; }
@keyframes drip { from { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { transform: translateY(20px); opacity: 0; } }
.arch-flow .af-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.arch-flow b { color: #fff; font-size: 17px; }
.arch-flow span:not(.af-k) { color: rgba(226, 233, 240, 0.68); font-size: 13.5px; }
.arch-flow .edge { background: rgba(100, 0, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(139, 69, 255, 0.7); }
.arch-flow .split { grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
.arch-flow .split > div { display: grid; gap: 2px; align-content: start; border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, 0.04); }
.arch-flow .split .app { background: rgba(31, 168, 152, 0.16); box-shadow: inset 0 0 0 1px rgba(126, 221, 211, 0.5); }
.arch-flow .db { box-shadow: inset 0 0 0 1px rgba(126, 221, 211, 0.5); }
.stack-chips { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.stack-chips li { font-family: var(--mono); font-size: 13px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--night-line); color: rgba(255, 255, 255, 0.82); }

/* Roles */
.roles { background: var(--bg); }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role-grid article { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform 0.35s var(--ease); }
.role-grid article:hover { transform: translateY(-4px); }
.role-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); padding: 5px 11px; border-radius: 999px; margin-bottom: 18px; }
.role-grid h3 { font-size: 20px; font-weight: 750; margin-bottom: 8px; }
.role-grid p { color: var(--ink-2); font-size: 15px; }

/* FAQ */
.faq { background: #fff; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--bg); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 4px 22px; transition: background 0.25s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 18px; }
.faq details a { color: var(--accent); font-weight: 650; }

/* CTA + footer */
.cta-band { padding: 40px 0 100px; background: #fff; }
.cta-card { text-align: center; border-radius: 34px; padding: clamp(50px, 8vw, 100px) var(--gutter); color: #fff; position: relative; overflow: hidden; background:
  radial-gradient(700px 400px at 80% 0%, rgba(126, 221, 211, 0.35), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(145, 82, 255, 0.6), transparent 60%), linear-gradient(135deg, #3d00a6, #1a0b45 60%, #0b0f17); }
.cta-card h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 780; letter-spacing: -0.035em; max-width: 760px; margin: 0 auto; }
.cta-card p { margin: 18px auto 0; color: rgba(255, 255, 255, 0.75); max-width: 520px; font-size: 18px; }
.cta-mark { width: 74px; height: 74px; margin: 0 auto 26px; display: block; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4)); animation: bob 6s ease-in-out infinite; }
.footer { background: var(--night); color: rgba(226, 233, 240, 0.75); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.footer .brand { color: #fff; }
.footer .brand-word b { color: var(--mint); }
.foot-note { margin-top: 14px; font-size: 14.5px; max-width: 300px; }
.footer h4 { font-size: 13px; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 14px; font-weight: 500; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer nav a { text-decoration: none; font-size: 15px; }
.footer nav a:hover { color: #fff; }
.credits p { font-size: 14.5px; margin-bottom: 6px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .links a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 1080px) {
  .links { display: none; }
  .menu-btn { display: inline-block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-visual { max-width: 760px; margin: 20px auto 0; width: 100%; }
  .browser.tilt { transform: rotateX(6deg); }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-rail { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .tour-rail::-webkit-scrollbar { display: none; }
  .tour-rail button { white-space: nowrap; flex: none; }
  .rabt-grid, .radar-grid, .phone-grid, .day-card, .tour-caption { grid-template-columns: 1fr; }
  .office-feats { grid-template-columns: 1fr 1fr; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-card.wide { grid-column: span 2; grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-board, .t-docs, .t-graph { grid-column: span 2; }
  .t-projects, .t-auto, .t-goals, .t-int { grid-column: span 1; grid-row: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .radar-viz { order: 2; }
  .footer nav a { padding: 8px 0; }
  .footer nav { gap: 0; }
  .link-btn { padding: 8px 10px; margin: -8px -10px; }
  .theme-switch button { padding: 8px 12px; }
  .hud { display: none; }
  .wordmark { height: 19vw; }
  .phones { max-width: 560px; margin-inline: auto; width: 100%; }
  .why-sticky { align-items: start; }
  .why-inner { padding-top: 110px; }
  .why-copy { max-width: 640px; margin-inline: auto; text-align: center; }
  .why-copy .sub { margin-inline: auto; }
  .why-copy .eyebrow { display: flex; justify-content: center; }
  .why-stats { justify-content: center; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { top: 10px; padding-left: 10px; }
  .nav .btn-sm span { display: none; }
  .nav .btn-sm { padding: 10px 12px; }
  .hud { display: none; }
  .f1 { left: -6px; bottom: -34px; max-width: 230px; font-size: 12.5px; }
  .f2 { right: -6px; top: -26px; font-size: 12.5px; }
  .f3 { display: none; }
  .timeline { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .timeline::-webkit-scrollbar { display: none; }
  .timeline-track { display: none; }
  .why-stats { display: none; }
  .why-inner { padding-top: 96px; }
  .why-copy .sub { font-size: 16px; margin-top: 14px; }
  .rabt-list li { grid-template-columns: 1fr; gap: 2px; }
  .office-feats, .role-grid, .trust-grid, .bento { grid-template-columns: 1fr; }
  .trust-card.wide, .t-board, .t-docs, .t-graph, .t-projects, .t-auto, .t-goals, .t-int { grid-column: auto; }
  .steps li { grid-template-columns: 36px 1fr; }
  .steps li span { grid-column: 2; }
  .mini-board { grid-template-columns: 1fr; }
  .action { grid-template-columns: auto 1fr; }
  .action .conf { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .office-stage { transform: none !important; }
  .theme-switch { display: none; }
  .phones { height: min(108vw, 440px); margin-top: 8px; }
  .phone { width: 42vw; max-width: 180px; border-radius: 26px; padding: 6px; }
  .phone img { border-radius: 21px; }
  .phone::before { top: 10px; height: 13px; }
  .ph1 { left: 0; top: 10%; } .ph3 { right: 0; top: 10%; }
  /* Hero */
  .hero { min-height: auto; padding: 96px 0 64px; }
  .wordmark { height: 27vw; margin: 0 0 6px -4px; }
  .hero-title { font-size: clamp(31px, 8.6vw, 38px); }
  .lede { margin-top: 16px; }
  .cta-row { margin-top: 26px; }
  .cta-row .btn-lg { width: 100%; justify-content: center; padding: 15px 22px; }
  .chips { margin-top: 20px; gap: 6px; }
  .chips li { font-size: 12.5px; padding: 6px 11px; }
  .scroll-hint { display: none; }
  .hero-visual { margin-top: 40px; }
  .f1 { left: 8px; bottom: -26px; max-width: 230px; padding: 8px 12px; gap: 8px; }
  .f1 img { width: 28px; height: 28px; }
  .f2 { right: 8px; top: -22px; padding: 7px 11px; font-size: 12.5px; }
  /* What it is */
  .why { height: 190vh; }
  .why-inner { padding-top: 100px; }
  .why-copy .display { font-size: clamp(30px, 8.4vw, 38px); }
  /* A day in Lynx OS: five stops that fit the screen, no sideways scrolling */
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0 0 28px; padding: 18px 0 0; gap: 0; }
  .timeline button { padding: 16px 2px 6px; border-radius: 12px; }
  .timeline time { font-size: 11.5px; }
  .timeline span { font-size: 12px; line-height: 1.25; }
  .timeline-track { display: block; left: 10%; right: 10%; }
  .day-card { padding: 18px; border-radius: 22px; gap: 18px; }
  .day-text h3 { font-size: 24px; }
  .day-text p { font-size: 15.5px; }
  .shot { border-radius: 12px; }
  .shot img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% top; }
  /* Product tour: tabs scroll sideways with a fade that says so; screens crop to the content */
  .tour-rail { margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 82%, transparent); }
  .tour-rail button { padding: 9px 13px; font-size: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  .tour-frames { aspect-ratio: 1 / 1; }
  .tour-frames img { object-position: 50% top; }
  .browser-bar { padding: 9px 12px; }
  .browser-bar > i { width: 9px; height: 9px; }
  .url { font-size: 11px; max-width: 70%; }
  .tour-caption { margin-top: 18px; gap: 14px; }
  .tour-caption h3 { font-size: 21px; }
  /* Office and delivery screens: crop to what matters */
  .office-stage img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 66% 70%; }
  .ping { display: none; }
  .office-feats { margin-top: 28px; gap: 12px; }
  .tile { padding: 20px; }
  .tile img, .t-board img, .t-projects img, .t-docs img, .t-graph img { aspect-ratio: 4 / 3; object-position: 100% top; }
  /* Architecture: vertical flow instead of the wide diagram */
  .arch { padding: 16px; overflow: visible; }
  .arch-svg { display: none; }
  .arch-flow { display: grid; }
  /* Readable labels and comfortable tap targets */
  .demo-title, .r-k, .ap-tag, .ap-head time, .tour-rail .ix { font-size: 12px; }
  .link-btn { padding: 8px 10px; margin: -8px -10px; }
  .footer nav a { padding: 8px 0; }
  .footer nav { gap: 0; }
  .credits p { margin-bottom: 4px; }
  .faq summary { font-size: 17px; }
  .cta-card { border-radius: 26px; }
  .cta-mark { width: 60px; height: 60px; }
}
@media (max-width: 360px) {
  .timeline span { font-size: 11px; }
  .arch-flow .split { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .why { height: auto; }
  .why-sticky { position: relative; height: auto; min-height: 80vh; padding: 120px 0 200px; }
}

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; background: radial-gradient(900px 600px at 80% 0%, rgba(126, 221, 211, 0.25), transparent 60%), radial-gradient(800px 600px at 0% 100%, rgba(100, 0, 255, 0.12), transparent 60%), var(--bg); }
.nf-main { width: min(720px, 100% - 2 * var(--gutter)); padding: 60px 0; }
.nf-main .brand { margin-bottom: 40px; }
