@font-face { font-family: Inter; src: url('/fonts/inter-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --brand: #6D28D9; --brand-2: #8B5CF6; --brand-ink: #4C1D95; --ink: #17132B; --muted: #5B5873; --line: #E7E5F0; --canvas: #F6F5FB; --card: #fff;
  --ok: #047857; --ok-bg: #ECFDF5; --warn-bg: #FFFBEB; --radius: 18px; --shadow: 0 18px 40px -24px rgba(23, 19, 43, .35);
  --night: #0B0718; --night-2: #140D2B; --night-line: rgba(255, 255, 255, .1); --night-muted: #B9B3D1;
  --grad: linear-gradient(95deg, #C4B5FD 0%, #A78BFA 35%, #F0ABFC 70%, #FDBA74 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre { background: #17132B; color: #EDE9FE; padding: 16px 18px; border-radius: 12px; overflow-x: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine { font-size: .84rem; color: var(--muted); margin-top: 12px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header (dark glass on every page) */
.top { position: sticky; top: 0; z-index: 40; background: rgba(11, 7, 24, .78); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--night-line); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -.01em; }
.logo img { width: 30px; height: 30px; }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: #D9D4EC; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; }
.nav a.btn-primary { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--night-line); color: #fff; border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px 24px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; }
  .nav .btn { margin-top: 8px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 650; font-size: 1rem; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; border-radius: 14px; }
.btn-primary { background: linear-gradient(135deg, #7C3AED, #6D28D9 60%, #5B21B6); color: #fff; box-shadow: 0 12px 30px -12px rgba(124, 58, 237, .9), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(124, 58, 237, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #CFCBE0; }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-white { background: #fff; color: #4C1D95; }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: default; }

/* dark sections */
.dark { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.dark .glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 520px at 85% 10%, rgba(124, 58, 237, .55), transparent 70%), radial-gradient(600px 480px at 5% 90%, rgba(91, 33, 182, .45), transparent 70%), radial-gradient(420px 300px at 20% 0%, rgba(249, 115, 22, .18), transparent 70%); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .muted, .dark .lead { color: var(--night-muted); }
.dark .eyebrow { color: #C4B5FD; }
.dark a:not(.btn) { color: #DDD6FE; }
.dark .ticks li { color: var(--night-muted); } .dark .ticks li b { color: #fff; }

/* hero */
.hero { padding: 84px 0 40px; }
.hero .lead { font-size: 1.2rem; max-width: 640px; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero.sub { padding: 72px 0 56px; }
.hero.sub .lead { max-width: 760px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; font-weight: 600; margin-bottom: 22px; }
.kicker:hover { text-decoration: none; background: rgba(255, 255, 255, .1); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--night-muted); }
.trust li::before { content: '✓'; color: #34D399; font-weight: 800; margin-right: 7px; }
.hero-visual { position: relative; }
.frame { position: relative; border-radius: 18px; overflow: hidden; background: #1B1432; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .03); transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transition: transform .6s; }
.hero-visual:hover .frame { transform: none; }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.frame .bar span { margin-left: 12px; font-size: .78rem; color: var(--night-muted); background: rgba(255, 255, 255, .06); padding: 3px 12px; border-radius: 6px; }
.frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0F0B1E center / cover no-repeat; }
.sound { position: absolute; right: 14px; top: 58px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(11, 7, 24, .7); color: #fff; font: 600 .88rem Inter, sans-serif; padding: 9px 14px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); }
.sound:hover { background: rgba(11, 7, 24, .9); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); font-size: .9rem; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: .92rem; } .float small { color: var(--muted); font-size: .78rem; }
.float > span { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .82rem; flex: none; }
.float .ok { background: #D1FAE5; color: #047857; } .float .st { background: #EDE9FE; color: #6D28D9; } .float .lk { background: #FEF3C7; }
.f1 { left: -40px; top: -50px; } .f2 { right: -36px; bottom: -64px; animation-delay: -2s; } .f3 { left: 6%; bottom: -38px; animation-delay: -4s; }
.float { padding: 8px 12px; } .float > span { width: 28px; height: 28px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1020px) { .f1 { left: auto; right: 8px; top: -26px; } .f2 { right: 8px; bottom: -56px; } .frame { transform: none; } }
@media (max-width: 560px) { .float { display: none; } }

/* integration marquee */
.mq-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 72px; margin-bottom: 16px; font-size: .9rem; color: var(--night-muted); font-weight: 600; letter-spacing: .02em; }
.marquee { display: grid; gap: 12px; padding-bottom: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq { overflow: hidden; }
.mq-track { display: flex; gap: 12px; width: max-content; animation: mq 70s linear infinite; }
.mq.rev .mq-track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.ipill { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 8px 16px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #EDE9FE; font-weight: 600; font-size: .94rem; }
.badge { width: 32px; height: 32px; border-radius: 9px; color: #fff; font-weight: 800; font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; flex: none; letter-spacing: -.02em; }
@media (prefers-reduced-motion: reduce) { .mq-track, .float { animation: none; } .mq { overflow-x: auto; } .frame { transform: none; } }

/* stats */
.stats { background: var(--night-2); color: #fff; border-top: 1px solid var(--night-line); padding: 34px 0; }
.stats .grid > div { display: flex; flex-direction: column; gap: 4px; padding: 6px 0; }
.stats b { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--night-muted); font-size: .94rem; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 800px; margin-bottom: 46px; }
.head.center { margin-left: auto; margin-right: auto; }
.head .muted { font-size: 1.1rem; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } .hero { padding-top: 48px; } .stats .g4 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #DDD8EE; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card p.more { margin-top: 12px; font-weight: 600; }
.card.glass { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.card.glass:hover { border-color: rgba(196, 181, 253, .4); box-shadow: none; }
.card.glass p { color: var(--night-muted); }
.icon { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #F3E8FF, #EDE9FE); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.row + .row { margin-top: 96px; }
.row.flip { grid-template-columns: 1.3fr 1fr; }
.row.flip .text { order: 2; }
@media (max-width: 900px) { .row, .row.flip { grid-template-columns: 1fr; gap: 26px; } .row.flip .text { order: 0; } .row + .row { margin-top: 64px; } }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin: 9px 0; color: var(--muted); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .4em; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23047857' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks li b { color: var(--ink); }
.row .text p a { font-weight: 650; }
.shot { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; overflow: hidden; }

/* video */
.video { position: relative; border-radius: 16px; overflow: hidden; background: #0F0B1E; border: 1px solid var(--line); box-shadow: 0 30px 70px -34px rgba(23, 19, 43, .55); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; background: #0F0B1E center / cover no-repeat; }
.clip { box-shadow: 0 40px 80px -40px rgba(76, 29, 149, .55); }

/* use cases */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.tabs button { border: 1px solid var(--line); background: #fff; color: var(--ink); font: 650 .98rem Inter, sans-serif; padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.dept { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 34px; box-shadow: var(--shadow); }
.dept h3 { font-size: 1.4rem; }
.dept .ticks li { font-size: 1.05rem; }

/* comparison */
table.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--canvas); font-size: .85rem; color: var(--muted); }
.compare td:not(:first-child) { width: 30%; }
.compare .y { color: var(--ok); font-weight: 700; } .compare .n { color: #A8A4BA; }
.compare.vs td:not(:first-child) { width: auto; }
.compare.vs td:first-child { font-weight: 650; }
.compare.vs .us { background: #F5F0FF; color: var(--brand-ink); font-weight: 650; }
.compare.vs thead .us { background: var(--brand); color: #fff; font-size: .95rem; }
.table-wrap { overflow-x: auto; }

/* cost calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: linear-gradient(135deg, #FAF7FF, #fff); border: 1px solid var(--line); border-radius: 28px; padding: 48px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; padding: 28px; gap: 24px; } }
.calc-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.calc-box label { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 18px; }
.calc-box input[type=range] { width: calc(100% - 70px); vertical-align: middle; accent-color: var(--brand); margin-top: 8px; }
.calc-box output { display: inline-block; width: 64px; text-align: right; font-weight: 800; }
.calc-box input[type=number] { display: block; margin-top: 8px; width: 140px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: 600 1rem Inter, sans-serif; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out > div { background: var(--canvas); border-radius: 14px; padding: 14px 16px; }
.calc-out small { display: block; color: var(--muted); font-size: .8rem; }
.calc-out b { font-size: 1.6rem; letter-spacing: -.02em; }
.calc-out .us { background: var(--ink); color: #fff; } .calc-out .us small { color: var(--night-muted); }
[data-save-out] { font-weight: 700; color: var(--ok); font-size: 1rem; }

/* security section on home */
.sec .grid { margin-top: 10px; }

/* faq */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 10px 0; }
details.faq summary { font-weight: 650; cursor: pointer; }
details.faq p { color: var(--muted); margin: 10px 0 0; }

/* guides */
.guide-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.guide-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--canvas); }
.guide-card .body { padding: 18px 20px; }
.guide-card .body p { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.guide-card .meta { font-size: .8rem; color: var(--brand); font-weight: 700; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; } .prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #3F3C52; }
.dark .prose p, .dark .prose li { color: var(--night-muted); }
.note { background: var(--warn-bg); border: 1px solid #FDE68A; border-radius: 12px; padding: 12px 16px; color: #78350F; font-size: .95rem; }
.crumbs { font-size: .9rem; margin-bottom: 14px; }

/* integrations page */
.icat + .icat { margin-top: 56px; }
.icat h2 { font-size: 1.5rem; margin-bottom: 18px; }
.icard { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.icard .badge { width: 42px; height: 42px; border-radius: 12px; font-size: .8rem; }
.icard h3 { font-size: 1.02rem; margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.icard p { margin: 0; color: var(--muted); font-size: .92rem; }
.ed { font-size: .68rem; font-weight: 700; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.ed.com { background: var(--ok-bg); color: var(--ok); } .ed.ent { background: #EDE9FE; color: var(--brand-ink); } .ed.ep { background: #FEE2E2; color: #991B1B; }
.hero.sub .marquee { margin-top: 44px; }

/* security page */
.sec-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.sec-layout > div { min-width: 0; }
@media (max-width: 640px) { .sec-block { padding: 22px 18px; } .sound { font-size: .78rem; padding: 7px 11px; } }
.toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px; }
.toc a { color: var(--muted); font-weight: 600; font-size: .93rem; padding: 7px 12px; border-radius: 10px; }
.toc a:hover { background: #fff; color: var(--ink); text-decoration: none; }
@media (max-width: 900px) { .sec-layout { grid-template-columns: 1fr; } .toc { display: none; } }
.sec-block { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 32px; scroll-margin-top: 90px; }
.sec-block + .sec-block { margin-top: 22px; }
.sec-block h2 { font-size: 1.5rem; }

/* pricing */
.toggle { display: inline-flex; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 4px; margin: 10px 0 30px; }
.toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 .95rem Inter, sans-serif; color: var(--night-muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.toggle .save { font-size: .75rem; margin-left: 6px; background: rgba(52, 211, 153, .18); color: #6EE7B7; padding: 2px 7px; border-radius: 999px; }
.toggle button[aria-pressed="true"] .save { background: var(--ok-bg); color: var(--ok); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 24px; justify-content: center; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; text-align: left; }
.dark .plan h3 { color: var(--ink); }
.dark .plan .ticks li { color: var(--muted); } .dark .plan .ticks li b { color: var(--ink); }
.plan.featured { border: 2px solid #A78BFA; box-shadow: 0 30px 80px -30px rgba(124, 58, 237, .8); }
.plan .price { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: .92rem; min-height: 1.5em; }
.plan .btn { margin: 20px 0 6px; width: 100%; }
.sizes-label { margin: 10px 0 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sizes { display: flex; gap: 4px; background: var(--canvas, #F4F2FA); border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin: 4px 0 6px; }
.sizes button { flex: 1 1 auto; min-width: 0; border: 0; background: none; padding: 7px 4px; border-radius: 999px; font: 600 .78rem Inter, sans-serif; color: var(--muted); cursor: pointer; white-space: nowrap; }
.sizes button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plan .ticks { flex: 1; }

/* footer */
.foot { background: var(--night); color: #C9C5DA; padding: 64px 0 30px; margin-top: 0; border-top: 1px solid var(--night-line); }
.foot a { color: #EDE9FE; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.foot h4 { color: #fff; font-size: .9rem; margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; } .foot li { margin: 6px 0; font-size: .94rem; }
.foot li { overflow-wrap: break-word; hyphens: auto; }
.foot .legal { border-top: 1px solid #2E2A45; margin-top: 36px; padding-top: 18px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.cta-band { position: relative; overflow: hidden; background: radial-gradient(600px 300px at 90% 0%, rgba(240, 171, 252, .35), transparent 70%), linear-gradient(120deg, #2E1065, #5B21B6 55%, #7C3AED); color: #fff; border-radius: 28px; padding: 64px 48px; text-align: center; }
.cta-band h2 { color: #fff; max-width: 760px; margin-left: auto; margin-right: auto; } .cta-band p { color: #EDE9FE; }
@media (max-width: 640px) { .cta-band { padding: 40px 22px; } }

/* scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* loading states */
.spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.is-busy { cursor: progress; opacity: .92; } .btn.is-busy .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.video.is-loading::after, .frame.is-loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .8s linear infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .spin, .video.is-loading::after, .frame.is-loading::after { animation-duration: 2s; } }
[id^="fs-loader"] { background: rgba(11, 7, 24, .72) !important; backdrop-filter: blur(3px); }
[id^="fs-loader"] img { top: 50% !important; left: 50% !important; margin: 0 !important; transform: translate(-50%, -50%); width: 70px !important; height: 70px !important; }

/* phones: 16px gutters, tables become stacked cards, calculator fits 320px */
.calc > * { min-width: 0; }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .lead { font-size: 1.05rem; }
  .calc { padding: 22px 16px; border-radius: 20px; }
  .calc-box { padding: 18px; }
  .calc-out { grid-template-columns: 1fr; }
  .calc-box input[type=range] { width: calc(100% - 58px); }
  .calc-box output { width: 52px; }
  .btn-lg { padding-left: 20px; padding-right: 20px; }
  .cta .btn { flex: 1 1 auto; text-align: center; }
  .table-wrap { overflow: visible; }
  table.compare, .compare tbody, .compare tr, .compare td { display: block; width: 100% !important; }
  table.compare { border: 0; background: none; border-radius: 0; overflow: visible; }
  .compare thead { display: none; }
  .compare tr { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
  .compare td { border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .compare td:first-child { font-weight: 700; background: var(--canvas); }
  .compare td[data-label] { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 12px; }
  .compare td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: .82rem; font-weight: 600; }
  .compare tr td:last-child { border-bottom: 0; }
  .compare.vs td.us { background: #F5F0FF; }
}
@media (max-width: 760px) { .foot .cols > :first-child { grid-column: 1 / -1; } }

/* draft of the new site (SITE_PREVIEW=1) */
.draft-bar { background: #FDE68A; color: #78350F; text-align: center; font-size: .88rem; font-weight: 650; padding: 8px 16px; }
.plans.p4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1200px; margin: 0 auto; gap: 18px; }
.plans.p4 .plan { padding: 26px 22px; }
.plans.p4 .plan .price { font-size: 2.2rem; }
@media (max-width: 1100px) { .plans.p4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans.p4 { grid-template-columns: 1fr; } }
.card.step { display: flex; flex-direction: column; }
.card.step .num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card.step p { margin-bottom: 18px; flex: 1; }
.card.step .video { margin-top: auto; }

/* Trial request form */
.trial-form { display: grid; gap: 14px; }
.trial-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.trial-form label small { font-weight: 400; color: var(--muted); }
.trial-form input, .trial-form select, .trial-form textarea { width: 100%; font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: inherit; }
.trial-form input:focus, .trial-form select:focus, .trial-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.trial-form .btn { justify-self: start; }
.trial-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.trial-form[hidden], .trial-done[hidden] { display: none; }
.trial-done { align-self: start; }

/* blog */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.chip { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink); background: #fff; }
.chip:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); }
.blog-cat { margin-top: 48px; } .blog-cat h2 { margin-bottom: 4px; } .blog-cat .grid { margin-top: 18px; }
.post { max-width: 980px; }
.post-meta { font-size: .9rem; color: var(--muted); margin: 6px 0 10px; }
.toc-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; max-width: 780px; background: var(--canvas); }
.toc-box ol { margin: 8px 0 0; padding-left: 20px; } .toc-box li { margin: 3px 0; }
.post-body figure { margin: 24px 0; } .post-body figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.post-body .shot { border-radius: 12px; border: 1px solid var(--line); }
.post-body .table-wrap { margin: 18px 0; }
.note-box { border-left: 4px solid var(--brand); background: var(--canvas); padding: 12px 16px; border-radius: 8px; margin: 18px 0; }
.note-box p { margin: 4px 0; }
.sources { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 8px; } .sources li { font-size: .92rem; overflow-wrap: anywhere; }
.post-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin: 48px 0 8px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.post-cta h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; } .post-cta p { color: var(--night-muted); margin: 0; }
.post-cta .btn-ghost { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); }

.blog-search { margin: 22px 0 4px; max-width: 640px; }
.blog-search input { width: 100%; padding: 13px 16px; font: inherit; font-size: 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.blog-search input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.blog-results { margin-top: 24px; } .blog-results .grid { margin-top: 12px; }
.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; }

/* Languages: a small menu in the header, plain links in the footer, and on the English home page a one-time offer */
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; color: #D9D4EC; font-weight: 600; font-size: .85rem; letter-spacing: .04em; border: 1px solid var(--night-line); border-radius: 8px; padding: 5px 9px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: #fff; }
.langs-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: grid; min-width: 190px; padding: 6px; background: var(--night); border: 1px solid var(--night-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.langs-menu a { padding: 8px 10px; border-radius: 8px; color: #D9D4EC; font-size: .92rem; }
.langs-menu a:hover, .langs-menu a[aria-current] { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
@media (max-width: 920px) {
  .langs { margin-top: 10px; }
  .langs summary { display: inline-block; }
  .langs-menu { position: static; margin-top: 8px; box-shadow: none; }
}
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 30px; font-size: .9rem; }
.foot-langs a[aria-current] { color: #fff; font-weight: 600; }
.lang-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 10px 48px 10px 16px; background: #EDE9FE; color: #2E1065; font-size: .95rem; position: relative; }
.lang-offer a { font-weight: 600; color: #5B21B6; }
.lang-offer button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.3rem; line-height: 1; color: #4C1D95; cursor: pointer; padding: 4px 8px; }
