/* Kavrix Solutions, Replysmith site, v1.10.9.
   Direction "Type and nothing else": giant Work Sans on green-black, the product's
   own controls laid on the sentence, jade only for actions and selections, bone
   fields for the closing question and the footer. Elements marked [data-ui] are
   fragments of the product and keep its own small borders and radii. */

/* ---------- fonts (self-hosted, SIL Open Font License: assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/work-sans-latin.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;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/work-sans-latin-ext.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;
}

/* ---------- tokens ---------- */
:root {
  --bg: #161c1a;
  --surface: #1f2725;
  --surface-2: #283230;
  --deep: #111614;
  --ink: #e3e2da;
  --muted: #949a93;
  --accent: #9fc7b8;
  --accent-ink: #161c1a;
  --ui-line: rgba(227, 226, 218, 0.14);

  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-code: ui-monospace, "SF Mono", Menlo, Consolas, monospace; /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem);
  --step-big: clamp(2.75rem, 1rem + 6.4vw, 7rem);
  --step-mega: clamp(2.6rem, 13vw, 12.5rem);
  --step-hero: clamp(3.5rem, 17.5vw, 16rem);

  --margin: clamp(1rem, 2.6vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 13vw, 13rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-enter: 600ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: linear-gradient(var(--bg) 50%, var(--ink) 50%); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, pre, fieldset, table { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 1.5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* on the bone and jade grounds the jade ring is too faint, so it turns dark there */
.try :focus-visible, .foot :focus-visible, .cmd.is-current :focus-visible, .is-pick :focus-visible { outline-color: var(--bg); }
h1, h2, h3 { font-weight: 300; text-wrap: balance; }
p { text-wrap: pretty; }
mark { background: none; color: inherit; }

/* ---------- type ---------- */
.big { font-size: var(--step-big); line-height: 0.95; letter-spacing: -0.045em; font-weight: 300; }
.head { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.03em; font-weight: 300; }
.lead { font-size: var(--step-lead); line-height: 1.38; font-weight: 400; max-width: 34ch; }
.small { font-size: var(--step-small); line-height: 1.5; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { padding-inline: var(--margin); }
.link-plain { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; transition: color var(--t-hover) var(--ease-out); }
.link-plain:hover { color: var(--accent); }
.skip { position: absolute; left: var(--margin); top: -4rem; clip-path: inset(50%); white-space: nowrap; z-index: 20; padding: 0.75rem 1rem; background: var(--accent); color: var(--accent-ink); }
.skip:focus { top: 0.75rem; clip-path: none; }

/* ---------- buttons: one shape, square ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.5rem; border-radius: var(--radius); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out); }
.button:active { transform: scale(0.97); }
.button--primary { background: var(--accent); color: var(--accent-ink); }
.button--primary:hover { background: #b6d6ca; }
.button--dark { background: var(--bg); color: var(--ink); }
.button--dark:hover { background: #26302d; }
.button--quiet { background: var(--surface-2); color: var(--ink); }
.button--quiet:hover { background: #34403c; }
.button--line { border: 2px solid currentColor; }
.button--line:hover { background: rgba(22, 28, 26, 0.08); }
.button--small { min-height: 2.75rem; padding: 0 1.125rem; font-size: var(--step-small); }
.button.is-soon, .button.is-soon:hover { background: none; box-shadow: inset 0 0 0 1px currentColor; color: var(--muted); cursor: not-allowed; }
.button--dark.is-soon, .button--dark.is-soon:hover { color: var(--bg); }
.button.is-soon:active { transform: none; }

/* ---------- header ---------- */
.top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.5rem; }
.home .top { position: absolute; top: 0; left: 0; right: 0; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 500; font-size: var(--step-small); }
.brand__by { font-weight: 300; color: var(--muted); }
.brand__reply { font-weight: 300; }
.brand__mark { width: 2rem; height: 2rem; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  /* The logo's sparks fly off the anvil once on load and again on hover or focus. */
  .brand__spark { transform-box: view-box; transform-origin: 27px 14px; animation: strike var(--t-enter) var(--ease-out) 300ms both; }
  .brand:hover .brand__spark, .brand:focus-visible .brand__spark { animation: strike-again 400ms var(--ease-out) both; }
}
@keyframes strike { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes strike-again { from { opacity: .2; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.top__nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); font-size: var(--step-small); }
.top__link { text-decoration: none; padding: 0.75rem 0; white-space: nowrap; transition: color var(--t-hover) var(--ease-out); }
/* Between phone and desktop the header gets tight: drop the "by Kavrix Solutions" line so the links stay on one row. */
@media (max-width: 860px) { .brand__by { display: none; } }
.top__link:hover { color: var(--accent); }

/* ---------- hero: the controls on the sentence ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; display: flex; flex-direction: column; justify-content: center; gap: clamp(2.5rem, 5vw, 4.5rem); min-height: max(100svh, 44rem); padding-block: 8.5rem clamp(4rem, 12svh, 9rem); }
.hero__stage { position: relative; }
.hero__title { font-size: var(--step-hero); line-height: 0.86; letter-spacing: -0.06em; font-weight: 300; }
/* a CNC lathe cutting steel runs behind the type: muted colour, dimmed into the green-black ground */
.hero__film { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hero__film img { position: absolute; top: 0; right: 0; width: 72%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(0.9) contrast(1.15) brightness(0.8); opacity: 0.48; background: var(--bg); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%, #000 85%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 45%, #000 85%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); mask-composite: intersect; } /* taste-skill-ignore: alpha mask that fades the picture edges, not a colour fill */
.hero__credit { position: absolute; right: var(--margin); bottom: 1.25rem; max-width: 30ch; color: var(--muted); text-align: right; }
.hero__title .line + .line { padding-left: 0.04em; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 40rem); gap: 1.5rem; }
.hero__lede { font-size: var(--step-lead); line-height: 1.38; }
.hero__lede mark { color: var(--accent); font-weight: 500; border-radius: 3px; } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.hero__lede mark.is-new { animation: flash 900ms var(--ease-out); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__fine { max-width: 60ch; }
@keyframes flash { from { background: var(--accent); color: var(--accent-ink); } }

/* the chips are fragments of the product's settings, set in the space the headline leaves free */
.chips { display: contents; }
.chip { position: absolute; z-index: 2; display: grid; gap: 8px; padding: 12px; background: var(--surface); border-radius: 10px; font-size: 13px; } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.chip__label { float: left; padding: 0; color: var(--muted); font-size: 12px; }
/* line one ends near 57% of the width: a and b sit after it, c sits under the headline at the right */
.chip--a { top: 6%; left: 62%; }
.chip--b { top: 6%; right: 0; }
.chip--c { top: calc(100% + 2.5rem); right: 0; }
.seg { display: flex; border: 1px solid var(--ui-line); border-radius: 6px; overflow: hidden; } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: block; min-width: 2.75rem; padding: 8px 12px; text-align: center; font-size: 14px; white-space: nowrap; transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out); }
.seg label + label span { border-left: 1px solid var(--ui-line); } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.seg label:hover span { background: var(--surface-2); }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -2px; }

/* ---------- the meter that isn't there ---------- */
.facts { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: start; padding-block: var(--section) calc(var(--section) / 2); }
.facts__title { grid-column: 1 / span 3; font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.03em; }
.facts__list { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.facts__list div { display: grid; align-content: start; gap: 1rem; }
.facts__list dt { font-size: clamp(5rem, 13vw, 12.5rem); font-weight: 300; letter-spacing: -0.06em; line-height: 0.8; }
.facts__list dt.is-zero { color: var(--accent); }
.facts__list dd { max-width: 18ch; font-size: var(--step-lead); line-height: 1.3; }

/* ---------- showcase: a customer's words, the kit's reply ---------- */
.ask { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: var(--section) calc(var(--section) / 2); }
.ask > * { grid-column: 1 / -1; }
.ask__title { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.03em; color: var(--muted); margin-bottom: 1rem; }
.ask__input { width: 100%; padding: 0 0 0.12em; border: 0; border-bottom: 4px solid var(--accent); border-radius: 0; background: none; font-size: var(--step-big); font-weight: 300; letter-spacing: -0.045em; line-height: 1.1; caret-color: var(--accent); }
.ask__input:focus { outline: none; border-bottom-color: var(--ink); }
.ask__tries { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 3.5rem; }
.try-chip { min-height: 2.75rem; padding: 0 1rem; background: var(--surface); font-size: var(--step-small); transition: background-color var(--t-hover) var(--ease-out); }
.try-chip:hover { background: var(--surface-2); }
.try-chip:active { transform: scale(0.97); }
.ask__miss { grid-column: 4 / -1; margin-bottom: 1.25rem; max-width: 64ch; }
.ask__miss:empty { display: none; }
.ask__tries + .ask__miss:not(:empty) { margin-top: -2rem; }
.reply { grid-column: 4 / -1; background: var(--surface); border-radius: 12px; overflow: hidden; } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.reply__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; padding: 14px 20px; background: var(--surface-2); font-size: 14px; font-weight: 500; }
.reply__bar span + span { color: var(--muted); font-weight: 400; }
.reply__body { display: grid; gap: 0.875rem; padding: 22px 20px 26px; font-size: var(--step-body); max-width: 62ch; }
.reply__body mark { background: rgba(159, 199, 184, 0.2); padding: 0 3px; border-radius: 3px; } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.reply.is-new .reply__body { animation: rise 500ms var(--ease-out); }
.ask__note { grid-column: 4 / -1; margin-top: 1rem; max-width: 64ch; }
.demo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: calc(var(--section) / 2) var(--section); }
.demo > * { grid-column: 1 / -1; }
.demo__title { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1rem; }
.demo__lede, .demo__video, .demo__note { grid-column: 4 / -1; }
.demo__lede { max-width: 56ch; margin-bottom: 1.5rem; }
.demo__video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1080; background: var(--surface); }
.demo__note { margin-top: 1rem; max-width: 64ch; }

/* ---------- features: the command list ---------- */
.cmds { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; padding-block: calc(var(--section) / 2) var(--section); }
.cmds__head { grid-column: 1 / span 6; display: grid; align-content: start; gap: 1.75rem; }
.palette { grid-column: 7 / -1; background: var(--surface); border-radius: 14px; overflow: hidden; } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.palette__find { display: flex; align-items: center; gap: 1rem; padding: 0 20px; background: var(--deep); border-bottom: 3px solid transparent; transition: border-color var(--t-hover) var(--ease-out); }
.palette__find input { flex: 1; min-width: 0; min-height: 4rem; border: 0; background: none; font-size: var(--step-lead); }
.palette__find input::placeholder { color: var(--muted); }
.palette__find input:focus { outline: none; }
.palette__find:focus-within { border-bottom-color: var(--accent); }
.palette__count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.palette__list { padding: 8px; }
.cmd { border-radius: 8px; transition: background-color var(--t-hover) var(--ease-out); }
.cmd button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3.5rem; padding: 12px; text-align: left; font-size: var(--step-lead); letter-spacing: -0.01em; }
.cmd button:hover { background: var(--surface-2); border-radius: 8px; }
.cmd small { font-size: 12px; color: var(--muted); margin-left: 0.375rem; vertical-align: 0.2em; }
.cmd kbd { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border: 1px solid var(--ui-line); border-radius: 6px; font: 500 13px/1 var(--font); color: var(--muted); } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.cmd__say { padding: 0 12px 14px; max-width: 52ch; color: var(--muted); font-size: 15px; }
.js .cmd:not(.is-current) .cmd__say { display: none; }
.cmd.is-current { background: var(--accent); color: var(--accent-ink); }
.cmd.is-current button:hover { background: none; }
.cmd.is-current small, .cmd.is-current .cmd__say { color: var(--accent-ink); }
.cmd.is-current kbd { border-color: rgba(22, 28, 26, 0.35); color: var(--accent-ink); }
.palette__empty { padding: 16px 20px 24px; color: var(--muted); }
.topics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 3rem; }
.topics__head { grid-column: 1 / span 4; align-self: start; }
.topics__title { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.03em; }
.topics__lede { margin-top: 1.25rem; max-width: 30ch; }
.topics__grid { grid-column: 5 / -1; columns: 3; column-gap: var(--gutter); }
.topics__group { break-inside: avoid; padding-bottom: 2rem; }
.topics__name { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.625rem; font-size: var(--step-body); font-weight: 500; color: var(--accent); list-style: none; cursor: default; }
.topics__name::-webkit-details-marker { display: none; }
.topics__name::marker { content: ""; }
.topics__name > span { flex: 1; }
.topics__name b { font-weight: 500; }
.topics__items li { padding: 0.25rem 0; line-height: 1.4; }
.topics__items li.is-esc::after, .esc-dot { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-left: 0.5rem; border-radius: 50%; background: var(--accent); vertical-align: 0.1em; }
.esc-dot { margin: 0 0.125rem; }

/* ---------- how it works: the photograph, then three stages as one bar ---------- */
.how { padding-bottom: var(--section); }
.band { position: relative; overflow: clip; background: var(--surface); }
.band img { width: 100%; height: clamp(22rem, 78svh, 52rem); object-fit: cover; }
.band__cap { position: absolute; left: var(--margin); bottom: var(--margin); max-width: 40ch; padding: 0.625rem 0.875rem; background: var(--bg); }
.band--sparks img { height: clamp(22rem, 84svh, 56rem); object-position: 50% 40%; }
.band--short img { height: clamp(16rem, 52svh, 34rem); object-position: 50% 30%; }
.how__title { margin: calc(var(--section) / 2) 0 clamp(3rem, 6vw, 5rem); }
.stages { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 6px; counter-reset: none; }
.stage { display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; gap: 1rem; }
.stage__n { display: flex; align-items: flex-end; height: clamp(7rem, 14vw, 12rem); padding: 0.75rem 1rem; background: var(--ink); color: var(--bg); font-size: var(--step-big); font-weight: 300; letter-spacing: -0.05em; line-height: 0.8; }
.stage:nth-child(2) .stage__n { background: var(--accent); }
.stage__n { transform-origin: left center; }
.stage__name { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; margin-top: 0.5rem; padding-right: 1rem; }
.stage p { max-width: 38ch; padding-right: 1rem; }
.stage__code { justify-self: start; max-width: 100%; overflow-x: auto; padding: 12px 16px; background: var(--surface); border-radius: 8px; font: 13px/1.6 var(--font-code); } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.how__after { margin-top: 3rem; max-width: 60ch; color: var(--muted); }

/* ---------- proof: the AI agent ---------- */
.agent { padding-block: calc(var(--section) / 2) var(--section); }
.agent__title { font-size: var(--step-mega); line-height: 0.88; letter-spacing: -0.055em; font-weight: 300; }
.agent__lede { margin-top: 2rem; max-width: 40ch; }
.agent__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: clamp(3rem, 6vw, 5rem); }
.numeral { display: grid; gap: 1rem; align-content: start; }
.numeral b { font-size: clamp(4.5rem, 13vw, 12.5rem); font-weight: 300; letter-spacing: -0.06em; line-height: 0.82; white-space: nowrap; }
.numeral span { font-size: var(--step-lead); line-height: 1.35; max-width: 24ch; }
.numeral--accent b { color: var(--accent); }
.agent__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(3.5rem, 7vw, 6rem); }
.agent__stats div { display: grid; align-content: start; gap: 0.5rem; padding-top: 1rem; border-top: 4px solid var(--surface-2); }
.agent__stats dt { font-size: var(--step-head); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; }
.agent__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; margin-top: clamp(4rem, 8vw, 7rem); }
.agent__text { grid-column: 1 / span 6; display: grid; gap: 1.75rem; }
.agent__rules { display: grid; gap: 0.75rem; padding-left: 1.25em; }
.agent__rules li::marker { color: var(--accent); }
.draft { grid-column: 8 / -1; background: var(--deep); border: 1px solid var(--ui-line); border-radius: 10px; font-size: 14px; overflow: hidden; } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.draft__bar { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--ui-line); font-weight: 500; } /* taste-skill-ignore: data-ui fragment or hidden spam trap */
.draft__state { color: var(--accent); font-weight: 500; }
.draft__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ui-line); border-bottom: 1px solid var(--ui-line); } /* taste-skill-ignore: data-ui fragment or hidden spam trap */
.draft__meta div { padding: 10px 16px; background: var(--deep); }
.draft__meta dt { color: var(--muted); font-size: 13px; }
.draft__body { padding: 14px 16px; font-size: 15px; }
.draft__body p + p { margin-top: 8px; }
.draft__actions { display: flex; justify-content: flex-end; gap: 8px; padding: 0 16px 16px; }
.draft__btn { padding: 8px 12px; border: 1px solid var(--ui-line); border-radius: 6px; font-size: 13px; } /* taste-skill-ignore: inside a data-ui fragment, code block or link underline */
.draft__btn--go { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 500; }

/* ---------- pricing: one large table, Pro on the accent ---------- */
.pricing { padding-bottom: var(--section); }
.pricing__lede { margin-top: 1.75rem; max-width: 40ch; }
.plans { width: 100%; margin-top: clamp(3rem, 6vw, 5rem); border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.plans th, .plans td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; font-weight: 400; }
.plans thead th { padding-block: 1.5rem 0.5rem; font-size: var(--step-head); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.plans thead td { width: 28%; }
.plans tbody th { color: var(--muted); font-size: var(--step-small); padding-top: 1.2rem; }
.plans tbody tr:nth-child(even) > * { background: rgba(31, 39, 37, 0.6); }
.plans__price td { font-size: var(--step-big); font-weight: 300; letter-spacing: -0.05em; line-height: 1; padding-block: 0.75rem 1.5rem; }
.plans .is-pick { background: var(--accent) !important; color: var(--accent-ink); }
.plans thead .is-pick { padding-top: 1.5rem; }
.plans__buy td { padding-block: 1.5rem; }
.plans__buy .button { width: 100%; }
.pricing__after { max-width: 64ch; margin-top: 2.5rem; font-size: var(--step-lead); line-height: 1.4; }
.pricing__after + .pricing__after { margin-top: 1rem; }

/* ---------- FAQ: answers as reading text ---------- */
.faq { padding-block: var(--section); }
.faq__list { margin-top: clamp(3rem, 6vw, 5rem); max-width: 84rem; border-bottom: 1px solid var(--surface-2); }
.faq__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; padding-block: clamp(1.25rem, 2.5vw, 2rem); border-top: 1px solid var(--surface-2); }
.faq__q { font-size: var(--step-lead); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; color: var(--accent); }
.faq__a { max-width: 62ch; }
@media (min-width: 52rem) {
  .faq__item { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 5rem); }
}

/* ---------- CTA: the question at both edges ---------- */
.try { display: grid; grid-template-rows: auto 1fr auto; min-height: 100svh; padding: var(--margin); background: var(--ink); color: var(--bg); }
.try__title { display: contents; font-size: var(--step-mega); line-height: 0.9; letter-spacing: -0.055em; font-weight: 300; }
.try__a, .try__b { display: block; font-size: var(--step-mega); line-height: 0.9; letter-spacing: -0.055em; }
.try__a { grid-row: 1; }
.try__b { grid-row: 3; justify-self: end; text-align: right; }
.try__mid { grid-row: 2; }
.try__mid { align-self: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; padding-block: 3rem; }
.try__pitch { display: grid; gap: 1.5rem; justify-items: start; max-width: 36rem; }
.try__pitch > p:first-child { font-size: var(--step-lead); line-height: 1.38; }
.try__label { text-transform: none; letter-spacing: 0; opacity: 0.7; margin-bottom: 0.75rem; }
.try__six { list-style: none; padding: 0; counter-reset: six; max-width: 40rem; }
.try__six li { counter-increment: six; display: grid; grid-template-columns: 2.25em minmax(0, 1fr); align-items: baseline; padding-block: 0.7rem; border-top: 1px solid rgba(22, 28, 26, 0.18); font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.try__six li:last-child { border-bottom: 1px solid rgba(22, 28, 26, 0.18); }
.try__six li::before { content: counter(six); font-size: var(--step-small); opacity: 0.6; font-variant-numeric: tabular-nums; }
@media (min-width: 60rem) {
  .try__mid { grid-template-columns: minmax(0, 32rem) minmax(0, 40rem); justify-content: space-between; }
}
.try__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; padding-block: var(--section); }
.contact__picture { grid-column: 1 / span 5; position: sticky; top: 2rem; overflow: clip; }
.contact__picture img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; }
.contact__col { grid-column: 7 / -1; max-width: 40rem; }
.contact__lede { margin: 1.75rem 0 2.5rem; }
.contact__form { display: grid; gap: 0.5rem; }
.contact__label { font-size: var(--step-small); color: var(--muted); margin-top: 0.75rem; }
.contact__label:first-of-type { margin-top: 0; }
.field { width: 100%; min-height: 4rem; padding: 1rem 1.125rem; border: 0; border-bottom: 3px solid transparent; border-radius: var(--radius); background: var(--surface); font-size: max(1rem, var(--step-body)); }
.field::placeholder { color: var(--muted); }
textarea.field { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field:focus { outline: none; border-bottom-color: var(--accent); }
.contact__send { justify-self: start; margin-top: 1rem; }
.contact__next { margin-top: 0.75rem; max-width: 64ch; }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: data-ui fragment or hidden spam trap */
.contact__status { margin-bottom: 1.25rem; padding: 1rem 1.125rem; background: var(--surface); }
.contact__status:focus { outline: none; }
.contact__send:disabled { opacity: 0.7; cursor: progress; }
.contact__status--error { background: #3a2622; }
.contact__facts { display: grid; gap: 0.75rem; margin-top: 4rem; font-size: var(--step-small); }
.contact__facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; }
.contact__facts dt { color: var(--muted); }

/* ---------- footer: bone field, the name cropped by the edge ---------- */
.foot { overflow: clip; background: var(--ink); color: var(--bg); padding-top: clamp(4rem, 9vw, 8rem); }
.foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; }
.foot__invite { grid-column: 1 / span 6; display: grid; justify-items: start; gap: 2rem; }
.foot__line { font-size: var(--step-big); font-weight: 300; letter-spacing: -0.045em; line-height: 0.95; }
.foot__nav { grid-column: 8 / span 2; display: grid; align-content: start; gap: 0.25rem; }
.foot__nav a { text-decoration: none; width: fit-content; padding: 0.25rem 0; transition: color var(--t-hover) var(--ease-out); }
.foot__nav a:hover { color: #3e6a5b; }
.foot__fine { grid-column: 10 / -1; display: grid; align-content: start; gap: 1rem; }
/* Small type, full-size tap target: the padding is cancelled by the margin, so the layout doesn't move. */
.foot__fine a { display: inline-block; padding-block: 0.5rem; margin-block: -0.5rem; }
.foot__name { display: flex; align-items: center; gap: 0.12em; margin-top: 2rem; padding-inline: var(--margin); font-size: 15.6vw; font-weight: 500; letter-spacing: -0.06em; line-height: 1; white-space: nowrap; padding-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.foot__mark { width: 0.9em; height: 0.9em; flex: none; overflow: visible; }

/* ---------- document pages (Privacy, Terms) ---------- */
.doc { max-width: 52rem; margin-inline: auto; padding-block: clamp(3rem, 6vw, 5rem) 5rem; }
.doc__head { display: grid; gap: 0.75rem; margin-bottom: 3rem; }
.doc__body { display: grid; gap: 1rem; }
.doc__body h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin-top: 2rem; }
.doc__body ul, .doc__body ol { display: grid; gap: 0.5rem; padding-left: 1.25em; margin: 0; }
.doc__body a { text-decoration: underline; text-underline-offset: 0.18em; }
.doc__body a:hover { color: var(--accent); }
.doc__body table { width: 100%; border-collapse: collapse; font-size: var(--step-small); }
.doc__body th, .doc__body td { border: 1px solid var(--ui-line); padding: 0.75rem; text-align: left; vertical-align: top; }
.doc__body th { font-weight: 500; }
.doc__body p, .doc__body li { max-width: 68ch; }

/* ---------- motion (content stays visible without JavaScript) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up var(--t-enter) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 80ms + 100ms); }
  .js .chip { animation: rise var(--t-enter) var(--ease-out) both; }
  .js .chip--a { animation-delay: 300ms; }
  .js .chip--b { animation-delay: 360ms; }
  .js .chip--c { animation-delay: 420ms; }
  .js .shutter[data-reveal] img { opacity: 0; transition: opacity var(--t-enter) var(--ease-out); }
  .js .shutter[data-reveal].is-in img { opacity: 1; }
  .js [data-reveal] .stage__n { transform: scaleX(0); transition: transform var(--t-enter) var(--ease-out); }
  .js [data-reveal] .stage:nth-child(2) .stage__n { transition-delay: 80ms; }
  .js [data-reveal] .stage:nth-child(3) .stage__n { transition-delay: 160ms; }
  .js [data-reveal].is-in .stage__n { transform: none; }
  .js [data-reveal] .numeral b { opacity: 0; transform: translateY(0.25em); transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out); }
  .js [data-reveal] .numeral + .numeral b { transition-delay: 80ms; }
  .js [data-reveal].is-in .numeral b { opacity: 1; transform: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1099.98px) {
  .chip--a { top: 4%; left: auto; right: 0; }
  .chip--b { top: calc(100% + 2.5rem); right: 0; }
  .facts__title, .facts__list { grid-column: 1 / -1; }
  .chip--c { display: none; }
  .js .chip--c { display: none; }
  .cmds__head, .palette, .topics__head, .topics__grid { grid-column: 1 / -1; }
  .topics__grid { columns: 2; }
  .topics { row-gap: 2rem; }
  .reply, .ask__note, .ask__miss, .demo__lede, .demo__video, .demo__note { grid-column: 1 / -1; }
  .agent__text, .draft { grid-column: 1 / -1; }
  .draft { margin-top: 3rem; max-width: 40rem; }
  .agent__stats { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .contact__picture { grid-column: 1 / -1; position: static; margin-bottom: 3rem; }
  .contact__picture img { aspect-ratio: 3 / 2; }
  .contact__col { grid-column: 1 / -1; }
  .foot__invite { grid-column: 1 / -1; }
  .foot__nav { grid-column: 1 / span 6; }
  .foot__fine { grid-column: 7 / -1; }
}
/* below 900px the chips leave the headline and sit in a row under it, untilted */
@media (max-width: 899.98px) {
  .hero { justify-content: flex-start; min-height: 0; padding-top: 7.5rem; padding-bottom: 5rem; gap: 2rem; }
  .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
  .chip, .chip--a, .chip--b, .chip--c { position: static; display: grid; transform: none; }
  .js .chip--c { display: grid; }
  .stages { grid-template-columns: 1fr; gap: 3rem; }
  .stage { grid-template-columns: 5.5rem 1fr; grid-template-rows: none; column-gap: 1.25rem; row-gap: 0.75rem; }
  .stage__n { grid-row: 1 / span 3; height: 5.5rem; font-size: 4rem; padding: 0.5rem 0.625rem; }
  .stage__name { margin-top: 0; }
  .stage > :not(.stage__n) { grid-column: 2; }
  .plans, .plans tbody, .plans tr, .plans th, .plans td { display: block; }
  .plans thead { display: none; }
  .plans tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 4px; padding-block: 0.5rem; }
  .plans tbody tr:nth-child(even) > * { background: none; }
  .plans tbody th { grid-column: 1 / -1; padding: 0.75rem 0 0.5rem; }
  .plans td { padding: 0.625rem 0.625rem 0.75rem; background: var(--surface); font-size: var(--step-small); }
  .plans td::before { content: attr(data-plan); display: block; margin-bottom: 0.25rem; font-weight: 500; }
  .plans__price th { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .plans__price td { font-size: var(--step-head); }
  .plans__price td::before { font-size: var(--step-small); letter-spacing: 0; }
  .plans__buy { grid-template-columns: 1fr !important; gap: 6px !important; }
  .plans__buy td { padding: 0; background: none; }
  .plans__buy td::before { display: none; }
  .plans__buy .is-pick .button--dark:not(.is-soon) { background: var(--accent); color: var(--accent-ink); }
}

/* ---------- phone ---------- */
@media (max-width: 600px) {
  :root { --section: 5.5rem; }
  .top__link { display: none; }
  .top__nav { gap: 0.75rem; }
  .top__nav .menu { display: block; }
  .top { position: relative; }
  .brand__by { display: none; }
  .hero { min-height: 0; padding-bottom: 4rem; }
  .chip { flex: 1 1 auto; }
  .agent__stats { grid-template-columns: 1fr; }
  .facts__list { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .facts__list dt { font-size: var(--step-mega); }
  .facts__list dd { font-size: var(--step-body); }
  .hero__credit { left: var(--margin); right: auto; text-align: left; }
  .hero__film img { width: 100%; opacity: 0.45; object-position: 55% 50%; }
  .topics__grid { columns: 1; }
  /* On a phone each group folds shut (site.js closes them; without script they stay open). */
  .topics__group { padding-bottom: 0; }
  .topics__name { min-height: 3rem; margin-bottom: 0; align-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .topics__name::after { content: "+"; width: 1.5rem; text-align: center; font-size: 1.5rem; line-height: 1; color: var(--accent); }
  .topics__group[open] > .topics__name::after { content: "\2212"; }
  .topics__group[open] > .topics__items { padding-bottom: 1.25rem; }
  .topics__name:focus-visible { outline-offset: 2px; }
  .stage__code { white-space: pre-wrap; overflow-wrap: anywhere; }
  .contact__facts div { grid-template-columns: 1fr; gap: 0.125rem; }
  .foot__nav, .foot__fine { grid-column: 1 / -1; }
  .foot__name { font-size: 15.2vw; }
  .try__mid { padding-block: 2rem; }
  :root { --step-big: 2.5rem; }
  .ask__input { font-size: var(--step-big); }
  .agent__pair { grid-template-columns: 1fr; gap: 3rem; }
  .numeral b, .stage__n { font-size: var(--step-mega); }
}
.agent__note { max-width: 64ch; }

/* ---------- pages other than home ---------- */
:where(main).page { padding-top: clamp(2.5rem, 7vw, 6rem); }
:where(main).page > :first-child { padding-top: 0; }
:where(main).page > .how:first-child .how__title { margin-top: 0; }
:where(main).page h1.big, :where(main).page .agent__title { font-weight: 300; }
.top__link[aria-current="page"] { color: var(--accent); }
.next { padding-block: calc(var(--section) / 2) var(--section); }
.next__link { display: inline-block; font-size: var(--step-head); line-height: 1.1; letter-spacing: -0.03em; text-decoration: none; transition: color var(--t-hover) var(--ease-out); }
.next__link:hover { color: var(--accent); }
.next__label { color: var(--accent); }

/* the phone menu: a disclosure, so it opens without script too */
.menu { display: none; }
.menu__btn { display: flex; align-items: center; min-height: 44px; padding: 0 0.25rem; list-style: none; cursor: pointer; font-size: var(--step-small); font-weight: 500; }
.menu__btn::-webkit-details-marker { display: none; }
.menu__btn::marker { content: ""; }
.menu[open] .menu__btn { color: var(--accent); }
.menu__panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; display: grid; padding: 0.5rem var(--margin) 1.5rem; min-height: calc(100svh - 5.5rem); background: var(--bg); }
.menu:not([open]) .menu__panel { display: none; }
.menu__panel a { display: flex; align-items: center; min-height: 3.25rem; font-size: var(--step-head); letter-spacing: -0.02em; text-decoration: none; }
.menu__panel a[aria-current="page"] { color: var(--accent); }

/* ---------- guides: the list (page-guides.php) and one guide (single.php) ---------- */
.guides { padding-bottom: var(--section); }
.guides__head { display: grid; gap: 1.5rem; padding-bottom: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--ui-line); }
.guides__lede { color: var(--muted); max-width: 38ch; }
.guides__lede p { margin: 0; }
.guides__list { list-style: none; margin: 0; padding: 0; }
.guides__item { border-bottom: 1px solid var(--ui-line); }
.guides__link { display: grid; grid-template-columns: minmax(7rem, 2fr) 10fr; gap: var(--gutter); padding-block: clamp(1.75rem, 3.5vw, 2.75rem); text-decoration: none; }
.guides__date { padding-top: 0.6em; color: var(--muted); font-variant-numeric: tabular-nums; }
.guides__text { display: grid; gap: 0.75rem; max-width: 46rem; }
.guides__title { font-size: var(--step-head); line-height: 1.08; letter-spacing: -0.03em; font-weight: 300; text-wrap: balance; transition: color var(--t-hover) var(--ease-out); }
.guides__link:hover .guides__title, .guides__link:focus-visible .guides__title { color: var(--accent); }
.guides__excerpt { color: var(--muted); max-width: 60ch; }
.guides__time { color: var(--muted); }
.guides__pages { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; padding-top: 2.5rem; }
.guides__pages a, .guides__pages span { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.guides__pages a:hover { color: var(--accent); }
.guides__pages .current { color: var(--accent); }
.guides__empty { display: grid; gap: 1rem; padding-top: clamp(2.5rem, 5vw, 4rem); }
.guides__empty .lead { max-width: 30ch; }

.guide { padding-bottom: var(--section); }
.guide__article { max-width: 46rem; }
.guide__head { display: grid; gap: 1.25rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--ui-line); }
.guide__up a { color: var(--accent); }
.guide__title { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.75rem); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; max-width: 20ch; }
.guide__lede { color: var(--muted); max-width: 40ch; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; color: var(--muted); margin: 0; }
.guide__body { gap: 1.15rem; }
.guide__body h2 { font-size: var(--step-lead); margin-top: 2.25rem; margin-bottom: 0; line-height: 1.25; }
.guide__body h3 { font-size: var(--step-body); font-weight: 600; margin: 1.25rem 0 0; }
.guide__body p, .guide__body ul, .guide__body ol { margin: 0; }
.guide__body strong { font-weight: 600; }
.guide__body blockquote { margin: 0.5rem 0; padding-left: 1.25rem; border-left: 2px solid var(--accent); color: var(--ink); }
.guide__body blockquote p { font-size: var(--step-lead); line-height: 1.4; max-width: 40ch; }
.guide__body code { font-family: var(--font-code); font-size: 0.9em; }
.guide__body img { max-width: 100%; height: auto; }
.guide__kit { display: grid; gap: 1rem; max-width: 46rem; margin-top: clamp(4rem, 8vw, 6rem); padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); }
.guide__kit-title { font-size: var(--step-lead); font-weight: 500; margin: 0; }
.guide__kit p { margin: 0; max-width: 56ch; }
.guide__kit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; padding-top: 0.5rem; }
.guide__more { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); max-width: 46rem; margin-top: 3rem; }
.guide__step { display: grid; gap: 0.35rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--ui-line); text-decoration: none; }
.guide__step .small { color: var(--muted); }
.guide__step-title { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; transition: color var(--t-hover) var(--ease-out); }
.guide__step:hover .guide__step-title { color: var(--accent); }
.guide__step--newer { grid-column: 2; text-align: right; }
@media (max-width: 600px) {
  .guides__link { grid-template-columns: 1fr; gap: 0.5rem; }
  .guides__date { padding-top: 0; }
  .guide__more { grid-template-columns: 1fr; }
  .guide__step--newer { grid-column: auto; text-align: left; }
  .guide__kit-actions .button { width: 100%; justify-content: center; }
}

/* ---------- touch screens, any width: thumb-sized targets, 44px or more ---------- */
@media (pointer: coarse), (max-width: 600px) {
  .seg span { padding-block: 12px; font-size: 16px; }
  .brand { min-height: 44px; }
  .hero__actions .link-plain { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__nav { gap: 0; }
  .foot__nav a { display: flex; align-items: center; min-height: 44px; padding: 0; }
}
