/* CashPilot marketing site — layered on the app design system (app.css tokens).
   Principles: one accent, blueprint grid, glass chrome, real product imagery,
   restrained motion that starts from the current value and respects reduced-motion. */

:root {
  --m-max: 1200px;
  --m-pad: clamp(20px, 5vw, 64px);
  --m-accent: var(--primary);
  --m-link: var(--blue); /* text-size blue: 5.6:1 on the light ground, 8:1 in dark */
  --m-accent-2: #64d2ff;
  --m-ink: var(--text);
  --m-glow: rgba(0, 113, 227, 0.35);
  --m-grid: rgba(0, 40, 120, 0.07);
  --m-card: var(--surface);
  --m-card-border: var(--border);
  --m-ring: 0 0 0 4px rgba(0, 113, 227, 0.25);
  /* type: Inter for reading, Inter Tight for display, Instrument Serif italic as the editorial accent, system mono for labels */
  --m-text: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --m-display: "Inter Tight", "Inter Tight Fallback", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --m-serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, "Times New Roman", serif;
  --m-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  /* fluid scale (Utopia-style): 1.2 ratio at 360px, 1.25 at 1240px; every step keeps a rem term so zoom works */
  --t--1: clamp(0.875rem, 0.85rem + 0.11vw, 0.9375rem);
  --t-0: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --t-1: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --t-2: clamp(1.35rem, 1.22rem + 0.55vw, 1.66rem);
  --t-3: clamp(1.62rem, 1.4rem + 0.95vw, 2.07rem);
  --t-4: clamp(1.94rem, 1.6rem + 1.5vw, 2.6rem);
  --t-5: clamp(2.33rem, 1.75rem + 2.55vw, 3.6rem);
  --t-6: clamp(2.7rem, 1.6rem + 4.9vw, 5.1rem);
}
/* metric-compatible fallbacks so the swap to the web fonts does not move the layout */
@font-face { font-family: "Inter Fallback"; src: local("Segoe UI"), local("Arial"); ascent-override: 96.9%; descent-override: 24.1%; line-gap-override: 0%; size-adjust: 107.5%; } /* measured: Inter is 7.7% wider than Segoe UI */
@font-face { font-family: "Inter Tight Fallback"; src: local("Segoe UI Semibold"), local("Segoe UI Bold"), local("Arial Bold"); ascent-override: 96.9%; descent-override: 24.1%; line-gap-override: 0%; size-adjust: 101%; } /* measured against Segoe UI Semibold */
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman Italic"), local("Times New Roman"), local("Georgia Italic"); font-style: italic; ascent-override: 94%; descent-override: 24%; line-gap-override: 0%; size-adjust: 87%; } /* measured against Times New Roman Italic */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --m-grid: rgba(255, 255, 255, 0.055); --m-glow: rgba(0, 113, 227, 0.5); }
}
:root[data-theme="dark"] { --m-grid: rgba(255, 255, 255, 0.055); --m-glow: rgba(0, 113, 227, 0.5); }

.mkt { overflow-x: clip; font-family: var(--m-text); font-size: var(--t-0); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-optical-sizing: auto; font-kerning: normal; font-variant-numeric: lining-nums; }
.mkt ::selection { background: rgba(0, 113, 227, .22); }
.mkt :focus-visible { outline: none; box-shadow: var(--m-ring); border-radius: 6px; }
.mkt p { text-wrap: pretty; }
.mkt h1, .mkt h2, .mkt h3, .mkt h4 { font-family: var(--m-display); text-wrap: balance; overflow-wrap: anywhere; }
.serif { font-family: var(--m-serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.m-h1 .serif, .m-h2 .serif { font-size: 1.06em; }
.m-h1 .serif { color: var(--m-accent); }
.m-final .m-h2 .serif { color: #a7dbff; }
.m-wrap { max-width: var(--m-max); margin: 0 auto; padding-left: var(--m-pad); padding-right: var(--m-pad); }
.m-section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.m-section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.m-section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.m-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--m-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.m-kicker::before { content: ""; width: 18px; height: 1px; background: var(--border-strong); }
.m-kicker .idx { color: var(--m-link); font-weight: 700; }
.m-kicker .idx::after { content: " /"; color: var(--border-strong); font-weight: 400; }
.m-kicker.light { color: rgba(255,255,255,.75); } .m-kicker.light::before { background: rgba(255,255,255,.35); }
.m-h2 { font-size: var(--t-5); line-height: 1.04; letter-spacing: -0.028em; font-weight: 700; margin: 0 0 16px; max-width: 24ch; text-wrap: balance; }
.m-h3 { font-size: var(--t-2); letter-spacing: -0.015em; font-weight: 650; margin: 0 0 6px; }
.m-lead { font-size: var(--t-1); line-height: 1.5; color: var(--text-2); max-width: 56ch; margin: 0; letter-spacing: -0.005em; }
.m-center { text-align: center; }
.m-center .m-h2, .m-center .m-lead { margin-left: auto; margin-right: auto; }
.m-center .m-kicker::before { display: none; }
.m-muted { color: var(--muted); }
.m-small { font-size: .85rem; }
.m-mt { margin-top: 28px; }

/* ---- header ---- */
.m-header { position: sticky; top: 0; z-index: 50; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); border-bottom: 1px solid transparent; background: transparent; }
.m-header.scrolled { background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-color: var(--border); box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 8px 30px rgba(0,0,0,.05); }
.m-header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.m-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -0.02em; color: var(--text); font-size: 1.08rem; text-decoration: none; }
.m-brand:hover { text-decoration: none; }
.m-brand .logo { width: 30px; height: 30px; }
.m-nav { display: flex; gap: 4px; align-items: center; }
.m-nav a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: .92rem; text-decoration: none; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.m-nav a:hover, .m-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--m-link); text-decoration: none; }
.m-actions { display: flex; gap: 8px; align-items: center; }
.m-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--m-accent), var(--m-accent-2)); opacity: .9; }
.m-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; place-items: center; }
.m-burger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 2px auto; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.m-mobile { display: none; }
@media (max-width: 900px) {
  .m-nav, .m-actions .m-btn:not(.primary) { display: none; }
  .m-burger { display: grid; }
  .m-mobile { display: none; position: fixed; inset: 64px 0 auto 0; z-index: 49; background: var(--glass-strong); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid var(--border); padding: 12px var(--m-pad) 20px; flex-direction: column; gap: 4px; box-shadow: 0 20px 50px rgba(0,0,0,.15); }
  .m-mobile.open { display: flex; animation: m-drop .28s var(--ease); }
  .m-mobile a { padding: 12px 10px; border-radius: 10px; font-weight: 600; color: var(--text); text-decoration: none; }
  .m-mobile a:hover { background: var(--primary-soft); }
  .m-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .m-burger.open span:nth-child(2) { opacity: 0; }
  .m-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@keyframes m-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---- buttons ---- */
.m-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); will-change: transform; }
.m-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.m-btn:active { transform: translateY(0) scale(.98); }
.m-btn.primary { overflow: hidden; background: var(--m-accent); color: #fff; border-color: var(--m-accent); box-shadow: 0 8px 24px var(--m-glow); }
.m-btn.primary:hover { box-shadow: 0 12px 34px var(--m-glow); }
.m-btn.primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.m-btn.primary:hover::after { transform: translateX(120%); }
.m-btn.ghost { background: transparent; }
.m-btn.lg { padding: 16px 28px; font-size: 1.06rem; }
.m-btn.sm { padding: 9px 16px; font-size: .9rem; }
.m-btn .ic { width: 18px; height: 18px; }
.m-risk { font-size: .82rem; color: var(--muted); margin-top: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.m-risk span::before { content: "✓ "; color: var(--green); }

/* ---- hero ---- */
.m-hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 0; isolation: isolate; }
.m-hero-bg { position: absolute; left: 0; right: 0; top: -64px; height: 140vh; z-index: -1; overflow: hidden; pointer-events: none; contain: layout paint; }
.m-hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--m-grid) 1px, transparent 1px), linear-gradient(90deg, var(--m-grid) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 100%); }
.m-hero-bg .aurora { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; animation: m-float 18s ease-in-out infinite alternate; }
.m-hero-bg .a1 { background: radial-gradient(circle, rgba(0,113,227,.55), transparent 60%); top: -14vw; right: -10%; }
.m-hero-bg .a2 { background: radial-gradient(circle, rgba(100,210,255,.45), transparent 60%); top: 6vw; left: -15%; animation-delay: -6s; animation-duration: 22s; }
.m-hero-bg .a3 { background: radial-gradient(circle, rgba(88,86,214,.35), transparent 60%); top: 20vw; left: 35%; animation-delay: -12s; animation-duration: 26s; }
@keyframes m-float { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(4vw, 3vw, 0) scale(1.12); } }
.m-hero-copy { text-align: center; max-width: 900px; margin: 0 auto; }
.m-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .84rem; font-weight: 500; color: var(--text-2); box-shadow: var(--shadow-1); text-decoration: none; }
.m-pill:hover { text-decoration: none; border-color: var(--m-accent); }
.m-pill b { background: var(--m-accent); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.m-h1 { font-size: var(--t-6); line-height: 0.98; letter-spacing: -0.03em; font-weight: 700; margin: 22px 0 22px; text-wrap: balance; }
.m-h1 .w { display: inline-block; opacity: 0; transform: translateY(18px); animation: m-word .7s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 80ms); }
.m-h1 .hl { background: linear-gradient(92deg, var(--m-accent), var(--m-accent-2) 60%, var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes m-word { to { opacity: 1; transform: none; } }
.m-hero .m-lead { margin: 0 auto; font-size: var(--t-1); max-width: 60ch; }
.m-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.m-hero .m-risk { justify-content: center; }
.m-fade { opacity: 0; transform: translateY(14px); animation: m-word .7s var(--ease) forwards; }
.m-fade.d1 { animation-delay: .45s; } .m-fade.d2 { animation-delay: .6s; } .m-fade.d3 { animation-delay: .75s; }

/* hero visual: perspective frame that straightens on scroll */
.m-stage { perspective: 1800px; margin: clamp(40px, 6vw, 72px) auto 0; max-width: 1180px; position: relative; padding-bottom: clamp(40px, 6vw, 90px); }
.m-frame { position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 40px 100px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.4) inset; overflow: hidden; transform: rotateX(var(--rx, 10deg)) translateZ(0); transform-origin: 50% 0; transition: transform .1s linear; will-change: transform; }
.m-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 70%, var(--bg)); pointer-events: none; z-index: 2; opacity: var(--fade, .0); }
.m-frame .bar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.m-frame .bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.m-frame .bar .u { margin: 0 auto; font-size: .72rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 4px 14px; }
.m-frame img { display: block; width: 100%; height: auto; }
.mkt img.m-shot-light { display: block; }
.mkt img.m-shot-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mkt img.m-shot-light { display: none; } :root:not([data-theme="light"]) .mkt img.m-shot-dark { display: block; } }
:root[data-theme="dark"] .mkt img.m-shot-light { display: none; } :root[data-theme="dark"] .mkt img.m-shot-dark { display: block; }
.m-float { position: absolute; z-index: 3; background: var(--glass-strong); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-3); padding: 14px 16px; font-size: .85rem; }
.m-float.left { left: -2%; bottom: 8%; width: min(380px, 60%); }
.m-float.right { right: -1%; top: 16%; width: 280px; animation: m-toast 9s var(--ease) infinite; }
@keyframes m-toast { 0%, 8% { opacity: 0; transform: translateY(-10px) scale(.98); } 14%, 60% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; transform: translateY(-6px); } }
.m-float h4 { margin: 0 0 8px; font-family: var(--m-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; font-weight: 600; }
.m-float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 0 rgba(52,199,89,.6); animation: m-pulse 2s infinite; }
@keyframes m-pulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.6); } 100% { box-shadow: 0 0 0 10px rgba(52,199,89,0); } }
.m-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.m-rank li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); transition: transform .6s var(--ease), background .3s; }
.m-rank li b { font-weight: 600; }
.m-rank li small { color: var(--muted); display: block; font-size: .72rem; }
.m-rank .p { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 3.2em; text-align: right; }
.m-rank .risk { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--m-link); min-width: 4.5em; text-align: right; }
.m-rank li.bump { background: var(--primary-soft); }
.m-badge { display: inline-block; font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; letter-spacing: .02em; }
.m-badge.crit { background: var(--red-soft); color: var(--red); } .m-badge.high { background: var(--orange-soft); color: var(--orange); } .m-badge.med { background: var(--amber-soft); color: var(--amber); } .m-badge.low { background: var(--green-soft); color: var(--green); }
@media (max-width: 900px) { .m-frame { transform: none !important; } }
@media (max-width: 760px) { .m-float.right { display: none; } .m-float.left { position: static; width: auto; margin: 14px 0 0; } }

/* ---- marquee ---- */
.m-marquee { --gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.m-marquee-track { display: flex; gap: var(--gap); width: max-content; animation: m-scroll 40s linear infinite; }
.m-marquee:hover .m-marquee-track { animation-play-state: paused; }
.m-marquee.reverse .m-marquee-track { animation-direction: reverse; animation-duration: 48s; }
@keyframes m-scroll { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.m-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .9rem; color: var(--text-2); white-space: nowrap; }
.m-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--m-accent); display: inline-block; }
.m-chip.alt i { background: var(--green); }
.m-trust-label { text-align: center; font-family: var(--m-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 600; }

/* ---- stats ---- */
.m-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.m-stat { padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.m-stat::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, var(--primary-soft), transparent 70%); }
.m-stat-n { font-family: var(--m-display); font-size: var(--t-4); font-weight: 700; letter-spacing: -0.03em; color: var(--m-accent); font-variant-numeric: tabular-nums; line-height: 1; }
.m-stat-t { margin: 10px 0 6px; line-height: 1.45; color: var(--text); }
.m-stat-s { font-size: .74rem; color: var(--muted); }
@media (max-width: 900px) { .m-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .m-stats { grid-template-columns: 1fr; } }

/* ---- bento ---- */
.m-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; margin-top: 44px; }
.m-cell { position: relative; grid-column: span 2; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); padding: 26px; overflow: hidden; box-shadow: var(--shadow-1); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); display: flex; flex-direction: column; gap: 10px; }
.m-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.m-cell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0,113,227,.12), transparent 45%); opacity: 0; transition: opacity var(--dur) var(--ease); pointer-events: none; }
.m-cell:hover::before { opacity: 1; }
.m-cell.wide { grid-column: span 4; }
.m-cell.tall { grid-row: span 2; }
.m-cell.span3 { grid-column: span 3; }
.m-cell.full { grid-column: span 6; flex-direction: row; align-items: center; gap: 28px; }
.m-cell.full .ui { margin: 0 0 0 auto; min-width: 320px; }
.m-cell.full > div:first-child { flex: none; }
.m-cell.full .body { display: grid; gap: 8px; max-width: 60ch; }
.m-cell h3 { margin: 0; font-size: var(--t-1); letter-spacing: -0.015em; font-weight: 650; }
.m-cell p { margin: 0; color: var(--text-2); line-height: 1.5; font-size: var(--t--1); }
.m-cell .ui { margin-top: auto; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); padding: 14px; font-size: .8rem; position: relative; overflow: hidden; }
.m-cell .ic-wrap { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--m-accent); display: grid; place-items: center; }
.m-cell .ic-wrap .ic { width: 20px; height: 20px; }
@media (max-width: 1000px) { .m-bento { grid-template-columns: repeat(2, 1fr); } .m-cell, .m-cell.wide, .m-cell.span3 { grid-column: span 1; } .m-cell.wide, .m-cell.full { grid-column: span 2; } .m-cell.tall { grid-row: auto; } .m-cell.full { flex-direction: column; align-items: stretch; } .m-cell.full .ui { margin: auto 0 0; min-width: 0; } }
@media (max-width: 600px) { .m-bento { grid-template-columns: 1fr; } .m-cell.wide, .m-cell.full { grid-column: span 1; } }
/* ui fragments */
.m-bars { display: grid; gap: 8px; }
.m-bars div { display: grid; grid-template-columns: 7em 1fr 3em; align-items: center; gap: 10px; }
.m-bars span { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; position: relative; }
.m-bars span::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--m-accent), var(--m-accent-2)); border-radius: 4px; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
.in-view .m-bars span::after { transform: scaleX(1); }
.m-bars small { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.m-timeline { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 8px 4px; }
.m-timeline::before { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: var(--surface-3); }
.m-timeline i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-strong); display: grid; place-items: center; font-size: .58rem; font-weight: 700; color: var(--muted); font-style: normal; transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.in-view .m-timeline i { background: var(--m-accent); color: #fff; border-color: var(--m-accent); transform: scale(1.08); transition-delay: calc(var(--i) * 140ms); }
.m-timeline i.pause { border-style: dashed; }
.in-view .m-timeline i.pause { background: var(--amber-soft); color: var(--amber); border-color: var(--amber); }
.m-spark { width: 100%; height: 70px; display: block; }
.m-spark path.l { fill: none; stroke: var(--m-accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.m-spark path.a { fill: url(#m-grad); opacity: 0; transition: opacity .8s .6s; }
.in-view .m-spark path.l { animation: m-draw 1.6s var(--ease) forwards; }
.in-view .m-spark path.a { opacity: 1; }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
.m-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.m-kpis div { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px; }
.m-kpis b { display: block; font-size: 1.1rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.m-kpis small { color: var(--muted); font-family: var(--m-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; }
.m-code { font-family: var(--mono); font-size: .74rem; line-height: 1.55; color: var(--text-2); white-space: pre; overflow: hidden; }
.m-code .k { color: var(--m-link); } .m-code .s { color: var(--green); }
.m-paylink { display: flex; align-items: center; gap: 10px; }
.m-paylink .pay { flex: 1; background: var(--m-accent); color: #fff; text-align: center; padding: 9px; border-radius: 9px; font-weight: 650; }
.m-match { display: grid; gap: 6px; margin-top: 8px; }
.m-match div { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 9px; font-variant-numeric: tabular-nums; }
.m-roles { display: flex; gap: 6px; flex-wrap: wrap; }
.m-roles span { padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .76rem; }

/* ---- sticky story ---- */
.m-story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 44px; }
.m-steps { display: grid; gap: 8px; }
.m-step { padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid transparent; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); cursor: default; min-height: 120px; }
.m-step .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-3); color: var(--text-2); font-weight: 700; font-size: .8rem; margin-bottom: 10px; transition: background var(--dur), color var(--dur); }
.m-step.active { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-1); }
.m-step.active .n { background: var(--m-accent); color: #fff; }
.m-step h3 { margin: 0 0 6px; font-size: 1.1rem; letter-spacing: -0.015em; }
.m-step p { margin: 0; color: var(--text-2); line-height: 1.5; font-size: .95rem; }
.m-story-visual { position: sticky; top: 92px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-3); aspect-ratio: 16 / 10; }
.m-story-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.02); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.m-story-visual img.show { opacity: 1; transform: none; }
.m-story-visual .cap { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: var(--glass-strong); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: .8rem; font-weight: 600; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@media (max-width: 900px) { .m-story { grid-template-columns: 1fr; } .m-story-visual { position: relative; top: 0; order: -1; } .m-step { min-height: 0; } }

/* ---- calculator ---- */
.m-calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 40px; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; }
.m-calc-in { padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; }
.m-calc-out { padding: clamp(22px, 3vw, 36px); background: linear-gradient(160deg, #0b1b3f, #0a2a6b 60%, #0071e3); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 18px; position: relative; overflow: hidden; }
.m-calc-out::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 32px 32px; }
.m-calc-out > * { position: relative; }
.m-calc-out .big { font-family: var(--m-display); font-size: var(--t-5); font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; line-height: 1; }
.m-calc-out .lbl { font-family: var(--m-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; font-weight: 600; }
.m-calc-out .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); font-variant-numeric: tabular-nums; }
.m-calc-out .row b { font-size: 1.15rem; }
.m-calc-out .note { font-size: .74rem; opacity: .75; line-height: 1.45; }
.m-range label { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.m-range output { font-variant-numeric: tabular-nums; color: var(--m-link); font-weight: 700; }
.m-range input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--m-accent) var(--v, 50%), var(--surface-3) var(--v, 50%)); outline: none; }
.m-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--m-accent); box-shadow: var(--shadow-2); cursor: grab; transition: transform var(--dur-fast); }
.m-range input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.m-range input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--m-accent); box-shadow: var(--shadow-2); cursor: grab; }
.m-range input[type=range]:focus-visible { box-shadow: var(--m-ring); }
.m-range small { color: var(--muted); display: block; margin-top: 6px; }
@media (max-width: 860px) { .m-calc { grid-template-columns: 1fr; } }

/* ---- research cards / quotes ---- */
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.m-card { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 10px; }
.m-card .num { font-family: var(--m-display); font-size: var(--t-3); font-weight: 700; letter-spacing: -0.03em; color: var(--m-accent); font-variant-numeric: tabular-nums; }
.m-card cite { font-style: normal; font-size: .78rem; color: var(--muted); margin-top: auto; }
.m-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--text); }
.m-card blockquote.serif { font-size: var(--t-2); line-height: 1.32; hanging-punctuation: first; color: var(--text); }
@media (max-width: 900px) { .m-cards { grid-template-columns: 1fr; } }

/* ---- security band ---- */
.m-secgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.m-sec { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.m-sec .ok { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 800; }
.m-sec b { display: block; margin-bottom: 3px; }
.m-sec span { color: var(--text-2); font-size: .9rem; line-height: 1.45; }
@media (max-width: 900px) { .m-secgrid { grid-template-columns: 1fr; } }

/* ---- pricing ---- */
.m-toggle { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px; margin: 24px auto 0; font-weight: 600; font-size: .9rem; }
.m-toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; color: var(--text-2); cursor: pointer; transition: background var(--dur), color var(--dur); }
.m-toggle button[aria-pressed="true"] { background: var(--m-accent); color: #fff; box-shadow: 0 6px 18px var(--m-glow); }
.m-toggle .save { font-size: .72rem; color: var(--green); font-weight: 700; padding-right: 10px; }
.m-lead a { color: var(--m-link); }
.m-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; align-items: stretch; }
.m-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.m-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.m-plan.hl { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--m-accent), var(--m-accent-2), var(--indigo)) border-box; border: 2px solid transparent; box-shadow: 0 24px 60px -20px var(--m-glow); }
.m-plan .tag { position: absolute; top: -13px; left: 26px; background: var(--m-accent); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.m-plan-head { display: grid; gap: 4px; }
.m-plan h3 { margin: 0; font-size: var(--t-2); letter-spacing: -0.02em; }
.m-plan-fit { color: var(--muted); font-size: var(--t--1); }
.mkt p a:not(.m-btn), .m-prose li a, .m-faq .a a, .m-card cite a { color: var(--m-link); text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px; }
.mkt p a:not(.m-btn):hover { text-decoration-thickness: 2px; }
.mkt .auth-split a:not(.btn), .mkt .card-b a:not(.btn) { color: var(--m-link); text-decoration: underline; text-underline-offset: .16em; }
.m-plan .price { font-family: var(--m-display); font-size: var(--t-5); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.m-plan .price .per { font-family: var(--m-text); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.m-plan .price .amt { transition: opacity .2s; }
.m-plan .billed { font-size: .78rem; color: var(--muted); min-height: 1.2em; }
.m-plan ul { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 8px; color: var(--text-2); font-size: .95rem; }
.m-plan li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }
.m-plan .m-btn { margin-top: auto; }
.m-plan-unit { font-family: var(--m-mono); font-size: .7rem; color: var(--muted); letter-spacing: .02em; min-height: 1em; }
.m-plan.reco { outline: 2px solid var(--m-accent); outline-offset: 4px; }
.m-plan.hl.reco { outline: none; }
.m-plan.reco::after { content: "Recommended for you"; position: absolute; top: -13px; right: 22px; background: var(--surface); color: var(--m-link); border: 1px solid var(--m-accent); font-family: var(--m-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.m-plan .limits { font-weight: 600; font-size: var(--t--1); margin: 4px 0 0; }
@media (max-width: 900px) { .m-plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
.m-compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 48px; font-size: .92rem; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--surface); }
.m-compare th, .m-compare td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.m-compare th { background: var(--surface-2); font-family: var(--m-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.m-compare td:not(:first-child), .m-compare th:not(:first-child) { text-align: center; }
.m-compare tr:last-child td { border-bottom: 0; }
.m-compare td.y { color: var(--green); font-weight: 800; } .m-compare td.n { color: var(--muted); }
.m-compare tbody tr:hover { background: var(--surface-2); }
.m-compare-wrap { overflow-x: auto; }

/* ---- FAQ ---- */
.m-faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 10px; }
.m-faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; }
.m-faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 650; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::before { content: none; }
.m-faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--m-link); transition: transform var(--dur) var(--ease); line-height: 1; }
.m-faq details[open] summary::after { transform: rotate(45deg); }
.m-faq .a { padding: 0 22px 20px; color: var(--text-2); line-height: 1.6; }
.m-faq details[open] .a { animation: m-word .35s var(--ease); }
.m-faq summary:focus-visible { outline: none; box-shadow: var(--m-ring) inset; }

/* ---- final CTA ---- */
.m-final { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); text-align: center; color: #fff; background: radial-gradient(ellipse at 20% 0%, #1e4ed8, transparent 55%), radial-gradient(ellipse at 90% 100%, #64d2ff, transparent 50%), linear-gradient(135deg, #0b1b3f, #0a2a6b); box-shadow: 0 40px 100px -30px rgba(0,113,227,.6); }
.m-final::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }
.m-final > * { position: relative; }
.m-final .m-h2 { color: #fff; max-width: 20ch; margin-left: auto; margin-right: auto; }
.m-final .m-lead { color: rgba(255,255,255,.82); margin: 0 auto; }
.m-final .m-btn { border-color: transparent; }
.m-final .m-btn.primary { background: #fff; color: #0b1b3f; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.m-final .m-btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.m-final .m-btn.ghost:hover { background: rgba(255,255,255,.1); }
.m-final .m-risk { color: rgba(255,255,255,.7); justify-content: center; }
.m-final .m-risk span::before { color: #64d2ff; }

/* ---- footer ---- */
.m-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 28px; font-size: .9rem; }
.m-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.m-footer h4 { font-family: var(--m-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
.m-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.m-footer a { color: var(--text-2); text-decoration: none; }
.m-footer li a { display: inline-block; padding: 3px 0; line-height: 1.3; }
.m-footer a:hover { color: var(--m-accent); }
.m-footer .tag { color: var(--text-2); line-height: 1.55; max-width: 34ch; margin: 12px 0 16px; }
.m-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; }
.m-status { display: inline-flex; align-items: center; gap: 8px; }
.m-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.m-theme { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; background: var(--bg); }
.m-theme button { border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: .78rem; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.m-theme button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
@media (max-width: 900px) { .m-footer-grid { grid-template-columns: 1fr 1fr; } .m-footer-grid > div:first-child { grid-column: span 2; } }

/* ---- reveal on scroll ---- */
.m-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.m-reveal.in-view { opacity: 1; transform: none; }
.m-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.m-stagger.in-view > * { opacity: 1; transform: none; }
.m-stagger.in-view > *:nth-child(1) { transition-delay: 0ms; } .m-stagger.in-view > *:nth-child(2) { transition-delay: 70ms; } .m-stagger.in-view > *:nth-child(3) { transition-delay: 140ms; } .m-stagger.in-view > *:nth-child(4) { transition-delay: 210ms; } .m-stagger.in-view > *:nth-child(5) { transition-delay: 280ms; } .m-stagger.in-view > *:nth-child(6) { transition-delay: 350ms; } .m-stagger.in-view > *:nth-child(7) { transition-delay: 420ms; } .m-stagger.in-view > *:nth-child(8) { transition-delay: 490ms; } .m-stagger.in-view > *:nth-child(9) { transition-delay: 560ms; }

/* ---- back to top ---- */
.m-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--glass-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-2); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity var(--dur), transform var(--dur) var(--ease); color: var(--text); }
.m-top.show { opacity: 1; transform: none; pointer-events: auto; }
.m-top .ic { width: 18px; height: 18px; }

/* ---- inner pages ---- */
.m-page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 48px); text-align: center; position: relative; }
.m-page-hero .m-h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); }
.m-prose { max-width: 760px; margin: 0 auto; line-height: 1.65; color: var(--text-2); }
.m-prose h2 { color: var(--text); font-size: 1.5rem; letter-spacing: -0.025em; margin: 40px 0 10px; }
.m-prose h3 { color: var(--text); margin: 26px 0 6px; }
.m-prose ul { padding-left: 20px; }
.m-prose li { margin: 4px 0; }
.m-prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 16px 0; }
.m-prose th, .m-prose td { border-bottom: 1px solid var(--border); padding: 9px 10px; text-align: left; vertical-align: top; }
.m-prose th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.m-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.m-shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-2); }
.m-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.m-shot .cap { padding: 14px 18px; border-top: 1px solid var(--border); }
.m-shot .cap b { display: block; margin-bottom: 2px; }
.m-shot .cap span { color: var(--text-2); font-size: .9rem; }
@media (max-width: 800px) { .m-shots { grid-template-columns: 1fr; } }
.m-form { max-width: 620px; margin: 36px auto 0; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-2); display: grid; gap: 16px; }
.m-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.m-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.m-form input, .m-form select, .m-form textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.m-form input:focus-visible, .m-form select:focus-visible, .m-form textarea:focus-visible { outline: none; border-color: var(--m-accent); box-shadow: var(--m-ring); }
@media (max-width: 560px) { .m-form .two { grid-template-columns: 1fr; } }
.m-changelog { max-width: 760px; margin: 0 auto; }
.m-release { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--border); }
.m-release .v { font-weight: 800; letter-spacing: -0.02em; font-size: 1.2rem; }
.m-release .v small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; margin-top: 4px; }
.m-release h3 { margin: 14px 0 6px; font-size: 1rem; }
.m-release ul { margin: 0; padding-left: 18px; color: var(--text-2); line-height: 1.55; }
@media (max-width: 640px) { .m-release { grid-template-columns: 1fr; gap: 8px; } }
.m-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.m-vs .side { padding: 30px; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); }
.m-vs .side.win { background: linear-gradient(160deg, #0b1b3f, #0a2a6b 60%, #0071e3); color: #fff; border-color: transparent; box-shadow: 0 30px 80px -30px var(--m-glow); }
.m-vs h3 { margin: 0 0 14px; font-size: 1.3rem; letter-spacing: -0.02em; }
.m-vs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; line-height: 1.5; }
.m-vs li { display: flex; gap: 10px; align-items: flex-start; }
.m-vs .x { color: var(--red); font-weight: 800; } .m-vs .ok { color: #64d2ff; font-weight: 800; }
@media (max-width: 800px) { .m-vs { grid-template-columns: 1fr; } }

/* ---- reduced motion / transparency ---- */
@media (prefers-reduced-motion: reduce) {
  .m-hero-bg .aurora, .m-marquee-track, .m-float.right, .m-float .dot, .m-btn.primary::after { animation: none !important; }
  .m-float.right { opacity: 1; transform: none; }
  .m-h1 .w, .m-fade { opacity: 1; transform: none; animation: none; }
  .m-reveal, .m-stagger > * { opacity: 1; transform: none; transition: none; }
  .m-frame { transform: none !important; }
  .m-bars span::after { transform: scaleX(1); transition: none; }
  .m-spark path.l { stroke-dashoffset: 0; animation: none; }
  .m-spark path.a { opacity: 1; }
  .m-timeline i { transition: none; background: var(--m-accent); color: #fff; border-color: var(--m-accent); }
  .m-rank li { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .m-header.scrolled, .m-float, .m-mobile, .m-top, .m-story-visual .cap { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
}
@media print { .m-header, .m-top, .m-hero-bg, .m-final { display: none; } }

/* ---- pricing: recommender, free and enterprise rows, rationale ---- */
.m-reco { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); margin-bottom: 36px; }
.m-reco-out { display: grid; gap: 4px; padding-left: 28px; border-left: 1px solid var(--border); }
.m-reco-out .lbl { font-family: var(--m-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.m-reco-out b { font-family: var(--m-display); font-size: var(--t-4); letter-spacing: -0.03em; line-height: 1; color: var(--m-accent); }
@media (max-width: 860px) { .m-reco { grid-template-columns: 1fr; } .m-reco-out { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); padding-top: 18px; } }
.m-free, .m-enterprise { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--border); background: var(--surface); margin-top: 18px; box-shadow: var(--shadow-1); }
.m-free { background: linear-gradient(120deg, var(--primary-soft), transparent 60%), var(--surface); }
.m-free h3, .m-enterprise h3 { margin: 0 0 4px; font-size: var(--t-2); letter-spacing: -0.02em; }
.m-free p, .m-enterprise p { margin: 0; color: var(--text-2); max-width: 70ch; font-size: var(--t--1); line-height: 1.5; }
.m-free-tag { display: inline-block; font-family: var(--m-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--m-link); margin-bottom: 8px; font-weight: 600; }
.m-free .m-btn, .m-enterprise .m-btn { flex: none; }
@media (max-width: 720px) { .m-free, .m-enterprise { flex-direction: column; align-items: flex-start; } }
.m-reco-context { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.m-reco-context .m-prose { margin: 0; max-width: none; }
.m-reco-context .m-prose p { margin: 0 0 14px; }
@media (max-width: 860px) { .m-reco-context { grid-template-columns: 1fr; } }
/* thin, unobtrusive scrollbars on the marketing shell */
.mkt ::-webkit-scrollbar { height: 8px; width: 8px; } .mkt ::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
