/*
 * The official site's styles. Colours mirror the console so www, the console
 * and the admin look like one product. Only logical properties
 * (inline/block, start/end) so right-to-left locales need no rework.
 */
:root {
  color-scheme: light dark;
  --bg: oklch(1 0 0);
  --card: oklch(1 0 0);
  --fg: oklch(0.2 0.012 286);
  --muted: oklch(0.47 0.025 286);
  --subtle: oklch(0.985 0.002 286);
  --tint: oklch(0.966 0.008 286);
  --line: oklch(0.95 0.005 286);
  --border: oklch(0.928 0.006 286);
  --primary: oklch(0.511 0.23 277);
  --primary-fg: oklch(0.99 0 0);
  --accent: oklch(0.955 0.024 278);
  --success: oklch(0.6 0.15 155);
  --radius: 0.75rem;
  --shadow: 0 1px 2px oklch(0.2 0.02 268 / 6%), 0 8px 24px -12px oklch(0.2 0.02 268 / 18%);
  --max: 75rem;
  /* Dark panels (privacy, closing call to action, the featured plan) stay
     ink-dark with light text in both themes. */
  --ink: oklch(0.2 0.012 286);
  --ink-2: oklch(0.245 0.018 286);
  --ink-line: oklch(0.32 0.03 286);
  --ink-muted: oklch(0.74 0.03 286);
  --ink-accent: oklch(0.81 0.09 277);
  /* Checkout and blog panels keep the deep indigo. */
  --brand: oklch(0.511 0.23 277);
  --brand-panel:
    radial-gradient(circle at 20% 10%, rgb(255 255 255 / 18%), transparent 45%),
    radial-gradient(circle at 90% 90%, rgb(0 0 0 / 25%), transparent 55%),
    var(--brand);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.165 0.012 280);
    --card: oklch(0.205 0.014 280);
    --fg: oklch(0.96 0.003 286);
    --muted: oklch(0.72 0.015 286);
    --subtle: oklch(0.185 0.012 280);
    --tint: oklch(0.22 0.016 280);
    --line: oklch(1 0 0 / 8%);
    --border: oklch(1 0 0 / 11%);
    --primary: oklch(0.68 0.17 277);
    --primary-fg: oklch(0.15 0.02 280);
    --accent: oklch(0.3 0.06 277);
    --success: oklch(0.72 0.15 155);
    --shadow: 0 1px 2px oklch(0 0 0 / 30%), 0 8px 24px -12px oklch(0 0 0 / 50%);
    --ink: oklch(0.21 0.016 280);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
/* Chinese: no negative tracking (it crowds the glyphs), taller lines for
   body text and headings, and punctuation that hangs cleanly. */
html:lang(zh-CN) body { line-height: 1.75; }
html:lang(zh-CN) :is(h1, h2, h3, .brand) { letter-spacing: 0.01em; line-height: 1.3; }
html:lang(zh-CN) .lead { line-height: 1.85; }
html:lang(zh-CN) .eyebrow { letter-spacing: 0.08em; }
.phrased { word-break: keep-all; overflow-wrap: anywhere; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; inset-block-start: -3rem; padding: 0.5rem 1rem; border-radius: var(--radius); background: var(--card); z-index: 10; }
.skip:focus { inset-block-start: 1rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.5rem; }
main { flex: 1; overflow-x: clip; }
section { padding-block: 7rem; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 0.875rem; max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }
.section-head h2, .h2 { font-size: clamp(2rem, 4.4vw, 2.75rem); line-height: 1.2; font-weight: 750; letter-spacing: -0.03em; }
.eyebrow { color: var(--primary); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; }
.lead { color: var(--muted); font-size: 1.125rem; text-wrap: pretty; }
.muted { color: var(--muted); }
.band { background: var(--subtle); border-block: 1px solid var(--line); }
/* A faint grid behind page heads, fading out downwards. */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; max-block-size: 45rem; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(black, transparent 75%); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.625rem 1.25rem; border: 1px solid transparent; border-radius: 0.625rem;
  font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: 0 1px 2px color-mix(in oklab, var(--primary) 35%, transparent), inset 0 1px 0 rgb(255 255 255 / 15%); }
.btn-primary:hover { background: color-mix(in oklab, var(--primary) 88%, black); }
.btn-outline { background: var(--card); border-color: var(--border); color: var(--fg); }
.btn-outline:hover { background: var(--subtle); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--subtle); }
.btn-sm { min-height: 2.5rem; padding: 0.5rem 1.125rem; font-size: 0.9375rem; }
.btn-lg { min-height: 3.25rem; padding: 0.75rem 1.625rem; border-radius: 0.75rem; font-size: 1rem; }
.btn-lg.btn-primary { box-shadow: 0 8px 24px -8px color-mix(in oklab, var(--primary) 60%, transparent); }
.btn-light { background: #fff; color: oklch(0.2 0.012 286); }
.btn-light:hover { background: oklch(0.95 0.01 286); }
.btn-dark-outline { border-color: var(--ink-line); color: #fff; }
.btn-dark-outline:hover { background: var(--ink-2); }
.btn-block { width: 100%; }
.btn svg { width: 1rem; height: 1rem; }

/* Header */
.site-header { position: sticky; inset-block-start: 0; z-index: 5; border-block-end: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
.site-header .container { display: flex; align-items: center; gap: 2.25rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; text-decoration: none; }
.nav { display: flex; gap: 1.75rem; }
.nav a { color: color-mix(in oklab, var(--fg) 80%, var(--muted)); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; margin-inline-start: auto; }
/* site.js swaps these by sign-in state; signed out is the cached default. */
.when-signed-in { display: none; }
html.signed-in .when-signed-in { display: inline-flex; }
html.signed-in .when-signed-out { display: none; }
@media (max-width: 720px) {
  .site-header .container { gap: 1rem; flex-wrap: wrap; padding-block: 0.5rem; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-block-end: 0.25rem; }
  .header-actions .btn-ghost { display: none; }
}

/* Page heads */
.hero { padding-block: 5.5rem 0; text-align: center; }
.hero .container { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero h1 { max-width: 14em; font-size: clamp(2.5rem, 7vw, 4.25rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { display: block; font-style: normal; color: var(--primary); text-wrap: balance; }
.hero .lead { max-width: 40rem; font-size: 1.1875rem; line-height: 1.7; text-wrap: balance; }
.page-head { padding-block: 5.5rem 4.5rem; }
.page-head h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); line-height: 1.15; }
.page-head .lead { max-width: 39rem; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.875rem 0.375rem 0.5rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: color-mix(in oklab, var(--fg) 80%, var(--muted)); font-size: 0.875rem; font-weight: 500; box-shadow: 0 1px 2px oklch(0.2 0.02 268 / 4%); }
.pill-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--accent); color: var(--primary); }
.pill-icon svg { width: 0.875rem; height: 0.875rem; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-block-start: 0.75rem; }
.fine { color: var(--muted); font-size: 0.875rem; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.875rem; }
.ticks li { display: flex; align-items: center; gap: 0.375rem; }
.ticks svg { width: 1rem; height: 1rem; color: oklch(0.6 0.16 150); }

/*
 * Product pictures drawn in HTML (no screenshot to translate). They keep
 * the console's light look in either theme, like a screenshot would.
 */
.shot {
  --s-card: #fff; --s-bg: #f6f6f8; --s-line: #efeff3; --s-border: #e7e7ec; --s-fg: #16161d; --s-muted: #6b6b78;
  --s-primary: #4f46e5; --s-accent: #eef0ff;
  color: var(--s-fg); font-size: 0.8125rem; line-height: 1.5; text-align: start;
}
.shot b { font-weight: 600; }
.ava { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; font-size: 0.6875rem; font-weight: 600; }
.ava.pink { background: #fce7f3; color: #9d174d; }
.ava.sky { background: #e0f2fe; color: #075985; }
.ava.green { background: #dcfce7; color: #166534; }
.ava.indigo { background: #e0e7ff; color: #3730a3; }
.tag { display: inline-block; padding: 0 0.4rem; border-radius: 0.3rem; font-size: 0.6875rem; }
.tag.warn { background: #fef3c7; color: #92400e; }
.tag.ok { background: #dcfce7; color: #166534; }
.msg { max-width: 72%; padding: 0.5rem 0.75rem; border-radius: 0.25rem 0.75rem 0.75rem 0.75rem; background: var(--s-card); border: 1px solid var(--s-border); }
.msg.me { align-self: flex-end; border: 0; border-radius: 0.75rem 0.25rem 0.75rem 0.75rem; background: var(--s-primary); color: #fff; }
.msg.note { align-self: flex-end; border: 1px dashed #f59e0b; border-radius: 0.75rem; background: #fffbeb; color: #78350f; }
.msg.note b { display: block; font-size: 0.6875rem; }
.dots { display: flex; gap: 3px; align-self: flex-start; padding: 0.6rem 0.75rem; border-radius: 0.75rem; background: var(--s-card); border: 1px solid var(--s-border); }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: #a1a1ae; }

.product { position: relative; width: 100%; max-width: 69rem; margin-block: 4rem 3rem; }
.window { overflow: hidden; border: 1px solid var(--s-border); border-radius: 1rem; background: var(--s-card); box-shadow: 0 40px 80px -24px rgb(30 27 75 / 25%), 0 0 0 8px rgb(79 70 229 / 4%); }
.window-bar { display: flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding-inline: 1rem; border-block-end: 1px solid var(--s-line); background: #fafafc; }
.window-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--s-border); }
.window-bar > span { margin-inline: auto; padding: 0.125rem 0.875rem; border-radius: 0.375rem; background: #f1f1f5; color: var(--s-muted); font-size: 0.75rem; }
.inbox { display: flex; height: 28.75rem; background: var(--s-bg); }
.inbox-rail { flex: 0 0 3.25rem; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding-block-start: 0.875rem; border-inline-end: 1px solid var(--s-line); background: var(--s-card); }
.inbox-rail i { width: 1.125rem; height: 1.125rem; border-radius: 0.3rem; background: #e9e9ef; }
.inbox-rail i:first-child { width: 1.75rem; height: 1.75rem; border-radius: 0.5rem; background: var(--s-primary); }
.inbox-rail i:nth-child(2) { width: 2rem; height: 2rem; border-radius: 0.5rem; background: var(--s-accent); }
.inbox-list { flex: 0 0 15.5rem; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.875rem 0.625rem; border-inline-end: 1px solid var(--s-line); background: var(--s-card); }
.inbox-list-head { display: flex; justify-content: space-between; align-items: center; padding: 0 0.375rem 0.625rem; }
.inbox-list-head b { font-size: 0.9375rem; }
.status-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.1rem 0.55rem; border: 1px solid var(--s-border); border-radius: 999px; font-size: 0.6875rem; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.conv { display: flex; gap: 0.625rem; padding: 0.625rem; border-radius: 0.625rem; }
.conv.active { background: var(--s-accent); }
.conv > span:last-child { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }
.conv span span { overflow: hidden; color: var(--s-muted); text-overflow: ellipsis; white-space: nowrap; }
.conv .tag { align-self: flex-start; }
.inbox-chat { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.inbox-chat-head { display: flex; flex: none; align-items: center; gap: 0.625rem; height: 3.25rem; padding-inline: 1.125rem; border-block-end: 1px solid var(--s-line); background: var(--s-card); }
.inbox-chat-head b { font-size: 0.875rem; }
.inbox-chat-head .lock { display: inline-flex; align-items: center; gap: 0.25rem; margin-inline-start: auto; color: var(--s-muted); font-size: 0.6875rem; }
.lock svg { width: 0.75rem; height: 0.75rem; }
.inbox-msgs { display: flex; flex: 1; flex-direction: column; gap: 0.625rem; padding: 1.125rem 1.375rem; }
.composer { display: flex; flex: none; align-items: flex-end; justify-content: space-between; height: 4rem; margin: 0 1.125rem 1rem; padding: 0.625rem 0.75rem; border: 1px solid #dcdce6; border-radius: 0.75rem; background: var(--s-card); color: var(--s-muted); }
.composer span:first-child { align-self: flex-start; }
.composer span:last-child { padding: 0.25rem 0.75rem; border-radius: 0.45rem; background: var(--s-primary); color: #fff; font-size: 0.75rem; font-weight: 600; }
.inbox-side { flex: 0 0 14.375rem; display: flex; flex-direction: column; gap: 0.875rem; overflow: hidden; padding: 1rem; border-inline-start: 1px solid var(--s-line); background: var(--s-card); }
.who { display: flex; align-items: center; gap: 0.625rem; }
.who .ava { width: 2.5rem; height: 2.5rem; font-size: 0.8125rem; }
.who > span:last-child { display: flex; flex-direction: column; }
.who small { color: var(--s-muted); font-size: 0.6875rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.375rem; text-align: center; }
.stats span { display: flex; flex-direction: column; padding-block: 0.375rem; border-radius: 0.5rem; background: var(--s-bg); }
.stats small { color: var(--s-muted); font-size: 0.65625rem; }
.side-block { display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.75rem; }
.side-block > b { color: var(--s-muted); font-size: 0.6875rem; }
.side-block dl { display: grid; grid-template-columns: auto 1fr; gap: 0.375rem 0.5rem; margin: 0; }
.side-block dt { color: var(--s-muted); }
.side-block dd { margin: 0; }
.trail { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.trail li { display: flex; align-items: center; gap: 0.5rem; }
.trail li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c9c9d4; }
.trail li.live::before { background: #16a34a; box-shadow: 0 0 0 3px #dcfce7; }
.trail small { color: #15803d; font-size: 0.75rem; }
.widget { position: absolute; inset-inline-end: -2.25rem; inset-block-end: -3rem; width: 17.5rem; overflow: hidden; border: 1px solid var(--s-border); border-radius: 1.125rem; background: var(--s-card); box-shadow: 0 30px 60px -16px rgb(30 27 75 / 35%); }
.widget-head { padding: 1rem; background: var(--s-primary); color: #fff; }
.widget-head b { display: block; font-size: 0.9375rem; }
.widget-head span { font-size: 0.75rem; opacity: 0.85; }
.widget-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.875rem; background: #fafafc; }
.widget-body .msg { max-width: 88%; }
.widget-body .msg.me { border-radius: 0.75rem 0.25rem 0.75rem 0.75rem; }
.widget-input { padding: 0.625rem 0.875rem; border-block-start: 1px solid var(--s-line); color: var(--s-muted); font-size: 0.75rem; }
@media (max-width: 1100px) { .inbox-side { display: none; } .widget { inset-inline-end: 0; } }
@media (max-width: 760px) { .inbox-list, .inbox-rail { display: none; } .widget { display: none; } .inbox { height: auto; } .product { margin-block-end: 0; } }

/*
 * The no-sign-up demo (tour.templ, tour.js). With JavaScript it replaces
 * the static product picture; without, the picture stays.
 */
html:not(.js) .tour, html:not(.js) .tour-note, html.js .tour-fallback { display: none; }
.hero h1.long { max-width: 16em; font-size: clamp(2.125rem, 5.5vw, 3.75rem); }
.hero h1.long + .lead { margin-block-start: -0.25rem; }
.tour-note { margin-block-start: 2rem; color: var(--muted); font-size: 0.9375rem; text-wrap: balance; }
.install-tour { display: flex; flex-direction: column; align-items: center; }
.tour { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 69rem; margin-block: 0.5rem 1rem; scroll-margin-block-start: 5.5rem; }
.tour button { font: inherit; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.1s; }
.tour button:active { transform: scale(0.97); }
.tour-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.tour-badge { padding: 0.25rem 0.75rem; border: 1px dashed #f59e0b; border-radius: 999px; background: #fffbeb; color: #92400e; font-size: 0.75rem; font-weight: 600; }
.tour-steps { display: flex; flex: 1; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.8125rem; }
.tour-steps li { display: flex; flex-direction: row; align-items: center; gap: 0.4rem; white-space: nowrap; }
.tour-steps li { transition: color 0.25s; }
.tour-steps li > span { display: inline-flex; align-items: center; justify-content: center; width: 1.375rem; height: 1.375rem; border: 1px solid var(--border); border-radius: 50%; font-size: 0.6875rem; font-variant-numeric: tabular-nums; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.tour-steps li[aria-current] > span { box-shadow: 0 0 0 4px var(--accent); }
.tour-steps li[aria-current] { color: var(--fg); font-weight: 600; }
.tour-steps li[aria-current] > span, .tour-steps li.done > span { border-color: var(--primary); background: var(--primary); color: var(--primary-fg); }
.tour-restart { margin-inline-start: auto; padding: 0.3125rem 0.875rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 0.8125rem; }
.tour-restart:hover { color: var(--fg); background: var(--subtle); }
.tour-pane { display: flex; flex-direction: column; gap: 1rem; }
.tour-pane[hidden] { display: none; }
/* The line that says what to do next: same place and height every step. */
.tour-guide { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.25rem; min-height: 3.5rem; padding: 0.5rem 0.75rem; color: var(--fg); font-size: 0.9375rem; line-height: 1.6; text-align: center; text-wrap: balance; }
.tour-guide .btn { min-height: 2.625rem; }
.tour-guide p { margin: 0; }
.tour-guide [hidden] { display: none; }

/* Step 1: a made-up shop with the chat window open */
.tour-site { position: relative; min-height: 32rem; }
.tour-shop { padding: 1.5rem 2rem; background: var(--s-bg); min-height: 28.5rem; }
.tour-shop-head { display: flex; justify-content: space-between; padding-block-end: 1rem; border-block-end: 1px solid var(--s-line); color: var(--s-muted); }
.tour-shop-head b { color: var(--s-fg); font-size: 1rem; }
.tour-product { display: flex; gap: 1.5rem; max-width: 34rem; padding-block-start: 1.5rem; }
.tour-product-pic { flex: 0 0 11rem; height: 13rem; border-radius: 0.75rem; background: linear-gradient(135deg, #e8e2d6, #cfc5b1); }
.tour-product > div:last-child { display: flex; flex-direction: column; gap: 0.375rem; }
.tour-product b { font-size: 1.25rem; }
.tour-product p { margin: 0; font-size: 1.125rem; }
.tour-product small { color: var(--s-muted); }
.tour-cart { align-self: flex-start; margin-block-start: 0.75rem; padding: 0.5rem 1rem; border-radius: 0.5rem; background: var(--s-fg); color: #fff; font-weight: 600; }
.tour-widget { inset-block: auto 1.25rem; inset-inline-end: 1.25rem; width: 20rem; display: block; }
.tour-widget .widget-body { min-height: 10rem; }
.tour .widget-body, .tour .inbox-msgs { line-height: 1.55; }
.tour-asks { display: flex; flex-direction: column; align-items: flex-end; gap: 0.375rem; padding: 0 0.875rem 0.75rem; background: #fafafc; }
.tour-asks button, .tour-quick button { padding: 0.375rem 0.875rem; border: 1px solid #c7c4f5; border-radius: 999px; background: #fff; color: var(--s-primary); text-align: start; font-size: 0.8125rem; }
.tour-asks button:hover, .tour-quick button:hover { background: var(--s-accent); }
.tour-input { display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 0.75rem 0.625rem 0.875rem; border-block-start: 1px solid var(--s-line); }
.tour-input:focus-within { box-shadow: inset 0 2px 0 var(--s-primary); }
.tour-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--s-fg); font: inherit; font-size: 0.8125rem; }
.tour-input button { padding: 0.375rem 0.875rem; border: 0; border-radius: 0.45rem; background: var(--s-primary); color: #fff; font-size: 0.75rem; font-weight: 600; }
.tour [hidden] { display: none !important; }

/* Steps 2 and 3: the agent's inbox; the side panel stays in view */
.tour .inbox { height: auto; min-height: 32rem; }
.tour .inbox-msgs { justify-content: flex-start; }
.tour .inbox-side { display: flex; overflow: visible; }
.tour .tour-mark { margin: -0.375rem; padding: 0.375rem; border-radius: 0.5rem; transition: background-color 0.4s, box-shadow 0.4s; }
.tour[data-step="2"] .tour-mark { box-shadow: 0 0 0 1.5px #fcd34d; background: #fffbeb; }
.tour-replies { display: flex; flex-direction: column; gap: 0.375rem; margin: 0 1.125rem 0.5rem; padding: 0.625rem; border: 1px solid var(--s-border); border-radius: 0.75rem; background: var(--s-card); box-shadow: 0 12px 24px -12px rgb(30 27 75 / 25%); }
.tour-replies > b { color: var(--s-muted); font-size: 0.6875rem; }
.tour-replies button { display: flex; flex-direction: column; gap: 0.125rem; padding: 0.5rem 0.625rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--s-fg); text-align: start; font-size: 0.75rem; }
.tour-replies button:hover, .tour-replies button:focus-visible { background: var(--s-accent); }
.tour-replies button span { color: var(--s-primary); font-weight: 600; }
.tour-lead { padding: 0.625rem; border: 1px solid #c7c4f5; border-radius: 0.625rem; background: var(--s-accent); }
.tour-quick { display: flex; flex-wrap: wrap; gap: 0.375rem; }

/* Step 4 */
.tour-done { align-items: center; justify-content: center; gap: 1.25rem; min-height: 32rem; padding: 2.5rem 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--card); color: var(--fg); text-align: center; }
.tour-done h3 { font-size: 1.5rem; font-weight: 700; }
.tour-done ol { display: flex; flex-direction: column; gap: 0.75rem; max-width: 36rem; line-height: 1.7; margin: 0; padding-inline-start: 1.25rem; color: var(--muted); font-size: 0.9375rem; text-align: start; }
/* Motion: anything that appears eases in (display:none -> shown restarts it). */
@keyframes tour-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes tour-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes tour-fade { from { opacity: 0; } }
@keyframes tour-dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes tour-ring { from { box-shadow: 0 0 0 0 color-mix(in oklab, var(--primary) 45%, transparent); } to { box-shadow: 0 0 0 12px transparent; } }
.tour-pane { animation: tour-fade 0.35s ease-out; }
.tour .msg, .tour-guide > *, .tour-lead, .tour-replies { animation: tour-pop 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.tour .conv.active { animation: tour-in 0.4s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.tour-guide [data-go="2"], .tour-guide [data-go="4"] { animation: tour-pop 0.3s both, tour-ring 1.4s 0.4s ease-out 2; }
.msg.typing { display: inline-flex; gap: 0.25rem; align-self: flex-start; padding: 0.625rem 0.75rem; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--s-muted); animation: tour-dot 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .tour *, .tour-pane { animation: none !important; transition: none !important; }
}
@media (max-width: 1100px) { .tour .inbox-list { display: none; } }
@media (max-width: 760px) {
  /* Only the current step keeps its words. */
  .tour-steps { flex: 1 1 100%; order: 3; gap: 0.5rem; }
  .tour-steps li:not([aria-current]) { gap: 0; font-size: 0; }
  .tour .inbox { flex-direction: column; }
  .tour .inbox-side { border-inline-start: 0; border-block-start: 1px solid var(--s-line); }
  .tour .composer { height: auto; }
  .tour-shop { padding: 1rem; min-height: 0; }
  .tour-product-pic { flex-basis: 6rem; height: 7rem; }
  .tour-widget { position: static; display: block; width: auto; margin: 1rem; }
  .tour-site { min-height: 0; }
  .tour .inbox { min-height: 0; }
  .tour-done { min-height: 0; padding: 2rem 1.25rem; }
  .tour-guide { font-size: 0.875rem; }
}

/* Key facts under the hero */
.facts { padding: 0; margin-block-start: 4.5rem; background: var(--subtle); border-block: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 0 auto; padding-block: 0; list-style: none; }
.facts li { display: flex; gap: 0.875rem; padding: 2rem 1.5rem; }
.facts b { display: block; }
.facts li span:last-child > span { color: var(--muted); font-size: 0.875rem; }
.icon-tile { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 0.625rem; background: var(--accent); color: var(--primary); }
.icon-tile svg { width: 1.25rem; height: 1.25rem; }
.icon-tile.lg { width: 3rem; height: 3rem; border-radius: 0.875rem; background: var(--primary); color: var(--primary-fg); }
.icon-tile.lg.soft { background: var(--accent); color: var(--primary); }

/* Home: feature rows, picture beside the words */
.showcase { display: flex; flex-direction: column; gap: 7.5rem; padding-block-end: 2.5rem; }
.showcase .section-head { margin-block-end: -1rem; }
.show-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; }
.show-row.flip { flex-wrap: wrap-reverse; }
.show-text { display: flex; flex: 1 1 25rem; flex-direction: column; gap: 1.125rem; }
.show-text h3 { font-size: clamp(1.625rem, 3vw, 2.125rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.025em; }
.show-text p:not(.eyebrow) { color: var(--muted); font-size: 1.0625rem; }
.points { display: flex; flex-direction: column; gap: 0.75rem; margin: 0.375rem 0 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 0.625rem; }
.points svg { flex: none; width: 1.25rem; height: 1.25rem; margin-block-start: 0.15rem; color: var(--primary); }
.show-pic { display: flex; flex: 1 1 28.75rem; justify-content: center; padding: 2.5rem; border-radius: 1.5rem; background: var(--tint); }
.show-pic.dark { background: var(--ink); }
.pic-card { display: flex; flex-direction: column; gap: 1.125rem; width: 100%; max-width: 23.75rem; padding: 1.375rem; border: 1px solid var(--s-border); border-radius: 1rem; background: var(--s-card); box-shadow: 0 20px 40px -20px rgb(30 27 75 / 25%); font-size: 0.875rem; }
.pic-card .who .ava { width: 3rem; height: 3rem; }
.pic-card .who b { font-size: 1rem; }
.pic-card .who small { font-size: 0.8125rem; }
.pic-card dl { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: 0.625rem 0; margin: 0; font-size: 0.8125rem; }
.pic-card dt { color: var(--s-muted); }
.pic-card dd { margin: 0; }
.pic-card .trail { padding-block-start: 0.875rem; border-block-start: 1px solid #f1f1f5; font-size: 0.8125rem; }
.pic-card .trail li { color: #55556a; }
.pic-card .trail li.live { color: var(--s-fg); font-weight: 500; }
.pic-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.chip { padding: 0.125rem 0.625rem; border-radius: 999px; font-size: 0.75rem; }
.chip.amber { background: #fef3c7; color: #92400e; }
.chip.indigo { background: #eef0ff; color: #3730a3; }
.pic-stack { display: flex; flex-direction: column; gap: 0.875rem; width: 100%; max-width: 23.75rem; }
.pic-card > small { color: var(--s-muted); font-size: 0.8125rem; font-weight: 600; }
.lead { display: flex; align-items: center; gap: 0.625rem; }
.lead b { flex: 1; min-width: 0; overflow: hidden; color: var(--s-fg); font-size: 0.8125rem; text-overflow: ellipsis; white-space: nowrap; }
.lead small { flex: none; color: #55556a; font-size: 0.75rem; }
.tag.info { background: #eef0ff; color: #3730a3; }
.ask-email { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.875rem; border-radius: 0.75rem; background: var(--s-accent); }
.ask-email .field { padding: 0.4rem 0.625rem; border: 1px solid var(--s-border); border-radius: 0.5rem; background: var(--s-card); color: var(--s-muted); }
.pic-card > .msg { align-self: flex-start; }
.push { display: flex; gap: 0.75rem; margin-inline-start: 2.5rem; padding: 0.875rem 1rem; border-radius: 1rem; background: var(--s-card); box-shadow: 0 12px 30px -12px rgb(30 27 75 / 30%); font-size: 0.8125rem; }
.push b { display: block; color: var(--s-fg); }
.push-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.5rem; background: var(--s-primary); color: #fff; }
.push-icon svg { width: 1rem; height: 1rem; }
.settings { gap: 0.875rem; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.swatches { display: flex; gap: 0.5rem; }
.swatches i { width: 1.375rem; height: 1.375rem; border-radius: 50%; }
.swatches i.on { box-shadow: 0 0 0 2px var(--s-card), 0 0 0 4px var(--s-fg); }
.sw1 { background: #4f46e5; } .sw2 { background: #0d9488; } .sw3 { background: #e11d48; } .sw4 { background: #f59e0b; }
.seg { display: flex; padding: 0.125rem; border-radius: 0.5rem; background: #f1f1f5; font-size: 0.75rem; }
.seg i { padding: 0.15rem 0.625rem; border-radius: 0.375rem; color: var(--s-muted); font-style: normal; }
.seg i.on { background: var(--s-card); color: var(--s-fg); box-shadow: 0 1px 2px rgb(0 0 0 / 10%); }
.switch { position: relative; flex: none; width: 2.25rem; height: 1.25rem; border-radius: 999px; background: #dcdce6; }
.switch::after { content: ""; position: absolute; inset-block-start: 0.125rem; inset-inline-start: 0.125rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; }
.switch.on { background: var(--s-primary); }
.switch.on::after { inset-inline-start: 1.125rem; }
.show-text .more { color: var(--primary); font-weight: 600; text-decoration: none; }
.pic-note { margin-inline-start: 2.5rem; padding: 0.875rem 1rem; border: 1px dashed #f59e0b; border-radius: 0.875rem; background: #fffbeb; color: #78350f; font-size: 0.875rem; }
.pic-note b { display: block; font-size: 0.75rem; }
.cipher { display: flex; flex-direction: column; gap: 0.875rem; width: 100%; max-width: 25rem; font-size: 0.875rem; }
.cipher .msg { align-self: flex-start; max-width: 100%; border: 0; color: oklch(0.2 0.012 286); }
.cipher-key { display: flex; align-items: center; gap: 0.75rem; color: var(--ink-accent); font-size: 0.8125rem; }
.cipher-key::before, .cipher-key::after { content: ""; flex: 1; height: 1px; background: var(--ink-line); }
.cipher-key span { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.3rem 0.75rem; border: 1px solid var(--ink-line); border-radius: 999px; }
.cipher-key svg { width: 1rem; height: 1rem; }
.cipher code { padding: 0.875rem; border: 1px solid var(--ink-line); border-radius: 0.75rem; background: var(--ink-2); color: var(--ink-muted); font: 0.75rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.cipher p { color: var(--ink-muted); font-size: 0.8125rem; }

/* Home: more reasons, a ruled grid */
.reasons { padding-block: 2.5rem 7rem; }
.ruled { display: grid; grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--line); }
.ruled > div { display: flex; flex-direction: column; gap: 0.625rem; padding: 2rem; background: var(--card); }
.ruled svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.ruled b { font-size: 1.0625rem; }
.ruled p { color: var(--muted); font-size: 0.9375rem; }

/* Steps */
.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--card); counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin-block-end: 0.5rem; border-radius: 0.75rem; background: var(--primary); color: var(--primary-fg); font-weight: 700; }
.steps b { font-size: 1.25rem; }
.steps span { color: var(--muted); font-size: 0.9375rem; }
/* The middle step holds the code, so it gets the room. */
@media (min-width: 960px) { .steps { grid-template-columns: 1fr 1.6fr 1fr; } }
code.snippet { display: block; margin-block-start: 0.25rem; padding: 0.875rem 1rem; border-radius: 0.75rem; background: oklch(0.2 0.012 286); color: oklch(0.86 0.06 277); font: 0.78125rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; overflow-x: auto; }

/* FAQ: native <details>, so answers stay in the HTML for search engines. */
.faq-split { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.faq-split > div:first-child { display: flex; flex-direction: column; align-items: center; gap: 0.875rem; max-width: 40rem; text-align: center; }
.faq-split h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); line-height: 1.2; font-weight: 750; letter-spacing: -0.03em; }
.faq-split p a { color: var(--primary); font-weight: 600; text-decoration: none; }
.faq-list { display: flex; flex-direction: column; width: 100%; max-width: 48rem; min-width: 0; border-block-start: 1px solid var(--border); }
.faq-list details { padding-block: 1.375rem; border-block-end: 1px solid var(--border); }
.faq-list summary, .faq-grid summary { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.0625rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary { font-size: 1.125rem; }
.faq-list summary::-webkit-details-marker, .faq-grid summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .faq-grid summary::after { content: "+"; flex: none; color: var(--muted); font-size: 1.375rem; font-weight: 300; line-height: 1.2; }
.faq-list details[open] summary::after, .faq-grid details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 42.5rem; margin-block-start: 0.75rem; color: var(--muted); }
.faq-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 27.5rem), 1fr)); align-items: start; }
.faq-grid details { padding: 1.375rem 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--card); }
.faq-grid.soft details { border-color: var(--line); background: var(--subtle); }
.faq-grid details p { margin-block-start: 0.625rem; color: var(--muted); font-size: 0.9375rem; }

/* Closing call to action */
.cta-section { padding-block: 0 7rem; }
.cta-band { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; overflow: hidden; padding: 5rem 2.5rem; border: 1px solid transparent; border-radius: 1.75rem; background: var(--ink); color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.08; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(black, transparent); }
@media (prefers-color-scheme: dark) { .cta-band, .show-pic.dark, .dark-band { border-color: var(--border); } }
.cta-band h2 { max-width: 45rem; font-size: clamp(1.875rem, 4.4vw, 2.75rem); line-height: 1.2; font-weight: 750; letter-spacing: -0.03em; }
.cta-band p { max-width: 35rem; color: var(--ink-muted); font-size: 1.125rem; text-wrap: balance; }
.cta-band .cta-row { margin-block-start: 0.75rem; }

/* Features page */
.areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; margin-block-start: 1.25rem; }
.areas a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding-inline: 1.125rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.areas a:hover { border-color: color-mix(in oklab, var(--primary) 35%, var(--border)); color: var(--primary); }
.areas svg { width: 1rem; height: 1rem; color: var(--primary); }
.area { scroll-margin-block-start: 5rem; }
.area-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem 4rem; margin-block-end: 3rem; }
.area-head > div { display: flex; flex: 1 1 26rem; flex-direction: column; gap: 0.875rem; }
.area-head .lead { flex: 1 1 26rem; }
.area-split { display: flex; flex-wrap: wrap; gap: 3rem 5rem; }
.area-split > div:first-child { display: flex; flex: 1 1 21rem; flex-direction: column; gap: 0.875rem; }
.area h2 { font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.2; font-weight: 750; letter-spacing: -0.03em; }
.cards { display: grid; flex: 2 1 35rem; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 0; padding: 0; list-style: none; }
.cards li { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.625rem; border: 1px solid var(--border); border-radius: 1.125rem; background: var(--card); transition: border-color 0.2s; }
.cards li:hover { border-color: color-mix(in oklab, var(--primary) 30%, var(--border)); }
.cards svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.cards b { font-size: 1.0625rem; }
.cards span { color: var(--muted); font-size: 0.9375rem; }
.dark-band { border: 1px solid transparent; background: var(--ink); color: #fff; }
.dark-band .lead { color: var(--ink-muted); }
.dark-band .icon-tile.lg { background: #fff; color: oklch(0.2 0.012 286); }
.dark-band .cards li { border-color: var(--ink-line); background: var(--ink-2); }
.dark-band .cards svg { color: var(--ink-accent); }
.dark-band .cards span { color: var(--ink-muted); }
.stage { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 2rem; margin-block-end: 1.5rem; padding: 3rem; border-radius: 1.5rem; background: var(--tint); }
.stage .widget { position: static; flex: 0 1 18.75rem; width: auto; box-shadow: 0 24px 48px -20px rgb(30 27 75 / 30%); }
.photo { align-self: flex-end; display: flex; align-items: center; justify-content: center; width: 8.75rem; height: 5.625rem; border-radius: 0.625rem; background: #e9e9ef; color: var(--s-muted); font-size: 0.75rem; }
.offline { display: flex; flex: 1 1 30rem; flex-direction: column; gap: 0.75rem; max-width: 38.75rem; padding: 1.25rem; border: 1px solid var(--s-border); border-radius: 1.125rem; background: var(--s-card); box-shadow: 0 24px 48px -20px rgb(30 27 75 / 30%); }
.offline > div:first-child { display: flex; align-items: center; gap: 0.5rem; }
.offline > div:first-child b { font-size: 0.9375rem; }
.offline-item { display: flex; gap: 0.75rem; padding: 0.75rem; border: 1px solid var(--s-line); border-radius: 0.75rem; }
.offline-item .ava { width: 2.125rem; height: 2.125rem; }
.offline-item > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 0.125rem; }
.offline-item small { color: var(--s-muted); font-weight: 400; }
.offline-item > span:nth-child(2) > span { color: #55556a; }
.offline-item > span:last-child { align-self: center; padding: 0.3rem 0.625rem; border: 1px solid #e2e2e8; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 500; white-space: nowrap; }
.duo { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26.25rem), 1fr)); }
.duo > article { display: flex; flex-direction: column; gap: 1.5rem; padding: 2.5rem; border: 1px solid var(--border); border-radius: 1.5rem; scroll-margin-block-start: 5rem; }
.duo > article > div:first-child { display: flex; flex-direction: column; gap: 0.75rem; }
.duo h2 { font-size: 1.875rem; font-weight: 750; letter-spacing: -0.025em; }
.duo .points { gap: 1.125rem; }
.duo .points span { color: var(--muted); font-size: 0.9375rem; }
.duo .points b { color: var(--fg); font-size: 1rem; }
.duo .more { margin-block-start: auto; color: var(--primary); font-weight: 600; text-decoration: none; }
.duo code.snippet { margin-block-start: auto; }
@media (max-width: 600px) { .stage, .show-pic, .duo > article { padding: 1.5rem; } .show-pic { padding-inline: 0.75rem; } .pic-note, .push { margin-inline-start: 1rem; } section { padding-block: 4.5rem; } }

/* Pricing: the period radios switch prices with CSS alone. */
.pricing-head { padding-block-end: 3rem; }
.pricing { display: flex; flex-direction: column; align-items: center; }
.period-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem; margin: 0 auto 3rem; padding: 0.3rem; border: 0; border-radius: 0.875rem; background: color-mix(in oklab, var(--tint) 70%, var(--line)); }
.period-switch label { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.625rem; padding-inline: 1.125rem; border-radius: 0.625rem; color: var(--muted); font-size: 0.9375rem; cursor: pointer; }
.period-switch input { position: absolute; opacity: 0; pointer-events: none; }
.period-switch input:checked + label { background: var(--card); color: var(--fg); font-weight: 600; box-shadow: 0 1px 3px oklch(0.2 0.02 268 / 12%); }
.period-switch input:focus-visible + label { outline: 2px solid var(--primary); }
@media (max-width: 480px) { .period-switch { flex-wrap: nowrap; } .period-switch label { flex-direction: column; gap: 0.125rem; padding-block: 0.375rem; padding-inline: 0.75rem; font-size: 0.875rem; } }
.currency-switch { display: flex; gap: 0.25rem; margin: -1.5rem auto 1.5rem; font-size: 0.875rem; }
.currency-switch a { padding: 0.25rem 0.75rem; border-radius: 999px; color: var(--muted); text-decoration: none; }
.currency-switch a[aria-current] { background: var(--card); color: var(--fg); font-weight: 600; box-shadow: 0 1px 3px oklch(0.2 0.02 268 / 12%); }
.save { padding: 0.125rem 0.5rem; border-radius: 999px; background: oklch(0.95 0.05 155); color: oklch(0.42 0.1 155); font-size: 0.75rem; font-weight: 600; }
@media (prefers-color-scheme: dark) { .save { background: oklch(0.35 0.07 155); color: oklch(0.9 0.08 155); } }
.price-for { display: none; }
.pricing:has(#period-monthly:checked) .price-for.monthly,
.pricing:has(#period-quarterly:checked) .price-for.quarterly,
.pricing:has(#period-yearly:checked) .price-for.yearly { display: block; }
.plans { display: grid; gap: 1rem; width: 100%; grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem 1.75rem; border: 1px solid var(--border); border-radius: 1.375rem; background: var(--card); }
.plan.featured { border-color: transparent; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -20px rgb(30 27 75 / 45%); }
@media (prefers-color-scheme: dark) { .plan.featured { border-color: var(--primary); } }
.plan .badge { position: absolute; inset-block-start: 1.5rem; inset-inline-end: 1.5rem; padding: 0.25rem 0.625rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 600; }
.plan h3 { font-size: 1.25rem; }
.plan-desc { margin-block-start: 0.25rem; color: var(--muted); font-size: 0.875rem; }
.price-box { min-height: 4.75rem; }
.amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.per { color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.equiv { min-height: 1.4em; margin-block-start: 0.375rem; color: var(--muted); font-size: 0.8125rem; }
.plan.featured .plan-desc, .plan.featured .per, .plan.featured .equiv { color: var(--ink-muted); }
.plan .btn { min-height: 2.875rem; border-radius: 0.75rem; }
.plan.featured .btn-primary { background: var(--brand); color: #fff; }
.buy-direct { display: block; margin-block-start: 0.625rem; color: var(--ink-muted); font-size: 0.8125rem; text-align: center; }
.buy-direct:hover { color: #fff; }
.plan .checks { display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 1.25rem 0 0; border-block-start: 1px solid var(--line); list-style: none; font-size: 0.9375rem; }
.plan.featured .checks { border-color: var(--ink-line); }
.plan .checks li { display: flex; gap: 0.625rem; }
.plan .checks svg { flex: none; width: 1rem; height: 1rem; margin-block-start: 0.25rem; color: var(--primary); }
.plan.featured .checks svg { color: var(--ink-accent); }
.pricing-note { margin-block-start: 1.75rem; }
.pricing-trial { margin-block-start: 0.75rem; font-size: 0.875rem; }
.compare-section { padding-block: 7rem 0; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 1.25rem; }
table.compare { width: 100%; min-width: 47.5rem; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 0.875rem 0.75rem; text-align: center; }
.compare thead th { padding-block: 1.25rem; background: var(--subtle); font-weight: 600; }
.compare thead th:first-child { width: 28%; }
.compare thead th.hi { background: var(--accent); color: color-mix(in oklab, var(--primary) 80%, var(--fg)); font-weight: 700; }
.compare th[scope="row"] { padding-inline-start: 1.75rem; font-weight: 500; text-align: start; }
.compare th[scope="colgroup"] { padding: 1.75rem 1.75rem 0.625rem; color: var(--muted); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-align: start; }
.compare tbody tr + tr:not(.group) { border-block-start: 1px solid var(--line); }
.compare tbody tr:not(.group):hover > * { background: var(--subtle); }
.compare td.hi { background: color-mix(in oklab, var(--accent) 45%, var(--card)); font-weight: 600; }
.compare td { font-variant-numeric: tabular-nums; }
.compare svg { width: 1.25rem; height: 1.25rem; margin-inline: auto; color: var(--primary); }
.compare .no { color: var(--border); }

/* A list with a tick before each line (checkout summary). */
.checks { display: grid; gap: 0.875rem; margin: 0; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; }
.checks svg { width: 1.25rem; height: 1.25rem; margin-block-start: 0.15rem; color: var(--success); }

/* Sign-up and checkout */
/* Same look as the console's sign-in pages: a brand panel beside the form card. */
.checkout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); width: calc(100% - 3rem); max-width: 64rem; margin-block: 3rem 5rem; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 1.5rem; background: var(--card); box-shadow: var(--shadow); }
.summary { display: flex; flex-direction: column; gap: 0.75rem; padding: 2.5rem; background: var(--brand-panel); color: #fff; }
.summary .eyebrow { color: rgb(255 255 255 / 75%); }
.summary h2 { font-size: 1.75rem; line-height: 1.2; }
.summary .muted, .summary .per, .summary .equiv { color: rgb(255 255 255 / 80%); }
.summary .fine { color: rgb(255 255 255 / 85%); }
.summary .checks { margin-block-start: 1rem; gap: 0.875rem; font-size: 0.9375rem; color: rgb(255 255 255 / 90%); }
.summary .checks li { grid-template-columns: 1.75rem 1fr; align-items: center; }
.summary .checks span { color: inherit; }
.summary .checks svg { width: 1.75rem; height: 1.75rem; margin: 0; padding: 0.4rem; border-radius: 0.5rem; background: rgb(255 255 255 / 12%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 20%); color: #fff; }
.summary-foot { display: inline-flex; align-items: center; gap: 0.5rem; margin-block-start: auto; padding-block-start: 2rem; color: rgb(255 255 255 / 75%); font-size: 0.8125rem; }
.summary-foot svg { width: 0.9rem; height: 0.9rem; }
.checkout-main { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; width: 100%; max-width: 30rem; margin-inline: auto; padding: 3rem 2.5rem; }
.checkout-main h1 { font-size: 1.5rem; }
.checkout-main .tabs { align-self: stretch; }
.checkout-main .tabs button { flex: 1; }
@media (max-width: 860px) {
  .checkout { grid-template-columns: 1fr; width: 100%; margin-block: 0; padding: 1.5rem 1rem 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .summary { padding: 2rem 1.5rem; border-radius: 1rem; }
  /* Like the console, keep the form near the top on phones. */
  .summary .checks, .summary-foot { display: none; }
  .checkout-main { padding: 2rem 0; }
}
.step { display: flex; flex-direction: column; gap: 1.25rem; }
.step[hidden] { display: none; }
.tabs { display: inline-flex; gap: 0.25rem; align-self: flex-start; padding: 0.25rem; border-radius: 0.75rem; background: var(--subtle); }
.tabs button { padding: 0.5rem 1rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--muted); font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: 0 1px 2px oklch(0 0 0 / 10%); }
.form { display: flex; flex-direction: column; gap: 1rem; }
.form[hidden], .code-part[hidden] { display: none; }
.code-part { display: flex; flex-direction: column; gap: 1rem; }
.totp-part { display: flex; flex-direction: column; gap: 1rem; }
.quote-price { display: flex; flex-direction: column; align-items: flex-end; }
.coupon { display: flex; flex-direction: column; gap: 0.375rem; }
.coupon-row { display: flex; gap: 0.5rem; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon .fine[hidden], .field[hidden] { display: none; }
.totp-part[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.875rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 2.75rem; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 0.625rem; background: var(--card); color: var(--fg); font: inherit; font-size: 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid color-mix(in oklab, var(--primary) 40%, transparent); border-color: var(--primary); }
.field small { font-weight: 400; }
.error-box { padding: 0.75rem 1rem; border-radius: 0.625rem; background: oklch(0.6 0.2 25 / 10%); color: oklch(0.55 0.2 25); font-size: 0.9375rem; }
.error-box[hidden] { display: none; }
.quote { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.quote-amount { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.pay-options, .soon { display: flex; flex-direction: column; gap: 1rem; }
.pay-options[hidden], .soon[hidden] { display: none; }
.soon { align-items: flex-start; padding: 1.25rem; border-radius: var(--radius); background: var(--subtle); }
.pay-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.9375rem; }
.status { padding: 0.15rem 0.625rem; border-radius: 999px; background: oklch(0.85 0.15 85 / 30%); font-weight: 500; }
.epay { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.pay-grid { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.qr { width: 10rem; height: 10rem; padding: 0.5rem; border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; }
.qr svg { width: 100%; height: 100%; }
.pay-fields { display: flex; flex-direction: column; gap: 1rem; }
.copy-field { display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.8125rem; }
.copy-field div { display: flex; gap: 0.5rem; align-items: center; }
.copy-field code { flex: 1; min-width: 0; padding: 0.5rem 0.75rem; border-radius: 0.5rem; background: var(--subtle); font: 0.875rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; user-select: all; }
.warning { padding: 0.75rem 1rem; border-radius: 0.625rem; background: oklch(0.85 0.15 85 / 25%); font-size: 0.875rem; }
@media (max-width: 600px) { .pay-grid { grid-template-columns: 1fr; } }
.epay[hidden], .pay-grid[hidden], .warning[hidden] { display: none; }
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.done[hidden], .report form[hidden] { display: none; }
.done-icon { display: inline-flex; padding: 0.75rem; border-radius: 50%; background: color-mix(in oklab, var(--success) 15%, transparent); color: var(--success); }
.done-icon svg { width: 1.75rem; height: 1.75rem; }

/* Blog */
.blog { padding-block: 4rem 3rem; }
.blog-head { display: flex; flex-direction: column; align-items: center; gap: 0.875rem; max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.blog-head h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); }
.blog-search { display: flex; gap: 0.5rem; width: min(100%, 26rem); margin-block-start: 0.5rem; }
.blog-search input { flex: 1; min-width: 0; min-height: 2.25rem; padding: 0.4rem 0.875rem; border: 1px solid var(--border); border-radius: 0.625rem; background: var(--card); color: var(--fg); font: inherit; font-size: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-block-end: 2.5rem; }
.chips a { padding: 0.35rem 0.875rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 0.875rem; text-decoration: none; }
.chips a:hover { color: var(--fg); }
.chips a[aria-current] { border-color: transparent; background: var(--primary); color: var(--primary-fg); }
.blog-empty { padding-block: 3rem; text-align: center; }
.post-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); margin: 0; padding: 0; list-style: none; }
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 1rem; background: var(--card); transition: box-shadow 0.2s, transform 0.2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--subtle); }
.post-card-body { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.25rem 1.375rem 1.5rem; }
.post-card h2 { font-size: 1.1875rem; line-height: 1.35; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card p.muted { font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.375rem; color: var(--muted); font-size: 0.8125rem; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-start: 3rem; font-size: 0.875rem; }

.post { max-width: 46rem; padding-block: 3rem 4rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-end: 1.5rem; color: var(--muted); font-size: 0.875rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.post-head { display: flex; flex-direction: column; gap: 1rem; margin-block-end: 2rem; }
.post-head h1 { font-size: clamp(2rem, 4.5vw, 2.625rem); line-height: 1.2; }
.post-cover { width: 100%; margin-block-end: 2.5rem; border-radius: 1rem; aspect-ratio: 16 / 9; object-fit: cover; background: var(--subtle); }
.prose { font-size: 1.0625rem; line-height: 1.75; overflow-wrap: break-word; }
.prose > * + * { margin-block-start: 1.25em; }
.prose h2 { margin-block-start: 2em; font-size: 1.5rem; line-height: 1.3; scroll-margin-block-start: 5rem; }
.prose h3 { margin-block-start: 1.75em; font-size: 1.1875rem; scroll-margin-block-start: 5rem; }
.prose h4 { margin-block-start: 1.5em; font-size: 1rem; }
.prose a { color: var(--primary); text-underline-offset: 0.2em; }
.prose ul, .prose ol { padding-inline-start: 1.5em; }
.prose li + li { margin-block-start: 0.375em; }
.prose blockquote { margin-inline: 0; padding-inline-start: 1.25em; border-inline-start: 3px solid var(--border); color: var(--muted); }
.prose img { height: auto; border-radius: 0.75rem; }
.prose hr { border: 0; border-block-start: 1px solid var(--border); }
.prose code { padding: 0.15em 0.4em; border-radius: 0.375rem; background: var(--subtle); font: 0.875em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.prose pre { overflow-x: auto; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--subtle); }
.prose pre code { padding: 0; background: none; font-size: 0.875rem; }
.prose table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { padding: 0.5rem 0.875rem; border: 1px solid var(--border); text-align: start; }
.prose th { background: var(--subtle); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.tags a { padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--subtle); color: var(--muted); font-size: 0.875rem; text-decoration: none; }
.tags a:hover { color: var(--fg); }
.post-cta { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-block-start: 3.5rem; padding: 2.5rem 1.5rem; border-radius: 1.25rem; background: var(--brand-panel); color: #fff; text-align: center; }
.post-cta p { max-width: 30rem; color: rgb(255 255 255 / 85%); }
.post-cta .cta-row { margin-block-start: 0.5rem; }
.post-cta .btn-primary { background: #fff; color: var(--brand); }
.post-cta .btn-outline { border-color: rgb(255 255 255 / 35%); background: transparent; color: #fff; }
@media (max-width: 600px) { .blog { padding-block-start: 2.5rem; } .post { padding-block-start: 2rem; } }

/* Abuse report */
.report { max-width: 40rem; padding-block: 4rem; }
.report-head { display: flex; flex-direction: column; gap: 0.75rem; margin-block-end: 2rem; }
.report-head h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.report-card { padding: 2rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--card); box-shadow: var(--shadow); }
.field textarea { resize: vertical; line-height: 1.5; }
.field small { font-weight: 400; }
@media (max-width: 600px) { .report { padding-block: 2.5rem; } .report-card { padding: 1.25rem; } }

/* Plain pages (404) */
.plain { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-block: 7rem; text-align: center; }
.plain h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* Footer */
.site-footer { padding-block: 4rem 2rem; border-block-start: 1px solid var(--line); background: var(--subtle); color: var(--muted); font-size: 0.875rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-grid .brand { color: var(--fg); font-size: 1.0625rem; }
.footer-blurb { margin-block-start: 0.875rem; max-width: 17.5rem; }
[dir="rtl"] .rtl-flip svg { transform: scaleX(-1); }
.rtl-flip { display: inline-flex; }
.footer-grid h2 { margin-block-end: 0.875rem; color: var(--fg); font-size: 0.8125rem; letter-spacing: 0; }
.footer-grid ul { display: grid; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover, .site-footer a[aria-current] { color: var(--fg); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-block-start: 3rem; padding-block-start: 1.5rem; border-block-start: 1px solid var(--border); font-size: 0.8125rem; }
.footer-bottom nav { display: flex; gap: 1rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a[aria-current] { font-weight: 600; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
