:root {
  --aubergine: #0e3b43;
  --aubergine-dark: #0a2c33;
  --purple: #0f7c8a;
  --ai: #b7791f;
  --green: #c8552d;
  --bg: #ffffff;
  --alt: #f6f2ea;
  --text: #1d1c1d;
  --muted: #5e5c5f;
  --border: #e6e0d4;
  --card: #ffffff;
  --accent: #0f7c8a;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(14, 59, 67, .35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11171a; --alt: #151d22; --text: #eef5f6; --muted: #9fb0b5;
    --border: #26343a; --card: #18232a; --accent: #5fc0cf;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .88em; background: rgba(183, 121, 31, .12); padding: 1px 6px; border-radius: 5px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 10px; padding: 10px 18px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px -6px rgba(200, 85, 45, .6); }
.btn-primary:hover { background: #b04624; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-lg { padding: 14px 24px; font-size: 1.02rem; }
.btn-sm { padding: 7px 14px; font-size: .9rem; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #17717e 0%, transparent 60%), linear-gradient(180deg, var(--aubergine) 0%, var(--aubergine-dark) 100%); color: #fff; padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 6px 14px; border-radius: 999px; font-size: .85rem; margin: 0 0 22px; }
.pill { flex-wrap: wrap; }
.coffee { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 3px 11px; border-radius: 999px; background: rgba(255, 221, 128, .16); border: 1px solid rgba(255, 221, 128, .45); color: #ffe29a; font-weight: 600; text-decoration: none; }
.coffee:hover { background: rgba(255, 221, 128, .28); }
.coffee svg { width: 14px; height: 14px; flex-shrink: 0; }
.foot-inner p a { color: inherit; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2bac76; box-shadow: 0 0 0 3px rgba(43, 172, 118, .3); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 20px; font-weight: 800; }
.grad { background: linear-gradient(90deg, #ffd3b0, #ff9f7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #e6e0d4; margin: 0 0 30px; max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: .85rem; color: var(--muted); }
.hero .fine { color: #c4d6d9; margin-top: 18px; }

/* app mockup */
.app-shot { background: var(--bg); color: var(--text); border-radius: 14px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55); overflow: hidden; border: 5px solid var(--aubergine-dark); font-size: 13px; transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }
/* The mockup always shows the light theme, even when the page is in dark mode. */
.app-shot { --bg: #ffffff; --text: #1d1c1d; --border: #e0dfe0; --muted: #616061; }
.titlebar { background: var(--aubergine-dark); color: #c4d6d9; display: flex; align-items: center; gap: 7px; padding: 9px 12px; font-size: 12px; }
.titlebar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.titlebar i:nth-child(2) { background: #febc2e; } .titlebar i:nth-child(3) { background: #28c840; }
.titlebar span { margin: 0 auto; transform: translateX(-24px); }
.app-body { display: grid; grid-template-columns: 170px 1fr; min-height: 390px; }
.m-side { background: var(--aubergine); color: #c4d6d9; padding: 12px 0; }
.m-ws { color: #fff; font-weight: 700; padding: 0 14px 10px; }
.m-sec { text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; font-weight: 600; padding: 12px 14px 4px; }
.m-item { padding: 4px 14px; display: flex; align-items: center; gap: 7px; }
.m-item b { margin-left: auto; background: #cd2553; color: #fff; border-radius: 9px; padding: 0 6px; font-size: 10px; }
.m-item.active { background: #e0f1f3; color: #0a2c33; font-weight: 600; }
.m-item u { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #c4d6d9; display: inline-block; }
.m-item u.on { background: #2bac76; border-color: #2bac76; }
.m-item u.ai { background: var(--ai); border-color: var(--ai); }
.m-main { display: flex; flex-direction: column; }
.m-head { padding: 10px 16px; border-bottom: 1px solid var(--border); font-weight: 700; }
.m-head span { font-weight: 400; color: var(--muted); margin-left: 8px; font-size: 12px; }
.m-msgs { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; }
.msg p { margin: 2px 0 0; }
.msg em { font-style: normal; color: var(--muted); font-size: 11px; margin-left: 4px; }
.av { width: 32px; height: 32px; border-radius: 7px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; }
.a1 { background: #e8912d; } .a2 { background: #36c5f0; } .ai-av { background: var(--ai); font-size: 12px; }
.mention { background: rgba(15, 124, 138, .15); color: #0f7c8a; border-radius: 4px; padding: 0 3px; font-weight: 600; }
.tag { background: rgba(183, 121, 31, .15); color: var(--ai); font-size: 10px; padding: 1px 5px; border-radius: 4px; font-weight: 700; }
.searching { color: var(--ai); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.src { color: var(--muted); font-size: 11.5px; }
.m-composer { margin: 0 16px 14px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--muted); }
.spin { width: 11px; height: 11px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* strip */
.strip { border-bottom: 1px solid var(--border); background: var(--alt); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding: 18px 0; color: var(--muted); font-weight: 600; font-size: .92rem; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--purple); margin: 0 0 10px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: #8fd3dd; } }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 800; }
h3 { margin: 0 0 8px; font-size: 1.1rem; }
.lead-sm { font-size: 1.08rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.three { margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, #17717e, #0a2c33); }

/* AI band */
.dark-band { background: linear-gradient(135deg, #071f24, #0e3b43 60%, #17525c); color: #fff; }
.dark-band .eyebrow { color: #a8dde6; }
.dark-band .lead-sm { color: #d3e6e9; }
.dark-band em { font-style: normal; color: #ffd3b0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #2bac76; color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.ai-panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 24px; display: grid; gap: 14px; backdrop-filter: blur(6px); }
.ai-q { align-self: end; justify-self: end; background: #0f7c8a; padding: 12px 16px; border-radius: 14px 14px 4px 14px; max-width: 85%; }
.ai-step { color: #a8dde6; font-size: .9rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ai-step code { background: rgba(255, 255, 255, .1); }
.ai-a { background: rgba(255, 255, 255, .1); padding: 14px 16px; border-radius: 14px 14px 14px 4px; }
.ai-a p { margin: 0 0 6px; } .ai-a .src { color: #b8d5da; margin: 0; }

/* diagram */
.diagram { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; gap: 14px; align-items: stretch; }
.node { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.node span { color: var(--muted); font-size: .9rem; }
.node.accent { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(15, 124, 138, .12); }
.arrow { align-self: center; font-size: 1.6rem; color: var(--purple); font-weight: 700; }

/* update card */
.update-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); max-width: 420px; justify-self: center; width: 100%; }
.upd-top { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.upd-top b { display: block; } .upd-top span { color: var(--muted); font-size: .9rem; }
.bar { height: 8px; border-radius: 99px; background: var(--border); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #17717e, #2bac76); transform-origin: left; animation: fill 3.5s ease-out infinite; }
@keyframes fill { from { transform: scaleX(0.05); } to { transform: scaleX(1); } }
.upd-btn { margin-top: 18px; background: var(--green); color: #fff; text-align: center; font-weight: 600; padding: 10px; border-radius: 9px; }

/* download */
.download-box { text-align: center; background: linear-gradient(160deg, var(--aubergine), #17717e); color: #fff; border-radius: 28px; padding: 64px 24px; }
.download-box p { color: #e6e0d4; max-width: 520px; margin: 0 auto 26px; }
.download-box img { margin-bottom: 14px; }

/* contact form (inside the download box) */
.form-card { background: var(--card); color: var(--text); border-radius: 18px; padding: 32px; margin: 44px auto 0; max-width: 620px; text-align: left; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.form-card h3 { font-size: 1.35rem; margin: 0 0 4px; }
.download-box .form-card .form-sub { color: var(--muted); margin: 0 0 22px; max-width: none; }
.sw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sw-field { margin-bottom: 14px; }
.form-card label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.form-card input, .form-card textarea { width: 100%; padding: 11px 13px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.form-card textarea { resize: vertical; min-height: 110px; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(15, 124, 138, .25); }
.sw-error { display: block; min-height: 16px; margin-top: 4px; color: #d1242f; font-size: .8rem; }
.sw-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 4px 0 16px; }
.sw-submit { width: 100%; cursor: pointer; font-family: inherit; }
.sw-submit:disabled { opacity: .6; cursor: default; transform: none; }
.sw-status { margin-top: 12px; font-size: .92rem; min-height: 1.2em; }
.sw-status.error { color: #d1242f; }
.sw-status.success { color: #1e8a58; font-weight: 600; }

/* faq */
details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--purple); }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); margin: 12px 0 0; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; }
.foot-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.foot-inner p { margin: 0; color: var(--muted); font-size: .9rem; }


/* rail in the hero mockup */
.app-body.with-rail { grid-template-columns: 58px 150px 1fr; }
.m-rail { background: #082a30; padding: 12px 6px; display: flex; flex-direction: column; gap: 8px; color: #c4d6d9; font-size: 9.5px; font-weight: 600; text-align: center; }
.m-rail span { display: block; padding: 6px 0; border-radius: 9px; position: relative; }
.m-rail span.on { background: rgba(255, 255, 255, .18); color: #fff; }
.m-rail b { display: block; font-size: 15px; line-height: 1.1; }
.m-rail u { position: absolute; top: 2px; right: 6px; background: #cd2553; color: #fff; border-radius: 8px; padding: 0 5px; font-size: 8.5px; text-decoration: none; }
.lines { line-height: 1.7; }
.flag { background: rgba(205, 37, 83, .12); color: #cd2553; border-radius: 4px; padding: 0 5px; font-size: 10.5px; font-weight: 700; }

/* leads board mockup */
.board-shot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.kcol { background: var(--alt); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 9px; }
.kh { display: flex; align-items: center; gap: 7px; font-size: .9rem; padding: 2px 4px 4px; }
.kh i { width: 9px; height: 9px; border-radius: 50%; }
.kh em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .8rem; }
.kh .bolt { background: rgba(212, 160, 23, .18); color: #a37a00; border-radius: 6px; padding: 0 6px; font-size: .75rem; font-weight: 700; }
.kc { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; font-size: .88rem; }
.kc span { color: var(--text); font-weight: 600; }
.kc small { color: var(--muted); }
.kc.over { border-color: rgba(205, 37, 83, .5); }
.kc.over strong { color: #cd2553; }
.kc.won { border-color: rgba(21, 128, 61, .5); }

/* email mockup */
.mail-shot { transform: none; }
.mail-body { display: grid; grid-template-columns: 112px 1.1fr 1fr; min-height: 300px; font-size: 12px; }
.mm-folders { background: var(--aubergine); color: #c4d6d9; padding: 10px 0; }
.mm-compose { margin: 0 10px 10px; background: #2b7a5c; color: #fff; text-align: center; border-radius: 6px; padding: 6px; font-weight: 600; }
.mm-list { border-right: 1px solid var(--border); }
.mm-row { display: flex; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--border); }
.mm-row i { width: 8px; height: 8px; border-radius: 50%; background: transparent; margin-top: 5px; flex: none; }
.mm-row.unread i { background: #0f7c8a; }
.mm-row i.pri { background: #cd2553; }
.mm-row div { display: grid; gap: 1px; min-width: 0; }
.mm-row span { color: var(--muted); }
.mm-row.unread b { font-weight: 800; }
.why { color: #cd2553; font-size: 10.5px; }
.chip { font-style: normal; background: rgba(212, 160, 23, .18); color: #a37a00; border-radius: 4px; padding: 0 5px; font-size: 10px; font-weight: 700; margin-left: 4px; }
.mm-read { padding: 12px; display: grid; gap: 6px; align-content: start; }
.mm-read p { margin: 0; }
.mm-read .small { color: var(--muted); font-size: 11px; }
.mm-actions { display: flex; gap: 8px; margin-top: 6px; }
.mm-actions span { border: 1px solid var(--border); border-radius: 7px; padding: 4px 9px; font-weight: 600; }
.mm-actions .b2 { color: var(--ai); border-color: var(--ai); }

/* AI panel additions */
.ai-draft { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; font-size: .92rem; }
.ad-line span { display: inline-block; width: 62px; color: #b8d5da; }
.ad-body { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 8px; margin-top: 2px; }
.ad-btn { justify-self: start; background: var(--green); color: #fff; font-weight: 600; padding: 6px 14px; border-radius: 8px; margin-top: 4px; }
.privacy-note { margin-top: 44px; }
.privacy-note p { margin: 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 16px 20px; color: #d3e6e9; }
@media (max-width: 920px) {
  .board-shot { grid-template-columns: repeat(2, 1fr); }
  .mail-body { grid-template-columns: 100px 1fr; }
  .mm-read { display: none; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 920px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .app-shot { transform: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .diagram { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .sw-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 22px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .app-body { grid-template-columns: 120px 1fr; }
  .app-body.with-rail { grid-template-columns: 52px 110px 1fr; }
  .board-shot { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Today panel mockup */
.today-shot { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); max-width: 440px; justify-self: center; width: 100%; font-size: .92rem; }
.ts-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.ts-head span { color: var(--muted); font-size: .82rem; }
.ts-sec { text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; font-weight: 700; color: var(--muted); margin: 14px 0 4px; }
.ts-item { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.ts-item:last-of-type { border-bottom: 0; }
.ts-item i { flex: none; width: 15px; height: 15px; border: 1.5px solid var(--muted); border-radius: 4px; margin-top: 3px; }
.ts-item i.on { background: var(--purple); border-color: var(--purple); }
.ts-item div { display: grid; gap: 2px; }
.ts-item small { color: var(--muted); }
.ts-item .late { color: #cd2553; font-weight: 600; }
.ts-item.done b { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.ts-item u { text-decoration: none; display: inline-block; justify-self: start; margin-top: 4px; border: 1px solid var(--border); color: var(--accent); border-radius: 999px; padding: 1px 10px; font-size: .76rem; }
.ts-item u.q { color: var(--muted); margin-left: 4px; }
.ts-foot { margin-top: 10px; color: var(--muted); font-size: .8rem; }

/* Website form mockup */
.wf-shot { display: grid; gap: 12px; justify-items: stretch; max-width: 440px; justify-self: center; width: 100%; }
.wf-code { display: flex; gap: 12px; align-items: center; background: #151d22; color: #e6e0d4; border-radius: 12px; padding: 14px 16px; font-family: ui-monospace, Menlo, monospace; font-size: .78rem; line-height: 1.5; box-shadow: var(--shadow); }
.wf-code span { flex: 1; word-break: break-all; }
.wf-code b { border: 1px solid #3d5157; background: #223036; border-radius: 6px; padding: 3px 10px; font-family: inherit; font-weight: 500; }
.wf-arrow { text-align: center; color: var(--purple); font-size: 1.4rem; }
@media (prefers-color-scheme: dark) { .wf-arrow { color: #8fd3dd; } }
.wf-form { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.wf-f small { display: block; font-size: .72rem; font-weight: 600; margin-bottom: 3px; }
.wf-f i { display: block; height: 28px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); }
.wf-f.tall i { height: 54px; }
.wf-ok { font-size: .8rem; color: #1f8f5f; font-weight: 600; border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; justify-self: start; }
.wf-send { justify-self: start; background: var(--purple); color: #fff; font-weight: 600; border-radius: 6px; padding: 7px 18px; }
.ts-acts { display: flex; gap: 6px; margin-top: 4px; } .ts-acts u { margin-top: 0; } .ts-item u.q { margin-left: 0; }

/* API documentation page */
.docs-hero { background: linear-gradient(180deg, var(--aubergine) 0%, var(--aubergine-dark) 100%); color: #fff; padding: 56px 0 48px; }
.docs-hero h1 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; }
.docs-hero .eyebrow { color: #a8dde6; }
.docs-hero .lead-sm { color: #d3e6e9; max-width: 720px; margin: 0; }
.docs { padding-top: 48px; }
.docs-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 84px; display: grid; gap: 2px; font-size: .92rem; }
.toc a { text-decoration: none; color: var(--muted); padding: 5px 10px; border-left: 2px solid var(--border); }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--purple); border-left-color: var(--purple); font-weight: 600; }
@media (prefers-color-scheme: dark) { .toc a.on { color: #8fd3dd; border-left-color: #8fd3dd; } }
.docs-body { min-width: 0; max-width: 820px; }
.docs-body h2 { margin: 56px 0 14px; padding-top: 8px; font-size: 1.7rem; scroll-margin-top: 84px; }
.docs-body h2:first-child { margin-top: 0; }
.docs-body h3 { margin: 28px 0 8px; font-size: 1.1rem; }
.docs-body h4 { margin: 18px 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.docs-body p, .docs-body li { color: var(--text); }
.docs-body ul, .docs-body ol { padding-left: 22px; display: grid; gap: 8px; }
.docs-body .muted { color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding-left: 0 !important; gap: 18px !important; }
.steps > li { counter-increment: step; position: relative; padding-left: 40px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
pre.code { position: relative; margin: 10px 0; padding: 14px 16px; background: #151d22; color: #e6e0d4; border-radius: 10px; overflow-x: auto; font: .82rem/1.55 ui-monospace, Menlo, monospace; white-space: pre; }
pre.code.out { background: #0e1518; color: #b4c9cd; border: 1px solid #26343a; }
.copy-code { position: absolute; top: 8px; right: 8px; border: 1px solid #3d5157; background: #223036; color: #fff; border-radius: 6px; padding: 2px 10px; font: 600 .72rem Inter, sans-serif; cursor: pointer; opacity: 0; transition: opacity .15s; }
pre.code:hover .copy-code, .copy-code:focus { opacity: 1; }
.api-table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .9rem; }
.api-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 10px; border-bottom: 1px solid var(--border); }
.api-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.api-table td:first-child { white-space: nowrap; }
.docs-body code { word-break: break-word; }
.req { color: #cd2553; font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.endpoint { border: 1px solid var(--border); background: var(--card); border-radius: 14px; padding: 18px 22px; margin: 16px 0; scroll-margin-top: 84px; }
.endpoint h3 { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1rem; }
.endpoint h3 code { background: none; padding: 0; font-size: .95rem; }
.ep-sum { margin: 0 0 6px; }
.verb { font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: 3px 9px; border-radius: 6px; color: #fff; }
.verb.get { background: #2563eb; } .verb.post { background: #1f8f5f; } .verb.patch { background: #b45309; } .verb.put { background: #b7791f; } .verb.delete { background: #cd2553; }
.resp { list-style: none; padding-left: 0 !important; gap: 4px !important; font-size: .9rem; }
.code { font: 700 .75rem ui-monospace, Menlo, monospace; padding: 2px 8px; border-radius: 6px; background: rgba(183, 121, 31, .14); }
.code.c2 { background: rgba(31, 143, 95, .16); color: #1f8f5f; } .code.c4 { background: rgba(205, 37, 83, .13); color: #cd2553; }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; grid-template-columns: repeat(2, 1fr); }
  .toc a { border-left: 0; }
  .api-table td:first-child { white-space: normal; }
}
.perm { display: inline-block; margin-right: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); }

/* ---- Phones ---- */
html { -webkit-text-size-adjust: 100%; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--border); background: transparent; color: inherit; border-radius: 10px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 920px) {
  .nav-inner { gap: 10px; }
  .nav-inner .btn-sm { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open { display: flex; flex-direction: column; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px -18px rgba(0,0,0,.4); }
  .nav-links.open a { padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-links.open a:last-child { border-bottom: 0; }
}
/* Wide things (code, tables, widgets) stay inside the page instead of stretching it. */
.docs-layout > * { min-width: 0; }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); }
  .api-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .api-table td:first-child, .api-table td:first-child code { white-space: nowrap; overflow-wrap: normal; }
  .endpoint { padding: 16px 14px; }
  .endpoint h3 code, .docs-layout code { overflow-wrap: anywhere; }
}
pre.code { max-width: 100%; }
.steps > li { min-width: 0; }
.cf-turnstile, .cf-turnstile iframe { max-width: 100%; }
.form-card { overflow: hidden; }
@media (max-width: 600px) {
  /* The hero mock-up is too cramped with its channel list: keep the icon rail and the conversation. */
  .app-shot .m-side { display: none; }
  .app-shot .app-body.with-rail { grid-template-columns: 52px 1fr; }
  .hero h1 { overflow-wrap: break-word; }
  .cta { flex-wrap: wrap; }
  .btn-lg { padding: 13px 22px; }
}

/* Follow-ups illustration */
.fu-shot { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); max-width: 440px; justify-self: center; width: 100%; font-size: .92rem; }
.fu-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.fu-head small { color: var(--muted); }
.fu-badge { font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgba(43,172,118,.15); color: #1f8a5c; }
.fu-mail { margin: 14px 0; }
.fu-mail small { color: var(--muted); display: block; margin-bottom: 8px; }
.fu-mail p { margin: 0 0 8px; }
.fu-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.fu-acts u { text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 3px 12px; font-size: .8rem; color: var(--accent); }
.fu-acts u.go { background: var(--accent); border-color: var(--accent); color: var(--card); }
.fu-acts u.q { color: var(--muted); }
.fu-foot { margin-top: 12px; color: var(--muted); font-size: .8rem; font-style: italic; }

/* pricing */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--alt); }
.center { text-align: center; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card:hover { transform: none; }
.price-card.featured { border-color: var(--purple); box-shadow: var(--shadow); }
.price-card .badge { position: absolute; top: -12px; right: 20px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.price { margin: 6px 0 0; font-size: 2.4rem; letter-spacing: -.03em; line-height: 1.1; color: var(--text); }
.price b { font-weight: 800; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.price-sub { margin: 2px 0 18px; font-size: .92rem; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 2.5px solid var(--purple); border-bottom: 2.5px solid var(--purple); transform: rotate(-45deg); }
.price-card .btn { width: 100%; text-align: center; font: inherit; font-weight: 600; cursor: pointer; }
.price-card .btn:disabled { opacity: .55; cursor: not-allowed; }
.price-card form label { display: block; font-size: .85rem; font-weight: 600; margin: 12px 0 5px; }
.price-card form input[type=email], .price-card form input[type=text] { width: 100%; padding: 10px 12px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 9px; }
.price-card form input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(15, 124, 138, .25); }
.price-card form .btn { margin-top: 16px; }
.seg-field { border: 0; padding: 0; margin: 0 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-field label { margin: 0; cursor: pointer; }
.seg-field input { position: absolute; opacity: 0; }
.seg-field span { display: block; text-align: center; border: 1px solid var(--border); border-radius: 10px; padding: 9px 6px; font-weight: 600; font-size: .88rem; }
.seg-field small { display: block; font-weight: 500; color: var(--muted); }
.seg-field input:checked + span { border-color: var(--purple); background: rgba(15, 124, 138, .1); }
.seg-field input:focus-visible + span { box-shadow: 0 0 0 3px rgba(15, 124, 138, .35); }
.price-card .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; margin-top: 12px; cursor: pointer; }
.price-card .check input { margin-top: 4px; }
.price-card .check small { color: var(--muted); }
.addr { display: flex; align-items: center; gap: 6px; }
.addr input { flex: 1; min-width: 0; }
.addr span { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.addr-msg { display: block; min-height: 1.3em; margin-top: 4px; font-size: .82rem; color: var(--muted); }
.addr-msg.ok { color: #1f8f5f; } .addr-msg.bad { color: #c0392b; }
.price-msg { margin: 10px 0 0 !important; color: #c0392b !important; font-size: .88rem; }
.notice { max-width: 640px; margin: 0 auto 28px; padding: 12px 16px; border-radius: 10px; background: rgba(15, 124, 138, .1); border: 1px solid rgba(15, 124, 138, .35); text-align: center; font-weight: 600; }
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .price-card.featured { order: -1; } }
