/*
 * 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: 60rem; 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; flex: none; white-space: nowrap; }
.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; }
.lang-menu { position: relative; }
.lang-menu summary { display: inline-flex; align-items: center; gap: 0.4375rem; padding: 0.375rem 0.5rem; border-radius: 0.5rem; color: color-mix(in oklab, var(--fg) 80%, var(--muted)); font-size: 0.875rem; font-weight: 500; white-space: nowrap; cursor: pointer; list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--fg); background: var(--subtle); }
.lang-menu-chevron { width: 0.875rem; height: 0.875rem; transition: transform 0.15s; }
.lang-menu[open] .lang-menu-chevron { transform: rotate(180deg); }
.lang-menu-list { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 0.375rem); z-index: 6; min-width: 11rem; margin: 0; padding: 0.375rem; list-style: none; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--card); box-shadow: var(--shadow); }
.lang-menu-list a { display: flex; align-items: center; gap: 0.625rem; padding: 0.5rem 0.625rem; border-radius: 0.5rem; color: var(--fg); font-size: 0.875rem; text-decoration: none; white-space: nowrap; }
.lang-menu-list a:hover { background: var(--subtle); }
.lang-menu-list a[aria-current] { font-weight: 600; color: var(--primary); }
.flag { flex: none; width: 1.25rem; height: auto; aspect-ratio: 3 / 2; border-radius: 2px; box-shadow: 0 0 0 1px oklch(0 0 0 / 12%); }
.lang-menu .lucide, .lang-menu summary > svg:not(.flag):not(.lang-menu-chevron) { width: 1rem; height: 1rem; }
/* 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; }
}
/* Phones keep brand and buttons on one row: the flag alone, named by its label. */
@media (max-width: 480px) {
  .header-actions { gap: 0.25rem; }
  .lang-menu-name { 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 { text-wrap: balance; font-size: clamp(2.5rem, 7vw, 4.25rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { display: inline-block; font-style: normal; color: var(--primary); text-wrap: balance; }
.hero .lead { max-width: 72rem; 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; }
.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; } }

/*
 * "How it works" (how.templ, how.js). Pictures are drawn in HTML. Inside a
 * .scene, each .a appears at --i × 0.6 s once how.js adds .play; without
 * JavaScript or with reduced motion every picture shows finished.
 */
.hero h1.long { font-size: clamp(2.125rem, 5.5vw, 4.25rem); }
.hero h1.long + .lead { margin-block-start: -0.25rem; }
.video-note { margin-block: -0.25rem 0.75rem; font-size: 0.9375rem; }
.video-note a { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--primary); font-weight: 600; text-decoration: none; }
.video-note a:hover { text-decoration: underline; }
.video-note svg { width: 1.125rem; height: 1.125rem; }
.hero .how { margin-block-start: 2.5rem; }
.how-section { display: flex; flex-direction: column; align-items: center; width: 100%; }
.how-section .section-head .lead { color: var(--muted); }
.how-section > .more { margin-block-start: 1.75rem; color: var(--primary); font-weight: 600; text-decoration: none; }
.how-section > .more:hover { text-decoration: underline; }

/* The four steps: tabs beside the stage */
.how { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 2rem; align-items: start; width: 100%; max-width: 69rem; text-align: start; scroll-margin-block-start: 5.5rem; }
.how-tabs { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.how-tabs button { position: relative; display: flex; gap: 0.875rem; width: 100%; overflow: hidden; padding: 1rem 1.125rem; border: 1px solid transparent; border-radius: 1rem; background: transparent; color: var(--fg); font: inherit; text-align: start; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; }
html.js .how-tabs button:hover { background: var(--subtle); }
.how-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 0.625rem; background: var(--accent); color: var(--primary); font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color 0.2s, color 0.2s; }
.how-tab-text { display: flex; flex-direction: column; gap: 0.125rem; }
.how-tab-text b { font-size: 1.0625rem; }
.how-tab-text small { color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.how-bar { position: absolute; inset-inline: 0; inset-block-end: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; }
html.js .how-tabs [aria-selected="true"] { border-color: var(--border); background: var(--card); box-shadow: var(--shadow); }
html.js .how-tabs [aria-selected="true"] .how-num, .how-tabs .is-done .how-num { background: var(--primary); color: var(--primary-fg); }
html.js .how-tabs [aria-selected="false"] .how-tab-text small { display: none; }
.how.auto [aria-selected="true"] .how-bar { animation: how-progress var(--how-ms, 9s) linear both; }
.how.paused .how-bar { animation-play-state: paused; }
.how-stage { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
html.js .how.ready .how-pane[hidden] { display: none; }
.how-window { width: 100%; }
.how-body { display: grid; place-items: center; min-height: 25rem; padding: 1.5rem; background: var(--s-bg); }

/* Console-like pieces inside the pictures */
.how-card { display: flex; flex-direction: column; gap: 0.5rem; width: min(100%, 26rem); padding: 1.375rem; border: 1px solid var(--s-border); border-radius: 1rem; background: var(--s-card); box-shadow: 0 20px 40px -24px rgb(30 27 75 / 30%); }
.how-card.wide { width: min(100%, 32rem); }
.how-h { font-size: 1.0625rem; }
.how-sub { font-size: 0.8125rem; }
.how-muted { color: var(--s-muted); }
.how-label { margin-block-start: 0.375rem; color: var(--s-muted); font-size: 0.75rem; font-weight: 500; }
.how-field { display: flex; align-items: center; min-height: 2.375rem; padding: 0.375rem 0.75rem; border: 1px solid #dcdce6; border-radius: 0.5rem; background: #fff; }
.how-field.tall { align-items: flex-start; min-height: 3.75rem; }
.how-field .type { display: inline-block; }
.how-code { display: flex; gap: 0.375rem; }
.how-code i { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.5rem; border: 1px solid #dcdce6; border-radius: 0.5rem; background: #fff; font-size: 1rem; font-style: normal; font-weight: 600; }
.how-btn { display: flex; align-items: center; justify-content: center; min-height: 2.375rem; margin-block-start: 0.5rem; padding: 0.375rem 1rem; border-radius: 0.5rem; background: var(--s-primary); color: #fff; font-weight: 600; }
.how-btn.small { align-self: flex-start; min-height: 2rem; margin: 0; font-size: 0.75rem; }
.how-ok { display: flex; align-items: center; gap: 0.375rem; color: #15803d; font-weight: 600; }
.how-ok svg { flex: none; width: 1rem; height: 1rem; }
.how-stepper { display: flex; flex-wrap: wrap; gap: 0.25rem 0.875rem; margin: 0 0 0.5rem; padding: 0 0 0.75rem; border-block-end: 1px solid var(--s-line); list-style: none; color: var(--s-muted); font-size: 0.75rem; }
.how-stepper li { display: flex; align-items: center; gap: 0.3rem; }
.how-stepper span { display: inline-flex; align-items: center; justify-content: center; width: 1.125rem; height: 1.125rem; border: 1px solid var(--s-border); border-radius: 50%; font-size: 0.625rem; }
.how-stepper .now { color: var(--s-fg); font-weight: 600; }
.how-stepper .now span, .how-stepper .is-done span { border-color: var(--s-primary); background: var(--s-primary); color: #fff; }
.how-platforms { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.how-platforms span { padding: 0.125rem 0.625rem; border: 1px solid var(--s-border); border-radius: 999px; color: var(--s-muted); font-size: 0.75rem; }
.how-platforms .on { border-color: var(--s-primary); background: var(--s-accent); color: var(--s-primary); font-weight: 600; }
.how-snippet { position: relative; display: block; padding: 0.875rem 1rem; padding-inline-end: 5rem; border-radius: 0.75rem; background: oklch(0.2 0.012 286); }
.how-snippet code { display: block; overflow-x: auto; color: oklch(0.86 0.06 277); font: 0.71875rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }
.how-copy { position: absolute; inset-block-start: 0.625rem; inset-inline-end: 0.625rem; display: grid; padding: 0.125rem 0.625rem; border-radius: 0.375rem; background: rgb(255 255 255 / 12%); color: #fff; font-size: 0.6875rem; font-weight: 600; }
.how-copy > span { grid-area: 1 / 1; text-align: center; }
.how-copy .swap-a { opacity: 0; }
.how-wait { display: flex; align-items: center; gap: 0.5rem; color: var(--s-muted); }
.spin { width: 0.875rem; height: 0.875rem; border: 2px solid #dcdce6; border-block-start-color: var(--s-primary); border-radius: 50%; animation: how-spin 0.8s linear infinite; }
.scene .gone { display: none; }

/* Step 4: a shop with the chat window and the agent's notification */
.how-site { position: relative; width: 100%; min-height: 22rem; }
.how-shop { display: flex; flex-direction: column; gap: 0.625rem; width: 55%; }
.how-shop b { font-size: 1rem; }
.how-shop-pic { height: 9rem; border-radius: 0.75rem; background: linear-gradient(135deg, #e8e2d6, #cfc5b1); }
.how-line { height: 0.625rem; border-radius: 999px; background: #e7e7ec; }
.how-line.short { width: 60%; }
.how-widget { position: absolute; inset-inline-end: 0; inset-block-end: 0; width: 17rem; overflow: hidden; border: 1px solid var(--s-border); border-radius: 1rem; background: var(--s-card); box-shadow: 0 30px 60px -16px rgb(30 27 75 / 35%); }
.how-widget.mini { position: static; width: 100%; box-shadow: none; }
.how-widget .widget-body { min-height: 9rem; }
.how-widget .msg { max-width: 88%; }
.how-push, .how-mail { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.75rem; border: 1px solid var(--s-border); border-radius: 0.875rem; background: rgb(255 255 255 / 92%); box-shadow: 0 16px 32px -16px rgb(30 27 75 / 35%); backdrop-filter: blur(8px); }
.how-site .how-push { position: absolute; inset-block-start: 0; inset-inline-end: 0; z-index: 2; width: 17rem; }
.how-push > span:last-child, .how-mail > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.how-push small, .how-mail small { color: var(--s-muted); }
.how-push-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.5rem; background: var(--s-primary); color: #fff; }
.how-push-icon svg { width: 1rem; height: 1rem; }
.how-caption { position: absolute; inset-inline-start: 0; inset-block-end: 0; max-width: 40%; color: var(--s-primary); font-weight: 600; }

/* The working day's pictures */
.how-scene { min-height: 21rem; }
.how-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.how-visitor { display: flex; align-items: center; gap: 0.625rem; }
.how-visitor > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.how-visitor small { color: var(--s-muted); font-size: 0.75rem; }
.how-scene .msg { max-width: 88%; }
.how-scene .msg.me { align-self: flex-end; }
.how-trans { display: block; margin-block-start: 0.25rem; padding-block-start: 0.25rem; border-block-start: 1px solid rgb(127 127 127 / 20%); font-size: 0.6875rem; opacity: 0.85; }
.how-menu { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.5rem; border: 1px solid var(--s-border); border-radius: 0.75rem; background: #fafafc; }
.how-menu b { padding-inline: 0.375rem; color: var(--s-muted); font-size: 0.6875rem; }
.how-menu span { padding: 0.375rem; border-radius: 0.375rem; }
.how-menu .on { background: var(--s-accent); color: var(--s-primary); font-weight: 600; }
.how-follow { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.75rem; border: 1px solid #c7c4f5; border-radius: 0.75rem; background: var(--s-accent); }
.how-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.how-chips span { padding: 0.125rem 0.625rem; border: 1px solid #c7c4f5; border-radius: 999px; background: #fff; color: var(--s-primary); font-size: 0.75rem; }
.how-chips .press { background: var(--s-primary); color: #fff; }
.how-assign { align-self: flex-start; padding: 0.125rem 0.625rem; border-radius: 999px; background: #e0e7ff; color: #3730a3; font-size: 0.75rem; font-weight: 600; }
.how-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 0; }
.how-stats > div { padding: 0.625rem 0.75rem; border: 1px solid var(--s-border); border-radius: 0.625rem; background: #fafafc; }
.how-stats dt { color: var(--s-muted); font-size: 0.6875rem; }
.how-stats dd { margin: 0; font-size: 1.25rem; font-weight: 700; }
.how-chart { display: flex; align-items: flex-end; gap: 0.375rem; height: 4.5rem; }
.how-chart i { flex: 1; height: var(--h); border-radius: 0.25rem 0.25rem 0 0; background: #c7c4f5; }
.how-chart i:last-child { background: var(--s-primary); }
.how-phone { display: flex; flex-direction: column; gap: 0.625rem; width: 100%; max-width: 17.5rem; min-height: 25rem; padding: 1.25rem 0.875rem; border: 8px solid #16161d; border-radius: 2.25rem; background: linear-gradient(160deg, #6366f1, #a855f7 55%, #f472b6); font-size: 0.8125rem; }
.how-phone-time { margin-block: 0.75rem 1rem; color: #fff; font-size: 2.75rem; font-weight: 300; text-align: center; letter-spacing: -0.02em; }
.how-phone-note { display: flex; align-items: center; gap: 0.375rem; margin-block-start: auto; color: #fff; font-size: 0.75rem; }
.how-phone-note svg { flex: none; width: 0.875rem; height: 0.875rem; }

/* Motion */
@keyframes how-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes how-pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes how-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes how-press { 50% { transform: scale(0.94); filter: brightness(0.9); } }
@keyframes how-out { to { opacity: 0; } }
@keyframes how-grow { from { height: 0; } }
@keyframes how-progress { to { transform: scaleX(1); } }
@keyframes how-spin { to { transform: rotate(360deg); } }
@keyframes how-dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.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: how-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: no-preference) {
  html.js .scene .a, html.js .scene .how-copy .swap-b { opacity: 0; }
  html.js .scene .type { clip-path: inset(0 100% 0 0); }
  html.js .scene.play .a { animation: how-in 0.45s calc(var(--i, 0) * 0.6s) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  html.js .scene.play .a.pop { animation-name: how-pop; }
  html.js .scene.play .a.press { animation: how-in 0.45s calc(var(--i) * 0.6s) both, how-press 0.35s calc(var(--i) * 0.6s + 0.7s); }
  html.js .scene.play .a.grow { animation: how-in 0.3s calc(var(--i) * 0.6s) both, how-grow 0.6s calc(var(--i) * 0.6s) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  html.js .scene.play .how-chips .press { animation: how-press 0.35s calc(var(--i) * 0.6s); }
  html.js .scene.play .type { animation: how-type 1s calc(var(--i) * 0.6s) steps(18, end) both; }
  html.js .scene.play .how-wait.gone { display: flex; }
  html.js .scene.play .msg.typing.gone { display: inline-flex; }
  html.js .scene .how-copy .swap-a { opacity: 1; }
  html.js .scene.play .how-copy .swap-a { animation: how-out 0.2s calc(var(--i) * 0.6s) forwards; }
  html.js .scene.play .how-copy .swap-b { animation: how-in 0.2s calc(var(--i) * 0.6s) both; }
}
/* The waiting line and the typing dots take their room only while shown. */
@media (prefers-reduced-motion: no-preference) {
  html.js .scene.play .how-wait.gone, html.js .scene.play .msg.typing.gone { animation: how-in 0.3s calc(var(--i) * 0.6s) both, how-collapse 0.25s calc(var(--o) * 0.6s - 0.25s) forwards; }
}
@keyframes how-collapse { to { opacity: 0; height: 0; min-height: 0; margin: 0; padding-block: 0; overflow: hidden; } }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; gap: 1.25rem; }
  html.js .how-tabs { flex-direction: row; gap: 0.375rem; }
  html.js .how-tabs li { flex: 1; min-width: 0; }
  html.js .how-tabs button { flex-direction: column; align-items: center; gap: 0.375rem; padding: 0.625rem 0.25rem; text-align: center; }
  html.js .how-tab-text b { font-size: 0.8125rem; }
  html.js .how-tab-text small { display: none; }
  .how-body { min-height: 0; padding: 1rem; }
  .how-site { display: flex; flex-direction: column; gap: 0.75rem; min-height: 0; }
  .how-shop { display: none; }
  .how-widget, .how-site .how-push, .how-caption { position: static; width: 100%; max-width: none; }
  .how-site .how-push { order: -1; }
  .how-code i { width: 2rem; }
}

/* 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; }
@media (max-width: 40rem) {
  .facts ul { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; padding-block: 2rem; }
  .facts li { flex-direction: column; gap: 0.625rem; padding: 0; }
}
.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; }
.live-head { display: flex; align-items: center; gap: 0.5rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px #dcfce7; }
.live-row { display: flex; align-items: center; gap: 0.625rem; }
.live-who { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.live-who b { overflow: hidden; color: var(--s-fg); font-size: 0.8125rem; text-overflow: ellipsis; white-space: nowrap; }
.live-who small { overflow: hidden; color: #55556a; font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.say-hi { flex: none; padding: 0.125rem 0.625rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.75rem; }
.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; }
/* Phones: icon beside the title, tighter cells, so nine reasons don't
   fill five screens. */
@media (max-width: 40rem) {
  .ruled > div { display: grid; grid-template-columns: 1.25rem 1fr; align-items: center; gap: 0.375rem 0.75rem; padding: 1.25rem 1.25rem 1.375rem; }
  .ruled p { grid-column: 1 / -1; }
}

/* 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: 60rem; 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: 60rem; 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 { 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: 60rem; 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: 60rem; 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; }
/* Side by side, the title stays in view while its cards scroll past. */
@media (min-width: 64rem) {
  .area-split > div:first-child { position: sticky; inset-block-start: calc(var(--header-h, 4.3rem) + 2rem); align-self: flex-start; }
}
.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; }
/* Side by side, every card keeps two lines for its blurb so prices and
   buttons line up across the row. */
@media (min-width: 40rem) { .plan-desc { min-block-size: 2lh; } }
.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; }
.compare-section { padding-block: 7rem 0; }
/* The table fits every width (compact on phones), so it clips instead of
   scrolling and its plan names stay pinned under the site header. */
.compare-wrap { overflow: clip; border: 1px solid var(--border); border-radius: 1.25rem; }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 0.875rem 0.75rem; text-align: center; }
.compare thead :is(th, td) { position: sticky; inset-block-start: var(--header-h, 4.3rem); z-index: 1; padding-block: 1.25rem; background: var(--subtle); font-weight: 600; box-shadow: 0 1px 0 var(--border); }
.compare thead td: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); }
@media (max-width: 48rem) {
  /* Fixed columns, and long words (English plan names) break with a
     hyphen, so every plan stays on screen. */
  table.compare { table-layout: fixed; font-size: 0.8125rem; }
  .compare th, .compare td { padding: 0.75rem 0.25rem; overflow-wrap: break-word; }
  .compare td, .compare thead th { font-size: 0.75rem; hyphens: auto; }
  .compare thead :is(th, td) { padding-block: 0.875rem; }
  .compare thead td:first-child { width: 28%; }
  .compare th[scope="row"] { padding-inline-start: 0.875rem; }
  .compare th[scope="colgroup"] { padding: 1.25rem 0.875rem 0.5rem; }
  .compare svg { width: 1rem; height: 1rem; }
}

/* 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 select { appearance: none; padding-inline-end: 2.25rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 1.05rem center, right 0.75rem center; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; }
.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; }
.warning p { margin: 0; }
.warning .btn { margin-top: 0.625rem; }
.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: 60rem; 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); }
/* Callouts: "> [!TIP] Title" in a draft (content/callout.go). */
.prose .callout { --c: var(--primary); padding: 1rem 1.25rem; border: 1px solid color-mix(in srgb, var(--c) 30%, var(--border)); border-inline-start: 4px solid var(--c); border-radius: 0.75rem; background: color-mix(in srgb, var(--c) 7%, var(--bg)); }
.prose .callout > * + * { margin-block-start: 0.75em; }
.prose .callout-tip { --c: var(--success); }
.prose .callout-warning { --c: oklch(0.72 0.15 70); }
.prose .callout-caution { --c: oklch(0.6 0.2 25); }
.prose .callout-title, .prose .callout:not(:has(> .callout-title))::before { display: block; color: var(--c); font-size: 0.9375rem; font-weight: 700; }
.prose .callout:not(:has(> .callout-title))::before { margin-block-end: 0.5em; content: "Note"; }
.prose .callout-tip:not(:has(> .callout-title))::before { content: "Tip"; }
.prose .callout-important:not(:has(> .callout-title))::before { content: "Important"; }
.prose .callout-warning:not(:has(> .callout-title))::before { content: "Warning"; }
.prose .callout-caution:not(:has(> .callout-title))::before { content: "Caution"; }
.prose .callout-summary:not(:has(> .callout-title))::before { content: "Key takeaways"; }
:lang(zh) .prose .callout:not(:has(> .callout-title))::before { content: "说明"; }
:lang(zh) .prose .callout-tip:not(:has(> .callout-title))::before { content: "小提示"; }
:lang(zh) .prose .callout-important:not(:has(> .callout-title))::before { content: "重要"; }
:lang(zh) .prose .callout-warning:not(:has(> .callout-title))::before { content: "注意"; }
:lang(zh) .prose .callout-caution:not(:has(> .callout-title))::before { content: "警告"; }
:lang(zh) .prose .callout-summary:not(:has(> .callout-title))::before { content: "要点速览"; }
:lang(id) .prose .callout:not(:has(> .callout-title))::before { content: "Catatan"; }
:lang(id) .prose .callout-tip:not(:has(> .callout-title))::before { content: "Tips"; }
:lang(id) .prose .callout-important:not(:has(> .callout-title))::before { content: "Penting"; }
:lang(id) .prose .callout-warning:not(:has(> .callout-title))::before { content: "Perhatian"; }
:lang(id) .prose .callout-caution:not(:has(> .callout-title))::before { content: "Peringatan"; }
:lang(id) .prose .callout-summary:not(:has(> .callout-title))::before { content: "Poin penting"; }
.prose .callout ul, .prose .callout ol { margin-block-end: 0; padding-inline-start: 1.25em; }
.toc { margin-block-end: 2.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--subtle); }
.toc-title { margin-block-end: 0.625rem; font-size: 0.875rem; font-weight: 700; }
.toc ol { display: flex; flex-direction: column; gap: 0.375rem; margin: 0; padding-inline-start: 1.25em; font-size: 0.9375rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }
.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; }
.related { margin-block-start: 3rem; }
.related h2 { margin-block-end: 1rem; font-size: 1.25rem; }
.related ul { display: flex; flex-direction: column; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.related a { font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }
.related p { margin-block-start: 0.25rem; font-size: 0.9375rem; }
@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); }

/* Policy pages */
.legal { max-width: 46rem; padding-block: 4rem 5rem; }
.legal header { display: grid; gap: 0.75rem; margin-block-end: 2.5rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.legal section { margin-block-end: 2rem; }
.legal h2 { margin-block-end: 0.75rem; font-size: 1.25rem; }
.legal p, .legal li { line-height: 1.7; }
.legal p + p, .legal p + ul, .legal ul + p { margin-block-start: 0.75rem; }
.legal ul { padding-inline-start: 1.25rem; }
.legal li + li { margin-block-start: 0.375rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-block-start: 3rem; padding-block-start: 1.5rem; border-block-start: 1px solid var(--border); font-size: 0.9375rem; }
.legal-nav a[aria-current] { font-weight: 600; text-decoration: none; }

/* 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 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; }
/* The Submitium badge wall: a full-width line of its own under the copyright and languages. */
.footer-badges { flex-basis: 100%; min-width: 0; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* The phone app: its page, the page behind the QR code, the highlight band. */
.app-phone { flex: 0 1 19rem; min-width: 0; padding: 0.625rem; border-radius: 2.75rem; background: oklch(0.2 0.012 286); box-shadow: 0 30px 60px -24px oklch(0.2 0.03 268 / 45%); }
.app-phone img { display: block; width: 100%; height: auto; border-radius: 2.25rem; }
.app-hero { padding-block-end: 5rem; text-align: start; }
.hero.app-hero .container { flex-flow: row wrap; align-items: center; justify-content: center; gap: 3.5rem; }
.app-hero-text { display: flex; flex: 1 1 28rem; flex-direction: column; align-items: flex-start; gap: 1.5rem; min-width: 0; }
.app-hero .lead { text-wrap: pretty; }
.app-hero h1.long { font-size: clamp(2.125rem, 5.5vw, 3.75rem); }
.app-hero h1 em { display: block; }
.app-get { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.5rem; }
.app-qr-box { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 10.5rem; padding: 0.875rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--card); color: var(--muted); font-size: 0.8125rem; text-align: center; }
.app-qr { width: 100%; aspect-ratio: 1; padding: 0.25rem; border-radius: 0.5rem; background: #fff; }
.app-qr svg { display: block; width: 100%; height: 100%; }
.app-get-buttons { display: flex; flex: 1 1 15rem; flex-direction: column; gap: 0.75rem; min-width: 0; }
.apk-facts { display: grid; gap: 0.25rem; margin: 0.25rem 0 0; color: var(--muted); font-size: 0.8125rem; }
.apk-facts[hidden] { display: none; }
.apk-facts div { display: flex; gap: 0.5rem; }
.apk-facts dt { flex: none; }
.apk-facts dd { min-width: 0; margin: 0; color: var(--fg); overflow-wrap: anywhere; }
.apk-sha dd { font-family: ui-monospace, monospace; font-size: 0.6875rem; }
.app-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 3rem; padding-block: 5rem; }
.app-notes > div { display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; }
.app-notes h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.app-notes p, .app-notes ol { margin: 0; color: var(--muted); }
.app-notes ol, .app-install ol { display: flex; flex-direction: column; gap: 0.5rem; padding-inline-start: 1.25rem; }
.app-notes .more, .app-install .more { color: var(--primary); font-weight: 600; text-decoration: none; }
.app-install { display: flex; flex-direction: column; gap: 1.25rem; max-width: 34rem; padding-block: 3rem 5rem; }
.app-install-now { display: flex; flex-direction: column; gap: 1.25rem; }
.app-install-now[hidden] { display: none; }
.app-install h1 { font-size: 1.875rem; line-height: 1.25; font-weight: 750; letter-spacing: -0.025em; }
.app-install ol { margin: 0; color: var(--muted); }
.app-install-note { padding: 1rem 1.125rem; border: 1px solid var(--primary); border-radius: 0.875rem; background: var(--accent); }
.app-install-note[hidden] { display: none; }
.app-install-note p { margin-block-start: 0.25rem; }
.app-band { border-block: 1px solid var(--line); background: var(--tint); }
.app-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4rem; padding-block: 5rem; }
.app-band-text { display: flex; flex: 1 1 26rem; flex-direction: column; gap: 1.125rem; min-width: 0; }
.app-band-text h2 { font-size: clamp(2rem, 4.4vw, 2.75rem); line-height: 1.2; font-weight: 750; letter-spacing: -0.03em; }
.app-band-text > p:not(.eyebrow) { color: var(--muted); font-size: 1.0625rem; }
.app-band-text .cta-row { justify-content: flex-start; }
.app-band .app-phone { flex-basis: 17rem; }
@media (max-width: 48rem) {
  .app-qr-box { display: none; }
  .app-phone { flex-basis: 15rem; }
  .app-band .app-phone { flex-basis: 14rem; }
  .app-band .container { gap: 2.5rem; padding-block: 3.5rem; }
}

.free-included { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem 2rem; max-width: 60rem; margin-inline: auto; }
