/* CoreMazin.com — the company site. Same family as the app (cyan · violet · rose light), but its own feel:
   deeper black, editorial scale, a solar-gold signature accent, Sora display type. */
:root {
  --ink: #020308; --ink-2: #070912; --panel: rgba(255, 255, 255, 0.028); --panel-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08); --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f6fb; --muted: #9aa3b5; --dim: #6b7385;
  --cyan: #22d3ee; --violet: #8b5cf6; --rose: #f472b6; --solar: #fbbf24;
  --cyan-rgb: 34, 211, 238; --violet-rgb: 139, 92, 246; --rose-rgb: 244, 114, 182; --solar-rgb: 251, 191, 36;
  --spectrum: linear-gradient(120deg, var(--cyan), var(--violet) 50%, var(--rose));
  --display: 'Sora', 'Inter', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1240px; --radius: 22px; --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.65 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(var(--violet-rgb), 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; padding: 10px 16px; background: var(--text); color: var(--ink); border-radius: 10px; }
.skip:focus { left: 16px; }
main, .site-header, .site-footer { position: relative; z-index: 2; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- effects layers ---------- */
.fx-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.fx-lightfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0.95; }
.fx-halo { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; z-index: 250; pointer-events: none; border-radius: 50%; border: 1px solid rgba(var(--cyan-rgb), 0.65); box-shadow: 0 0 18px rgba(var(--cyan-rgb), 0.45), inset 0 0 12px rgba(var(--violet-rgb), 0.35); transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), border-color 0.3s; mix-blend-mode: screen; }
.fx-halo.is-active { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(var(--solar-rgb), 0.8); }
.fx-spotlight { position: fixed; left: 0; top: 0; width: 560px; height: 560px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.14) 0%, rgba(var(--violet-rgb), 0.06) 38%, transparent 72%); }
.fx-beam { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; background: rgba(255, 255, 255, 0.04); }
.fx-beam i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--violet), var(--cyan), var(--rose), var(--solar)); box-shadow: 0 0 14px var(--cyan), 0 0 28px rgba(var(--violet-rgb), 0.85); }
.fx-host { position: relative; overflow: hidden; }
.fx-ripple { position: absolute; border-radius: 50%; transform: scale(0); pointer-events: none; z-index: 5; background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.55) 0%, rgba(var(--violet-rgb), 0.08) 70%); animation: fx-ripple 0.62s ease-out forwards; }
@keyframes fx-ripple { to { transform: scale(4.4); opacity: 0; } }
.fx-spark { position: fixed; width: 6px; height: 6px; border-radius: 50%; background: currentColor; pointer-events: none; z-index: 400; box-shadow: 0 0 12px currentColor; animation: fx-spark 0.66s var(--ease) forwards; }
@keyframes fx-spark { 0% { transform: translate(0, 0) scale(1.3); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
html.fx-ready:not(.fx-reduced) .fx-reveal { opacity: 0; transform: translate3d(0, 36px, -30px) perspective(950px) rotateX(10deg) scale(0.96); filter: blur(6px); transition: opacity 0.6s var(--ease), transform 0.75s var(--ease), filter 0.55s ease; }
html.fx-ready:not(.fx-reduced) .fx-reveal.is-visible { opacity: 1; transform: none; filter: none; }
@media (hover: none), (pointer: coarse) { .fx-halo, .fx-spotlight { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
.display { font-size: clamp(44px, 8.6vw, 118px); letter-spacing: -0.05em; line-height: 0.95; }
.h1 { font-size: clamp(40px, 6vw, 84px); }
.h2 { font-size: clamp(32px, 4.4vw, 60px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 720px; line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.eyebrow.solar { color: var(--solar); }
.spectrum { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: 76px; display: flex; align-items: center; background: linear-gradient(180deg, rgba(2, 3, 8, 0.86), rgba(2, 3, 8, 0.5)); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid transparent; transition: height 0.3s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { height: 64px; background: rgba(2, 3, 8, 0.94); border-bottom-color: rgba(var(--violet-rgb), 0.4); box-shadow: 0 14px 40px -18px rgba(var(--violet-rgb), 0.55); }
.nav { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font: 600 19px var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; list-style: none; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; font: 500 14.5px var(--body); color: #cfd5e2; background: none; border: 0; cursor: pointer; transition: color 0.2s, background 0.2s; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li:focus-within > button, .nav-links a[aria-current='page'] { color: #fff; background: var(--panel-2); }
.menu { position: absolute; top: calc(100% + 10px); left: -12px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px; border-radius: 20px; background: rgba(8, 10, 20, 0.96); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px -30px rgba(var(--violet-rgb), 0.6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; }
.nav-links > li:hover .menu, .nav-links > li:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 11px 13px; border-radius: 13px; transition: background 0.2s; }
.menu a:hover { background: var(--panel-2); }
.menu b { display: block; font: 600 14.5px var(--display); letter-spacing: -0.01em; }
.menu span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-login { font: 500 14.5px var(--body); color: #cfd5e2; padding: 9px 12px; }
.nav-login:hover { color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: #fff; cursor: pointer; }
.mobile-nav { display: none; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 15.5px var(--display); letter-spacing: -0.01em; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s, filter 0.25s; }
.btn-primary { background: #fff; color: #05060b; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 10px 40px -10px rgba(var(--cyan-rgb), 0.6); }
.btn-primary:hover { box-shadow: 0 0 0 1px #fff, 0 14px 50px -8px rgba(var(--violet-rgb), 0.75), 0 0 40px -10px rgba(var(--cyan-rgb), 0.9); }
.btn-spectrum { background: var(--spectrum); color: #05060b; box-shadow: 0 0 30px -6px rgba(var(--violet-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-spectrum:hover { filter: brightness(1.12); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: var(--line-2); backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: rgba(var(--cyan-rgb), 0.6); background: rgba(var(--cyan-rgb), 0.08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--display); color: #fff; }
.link-arrow::after { content: '→'; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:hover { color: var(--cyan); }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* hero */
.hero { position: relative; min-height: min(92vh, 980px); display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(180deg, transparent, var(--ink)); z-index: 1; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero-center { text-align: center; display: grid; justify-items: center; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); font-size: 14px; color: #d6dbe7; backdrop-filter: blur(10px); }
.hero-badge b { font: 600 11px var(--mono); letter-spacing: 0.1em; padding: 5px 9px; border-radius: 999px; background: rgba(var(--solar-rgb), 0.14); color: var(--solar); }
.page-hero { padding: 150px 0 80px; min-height: auto; }
.page-hero .lede { margin-top: 6px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }

/* app band */
.app-band { position: relative; border-radius: 34px; padding: clamp(32px, 5vw, 64px); overflow: hidden; background: radial-gradient(ellipse at 85% 20%, rgba(var(--violet-rgb), 0.28), transparent 55%), radial-gradient(ellipse at 10% 100%, rgba(var(--cyan-rgb), 0.18), transparent 55%), linear-gradient(160deg, #0b0f22, #05060d); border: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.app-band::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(var(--cyan-rgb), 0.7), transparent 40%, rgba(var(--rose-rgb), 0.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.app-window { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #04060e; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(var(--cyan-rgb), 0.6); }
.app-window-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.app-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2f40; }
.app-window-body { padding: 20px; display: grid; gap: 14px; font-size: 14px; }
.bubble { padding: 12px 15px; border-radius: 16px; max-width: 86%; line-height: 1.5; }
.bubble.me { justify-self: end; background: linear-gradient(135deg, #22d3ee, #6366f1); color: #04060e; font-weight: 500; }
.bubble.ai { background: var(--panel-2); border: 1px solid var(--line); }
.bubble .step { display: block; font: 500 11.5px var(--mono); color: var(--cyan); margin-bottom: 6px; }
.typing::after { content: '▍'; color: var(--cyan); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* cards & grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); border: 1px solid var(--line); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s; transform-style: preserve-3d; will-change: transform; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--cyan-rgb), 0.16), transparent 60%); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: linear-gradient(118deg, transparent 20%, rgba(var(--cyan-rgb), 0.12) 38%, rgba(var(--violet-rgb), 0.14) 50%, rgba(var(--rose-rgb), 0.1) 64%, transparent 80%); background-size: 220% 220%; background-position: var(--mx, 50%) var(--my, 50%); mix-blend-mode: screen; }
.card:hover, .card.is-tilting { border-color: rgba(var(--cyan-rgb), 0.45); box-shadow: 0 30px 60px -30px rgba(var(--violet-rgb), 0.5); }
.card:hover::before, .card:hover::after, .card.is-tilting::before, .card.is-tilting::after { opacity: 1; }
.card h3 { font-size: 22px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
a.card { color: inherit; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--cyan-rgb), 0.1); border: 1px solid rgba(var(--cyan-rgb), 0.3); color: var(--cyan); }
.icon svg { width: 22px; height: 22px; }
.icon.violet { background: rgba(var(--violet-rgb), 0.12); border-color: rgba(var(--violet-rgb), 0.35); color: #c4b5fd; }
.icon.rose { background: rgba(var(--rose-rgb), 0.1); border-color: rgba(var(--rose-rgb), 0.35); color: var(--rose); }
.icon.solar { background: rgba(var(--solar-rgb), 0.1); border-color: rgba(var(--solar-rgb), 0.35); color: var(--solar); }
.tag { display: inline-flex; align-self: flex-start; font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.card-feature { grid-column: span 2; min-height: 340px; justify-content: flex-end; background: radial-gradient(ellipse at 80% 0%, rgba(var(--violet-rgb), 0.3), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(var(--cyan-rgb), 0.18), transparent 60%), linear-gradient(160deg, #0c1024, #05060d); }

/* model cards */
.model { padding: 38px; min-height: 420px; gap: 20px; }
.model .model-name { font-size: clamp(36px, 4vw, 54px); letter-spacing: -0.045em; }
.model .levels { display: flex; flex-wrap: wrap; gap: 8px; }
.model .levels span { font: 500 12px var(--mono); padding: 7px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.model .levels span:nth-child(1) { color: var(--cyan); }
.model .levels span:nth-child(2) { color: var(--solar); }
.model .levels span:nth-child(3) { color: var(--rose); }
.model-truth { background: radial-gradient(ellipse at 100% 0%, rgba(var(--cyan-rgb), 0.24), transparent 55%), linear-gradient(160deg, #081321, #04060d); }
.model-secret { background: radial-gradient(ellipse at 100% 0%, rgba(var(--violet-rgb), 0.3), transparent 55%), linear-gradient(160deg, #100a22, #05040d); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); background: var(--panel); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 600 clamp(34px, 4vw, 52px)/1 var(--display); letter-spacing: -0.04em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 500 clamp(20px, 2.4vw, 30px) var(--display); letter-spacing: -0.02em; color: #4b5266; white-space: nowrap; }
.marquee-track span:nth-child(3n + 1) { color: #dfe4f0; }
.marquee-track span::before { content: '✦'; margin-right: 46px; color: var(--violet); font-size: 0.6em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.visual { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(ellipse at 30% 20%, rgba(var(--cyan-rgb), 0.3), transparent 55%), radial-gradient(ellipse at 80% 90%, rgba(var(--rose-rgb), 0.24), transparent 55%), linear-gradient(160deg, #0b0f22, #04050b); display: grid; place-items: center; }
.visual svg { width: 70%; height: auto; filter: drop-shadow(0 0 40px rgba(var(--violet-rgb), 0.5)); }
.visual .orbit { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.12); animation: spin 40s linear infinite; }
.visual .orbit::after { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: #d4d9e5; }
.checks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: radial-gradient(circle, var(--cyan) 30%, transparent 32%), rgba(var(--cyan-rgb), 0.15); border: 1px solid rgba(var(--cyan-rgb), 0.5); }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps .card::before { opacity: 0.5; }
.steps .card > b { counter-increment: step; font: 500 13px var(--mono); color: var(--solar); }
.steps .card > b::before { content: '0' counter(step) ' — '; }

/* specs */
.specs { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.specs div { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.specs div:last-child { border-bottom: 0; }
.specs dt { font: 500 13px var(--mono); color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.specs dd { margin: 0; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 0 24px; transition: border-color 0.25s, background 0.25s; }
.faq details[open] { border-color: rgba(var(--violet-rgb), 0.45); background: rgba(var(--violet-rgb), 0.05); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font: 600 18px var(--display); letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px/1 var(--body); color: var(--cyan); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { padding: 30px; }
.plan .price { font: 600 46px/1 var(--display); letter-spacing: -0.04em; }
.plan .price small { font: 400 15px var(--body); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; font-size: 14.5px; color: #d3d8e4; }
.plan ul li::before { content: '✓  '; color: var(--cyan); }
.plan.featured { border-color: rgba(var(--solar-rgb), 0.55); background: radial-gradient(ellipse at 50% 0%, rgba(var(--solar-rgb), 0.14), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); }
.plan .btn { margin-top: auto; }

/* download */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform { align-items: flex-start; }
.platform .btn { margin-top: auto; }
.platform small { color: var(--dim); font: 500 12px var(--mono); }
.detected { border-color: rgba(var(--solar-rgb), 0.6) !important; box-shadow: 0 0 0 1px rgba(var(--solar-rgb), 0.25), 0 30px 60px -30px rgba(var(--solar-rgb), 0.45) !important; }

/* news & research lists */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { min-height: 300px; }
.post .meta { font: 500 12px var(--mono); color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.post-art { height: 150px; margin: -30px -30px 6px; border-bottom: 1px solid var(--line); background-size: cover; }
.art-1 { background: radial-gradient(circle at 30% 40%, rgba(var(--cyan-rgb), 0.6), transparent 40%), radial-gradient(circle at 70% 60%, rgba(var(--violet-rgb), 0.6), transparent 45%), #070a18; }
.art-2 { background: radial-gradient(circle at 60% 30%, rgba(var(--rose-rgb), 0.55), transparent 40%), radial-gradient(circle at 20% 80%, rgba(var(--solar-rgb), 0.4), transparent 45%), #0d0816; }
.art-3 { background: conic-gradient(from 210deg at 50% 60%, rgba(var(--cyan-rgb), 0.5), rgba(var(--violet-rgb), 0.5), rgba(var(--rose-rgb), 0.45), rgba(var(--cyan-rgb), 0.5)), #060814; }
.art-4 { background: repeating-linear-gradient(115deg, rgba(var(--violet-rgb), 0.35) 0 2px, transparent 2px 18px), radial-gradient(circle at 50% 50%, rgba(var(--cyan-rgb), 0.4), transparent 60%), #05070f; }
.prose { max-width: 760px; }
.prose p, .prose li { color: #cdd3df; font-size: 18px; }
.prose h2 { font-size: 30px; margin: 46px 0 14px; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.code { font: 13.5px/1.7 var(--mono); padding: 22px 24px; border-radius: 18px; background: #04060d; border: 1px solid var(--line-2); overflow-x: auto; color: #cfe7ff; white-space: pre; }
.code .k { color: var(--violet); } .code .s { color: #86efac; } .code .c { color: var(--dim); }

/* CTA */
.cta { text-align: center; display: grid; justify-items: center; gap: 26px; padding: clamp(60px, 9vw, 120px) 24px; border-radius: 36px; border: 1px solid var(--line-2); background: radial-gradient(ellipse at 50% 120%, rgba(var(--violet-rgb), 0.45), transparent 60%), radial-gradient(ellipse at 50% -20%, rgba(var(--cyan-rgb), 0.2), transparent 60%), #05060d; overflow: hidden; position: relative; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: linear-gradient(180deg, transparent, rgba(var(--violet-rgb), 0.05)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 30px; }
.footer-grid h4 { font: 600 13px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #c7cddb; font-size: 14.5px; }
.footer-grid a:hover { color: #fff; }
.footer-base { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--dim); font-size: 13.5px; }
.fx-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); }
.fx-switch button { border: 0; background: none; color: var(--muted); font: 500 12px var(--mono); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.fx-switch button[aria-pressed='true'] { background: var(--panel-2); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-actions .nav-login { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-actions { margin-left: 0; }
  .mobile-nav { display: block; position: fixed; inset: 64px 0 0; z-index: 99; background: rgba(2, 3, 8, 0.98); padding: 24px 20px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; }
  .mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav h4 { font: 600 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
  .mobile-nav a { display: block; padding: 11px 0; font: 600 19px var(--display); border-bottom: 1px solid var(--line); }
  .grid-4, .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .posts, .steps, .platforms, .split, .app-band, .page-hero-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .card-feature { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .specs div { grid-template-columns: 1fr; gap: 6px; }
  .hero { min-height: auto; padding: 110px 0 70px; }
  .page-hero { padding: 120px 0 50px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .grid-4, .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-actions .btn { padding: 0 14px; min-height: 40px; font-size: 14px; }
  .card, .model, .plan { padding: 24px; }
  .post-art { margin: -24px -24px 6px; }
  .hero-actions .btn { width: 100%; }
}
