/* Varqilo — site vitrine. Mêmes tokens que l'app (web/src/styles/tokens.css). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #6d4aef 55%, #7c3aed 100%);
  --st-available: #10b981;
  --st-assigned: #3b82f6;
  --st-maintenance: #f59e0b;
  --st-checked-out: #8b5cf6;
  --st-lost: #ef4444;
  --st-archived: #64748b;
  --wrap: 1160px;
  --transition: 160ms cubic-bezier(0.2, 0.7, 0.3, 1);

  color-scheme: light;
  --bg: #f7f8fc;
  --bg-elevated: #ffffff;
  --bg-subtle: #eef0f7;
  --card: #ffffff;
  --border: #e3e6ef;
  --border-strong: #cfd4e2;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #8a94a8;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: #eef0ff;
  --primary-text: #4338ca;
  --focus: rgba(79, 70, 229, 0.35);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px -8px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 60px -20px rgba(30, 27, 75, 0.35);
  --header-bg: rgba(247, 248, 252, 0.82);
  --tint: 0.12;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #070b18;
    --bg-elevated: #0e1426;
    --bg-subtle: #111a30;
    --card: #0e1527;
    --border: #1d2743;
    --border-strong: #2a3658;
    --text: #e8ebf5;
    --text-2: #a3adc6;
    --text-3: #6b7694;
    --primary: #6d6af8;
    --primary-hover: #7f7cfa;
    --primary-soft: rgba(99, 102, 241, 0.14);
    --primary-text: #a5b4fc;
    --focus: rgba(129, 140, 248, 0.45);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
    --header-bg: rgba(7, 11, 24, 0.8);
    --tint: 0.16;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.03em; }
h3 { font-size: 1.1rem; letter-spacing: -0.012em; font-weight: 650; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--font-mono); font-size: 0.9em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 0.94rem; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-sm); transition: color var(--transition), background var(--transition); }
.nav a:hover { color: var(--text); background: var(--bg-subtle); }
.nav a[aria-current='page'] { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu .icon-x { display: none; }
.menu[open] .icon-x { display: block; }
.menu[open] .icon-menu { display: none; }
.menu-panel {
  position: absolute; right: 0; top: 48px; width: min(320px, calc(100vw - 32px));
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 10px; display: grid; gap: 2px;
}
.menu-panel a { color: var(--text); text-decoration: none; padding: 11px 12px; border-radius: var(--radius-sm); font-weight: 500; }
.menu-panel a:hover { background: var(--bg-subtle); }
.menu-panel .btn { margin-top: 6px; }
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn .icon { width: 18px; height: 18px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 0.9rem; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1rem; }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 8px 24px -10px rgba(79, 70, 229, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(79, 70, 229, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { color: var(--text); border-color: var(--text-3); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--bg-subtle); }
.btn-block { width: 100%; }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }
.section-alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-text); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--text-2); line-height: 1.65; }
.muted { color: var(--text-2); }
.small { font-size: 0.88rem; }

/* Hero */
.hero { position: relative; padding: 80px 0 72px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 50% at 30% 30%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(40% 45% at 75% 20%, rgba(124, 58, 237, 0.14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; font-size: clamp(2.1rem, 4.1vw, 2.95rem); }
.hero h1 > span { display: block; }
.hero h1 .grad { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--text-2); font-size: 0.9rem; }
.reassure li { display: inline-flex; align-items: center; gap: 6px; }
.reassure .icon { width: 16px; height: 16px; color: var(--st-available); }
@media (max-width: 1180px) and (min-width: 981px) {
  .mock .row { grid-template-columns: 1.5fr 1fr; }
  .mock .row > :nth-child(3) { display: none; }
}
@media (max-width: 980px) {
  .mock-phone { left: auto; right: -12px; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Product mockup */
.mock { position: relative; }
.mock-window {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px; line-height: 1.4;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mock-bar span { margin-left: 10px; color: var(--text-3); font-family: var(--font-mono); font-size: 10.5px; }
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }
.mock-side { border-right: 1px solid var(--border); padding: 12px 10px; display: grid; align-content: start; gap: 2px; }
.mock-side b { display: flex; align-items: center; gap: 7px; font-size: 12.5px; margin: 0 0 10px 4px; }
.mock-side b img { width: 18px; height: 18px; }
.mock-side span { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 7px; color: var(--text-2); }
.mock-side span .icon { width: 13px; height: 13px; }
.mock-side span.on { background: var(--primary-soft); color: var(--primary-text); font-weight: 600; }
.mock-main { padding: 14px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; background: var(--bg-elevated); }
.kpi small { display: block; color: var(--text-3); font-size: 10px; }
.kpi strong { font-size: 16px; letter-spacing: -0.02em; }
.kpi em { display: block; height: 3px; border-radius: 3px; margin-top: 6px; background: currentColor; opacity: 0.85; font-style: normal; }
.rows { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 8px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--border); }
.row:first-child { border-top: 0; }
.row.head { background: var(--bg-subtle); color: var(--text-3); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.row .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .ref { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--text-3); font-weight: 500; }
.row .place { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-available { color: #059669; background: rgba(16, 185, 129, var(--tint)); }
.b-assigned { color: #2563eb; background: rgba(59, 130, 246, var(--tint)); }
.b-maintenance { color: #b45309; background: rgba(245, 158, 11, var(--tint)); }
.b-checked-out { color: #7c3aed; background: rgba(139, 92, 246, var(--tint)); }
.b-lost { color: #dc2626; background: rgba(239, 68, 68, var(--tint)); }
.b-archived { color: #475569; background: rgba(100, 116, 139, var(--tint)); }
@media (prefers-color-scheme: dark) {
  .b-available { color: #34d399; } .b-assigned { color: #60a5fa; } .b-maintenance { color: #fbbf24; }
  .b-checked-out { color: #a78bfa; } .b-lost { color: #f87171; } .b-archived { color: #94a3b8; }
}
.mock-phone {
  position: absolute; left: -40px; bottom: -64px; width: 156px;
  background: var(--card); border: 1px solid var(--border-strong); border-radius: 28px; padding: 10px;
  box-shadow: var(--shadow-lg);
}
.mock-phone .screen { border-radius: 20px; background: #0b1022; color: #e8ebf5; padding: 14px 12px; display: grid; gap: 10px; justify-items: center; font-size: 11px; }
.scan-frame { width: 110px; height: 110px; position: relative; display: grid; place-items: center; }
.scan-frame::before, .scan-frame::after { content: ''; position: absolute; inset: 0; border-radius: 14px; border: 2px solid transparent; }
.scan-frame::before { border-color: #8b8cf8 transparent; }
.scan-frame::after { border-color: transparent #8b8cf8; inset: 10px -2px; opacity: 0; }
.scan-frame svg { width: 66px; height: 66px; }
.scan-line { position: absolute; left: 8px; right: 8px; height: 2px; top: 50%; background: linear-gradient(90deg, transparent, #a5b4fc, transparent); box-shadow: 0 0 12px #818cf8; animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-40px); } 50% { transform: translateY(40px); } }
@media (prefers-reduced-motion: reduce) { .scan-line { animation: none; } html { scroll-behavior: auto; } }
.mock-phone .found { width: 100%; background: rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 8px 9px; }
.mock-phone .found b { display: block; font-size: 11.5px; }
.mock-phone .found span { font-family: var(--font-mono); font-size: 9.5px; color: #a3adc6; }
@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 1.5fr 1fr; }
  .row > :nth-child(3) { display: none; }
  .mock-phone { display: none; }
}

/* Proof strip */
.strip { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-elevated); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; color: var(--text-2); font-weight: 500; font-size: 0.95rem; }
.strip li { display: inline-flex; align-items: center; gap: 9px; }
.strip .icon { color: var(--primary-text); }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); margin: 0; font-size: 0.96rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.card .more .icon { width: 16px; height: 16px; }
.ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: var(--c, var(--primary)); background: color-mix(in srgb, var(--c, var(--primary)) 13%, transparent); }
.ico .icon { width: 22px; height: 22px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 6px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 16px; }

/* Split feature blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } .split + .split { margin-top: 64px; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--text-2); }
.checks li .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--primary); }
.checks li strong { color: var(--text); font-weight: 600; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow); }
.panel-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 650; }
.panel-title small { color: var(--text-3); font-weight: 500; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; font-size: 0.92rem; }
.timeline .dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.timeline .dot .icon { width: 17px; height: 17px; }
.timeline b { display: block; font-weight: 600; }
.timeline span { color: var(--text-2); font-size: 0.86rem; }
.timeline time { color: var(--text-3); font-size: 0.82rem; white-space: nowrap; }
.meter { height: 8px; border-radius: 8px; background: var(--bg-subtle); overflow: hidden; margin: 10px 0 6px; }
.meter i { display: block; height: 100%; border-radius: 8px; background: var(--gradient-brand); }
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cats figure { margin: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-elevated); }
.cats img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cats figcaption { font-size: 0.7rem; font-weight: 600; padding: 7px 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(3, 1fr); } }

/* Audience */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-weight: 500; font-size: 0.94rem; }
.chip .icon { width: 17px; height: 17px; color: var(--primary-text); }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-subtle); border: 1px solid var(--border); margin: 0 auto 36px; }
.billing-toggle button { font: inherit; font-size: 0.92rem; font-weight: 600; border: 0; background: transparent; color: var(--text-2); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.billing-toggle button[aria-pressed='true'] { background: var(--card); color: var(--text); box-shadow: var(--shadow-sm); }
.billing-toggle .save { color: var(--st-available); font-size: 0.8rem; margin-left: 4px; }
.toggle-row { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.plan.featured { border-color: transparent; box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg); }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--gradient-brand); color: #fff; font-size: 0.76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan .for { color: var(--text-2); font-size: 0.94rem; margin-bottom: 20px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price strong { font-size: 2.5rem; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--text-2); font-size: 0.95rem; }
.price-note { color: var(--text-3); font-size: 0.85rem; margin-bottom: 22px; min-height: 1.4em; }
.plan .btn { margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.94rem; }
.plan li { display: flex; gap: 10px; color: var(--text-2); }
.plan li strong { color: var(--text); font-weight: 600; }
.plan li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--primary); }
.plan li.off { color: var(--text-3); }
.plan li.off .icon { color: var(--text-3); }
[data-billing='year'] .m-only, [data-billing='month'] .y-only { display: none; }
.addon { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; background: var(--card); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 20px 24px; }
.addon > div { display: flex; gap: 14px; align-items: center; }
.addon .ico { margin: 0; }
.addon strong { display: block; }
.addon .p { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }

table.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--border); }
.compare thead th { border-top: 0; background: var(--bg-subtle); font-size: 0.9rem; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tbody th { font-weight: 500; color: var(--text-2); }
.compare .icon { margin: 0 auto; color: var(--primary); }
.compare .no { color: var(--text-3); }
.table-scroll { position: relative; overflow-x: auto; border-radius: var(--radius-lg); }
.table-scroll table { min-width: 620px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; transition: border-color var(--transition); }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-3); transition: transform var(--transition); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 0 18px; color: var(--text-2); }
.faq details > div p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.35rem; max-width: 820px; margin: 0 auto 16px; }

/* CTA band */
.cta-band { padding: 0 0 96px; }
.cta-box { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; background: var(--gradient-brand); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-box::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.cta-box h2 { color: #fff; margin-bottom: 10px; }
.cta-box p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 1.05rem; }
.cta-box .btn { position: relative; z-index: 1; }
.btn-white { background: #fff; color: #312e81; box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.5); }
.btn-white:hover { color: #1e1b4b; transform: translateY(-1px); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-white:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta-box { grid-template-columns: 1fr; padding: 36px 24px; } }

/* Page head (subpages) */
.page-head { padding: 64px 0 40px; position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: -60% -10% auto; height: 520px; z-index: -1; background: radial-gradient(45% 55% at 50% 40%, rgba(99, 102, 241, 0.14), transparent 70%); }
.page-head.center { text-align: center; }
.page-head.center .lead { margin: 0 auto; max-width: 680px; }
.crumbs { font-size: 0.86rem; color: var(--text-3); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.page-head.center .crumbs ol { justify-content: center; }
.crumbs li + li::before { content: '/'; margin-right: 6px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-head + section { padding-top: 32px; }

/* Feature index */
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.toc a { text-decoration: none; color: var(--text-2); border: 1px solid var(--border); background: var(--card); padding: 7px 13px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; }
.toc a:hover { color: var(--text); border-color: var(--border-strong); }

/* Prose (legal) */
.prose { max-width: 780px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.4rem; margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose strong { color: var(--text); }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.93rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.prose th { background: var(--bg-subtle); color: var(--text); font-weight: 600; }
.prose .updated { color: var(--text-3); font-size: 0.9rem; }
.legal-layout > * { min-width: 0; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: grid; gap: 2px; font-size: 0.92rem; }
.legal-nav a { color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-sm); }
.legal-nav a:hover { background: var(--bg-subtle); color: var(--text); }
.legal-nav a[aria-current='page'] { background: var(--primary-soft); color: var(--primary-text); font-weight: 600; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; } .legal-nav { position: static; display: flex; flex-wrap: wrap; } }
.todo { background: rgba(245, 158, 11, var(--tint)); color: inherit; border-radius: 4px; padding: 0 4px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 11px 13px; width: 100%; transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--focus); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--text-3); margin: 0; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--border); }
.contact-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-item .ico { margin: 0; }
.contact-item strong { display: block; }
.contact-item p { margin: 2px 0 0; color: var(--text-2); font-size: 0.95rem; }
.copy { font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--primary-text); background: none; border: 0; cursor: pointer; padding: 0; margin-left: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-elevated); padding: 56px 0 32px; font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.site-footer p { color: var(--text-2); max-width: 320px; margin-top: 12px; }
.site-footer h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin: 6px 0 12px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-3); font-size: 0.86rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-mono); color: var(--primary-text); font-size: 0.95rem; margin-bottom: 10px; }
