/* The public website. Plain CSS, no build step, nothing fetched from another server (the font is in ../fonts).
   The colours, corners and type are the product's own (app/dashboard/css/tokens.css, docs/BRAND.md): one blue,
   soft warm greys, a touch of sun, Figtree. Light and dark follow the reader's system. Written phone first. */

@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;
  --plane: #f4f4f1; --surface: #ffffff; --sunk: #f6f6f3; --line: #e9e9e4; --line-strong: #d8d8d1; --field: #8b8f98;
  --ink: #15171c; --ink2: #474b55; --muted: #6b707b;
  --brand: #2f5bea; --brand-hover: #2549cc; --brand-text: #2a52d6; --brand-ink: #ffffff; --brand-wash: #eef2fe; --brand-line: #c9d5fb;
  --sun: #ffb020; --sun-wash: #fff5df;
  --good: #16a34a; --goodtext: #0f7b3d; --goodwash: #e8f6ed;
  --warn: #d98a04; --warn-text: #9a5b00; --warnwash: #fdf3dc;
  --crit: #dc2f2f; --crit-text: #b72020; --critwash: #fdecec;
  --bezel: #15171c;
  --header-bg: rgba(255, 255, 255, .86);
  --r-md: 10px; --r-lg: 14px; --r-xl: 18px; --r-pill: 999px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --dur: 180ms; --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1120px; --gutter: 20px; --header-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --plane: #0e0f12; --surface: #16181d; --sunk: #1c1f25; --line: #262a31; --line-strong: #353a44; --field: #747a86;
    --ink: #f2f3f5; --ink2: #c3c7cf; --muted: #969ba6;
    --brand: #3f63ee; --brand-hover: #5475f2; --brand-text: #8ea6ff; --brand-wash: rgba(79, 113, 245, .16); --brand-line: rgba(79, 113, 245, .4);
    --sun: #ffbe4d; --sun-wash: rgba(255, 176, 32, .14);
    --good: #3ecf75; --goodtext: #58d889; --goodwash: rgba(62, 207, 117, .13);
    --warn: #f0b03a; --warn-text: #f3be5c; --warnwash: rgba(240, 176, 58, .13);
    --crit: #f0605a; --crit-text: #f58983; --critwash: rgba(240, 96, 90, .14);
    --bezel: #353a44;
    --header-bg: rgba(22, 24, 29, .86);
  }
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ------------------------------------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--surface); color: var(--ink2); font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-text); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
b, strong { font-weight: 650; color: var(--ink); }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: var(--r-md); background: var(--ink); color: var(--surface); font-weight: 600; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-size: .92em; word-spacing: -.25em; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------------------------------------------ type */
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(2.5rem, 6.4vw + .9rem, 4.5rem); line-height: 1.03; font-weight: 700; letter-spacing: -.035em; }
.title { font-size: clamp(1.8rem, 3vw + 1rem, 2.75rem); line-height: 1.1; font-weight: 700; letter-spacing: -.028em; }
.page-title { font-size: clamp(2.1rem, 4.2vw + 1rem, 3.5rem); line-height: 1.06; font-weight: 700; letter-spacing: -.032em; }
h3, .h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 650; letter-spacing: -.012em; }
h4 { font-size: 1.0625rem; line-height: 1.4; font-weight: 650; }
.promise { font-size: clamp(1.35rem, 1.6vw + 1rem, 1.9rem); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.lead { font-size: clamp(1.125rem, .6vw + 1rem, 1.3125rem); line-height: 1.55; color: var(--ink2); max-width: 36em; text-wrap: pretty; }
.eyebrow { font-size: .9375rem; line-height: 1.4; font-weight: 600; color: var(--brand-text); }
.small { font-size: .875rem; line-height: 1.5; }
.muted { color: var(--muted); }
p { text-wrap: pretty; }

/* ------------------------------------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.band { background: var(--plane); }
.section-head { max-width: 40em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .title + p { margin-top: 16px; }
.section-head .eyebrow { margin-bottom: 12px; }
.stack > * + * { margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ------------------------------------------------------------------------------------------------ buttons, tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .28em; min-height: 48px; padding: 10px 20px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 1rem/1.25 var(--font); text-align: center;
  text-decoration: none; cursor: pointer; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.btn:hover { background: var(--sunk); text-decoration: none; }
.btn:focus-visible { border-radius: var(--r-md); }
.btn.brand { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.brand:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.tint { background: var(--brand-wash); border-color: transparent; color: var(--brand-text); }
.btn.tint:hover { border-color: var(--brand-line); }
.btn.quiet { border-color: transparent; background: none; color: var(--ink2); padding-inline: 12px; }
.btn.quiet:hover { background: var(--sunk); color: var(--ink); }
.btn.big { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn.compact { min-height: 40px; padding: 8px 14px; font-size: .9375rem; }
.btn.wide { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; margin-right: .3em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .actions { justify-content: center; }

.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 11px; border-radius: var(--r-pill); background: var(--sunk); color: var(--ink2);
  font-size: .8125rem; line-height: 1.3; font-weight: 600; white-space: nowrap; }
.tag.info { background: var(--brand-wash); color: var(--brand-text); }
.tag.good { background: var(--goodwash); color: var(--goodtext); }
.tag.warn { background: var(--warnwash); color: var(--warn-text); }

.avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sunk); color: var(--ink2);
  font-size: .8125rem; line-height: 1; font-weight: 700; }
.avatar.her { background: linear-gradient(135deg, #5b7dff 0%, #2f5bea 55%, #7a5af5 100%); color: #fff; }
.avatar.sm { width: 28px; height: 28px; font-size: .75rem; }
.avatar.t1 { background: var(--sun-wash); color: var(--warn-text); }
.avatar.t2 { background: var(--goodwash); color: var(--goodtext); }
.avatar.t3 { background: var(--brand-wash); color: var(--brand-text); }
.chat-body .avatar.t1, .chat-body .avatar.t2, .chat-body .avatar.t3 { box-shadow: 0 0 0 1px var(--line); background-color: var(--surface); }

/* ------------------------------------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.125rem; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; white-space: nowrap; }
.lockup:hover { text-decoration: none; }
.lockup img { width: 32px; height: 32px; }
.nav { display: none; margin-left: auto; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-md); color: var(--ink2); font-size: .9688rem; font-weight: 500; }
.nav a:hover { background: var(--sunk); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.bar-cta { display: none; margin-left: auto; }
.menu { margin-left: auto; position: static; }
.menu > summary { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-md); color: var(--ink); cursor: pointer; list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { background: var(--sunk); }
.menu > summary svg { width: 22px; height: 22px; }
.menu[open] > summary .i-open, .menu:not([open]) > summary .i-close { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(17, 20, 28, .25); }
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.menu-panel a[aria-current="page"]:not(.btn) { color: var(--brand-text); }
.menu-panel .btn { margin-top: 16px; }
@media (min-width: 480px) { .bar-cta { display: inline-flex; } .menu { margin-left: 0; } }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu { display: none; }
  .bar-cta { margin-left: 12px; }
}

/* ------------------------------------------------------------------------------------------------ footer */
.site-footer { background: var(--plane); border-top: 1px solid var(--line); padding-block: 56px 40px; font-size: .9375rem; }
.foot-grid { display: grid; gap: 40px 32px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin-top: 12px; color: var(--muted); max-width: 26em; }
.foot-col h2 { font-size: .875rem; line-height: 1.4; font-weight: 650; color: var(--ink); letter-spacing: 0; margin-bottom: 8px; }
.foot-col a { display: flex; align-items: center; min-height: 36px; color: var(--ink2); }
.foot-col a:hover { color: var(--ink); }
.foot-small { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.foot-small p + p { margin-top: 6px; }
.foot-small p { max-width: 68em; }
@media (min-width: 720px) {
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
}

/* ------------------------------------------------------------------------------------------------ hero */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 104px); overflow: clip; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero .promise { margin-top: 20px; }
.hero .lead { margin-top: 20px; }
.hero .actions { margin-top: 32px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .9375rem; }
.hero-art { justify-self: center; width: 100%; max-width: 420px; }
.hero-chat { position: relative; }
.hero-chat::before { content: ""; position: absolute; inset: 26px -10px -14px 26px; border-radius: 34px; background: var(--brand-wash); }
.hero-chat > * { position: relative; }
.hero-art .chat-note { margin-top: 30px; }
@media (min-width: 480px) { .hero-chat::before { inset: 30px -22px -22px 36px; } }
@media (max-width: 479px) { .hero .actions .btn, .cta .actions .btn, .page-hero .actions .btn, .message-page .actions .btn, .panel .actions .btn { width: 100%; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
  .hero-art { justify-self: end; }
}

.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero .lead { margin-top: 20px; }
.page-hero .actions { margin-top: 28px; }

/* four quiet facts under the hero */
.facts { display: grid; gap: 0; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.facts li { display: flex; align-items: center; gap: 10px; padding: 18px 4px; color: var(--ink); font-size: .9375rem; line-height: 1.35; font-weight: 600; }
.facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
.facts svg { width: 20px; height: 20px; flex: none; color: var(--brand-text); }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { padding: 22px 8px; justify-content: center; }
  .facts li:nth-child(n+3) { border-top: 0; }
}

/* ------------------------------------------------------------------------------------------------ the drawn conversation */
.chat { border: 1px solid var(--line-strong); border-radius: 26px; background: var(--surface); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: .9688rem; line-height: 1.3; }
.chat-head span.sub { display: block; font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 14px 20px; background: var(--sunk); }
.msg { display: flex; align-items: flex-end; gap: 8px; max-width: 92%; }
.msg .bubble { padding: 9px 13px 10px; border-radius: 16px 16px 16px 5px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .9375rem; line-height: 1.45; min-width: 0; }
.msg .who { display: block; margin-bottom: 1px; font-size: .75rem; line-height: 1.4; font-weight: 650; color: var(--muted); }
.msg.her .who { color: var(--brand-text); }
.msg .bubble p + p { margin-top: 6px; }
.msg.me { align-self: flex-end; }
.msg.me .bubble { border-radius: 16px 16px 5px 16px; background: var(--brand); border-color: var(--brand); color: #fff; }
.msg.me .who { color: rgba(255, 255, 255, .96); }
.msg .code { font-family: var(--mono); font-size: .88em; font-weight: 600; white-space: nowrap; word-spacing: -.25em; }
.msg .src { display: block; margin-top: 4px; font-size: .8125rem; color: var(--muted); }
.msg .spacer { width: 28px; flex: none; }
.chat-note, .frame-note { margin-top: 12px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.hero-art .chat-note { text-align: center; }
.chat.mini { border-radius: var(--r-xl); max-width: 560px; }
.chat.mini .chat-body { padding: 16px 12px; }

/* ------------------------------------------------------------------------------------------------ a real screenshot, in a frame of our own */
.frame { border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.frame-bar { display: none; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--plane); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame img { width: 100%; }
.shot { margin-inline: auto; }
@media (max-width: 640px) {
  .shot { max-width: 340px; }
  .shot .frame { border: 7px solid var(--bezel); border-radius: 34px; }
}
@media (min-width: 641px) { .frame-bar { display: flex; } }

/* text beside a picture, sides alternating */
.split { display: grid; gap: 36px; align-items: center; }
.split + .split { margin-top: clamp(72px, 10vw, 128px); }
.split-text > * + * { margin-top: 16px; }
.split-text .title { font-size: clamp(1.7rem, 2.2vw + 1rem, 2.4rem); }
.split-text .eyebrow + .title { margin-top: 10px; }
.split-text .btn { margin-top: 8px; }
.split-art { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split.flip .split-text { order: 2; }
  .split.even { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------------------------------------------ lists */
.ticks > li { position: relative; padding-left: 30px; }
.ticks > li + li { margin-top: 10px; }
.ticks > li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-wash)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.4' fill='none' stroke='%232a52d6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.dots > li { position: relative; padding-left: 20px; }
.dots > li + li { margin-top: 8px; }
.dots > li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
@media (prefers-color-scheme: dark) {
  .ticks > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.4' fill='none' stroke='%238ea6ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}

.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid.g2, .grid.g4 { grid-template-columns: 1fr 1fr; } .grid.g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .grid.g4 { grid-template-columns: repeat(4, 1fr); } }

.card { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.card > h3 + *, .card > h4 + * { margin-top: 10px; }
.card > * + ul { margin-top: 14px; }
.card .icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--brand-wash); color: var(--brand-text); }
.card .icon svg { width: 22px; height: 22px; }
.card p, .card li { font-size: 1rem; line-height: 1.55; }
.band .card { border-color: transparent; }

/* how it works */
.steps { counter-reset: step; display: grid; gap: 20px; }
.steps > li { counter-increment: step; position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.band .steps > li { border-color: transparent; }
.steps > li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.steps h3 + p { margin-top: 8px; }
.steps p { font-size: 1rem; line-height: 1.55; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* a row of quoted orders, the way an owner would type them */
.says { display: grid; gap: 10px; }
.says li { padding: 12px 16px; border-radius: 14px 14px 14px 4px; background: var(--sunk); color: var(--ink); font-size: 1rem; line-height: 1.5; }
.band .says li { background: var(--surface); }

/* ------------------------------------------------------------------------------------------------ notices */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-lg); background: var(--brand-wash); color: var(--ink); font-size: 1rem; line-height: 1.5; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--brand-text); }
.notice.warn { background: var(--warnwash); }
.notice.warn svg { color: var(--warn-text); }
.notice.bad { background: var(--critwash); }
.notice.bad svg { color: var(--crit-text); }
.notice.good { background: var(--goodwash); }
.notice.good svg { color: var(--goodtext); }
.notice b { display: block; }
.draft { margin-bottom: 32px; border: 1px solid var(--warn); }

/* ------------------------------------------------------------------------------------------------ pricing */
.period { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--sunk); border: 1px solid var(--line); }
.period label { position: relative; cursor: pointer; }
.period input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.period span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: var(--r-pill); color: var(--ink2); font-size: .9688rem; font-weight: 600; }
.period input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(17, 20, 28, .12), 0 0 0 1px var(--line); }
.period input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.period-note { margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.plans { display: grid; gap: 20px; margin-top: 36px; align-items: stretch; }
@media (min-width: 940px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; padding: 28px 24px 24px; border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: var(--surface); }
.plan.is-highlight { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.plan-name { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.02em; }
.plan-blurb { margin-top: 6px; color: var(--muted); font-size: .9688rem; line-height: 1.5; }
@media (min-width: 940px) { .plans .plan-blurb { min-height: 3em; } }
.plan-price { margin-top: 20px; color: var(--ink); line-height: 1.15; }
.plan-price .amount { font-size: 2.5rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan-price.soon { font-size: 1.375rem; font-weight: 650; letter-spacing: -.015em; padding-block: .56em; }
.plan-note { margin-top: 6px; min-height: 1.5em; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.plan-saving { margin-top: 6px; font-size: .9375rem; line-height: 1.45; font-weight: 600; color: var(--goodtext); }
.plan-ai { margin-top: 20px; padding: 16px; border-radius: var(--r-lg); background: var(--sunk); font-size: .9375rem; line-height: 1.5; }
.plan-ai .tag { margin-bottom: 8px; }
.plan-ai p + p { margin-top: 4px; color: var(--muted); }
.plan .ticks { margin-top: 20px; margin-bottom: 24px; font-size: .9688rem; line-height: 1.5; }
.plan-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 20px; }
.ai-two { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 800px) { .ai-two { grid-template-columns: 1fr 1fr; } }
.pay-line { margin-top: 28px; color: var(--muted); font-size: .9688rem; }

/* ------------------------------------------------------------------------------------------------ questions */
.faq { border-top: 1px solid var(--line); max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 0; color: var(--ink); font-size: 1.0938rem; line-height: 1.4; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; background: currentColor; opacity: .55; transition: transform var(--dur) var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 9.5 12 15l5.5-5.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 9.5 12 15l5.5-5.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--brand-text); }
.faq .answer { padding: 0 40px 22px 0; }
.faq .answer > * + * { margin-top: 12px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { margin-bottom: 20px; font-size: clamp(1.6rem, 1.6vw + 1rem, 2.1rem); }

/* ------------------------------------------------------------------------------------------------ forms */
.form-wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .form-wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; } }
.form { display: grid; gap: 18px; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; color: var(--ink); font-size: .9375rem; line-height: 1.4; font-weight: 600; }
.field .hint { display: block; margin-top: 6px; color: var(--muted); font-size: .8438rem; line-height: 1.45; }
.field .opt { font-weight: 400; color: var(--muted); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input, .select { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--field); border-radius: var(--r-md); background: var(--surface); color: var(--ink);
  font: 400 1rem/1.4 var(--font); -webkit-appearance: none; appearance: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.input::placeholder { color: var(--muted); opacity: 1; }
.input:hover, .select:hover { border-color: var(--ink2); }
.input:focus-visible, .select:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); border-radius: var(--r-md); }
.select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%236b707b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
.form-two { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-two { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--field); border-radius: var(--r-md); color: var(--ink); font-size: 1rem; font-weight: 500; }
.choice input:checked + span { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-wash); font-weight: 600; }
.choice input:disabled + span { opacity: .5; }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: var(--r-md); background: var(--critwash); color: var(--ink); font-size: .9688rem; line-height: 1.5; }
.form-foot { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.summary-line { padding: 14px 16px; border-radius: var(--r-md); background: var(--sunk); color: var(--ink); font-size: .9688rem; line-height: 1.5; }
.summary-line:empty { display: none; }
.aside-card { padding: 28px 24px; border-radius: var(--r-xl); background: var(--plane); }
.aside-card > * + * { margin-top: 14px; }
.aside-card h2 { font-size: 1.25rem; line-height: 1.3; font-weight: 650; letter-spacing: -.012em; }
.panel { padding: 32px 24px; border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: var(--surface); }
.panel > * + * { margin-top: 14px; }
.panel > [hidden] + * { margin-top: 0; }
.panel .actions { margin-top: 22px; }
.panel h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.02em; }

/* a short numbered list inside text */
.numbered { counter-reset: n; }
.numbered > li { counter-increment: n; position: relative; padding-left: 40px; }
.numbered > li + li { margin-top: 16px; }
.numbered > li::before { content: counter(n); position: absolute; left: 0; top: .05em; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-wash); color: var(--brand-text); font-size: .875rem; font-weight: 700; }
.numbered b { display: block; }

/* downloads */
.dl { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: var(--surface); }
.dl .os { display: flex; align-items: center; gap: 12px; }
.dl .os svg { width: 28px; height: 28px; color: var(--ink); }
.dl .btn { margin-top: 16px; align-self: flex-start; }
.dl .wait { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md); background: var(--sunk); color: var(--ink); font-size: .9688rem; font-weight: 600; }

/* ------------------------------------------------------------------------------------------------ long text (help, legal) */
.prose { max-width: 44em; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 48px; font-size: 1.5rem; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.prose h3 { margin-top: 32px; font-size: 1.125rem; }
.prose ul { display: grid; gap: 8px; }
.prose ul > li { position: relative; padding-left: 20px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.prose .meta { color: var(--muted); font-size: .9375rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9688rem; line-height: 1.5; }
.prose th, .prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 650; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 520px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); background: var(--sunk); color: var(--ink); font-size: .9375rem; font-weight: 600; }
.toc a:hover { background: var(--brand-wash); color: var(--brand-text); text-decoration: none; }
.toc a[aria-current="page"] { background: var(--ink); color: var(--surface); }
.fill { color: var(--warn-text); font-weight: 600; }

/* closing call to action */
.cta { padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); border-radius: 28px; background: var(--brand-wash); text-align: center; }
.cta .title { max-width: 16em; margin-inline: auto; }
.cta p { margin: 16px auto 0; max-width: 34em; }
.cta .actions { margin-top: 28px; justify-content: center; }
.cta .small { margin-top: 18px; color: var(--muted); }

/* a quiet one-page message: thank you, payment failed, not found */
.message { min-height: 56vh; display: flex; align-items: center; }
.message .mark { width: 56px; height: 56px; margin-bottom: 28px; }
.message .lead { margin-top: 16px; }
.message .actions { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .skip, .cta { display: none; }
  body { font-size: 11pt; }
}

/* ------------------------------------------------------------------------------------------------ plan cards: the parts */
.plan-alt { margin-top: 6px; font-size: .9375rem; line-height: 1.45; color: var(--ink2); }
.plans-quiet { display: grid; gap: 20px; margin-top: 20px; }
.plan-wide { border-color: var(--line); background: var(--plane); }
.plan-wide .plan-blurb { min-height: 0; }
.plan-wide .plan-ai { background: var(--surface); }
.plan-wide .plan-price .amount { font-size: 2rem; }
@media (min-width: 940px) {
  .plan-wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.35fr) auto; gap: 32px; align-items: center; padding: 24px 28px; }
  .plan-wide .plan-price, .plan-wide .plan-ai { margin-top: 0; }
  .plan-wide .plan-actions { margin-top: 0; padding-top: 0; min-width: 250px; }
}
/* "Or pay once": a third way to pay that only one plan has, drawn as a quiet row at the foot of its card. It does
   not follow the monthly / yearly switch. On a wide screen its parts sit in the card's own columns. */
.plan-once { display: grid; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.plan-once-name { font-size: 1.0625rem; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.plan-once .plan-blurb { margin-top: 4px; }
.plan-once .plan-price { margin-top: 0; }
.plan-once .plan-price .amount { font-size: 1.625rem; }
.plan-once .plan-note { margin-top: 4px; min-height: 0; }
.plan-once-what { font-size: .9375rem; line-height: 1.5; }
.plan-once-what .ticks { margin: 0; }
.plan-once-what p { margin-top: 8px; color: var(--muted); }
.plan-once-act { display: grid; }
@media (min-width: 940px) {
  .plan-wide .plan-once { grid-column: 1 / -1; margin-top: 0; padding-top: 24px; gap: 32px; align-items: center;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.35fr) auto; }
  @supports (grid-template-columns: subgrid) { .plan-wide .plan-once { grid-template-columns: subgrid; } }
  .plan-wide .plan-once-what { padding-inline: 16px; }   /* its words start where the words of the box above start */
}
/* A plan we run on our servers (hosted in site.json, the Managed plan): its own band under the other plans. The left
   half is the card's usual parts; the right half says what we do and, plainly, what is different on this plan. */
.plans-host { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.plans-host-head { margin-bottom: 20px; }
.plans-host-lead { margin-top: 6px; color: var(--ink2); font-size: 1.0625rem; line-height: 1.5; max-width: 36em; }
.plan-host { display: grid; gap: 28px; }
.plan-host-main { display: flex; flex-direction: column; }
.plan-host-main .plan-blurb { min-height: 0; }
.plan-host-h { font-size: 1rem; line-height: 1.4; font-weight: 650; color: var(--ink); }
.plan-host-more { font-size: .9688rem; line-height: 1.5; }
.plan-host-more .ticks { margin-top: 12px; margin-bottom: 0; }
.plan-host-diff { margin-top: 24px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--sunk); }
.plan-host-diff .dots { margin-top: 10px; color: var(--ink2); }
.plan-host-diff .dots > li + li { margin-top: 8px; }
@media (min-width: 940px) {
  .plan-host { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; padding: 32px 36px; }
  .plan-host-more { padding-top: 4px; }
}
.every { margin-top: 48px; padding: 28px 24px; border-radius: var(--r-xl); background: var(--plane); }
.every h2, .every h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 650; letter-spacing: -.012em; margin-bottom: 16px; }
.every .ticks { display: grid; gap: 12px 32px; }
.every .ticks > li + li { margin-top: 0; }
@media (min-width: 800px) { .every { padding: 32px 36px; } .every .ticks { grid-template-columns: 1fr 1fr; } }
.social { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.social a { color: var(--ink2); font-weight: 600; }
.pay-rows { display: grid; gap: 0; margin-top: 8px; }
.pay-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pay-rows dt { color: var(--ink2); }
.pay-rows dd { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.pay-rows .total dt, .pay-rows .total dd { color: var(--ink); font-size: 1.125rem; font-weight: 700; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); }
.check label { margin: 0; font-weight: 400; color: var(--ink2); font-size: .9688rem; line-height: 1.5; }
textarea.input { min-height: 96px; resize: vertical; }

.msg .file { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--sunk); color: var(--ink2); font-size: .8125rem; line-height: 1.35; font-weight: 600; }
.msg .file svg { width: 18px; height: 18px; flex: none; color: var(--brand-text); }
.period-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.period-row .period-note { margin-top: 0; }
.message-page { padding-block: clamp(48px, 8vw, 104px); }
.message-page .mark { margin-bottom: 28px; }
.message-page .lead { margin-top: 18px; }
.message-page .actions { margin-top: 28px; }
.message-page .steps { margin-top: 24px; }
.message-page h2 { margin-top: 56px; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.02em; }
