/* desorix.com: one static page (scripts/site-build.mjs). Mobile first. */

@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-display: swap; src: url('/fonts/instrument-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-display: swap; src: url('/fonts/instrument-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-display: swap; src: url('/fonts/instrument-sans-600.woff2') format('woff2'); }

:root {
    --teal: #10e8b4;
    --blue: #0a6fd8;
    --blue-dark: #06418a;
    --ink: #06192d;
    --ink-2: #0c2a47;
    --text: #1b2b3c;
    --muted: #5a6b7d;
    --line: #e2e9f1;
    --paper: #f1f8fd;
    --white: #fff;
    --grad: linear-gradient(105deg, var(--teal), var(--blue));
    --radius: 14px;
    --shadow: 0 1px 2px rgba(6, 25, 45, .06), 0 12px 32px -12px rgba(6, 25, 45, .18);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0;
    font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
a { color: var(--blue); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: rgba(10, 111, 216, .08); padding: .1em .35em; border-radius: 5px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap;
    border-radius: 999px; border: 1px solid transparent;
    padding: .7em 1.3em; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn-sm { font-size: .9rem; padding: .5em 1em; }
.btn-lg { font-size: 1.05rem; padding: .85em 1.5em; }
.btn-primary { color: #fff; background: var(--blue); background-image: linear-gradient(105deg, #0fc7b0 -20%, var(--blue) 60%); box-shadow: 0 6px 20px -6px rgba(10, 111, 216, .6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -6px rgba(10, 111, 216, .7); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: #c5d3e2; transform: translateY(-1px); }
.btn-soon { color: var(--muted); background: rgba(255, 255, 255, .7); border: 1px dashed #b9c8d8; cursor: default; }
.btn-soon svg { width: 1em; height: 1em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid rgba(226, 233, 241, .8); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: none; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
@media (min-width: 860px) {
    .nav-links { display: flex; }
    .nav .btn { margin-left: 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: linear-gradient(180deg, var(--paper), #fff 70%); }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(16, 232, 180, .28), rgba(10, 111, 216, .14) 55%, transparent 75%); filter: blur(10px); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--blue-dark); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; box-shadow: var(--shadow); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(16, 232, 180, .2); }
.hero h1 { margin-top: 22px; font-size: clamp(2.3rem, 7.4vw, 4rem); letter-spacing: -.035em; line-height: 1.04; }
.lede { margin-top: 20px; font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 34em; }
.hero .cta-row { margin-top: 30px; }
.fineprint { margin-top: 16px; font-size: .88rem; color: var(--muted); }
.hero-shot { position: relative; padding-bottom: 24px; }
.browser { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(6, 25, 45, .05), 0 30px 60px -20px rgba(6, 25, 45, .35); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f4f7fa; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3dce6; }
.browser-bar span { margin-left: 10px; font-size: .72rem; color: #8494a6; background: #fff; border-radius: 6px; padding: 2px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone { position: absolute; right: -6px; bottom: -8px; width: 27%; max-width: 170px; margin: 0; border-radius: 22px; overflow: hidden; border: 5px solid var(--ink); background: var(--ink); box-shadow: 0 24px 50px -16px rgba(6, 25, 45, .55); }
@media (min-width: 1000px) {
    .hero { padding: 80px 0 100px; }
    .hero-grid { grid-template-columns: 1fr 1.12fr; align-items: center; gap: 56px; }
    .hero-shot { margin-right: -60px; }
    .phone { right: auto; left: -46px; bottom: -36px; width: 24%; }
}

/* Sections */
.section { padding: 80px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.kicker-light { color: var(--teal); }
.section h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); letter-spacing: -.03em; }
.section-lede { margin-top: 16px; font-size: 1.12rem; color: var(--muted); }
@media (min-width: 1000px) { .section { padding: 112px 0; } }

/* Problem */
.problem { background: #fff; }
.problem-grid { display: grid; gap: 44px; align-items: center; }
.lockscreen {
    justify-self: center; width: 100%; max-width: 340px; padding: 28px 16px 22px; border-radius: 34px;
    background: linear-gradient(160deg, #24384f, #0b1a2b 70%); color: #fff;
    box-shadow: 0 30px 60px -24px rgba(6, 25, 45, .55); border: 6px solid #0a1624;
}
.lock-time { text-align: center; font-size: 3.2rem; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.lock-date { text-align: center; font-size: .9rem; opacity: .7; margin: 6px 0 18px; }
.notif { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; background: rgba(255, 255, 255, .13); backdrop-filter: blur(6px); border-radius: 14px; padding: 10px 12px; margin-top: 8px; font-size: .82rem; line-height: 1.35; }
.notif b { font-weight: 600; }
.notif span { grid-column: 1 / -1; opacity: .85; }
.notif em { grid-row: 1; grid-column: 2; font-style: normal; font-size: .72rem; opacity: .55; }
.lock-more { text-align: center; font-size: .78rem; opacity: .6; margin-top: 12px; }
.pain-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 16px; }
.pain-list li { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.pain-n { display: block; font-size: .8rem; font-weight: 600; color: var(--blue); letter-spacing: .08em; margin-bottom: 10px; }
.pain-list h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pain-list p { color: var(--muted); font-size: .98rem; }
@media (min-width: 700px) { .pain-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
    .problem-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; }
    .pain-list { grid-template-columns: repeat(4, 1fr); }
}

/* How it works */
.how { background: linear-gradient(180deg, var(--paper), #fff); }
.how-grid { display: grid; gap: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-content: start; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 600; color: #fff; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(10, 111, 216, .55); }
.steps h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.steps p { color: var(--muted); font-size: .98rem; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } .steps li { grid-template-columns: 1fr; gap: 6px; } }

/* The animated diagram: one 10-second loop, CSS only. */
.flow {
    --t: 10s;
    margin: 0 auto; width: 100%; max-width: 980px; position: relative; display: grid; gap: 0; justify-items: center;
    padding: 28px 20px 22px; border-radius: 20px; background: var(--ink); color: #fff;
    box-shadow: 0 30px 60px -28px rgba(6, 25, 45, .6); overflow: hidden;
}
.flow::before { content: ''; position: absolute; inset: auto -30% -60% auto; width: 80%; height: 120%; background: radial-gradient(closest-side, rgba(16, 232, 180, .22), transparent); pointer-events: none; }
.flow figcaption { margin-top: 18px; font-size: .85rem; color: #9db2c8; text-align: center; max-width: 30em; }
.flow-node { position: relative; width: 100%; max-width: 300px; }
.flow-label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8ea7c0; margin-bottom: 8px; text-align: center; }
.flow-screen { position: relative; min-height: 120px; padding: 12px; border-radius: 14px; background: #0f2a45; border: 1px solid rgba(255, 255, 255, .08); }
.flow-screen.team { display: flex; gap: 10px; justify-content: center; align-items: center; min-height: 64px; }
.bubble { max-width: 88%; padding: 8px 11px; border-radius: 12px; font-size: .8rem; line-height: 1.35; }
.bubble small { display: block; margin-top: 3px; font-size: .66rem; opacity: .7; }
.bubble.in { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.out { margin: 8px 0 0 auto; background: linear-gradient(105deg, #12c9a8, var(--blue)); color: #fff; border-bottom-right-radius: 4px; }
.row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .78rem; line-height: 1.3; }
.row b { display: block; font-weight: 600; }
.row em { font-style: normal; opacity: .65; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2c4a6b; font-size: .68rem; font-weight: 600; }
.badge { font-size: .64rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.badge.new { background: var(--teal); color: var(--ink); }
.chip { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 10px; border-radius: 999px; font-size: .74rem; background: rgba(255, 255, 255, .08); width: max-content; max-width: 100%; }
.bot-ico { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); position: relative; flex: none; }
.bot-ico::before, .bot-ico::after { content: ''; position: absolute; top: 7px; width: 3px; height: 3px; border-radius: 50%; background: var(--ink); }
.bot-ico::before { left: 5px; } .bot-ico::after { right: 5px; }
.agent-ico { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #f5b546; color: var(--ink); font-size: .52rem; font-weight: 700; flex: none; }
.actor { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid transparent; }

/* Wires: vertical on phones, horizontal from 700px. */
.flow-wire { position: relative; width: 2px; height: 44px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .25) 0 4px, transparent 4px 8px); }
.packet { position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px 3px rgba(16, 232, 180, .6); opacity: 0; }

/* Timeline (percent of 10 s):
   0-8 customer bubble · 8-20 packet to inbox · 20-28 row arrives · 30-40 packet to bot
   40-50 bot chip · 52-60 handed to Priya · 62-74 reply travels back · 74-96 reply shown */
.b1 { animation: show-b1 var(--t) var(--ease) infinite; }
.b2 { animation: show-b2 var(--t) var(--ease) infinite; }
.r1 { animation: show-r1 var(--t) var(--ease) infinite; }
.c1 { animation: show-c1 var(--t) var(--ease) infinite; }
.c2 { animation: show-c2 var(--t) var(--ease) infinite; }
.actor.bot { animation: glow-bot var(--t) linear infinite; }
.actor.agent { animation: glow-agent var(--t) linear infinite; }
.p1 { animation: travel-1 var(--t) linear infinite; }
.p2 { animation: travel-2 var(--t) linear infinite; }

@keyframes show-b1 { 0% { opacity: 0; transform: translateY(8px); } 6%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes show-r1 { 0%, 19% { opacity: 0; transform: translateY(8px); } 25%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes show-c1 { 0%, 40% { opacity: 0; transform: translateY(6px); } 46%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes show-c2 { 0%, 53% { opacity: 0; transform: translateY(6px); } 59%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes show-b2 { 0%, 74% { opacity: 0; transform: translateY(8px); } 80%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes glow-bot { 0%, 39% { border-color: transparent; background: rgba(255, 255, 255, .06); } 42%, 52% { border-color: var(--teal); background: rgba(16, 232, 180, .14); } 55%, 100% { border-color: transparent; background: rgba(255, 255, 255, .06); } }
@keyframes glow-agent { 0%, 53% { border-color: transparent; background: rgba(255, 255, 255, .06); } 56%, 78% { border-color: #f5b546; background: rgba(245, 181, 70, .14); } 82%, 100% { border-color: transparent; background: rgba(255, 255, 255, .06); } }
/* p1: phone -> inbox (8-20), back inbox -> phone with the reply (64-74). */
@keyframes travel-1 { 0%, 7% { top: 0; opacity: 0; } 8% { top: 0; opacity: 1; } 19% { top: 100%; opacity: 1; } 20%, 63% { top: 100%; opacity: 0; } 64% { top: 100%; opacity: 1; } 73% { top: 0; opacity: 1; } 74%, 100% { top: 0; opacity: 0; } }
/* p2: inbox -> bot (30-40), bot/agent -> inbox (60-64). */
@keyframes travel-2 { 0%, 29% { top: 0; opacity: 0; } 30% { top: 0; opacity: 1; } 39% { top: 100%; opacity: 1; } 40%, 59% { top: 100%; opacity: 0; } 60% { top: 100%; opacity: 1; } 64% { top: 0; opacity: 1; } 65%, 100% { top: 0; opacity: 0; } }
@keyframes travel-1-x { 0%, 7% { left: 0; opacity: 0; } 8% { left: 0; opacity: 1; } 19% { left: 100%; opacity: 1; } 20%, 63% { left: 100%; opacity: 0; } 64% { left: 100%; opacity: 1; } 73% { left: 0; opacity: 1; } 74%, 100% { left: 0; opacity: 0; } }
@keyframes travel-2-x { 0%, 29% { left: 0; opacity: 0; } 30% { left: 0; opacity: 1; } 39% { left: 100%; opacity: 1; } 40%, 59% { left: 100%; opacity: 0; } 60% { left: 100%; opacity: 1; } 64% { left: 0; opacity: 1; } 65%, 100% { left: 0; opacity: 0; } }

@media (min-width: 700px) {
    .flow { grid-template-columns: 1fr 48px 1.2fr 48px .75fr; align-items: center; padding: 36px 32px 26px; }
    .flow figcaption { grid-column: 1 / -1; }
    .flow-node { max-width: none; }
    .flow-screen { min-height: 150px; }
    .flow-screen.team { flex-direction: column; min-height: 150px; }
    .flow-label { text-align: left; }
    .flow-wire { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 4px, transparent 4px 8px); margin-top: 22px; }
    .packet { top: 50%; left: 0; }
    .p1 { animation-name: travel-1-x; }
    .p2 { animation-name: travel-2-x; }
}
/* Features */
.features { background: #fff; }
.cards { display: grid; gap: 20px; }
.card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-text { padding: 24px 24px 20px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }
.card-shot { margin: auto 20px 0; border-radius: 10px 10px 0 0; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -8px 30px -18px rgba(6, 25, 45, .35); background: #fff; }
.card-shot img { width: 100%; aspect-ratio: 1184 / 740; object-fit: cover; object-position: left top; }
.card-tag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--blue-dark); background: rgba(10, 111, 216, .09); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }
.also { margin-top: 32px; font-size: .95rem; color: var(--muted); max-width: 900px; }
@media (min-width: 760px) {
    .cards { grid-template-columns: 1fr 1fr; }
    .card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.4fr; align-items: end; }
    .card-wide .card-text { align-self: center; padding: 36px; }
    .card-wide h3 { font-size: 1.55rem; }
    .card-wide .card-shot { margin: 32px 0 0; border-radius: 10px 0 0 0; border-right: 0; }
}
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Who */
.who { background: linear-gradient(180deg, #fff, var(--paper)); }
.who-grid { display: grid; gap: 16px; }
.who-card { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(6, 25, 45, .04); }
.who-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(16, 232, 180, .18), rgba(10, 111, 216, .16)); margin-bottom: 18px; }
.who-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.who-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.who-card p { color: var(--muted); font-size: .97rem; }
@media (min-width: 700px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }

/* Self-hosted */
.own { background: var(--ink); color: #c9d7e6; position: relative; overflow: hidden; }
.own::before { content: ''; position: absolute; top: -30%; left: -15%; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(10, 111, 216, .35), transparent); pointer-events: none; }
.own h2, .own h3 { color: #fff; }
.own .section-lede { color: #a9bcd0; }
.own-grid { position: relative; display: grid; gap: 40px; }
.own-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.own-list li { padding: 22px 22px 22px 56px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); position: relative; }
.own-list li::before { content: ''; position: absolute; left: 20px; top: 25px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.own-list li::after { content: ''; position: absolute; left: 26px; top: 30px; width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.own-list h3 { font-size: 1.08rem; margin-bottom: 6px; }
.own-list p { font-size: .96rem; }
.honest { padding: 26px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(16, 232, 180, .14), rgba(10, 111, 216, .18)); border: 1px solid rgba(16, 232, 180, .35); }
.honest h3 { font-size: 1.1rem; margin-bottom: 8px; }
.honest p { font-size: .97rem; color: #d7e4f1; }
@media (min-width: 1000px) {
    .own-grid { grid-template-columns: 1fr 1fr; column-gap: 72px; row-gap: 28px; }
    .own-grid > div { grid-row: span 2; align-self: start; position: sticky; top: 110px; }
    .own-list { grid-template-columns: 1fr 1fr; }
}

/* Pricing */
.pricing { background: #fff; }
.plans { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: 32px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan-ext { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.plan h3 { font-size: 1.15rem; }
.price { margin: 14px 0 6px; font-size: 3.4rem; font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.price .cur { font-size: 1.6rem; vertical-align: .9em; margin-right: 2px; color: var(--muted); }
.plan-for { color: var(--muted); font-size: .97rem; min-height: 3.2em; }
.ticks { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; font-size: .97rem; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; width: 100%; }
.plans-note { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: .9rem; color: var(--muted); }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }

/* Close */
.close { position: relative; overflow: hidden; padding: 96px 0; background: var(--ink); color: #b7c8da; text-align: center; }
.close-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(16, 232, 180, .2), rgba(10, 111, 216, .18) 50%, transparent 72%); pointer-events: none; }
.close-inner { position: relative; max-width: 680px; }
.close-inner > svg { width: 64px; height: 64px; margin: 0 auto 24px; }
.close h2 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; }
.close p { margin: 16px auto 32px; font-size: 1.1rem; }
.close b { color: #fff; font-weight: 600; }
.close .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.close .btn-ghost:hover { border-color: rgba(255, 255, 255, .6); }

/* Footer */
.footer { background: #041222; color: #7f93a8; padding: 40px 0 48px; font-size: .9rem; }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 1.1rem; }
.footer-brand svg { width: 26px; height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: #b7c8da; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.legal { font-size: .82rem; max-width: 60em; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: auto 1fr; align-items: center; } .footer-links { justify-content: flex-end; } .legal { grid-column: 1 / -1; } }

/* Legal pages (site/pages) */
.page { padding: 56px 0 80px; background: var(--paper); }
.page-body { max-width: 760px; }
.page-body h1 { font-size: clamp(2rem, 5vw, 2.6rem); letter-spacing: -.03em; }
.page-body .updated { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.page-body h2 { margin-top: 40px; font-size: 1.35rem; }
.page-body h3 { margin-top: 24px; font-size: 1.08rem; }
.page-body p, .page-body ul { margin-top: 12px; }
.page-body ul { padding-left: 1.3em; }
.page-body li + li { margin-top: 6px; }

/* Scroll reveal: only when JavaScript runs (html.js) and motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
    .js .reveal.in { opacity: 1; transform: none; }
    .js .pain-list .reveal:nth-child(2), .js .steps .reveal:nth-child(2), .js .who-grid .reveal:nth-child(2), .js .own-list .reveal:nth-child(2), .js .cards .reveal:nth-child(3n+2) { transition-delay: .08s; }
    .js .pain-list .reveal:nth-child(3), .js .steps .reveal:nth-child(3), .js .who-grid .reveal:nth-child(3), .js .own-list .reveal:nth-child(3), .js .cards .reveal:nth-child(3n) { transition-delay: .16s; }
    .js .pain-list .reveal:nth-child(4), .js .steps .reveal:nth-child(4), .js .who-grid .reveal:nth-child(4), .js .own-list .reveal:nth-child(4) { transition-delay: .24s; }
    .hero-copy > * { animation: rise .8s var(--ease) both; }
    .hero-copy > :nth-child(2) { animation-delay: .06s; }
    .hero-copy > :nth-child(3) { animation-delay: .12s; }
    .hero-copy > :nth-child(4) { animation-delay: .18s; }
    .hero-copy > :nth-child(5) { animation-delay: .24s; }
    .hero-shot { animation: rise 1s .2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Reduced motion: the diagram shows its end state, still. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .flow *, .flow *::before { animation: none !important; }
    .packet { display: none; }
    .actor.agent { border-color: #f5b546; background: rgba(245, 181, 70, .14); }
}
