/* Marketing site and docs. Loads after tokens.css and app.css (both copied from design/ by site/build.js).
   Layout idea: one 1120px column, left-aligned type, the product itself as the hero image. */

body { font-size: 16px; line-height: 1.6; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
main { display: block; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--panel); padding: 8px 12px; border-radius: var(--r-sm); }

/* header */
.sitehead { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sitehead .wrap { display: flex; align-items: center; gap: var(--s5); min-height: 60px; }
.sitehead .brand { padding: 0; color: var(--ink); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }
.sitehead .brand b { font-size: 16px; }
.sitenav { display: flex; align-items: center; gap: var(--s1); flex: 1; }
.sitenav a { color: var(--mut); text-decoration: none; font-size: 14.5px; min-height: var(--tap); display: inline-flex; align-items: center; padding: 0 12px; white-space: nowrap; border-radius: var(--r-sm); }
.sitenav a:hover { color: var(--ink); background: var(--panel2); }
.sitenav a[aria-current="page"] { color: var(--ink); }
/* Features (7th link) needs about 934px; below 960px it lives in the footer and the phone menu */
@media (max-width: 959px) { .sitenav a[href$="features/index.html"] { display: none; } }
.headcta { display: flex; align-items: center; gap: var(--s2); }
.headcta .btn { min-height: var(--tap); }
/* a price or trial-length span inside a button is part of the label, not a separate flex item (no gap around "14") */
.btn > [data-pricing] { display: contents; }
/* the header is navigation: its CTA is an outline on every page, and the page body owns the one filled button */
.sitehead .headcta .btn.go { background: transparent; border-color: var(--accent-line); color: var(--accent-ink); }
.sitehead .headcta .btn.go:hover { border-color: var(--accent); }
.menu { display: none; }
@media (max-width: 859px), (max-height: 500px) and (max-width: 959px) {
  .sitenav, .headcta .signin { display: none; }
  .sitehead .wrap { gap: var(--s2); }
  .sitehead .brand { flex: 1; }
  .menu { display: block; }
  .menu summary { list-style: none; width: var(--tap); height: var(--tap); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line2); border-radius: var(--r-md); color: var(--mut); cursor: pointer; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { color: var(--accent-ink); border-color: var(--accent); }
  .menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); border-bottom: 1px solid var(--line); padding: var(--s2) max(20px, env(safe-area-inset-right, 0px)) var(--s4) max(20px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; box-shadow: var(--shadow-pop); }
  .menu nav a { color: var(--ink); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu nav a:last-child { border-bottom: 0; }
}
@media (max-height: 500px) { .sitehead .wrap { min-height: 52px; } }

/* type */
.eyebrow { font: 500 12px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.display { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.03em; font-weight: 650; max-width: 17ch; }
.h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.02em; font-weight: 650; max-width: 22ch; }
.h3 { font-size: 19px; font-weight: 650; letter-spacing: -.005em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--mut); max-width: 60ch; }
.lead b, .prose b { color: var(--ink); font-weight: 600; }
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sechead { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s10); }
.cta-row { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; }
.btn.big { min-height: 50px; padding: 0 22px; font-size: 16px; }
.undercta { font: 13px/1.5 var(--sans); color: var(--mut); }
.proofline { display: flex; gap: 8px; align-items: flex-start; font: 13px/1.5 var(--sans); color: var(--mut); max-width: 60ch; }
.proofline svg { width: 16px; height: 16px; margin-top: 2px; color: var(--good); flex: none; }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 72px); }
.hero .top { display: flex; flex-direction: column; gap: var(--s5); margin-bottom: clamp(32px, 5vw, 56px); }
.hero .btn.big.quiet { justify-content: flex-start; padding-left: 0; }   /* the secondary link sits on its own row, flush left */
@media (max-width: 499px) { .hero .btn.go.big { width: 100%; } }
/* phone held sideways: heading and CTA in the first frame (gate 11-15, change 15) */
@media (max-height: 500px) and (max-width: 959px) {
  .hero { padding-block: var(--s4) var(--s8); }
  .hero .top { gap: var(--s3); margin-bottom: var(--s6); }
  .hero .eyebrow { display: none; }
  .hero .display { font-size: 28px; max-width: none; }
  .hero .lead { font-size: 15px; line-height: 1.5; max-width: 72ch; }
  .hero .btn.big { min-height: var(--tap); }
}
.demo { border: 1px solid var(--line2); border-radius: var(--r-xl); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-pop); }
.demo-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--dim); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.demo-bar span { margin-left: 8px; }
.demo-app { display: grid; grid-template-columns: 236px minmax(0, 1fr); height: 470px; }
.demo-side { background: var(--panel); border-right: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.demo-side .tree { padding-top: var(--s2); }
.demo-main { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; }
.demo .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); overflow: hidden; }
.demo .read { font-size: 14.5px; line-height: 1.55; padding: 14px 18px; overflow: hidden; }
.demo .read .turn { margin-bottom: 12px; }
.demo .pane .head { min-height: 38px; }
.demo .term { font-size: 12px; }
.demo .usage-mini { margin-top: auto; border-top: 1px solid var(--line); padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 6px; font: 12px var(--mono); color: var(--dim); }
.demo .usage-mini .rowm { display: flex; gap: 8px; align-items: center; }
.demo .usage-mini .meter { flex: 1; }
.demo .inrow .msg { display: flex; align-items: center; color: var(--dim); font-size: 13.5px; }
@media (max-width: 859px) {
  .demo-app { grid-template-columns: minmax(0, 1fr); height: 430px; }
  .demo-side { display: none; }
  .demo .grid { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; }
  .demo .grid .pane { display: none; border: 0; border-radius: 0; }
  .demo .grid .pane.target { display: flex; box-shadow: none; }
  .demo .sendto .chip:nth-child(n+4) { display: none; }
}

/* trust strip */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.strip > div { padding: var(--s5); display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--mut); }
.strip > div + div { border-left: 1px solid var(--line); }
.strip b { color: var(--ink); font-size: 15px; display: flex; gap: 8px; align-items: center; }
.strip b svg { color: var(--good); }
@media (max-width: 859px) { .strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .strip > div:nth-child(3) { border-left: 0; } .strip > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 519px) { .strip { grid-template-columns: minmax(0, 1fr); } .strip > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* features */
.feats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); }
.feat { grid-column: span 2; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); min-width: 0; }
.feat.w3 { grid-column: span 3; }
.feat p { color: var(--mut); font-size: 15.5px; }
.feat .vig { margin-top: auto; padding-top: var(--s3); }
.feat .tier { align-self: flex-start; }
@media (max-width: 859px) { .feats { grid-template-columns: minmax(0, 1fr); } .feat, .feat.w3 { grid-column: auto; } }
.askcard { border: 1px solid var(--warn-line); background: var(--warn-soft); border-radius: var(--r-md); padding: var(--s3) var(--s4); display: flex; flex-direction: column; gap: var(--s2); font-size: 14px; }
.askcard .from { font: 12px var(--mono); color: var(--warn); letter-spacing: .08em; text-transform: uppercase; }
.askcard .opts { display: flex; gap: var(--s2); flex-wrap: wrap; }
.askcard .opts span { border: 1px solid var(--line2); background: var(--panel); border-radius: var(--r-sm); padding: 6px 12px; font-weight: 600; font-size: 13px; }
.dm { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.dm .r { display: flex; align-items: center; gap: var(--s2); padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel2); }
.dm .r .q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm .yn { font: 600 12px var(--mono); padding: 2px 7px; border-radius: var(--r-xs); border: 1px solid var(--line2); color: var(--dim); }
.dm .yn.on { background: var(--good-soft); border-color: var(--good-line); color: var(--good); }

/* steps (a real sequence) */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); counter-reset: how; margin: 0; padding: 0; list-style: none; }
.how li { counter-increment: how; display: flex; flex-direction: column; gap: var(--s2); padding-top: var(--s4); border-top: 2px solid var(--line2); }
.how li::before { content: counter(how); font: 600 13px var(--mono); color: var(--accent-ink); }
.how p { color: var(--mut); font-size: 15.5px; }
@media (max-width: 859px) { .how { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } }

/* two-column text + aside */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 859px) { .split { grid-template-columns: minmax(0, 1fr); } }
.cando { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 699px) { .cando { grid-template-columns: minmax(0, 1fr); } }
.cando .card { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.checks { font-size: 15px; }

/* pricing */
.plans.site .plan { padding: var(--s6); gap: var(--s4); }
.plans.site .plan ul { font-size: 15px; }
.plan .sub { color: var(--mut); font-size: 14.5px; min-height: 2.9em; }
.ivl { display: inline-flex; border: 1px solid var(--line2); border-radius: var(--r-sm); overflow: hidden; align-self: flex-start; }
.ivl label { font: 12px var(--mono); padding: 7px 12px; color: var(--mut); cursor: pointer; }
.ivl-r { position: absolute; opacity: 0; pointer-events: none; }
#ivl-y:checked ~ .ivl label[for="ivl-y"], #ivl-m:checked ~ .ivl label[for="ivl-m"] { background: var(--accent); color: var(--on-accent); font-weight: 600; }
#ivl-y:checked ~ .when-m, #ivl-m:checked ~ .when-y, #ivl-y:checked ~ * .when-m, #ivl-m:checked ~ * .when-y { display: none; }
#ivl-y:focus-visible ~ .ivl, #ivl-m:focus-visible ~ .ivl { outline: 2px solid var(--accent2); outline-offset: 2px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
table.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
table.cmp th, table.cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp thead th { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
table.cmp td:first-child { color: var(--mut); }
table.cmp td svg { color: var(--good); vertical-align: middle; }
table.cmp .no { color: var(--dim); }

/* faq */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; gap: var(--s3); align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font: 400 20px/1.2 var(--mono); color: var(--dim); flex: none; }
.faq details[open] summary::after { content: "\2212"; color: var(--accent-ink); }
.faq .a { padding: 0 0 20px; color: var(--mut); max-width: 68ch; display: flex; flex-direction: column; gap: var(--s3); }
.faq .a code, .prose code { font: .88em var(--mono); background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 1px 5px; overflow-wrap: anywhere; }

/* prose pages: security, docs */
.pagetop { padding-block: clamp(40px, 6vw, 72px) var(--s8); display: flex; flex-direction: column; gap: var(--s4); }
.pagetop .display { font-size: clamp(32px, 4.6vw, 52px); max-width: 20ch; }
.docgrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: var(--s24); }
.toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.toc .label { margin-bottom: var(--s2); }
.toc a { color: var(--mut); text-decoration: none; padding: 5px 10px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--ink); border-color: var(--accent); }
.toc a.other { border-left-color: transparent; padding-left: 0; }
/* phone and tablet: a shorter page head, and "On this page" is one scrolling row of 44px pills (gate 11-15, changes 30, 31) */
@media (max-width: 859px), (max-height: 500px) and (max-width: 959px) {
  .pagetop { padding-block: var(--s6) var(--s4); gap: var(--s3); }
  .pagetop .lead { font-size: 15px; }
  .docgrid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .toc { position: static; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); padding-right: 32px; }
  .toc::-webkit-scrollbar { display: none; }
  .toc .label { flex: none; margin: 0 6px 0 0; }
  .toc a { flex: none; min-height: var(--tap); display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: var(--r-pill); padding: 0 14px; white-space: nowrap; scroll-snap-align: start; }
  .toc a.other { padding-left: 14px; border-color: var(--line2); }
}
@media (max-height: 500px) and (max-width: 959px) {
  .pagetop { padding-block: var(--s4) var(--s3); gap: var(--s2); }
  .pagetop .display { font-size: 26px; }
  .pagetop .eyebrow { display: none; }
}
.prose { display: flex; flex-direction: column; gap: var(--s4); min-width: 0; max-width: 760px; }
.prose h2 { font-size: 26px; letter-spacing: -.015em; font-weight: 650; margin-top: var(--s10); scroll-margin-top: 84px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 650; margin-top: var(--s4); }
.prose p, .prose li { color: var(--mut); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose ul.checks { padding-left: 0; }
.prose .tablewrap table { min-width: 520px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--mut); }
.prose th { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.prose td:first-child { color: var(--ink); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose .code { font-size: 13px; }
/* phone: tables stack into one card per row. site/build.js puts each column's header on its cells as data-th; the first cell is
   the row's title, the second reads as its text, the rest carry their label (gate 11-15, change 32). */
@media (max-width: 699px) {
  .prose > .tablewrap { overflow: visible; }
  .prose > .tablewrap table { min-width: 0; display: block; }
  .prose > .tablewrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prose > .tablewrap tbody { display: block; }
  .prose > .tablewrap tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .prose > .tablewrap tr:last-child { border-bottom: 0; }
  .prose > .tablewrap td { display: block; padding: 0; border: 0; }
  .prose > .tablewrap td:first-child { font-weight: 600; color: var(--ink); white-space: normal; margin-bottom: 4px; }
  .prose > .tablewrap td:nth-child(n+3) { margin-top: 8px; }
  .prose > .tablewrap td:nth-child(n+3)::before { content: attr(data-th); display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
}
.note { border-left: 2px solid var(--accent); background: var(--accent-soft); padding: var(--s3) var(--s4); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 15px; color: var(--mut); }
.note b { color: var(--ink); }

/* diagram */
.diagram { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: var(--s4); }
.diagram svg { display: block; width: 100%; min-width: 760px; height: auto; font-family: var(--mono); }
.diagram .bx { fill: var(--panel2); stroke: var(--line2); }
.diagram .bx2 { fill: var(--bg); stroke: var(--line2); }
.diagram .acc { fill: var(--accent-soft); stroke: var(--accent); }
.diagram .t { fill: var(--ink); font-size: 13px; }
.diagram .tm { fill: var(--mut); font-size: 12px; letter-spacing: -.04em; }   /* 12px floor; tighter tracking keeps the lines inside their boxes */
.diagram .td { fill: var(--dim); font-size: 12px; letter-spacing: .08em; }
.diagram .ta { fill: var(--accent-ink); font-size: 12px; font-weight: 600; }
.diagram .ln { stroke: var(--accent); stroke-width: 2; fill: none; }
.diagram .ln2 { stroke: var(--mut); stroke-width: 1.5; fill: none; stroke-dasharray: 5 4; }
.diagram .ah { fill: var(--accent); } .diagram .ah2 { fill: var(--mut); }
.diagram .wall { stroke: var(--bad); stroke-width: 1.5; stroke-dasharray: 3 4; fill: none; }
.diagram .tb { fill: var(--bad); font-size: 12px; }
.cap { font-size: 13.5px; color: var(--dim); margin-top: var(--s2); }

/* final cta */
.final { display: flex; flex-direction: column; gap: var(--s5); align-items: flex-start; }

/* footer */
.sitefoot { border-top: 1px solid var(--line); background: var(--panel); padding-block: var(--s12) var(--s8); font-size: 14.5px; }
.footgrid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--s8); }
.footgrid .brand { padding: 0; margin-bottom: var(--s2); }
.footgrid p { color: var(--dim); max-width: 34ch; }
.footgrid nav { display: flex; flex-direction: column; gap: 8px; }
.footgrid nav a { color: var(--mut); text-decoration: none; } .footgrid nav a:hover { color: var(--accent-ink); }
.legal { margin-top: var(--s10); padding-top: var(--s5); border-top: 1px solid var(--line); display: flex; gap: var(--s4); flex-wrap: wrap; color: var(--dim); font: 12.5px var(--mono); }
/* universal footer: "More from mjonesone LLC" between the link grid and the legal line (change 38) */
.fmore { margin-top: var(--s10); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; line-height: 1.8; }
.fmore a { color: var(--mut); text-decoration: none; }
.fmore a:hover { color: var(--accent-ink); }
.fmore + .legal { margin-top: var(--s4); padding-top: 0; border-top: 0; }
/* a button that reads as a link (Send feedback opens the feedback form, change 20) */
.linkbtn { display: inline; padding: 0; margin: 0; border: 0; background: none; color: var(--accent-ink); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.linkbtn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; border-radius: 2px; }
@media (max-width: 699px) { .footgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footgrid > div:first-child { grid-column: 1 / -1; } }
.plan li.soon { color: var(--dim); } .plan li.soon svg { color: var(--dim); }

/* --- accounts board as the hero, and the plan ladder (multi-account positioning) --- */
.demo-board { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.demo .accts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo .acct { background: var(--panel); }
.demo .lmts { display: flex; flex-direction: column; gap: var(--s3); }
.demo .schips { flex-direction: row; }
.demo .schip { cursor: default; width: auto; min-height: 28px; padding: 0 8px; font-size: 12px; }
/* demo board: 12px floor on its labels whatever app.css sets (gate 11-15, change 2) */
.demo .lmt .k { font-size: 12px; letter-spacing: .06em; }
.demo .lmt .note, .demo .lmt .note b.over { font-size: 12px; }
.demo .badge { font-size: 12px; letter-spacing: .03em; padding: 0 5px; }
.demo .schip:hover { border-color: var(--line2); color: var(--ink); }
.demo .schip.moving:hover { border-color: var(--warn-line); color: var(--warn); }
.demo .schip.arriving:hover { border-color: var(--good-line); color: var(--good); }
.demo .schip .snm { flex: 0 1 auto; }
.demo .amline { display: flex; align-items: center; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); font: var(--fs-xs) var(--mono); color: var(--dim); }
.demo .amline b { color: var(--mut); font-weight: 600; }
.demo .amline .switch { transform: scale(.72); transform-origin: left center; margin-right: -10px; pointer-events: none; }
.demo .moved .mv { grid-template-columns: 58px minmax(0, 1fr) auto; padding: var(--s3) var(--s4); }
.demo .mv time, .demo .mv .why { grid-column: auto; }
.demo .mv .why { grid-column: 2 / -1; }
/* Duo, 466 to 859: still two cards across, dense on purpose */
@media (max-width: 859px) {
  .demo-board { padding: var(--s3); gap: var(--s2); }
  .demo .accts { gap: var(--s2); }
  .demo .acct { padding: var(--s3); gap: var(--s2); }
  .demo .acct > header { flex-wrap: wrap; }
  .demo .acct .nm small { display: none; }
  .demo .lmt { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k p" "m m" "n n"; gap: 3px var(--s2); }
  .demo .lmt .note { font-size: 12px; }
  .demo .schip { min-height: 26px; font-size: 12px; padding: 0 7px; }
}
/* phone: one card across, the two that matter */
@media (max-width: 465px) {
  .demo .accts { grid-template-columns: minmax(0, 1fr); }
  .demo .acct:nth-child(n+3) { display: none; }
  .demo .acctsum span:nth-child(n+3) { display: none; }
}

/* small product pieces inside feature cards */
.vig .lmts { gap: var(--s2); }
.vig .moved { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel2); }
.vig .moved .mv { grid-template-columns: minmax(0, 1fr) auto; padding: var(--s3); }
.vig .mv .why { grid-column: 1 / -1; }
.vig .dest { cursor: default; background: var(--panel2); }
.feat.also { padding: var(--s5); }
.feat.also p { font-size: 15px; }
.feats.five .feat { grid-column: span 2; }
.feats.five .feat:nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 859px) { .feats.five .feat, .feats.five .feat:nth-child(-n+2) { grid-column: auto; } }

/* plan ladder on the site: five rungs on the home page, a picker on the pricing page */
.ladder.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ladder .rung .sub { font: var(--fs-xs)/1.4 var(--mono); color: var(--dim); }
.ladder .rung .pips { min-height: 12px; flex-wrap: wrap; row-gap: 3px; }
@media (max-width: 899px) {
  .ladder.five { grid-template-columns: minmax(0, 1fr); }
  .ladder .rung .sub { display: none; }
}
.planline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4) var(--s8); align-items: center; margin-top: var(--s5); }
.planline p { color: var(--mut); font-size: 15.5px; max-width: 66ch; }
@media (max-width: 859px) { .planline { grid-template-columns: minmax(0, 1fr); } }

.pn-r { position: absolute; opacity: 0; pointer-events: none; }
.pickrow { display: flex; align-items: center; gap: var(--s3) var(--s5); flex-wrap: wrap; margin-bottom: var(--s4); }
.pickrow .q { font-weight: 600; font-size: 17px; }
#pn1:checked ~ .ladder label[for="pn1"], #pn2:checked ~ .ladder label[for="pn2"], #pn4:checked ~ .ladder label[for="pn4"], #pn8:checked ~ .ladder label[for="pn8"], #pn12:checked ~ .ladder label[for="pn12"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-soft); }
#pn1:focus-visible ~ .ladder label[for="pn1"], #pn2:focus-visible ~ .ladder label[for="pn2"], #pn4:focus-visible ~ .ladder label[for="pn4"], #pn8:focus-visible ~ .ladder label[for="pn8"], #pn12:focus-visible ~ .ladder label[for="pn12"] { outline: 2px solid var(--accent2); outline-offset: 2px; }
.pp { display: none; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s6) clamp(24px, 5vw, 64px); align-items: start; margin-top: var(--s3); padding: var(--s6); border: 1px solid var(--accent); border-radius: var(--r-lg); background: var(--panel); }
#pn1:checked ~ .pdetail .pp1, #pn2:checked ~ .pdetail .pp2, #pn4:checked ~ .pdetail .pp4, #pn8:checked ~ .pdetail .pp8, #pn12:checked ~ .pdetail .pp12 { display: grid; }
.pp .buy { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; }
.pp h2 { font-size: 19px; font-weight: 650; display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.pp .price { font: 650 clamp(38px, 5vw, 52px)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pp .price small { font: 500 13px var(--mono); color: var(--dim); letter-spacing: 0; }
.pp .sub { color: var(--mut); font-size: 15px; }
.pp ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--mut); }
.pp li { display: flex; gap: 9px; align-items: flex-start; }
.pp li svg { color: var(--good); margin-top: 3px; }
.pp li.soon, .pp li.soon svg { color: var(--dim); }
.pp li b { color: var(--ink); font-weight: 600; }
@media (max-width: 859px) { .pp { grid-template-columns: minmax(0, 1fr); padding: var(--s5); } .pp .buy .btn { width: 100%; } }
table.cmp.wide { min-width: 820px; }
table.cmp.wide th:not(:first-child), table.cmp.wide td:not(:first-child) { text-align: center; padding-inline: 10px; white-space: nowrap; }
#ivl-y:checked ~ .pickrow .ivl label[for="ivl-y"], #ivl-m:checked ~ .pickrow .ivl label[for="ivl-m"] { background: var(--accent); color: var(--on-accent); font-weight: 600; }
/* .note is a callout on the docs pages; inside a limit row it is the plain forecast line */
.lmt .note { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
.demo .mv .how { justify-self: end; }
.vig .mv .how { display: none; }

/* ---------- multiple accounts: home section, pricing section, docs page (design/screens/site-multi-accounts.html) ---------- */
/* one folder, one account */
.acctmap { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.acctmap .hd, .acctmap .rw { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s4); align-items: center; padding: var(--s3) var(--s4); }
.acctmap .hd { padding-block: var(--s2); background: var(--panel2); border-bottom: 1px solid var(--line); }
.acctmap .rw + .rw { border-top: 1px solid var(--line); }
.acctmap .dir { font: 13px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.acctmap .dir small { display: block; font-size: 12px; color: var(--dim); }
.acctmap .who { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; min-width: 0; }
.acctmap .who small { flex: 1 1 100%; font: 12px var(--mono); color: var(--dim); font-weight: 400; }
.acctmap .wk { display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: var(--s2); align-items: center; font: 12px var(--mono); color: var(--mut); }
.acctmap .wk .num { text-align: right; }
.acctmap .ft { padding: var(--s2) var(--s4); border-top: 1px solid var(--line); background: var(--panel2); font: 12px var(--mono); color: var(--dim); }
.acctmap .ft b { color: var(--warn); font-weight: 600; }
@media (max-width: 519px) {
  .acctmap .hd { display: none; }
  .acctmap .rw { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2) var(--s3); }
  .acctmap .wk { grid-column: 1 / -1; }
}
.ma-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ma-split .sechead { margin-bottom: 0; }
.ma-split .cap { margin-top: var(--s3); }
.ma-why { list-style: none; margin: var(--s12) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.ma-why li { display: flex; flex-direction: column; gap: 6px; padding-top: var(--s4); border-top: 2px solid var(--line2); color: var(--mut); font-size: 15.5px; }
.ma-why b { color: var(--ink); font-size: 17px; font-weight: 650; }
/* the five steps, in order */
.ma-steps { list-style: none; margin: var(--s12) 0 0; padding: 0; counter-reset: ma; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.ma-steps li { counter-increment: ma; display: flex; flex-direction: column; gap: 6px; padding: var(--s5); font-size: 14.5px; color: var(--mut); min-width: 0; }
.ma-steps li + li { border-left: 1px solid var(--line); }
.ma-steps li::before { content: counter(ma); font: 600 12px var(--mono); color: var(--accent-ink); }
.ma-steps b { color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.3; }
.ma-steps code, .ma-tiers code { font: 12.5px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.ma-foot { display: flex; align-items: center; gap: var(--s2) var(--s4); flex-wrap: wrap; margin-top: var(--s6); }
@media (max-width: 859px) {
  .ma-split { grid-template-columns: minmax(0, 1fr); }
  .ma-why { grid-template-columns: minmax(0, 1fr); gap: var(--s4); margin-top: var(--s8); }
  .ma-steps { grid-template-columns: minmax(0, 1fr); margin-top: var(--s8); }
  .ma-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px var(--s2); padding: var(--s4); }
  .ma-steps li::before { grid-row: 1 / span 2; padding-top: 2px; }
  .ma-steps li > * { grid-column: 2; }
  .ma-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
}
/* pricing: plan = number of connected accounts */
.ma-tiers { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 15px; }
.ma-tiers th, .ma-tiers td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ma-tiers tr:last-child td { border-bottom: 0; }
.ma-tiers thead th { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); background: var(--panel2); }
.ma-tiers td { color: var(--mut); }
.ma-tiers td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.ma-tiers .n { display: flex; align-items: center; gap: var(--s3); white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.ma-tiers .n .pips { width: 38px; flex-wrap: wrap; row-gap: 3px; }
.ma-tiers .pr { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ma-tiers .pr small { font: 500 12px var(--mono); color: var(--dim); }
.ma-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); margin-top: var(--s8); }
.ma-facts > div { display: flex; flex-direction: column; gap: 6px; color: var(--mut); font-size: 15.5px; }
.ma-facts b { color: var(--ink); font-size: 16px; font-weight: 650; }
.ma-facts a { color: var(--accent-ink); }
@media (max-width: 859px) { .ma-facts { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }
/* screenshot slots. .todo = not captured yet: the <img> is hidden and the frame names the slot. */
.shot { margin: 0; display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.shot .frame { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); border: 1px solid var(--line2); background: var(--term-bg); overflow: hidden; }
.shot.r43 .frame { aspect-ratio: 4 / 3; max-width: 560px; }
.shot .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.shot.todo .frame img { visibility: hidden; }
.shot.todo .frame::after { content: attr(data-slot); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; white-space: pre-line; padding: var(--s4); font: 12px/1.6 var(--mono); color: var(--term-dim); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 10px, transparent 10px 20px); }
.shot figcaption { font-size: 13.5px; color: var(--dim); }
.prose .shot { margin-block: var(--s2); }
.prose h2 .stepn { font: 600 14px var(--mono); color: var(--accent-ink); margin-right: 10px; vertical-align: 3px; }
.prose dl.ref { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); font-size: 14.5px; }
.prose dl.ref dt, .prose dl.ref dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose dl.ref dt { color: var(--ink); font-weight: 600; }
.prose dl.ref dd { color: var(--mut); }
.prose dl.ref dt:last-of-type, .prose dl.ref dd:last-of-type { border-bottom: 0; }
@media (max-width: 519px) { .prose dl.ref { grid-template-columns: minmax(0, 1fr); } .prose dl.ref dt { border-bottom: 0; padding-bottom: 0; } }
/* home: Rooms section (mirrored split, example room built from the app's Rooms classes) and the two link cards under the hero.
   Design: design/src/site-rooms.html, spec design/ACTIVATION.md section 4. */
.ma-split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.ma-split.flip > .sechead { order: 2; }
@media (max-width: 859px) {
  .ma-split.flip { grid-template-columns: minmax(0, 1fr); }
  .ma-split.flip > .sechead { order: 0; }
}
.roomdemo .thead { min-height: 50px; padding: 6px var(--s4); }
.roomdemo .thead .rm-ico { width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--panel2); border: 1px solid var(--line); color: var(--mut); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.roomdemo .posts { overflow: visible; padding: var(--s4); gap: var(--s3); }
.roomdemo .post .tx { font-size: 14.5px; line-height: 1.5; }
.roomdemo .composer { padding: 9px var(--s3); }
.roomdemo .composer .btn { pointer-events: none; }
.rm-fine { font-size: 14.5px; line-height: 1.55; color: var(--dim); max-width: 60ch; }
.both { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); max-width: 860px; }
.both a { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px var(--s3); height: 100%; padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); color: var(--mut); font-size: 14.5px; line-height: 1.45; text-decoration: none; }
.both a:hover { border-color: var(--line2); }
.both a svg { width: 18px; height: 18px; margin-top: 2px; color: var(--dim); grid-row: 1 / span 2; }
.both a b { color: var(--ink); font-weight: 600; }
.both a span { grid-column: 2; }
@media (max-width: 699px) { .both { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 465px) {
  .roomdemo .posts { padding: var(--s3); }
  .roomdemo .post { grid-template-columns: 26px minmax(0, 1fr); gap: 0 var(--s2); }
  .roomdemo .post .av { width: 26px; height: 26px; font-size: 12px; }
  .roomdemo .post .tx { font-size: 14px; }
  .roomdemo .post.agent .tx { padding: var(--s2) var(--s3); }
  .roomdemo .post.agent .by small { display: none; }
}

/* gate round 2: the Broadcast vignette chips wrap inside their tile instead of running past it */
.vig .sendto { flex-wrap: wrap; overflow: visible; }

/* ===== BEGIN Layout pass 2 (site) ===== */
/* S1. Phone held sideways: a 48px header, and the hero is two columns so the first cards sit beside the heading */
@media (max-height: 500px) and (max-width: 959px) {
  .sitehead .wrap { min-height: 48px; }
}
@media (max-height: 500px) and (min-width: 700px) and (max-width: 959px) {
  .hero { padding-top: var(--s3); }
  .hero .top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: var(--s6); row-gap: var(--s2); align-items: start; }
  .hero .top > * { grid-column: 1; }
  .hero .top > .both { grid-column: 2; grid-row: 1 / span 6; grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
}
/* S2. Legal and doc pages on a phone: no eyebrow above the title */
@media (max-width: 499px) { .pagetop .eyebrow { display: none; } }
/* ===== END Layout pass 2 (site) ===== */

/* ===== BEGIN Layout pass 3 (site) ===== */
/* S3. Where the header collapses to the menu button, a page with a hero CTA shows that one trial button only */
@media (max-width: 859px), (max-height: 500px) and (max-width: 959px) {
  body:has(.hero .btn.go) .sitehead .headcta { display: none; }
}
/* S4. The second hero action is a text link, and looks like one */
.hero .btn.big.quiet { text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 4px; }
/* S5. Phone held sideways: the site header scrolls away with the page (relative, so the menu still drops from it) */
@media (max-height: 500px) and (max-width: 959px) { .sitehead { position: relative; } }
/* S6. Legal and doc text keeps a reading measure on the unfolded Duo (was 84 characters a line) */
.prose > p, .prose > ul, .prose > ol { max-width: 34em; }
/* ===== END Layout pass 3 (site) ===== */

/* ===== BEGIN Layout pass 4 (site) ===== */
/* S7. One hero layout from 700px up: text and the CTA row on the left, the two cards on the right from the heading's top line */
@media (min-width: 700px) {
  .hero .top { display: grid; grid-template-columns: max-content minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s5); row-gap: var(--s4); align-items: start; }
  .hero .top > * { grid-column: 1 / 3; }
  .hero .top > .cta-row { grid-column: 1; }
  .hero .top > .cta-row ~ .cta-row { grid-column: 2; align-self: center; }   /* the plans link sits beside the button */
  .hero .top > .undercta, .hero .top > .proofline { order: 1; }
  .hero .top > .both { order: 2; grid-column: 3; grid-row: 2 / span 5; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .hero .display { max-width: 15ch; }
}
@media (max-height: 500px) and (min-width: 700px) and (max-width: 959px) {
  .hero .top { grid-template-columns: max-content minmax(0, 1fr) minmax(0, 1.25fr); row-gap: var(--s2); }
  .hero .top > .both { grid-row: 1 / span 5; gap: var(--s2); }   /* no eyebrow in landscape, so the cards start on row 1 */
  .hero .display { max-width: none; }
}
/* S8. The price line leads with the per-day price; the second hero action is a text link, not a button */
.hero .undercta b { display: block; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.herolink { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--mut); font-size: 15px; text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 4px; }
.herolink:hover { color: var(--ink); }
.herolink svg { width: 16px; height: 16px; }
/* S9. Pages without a hero CTA (legal, docs): the header trial button is a quiet link; "On this page" is a label-less chip row; shorter page head in landscape */
@media (max-width: 859px), (max-height: 500px) and (max-width: 959px) {
  .toc .label { display: none; }
  body:not(:has(.hero .btn.go)) .sitehead .headcta .btn.go { border-color: transparent; padding-inline: var(--s2); color: var(--mut); font-weight: 500; }
}
@media (max-height: 500px) and (max-width: 959px) { .pagetop { padding-block: var(--s3) var(--s2); } }
/* S10. The home plan ladder leads with the per-day price; the monthly price stays visible on phones */
.ladder.day .rung .sub { display: block; }
@media (max-width: 899px) { .ladder.day .rung .pips { display: none; } }
@media (max-width: 399px) { .ladder.day .rung { gap: var(--s2); } .ladder.day .rung .pr { font-size: 16px; } }
/* ===== END Layout pass 4 (site) ===== */
/* ===== BEGIN Layout pass 5 (site, Fable spec G3/G4, 11-16) ===== */
/* S11. hero: the grid without the plans link (two text columns become one) */
@media (min-width: 700px) {
  .hero .top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .hero .top > *, .hero .top > .cta-row { grid-column: 1; }
  .hero .top > .both { grid-column: 2; }
}
@media (max-height: 500px) and (min-width: 700px) and (max-width: 959px) {
  .hero .top { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); min-height: calc(100dvh - 49px - var(--s4) - var(--s6)); align-content: center; margin-bottom: var(--s8); }
  .hero .top > .both { align-self: center; }
}
/* S12. the two hero cards as one-line rows on phones */
@media (max-width: 699px) {
  .hero .both { gap: var(--s2); }
  .hero .both a { padding: 10px var(--s4); min-height: var(--tap); }
}
/* S13. folded Duo: the header rule ends where the content ends */
.sitehead { border-bottom: 0; background: linear-gradient(var(--line), var(--line)) left env(safe-area-inset-left, 0px) bottom 0 / calc(100% - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) 1px no-repeat, color-mix(in srgb, var(--bg) 92%, transparent); }
/* S14. "On this page": a side list from 640px, one closed disclosure row on phones. No chip row. */
.toc details { display: flex; flex-direction: column; gap: 2px; }
.toc summary { list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
@media (min-width: 640px) and (min-height: 501px) {
  .docgrid { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s6); }
  .toc { position: sticky; top: 84px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0; margin: 0; }
  .toc summary { display: none; }
  .toc .label { display: block; margin: 0 0 var(--s2); }
  .toc a, .toc a.other { display: block; min-height: 0; border: 0; border-left: 2px solid var(--line); border-radius: 0; padding: 5px 10px; white-space: normal; }
}
@media (min-width: 860px) and (min-height: 501px) { .docgrid { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); } }
@media (max-width: 639px), (max-height: 500px) {
  .toc { display: block; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0; margin: 0; }
  .toc details { border: 1px solid var(--line2); border-radius: var(--r-md); background: var(--panel); gap: 0; }
  .toc summary { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); padding: 0 14px; margin: 0; cursor: pointer; color: var(--ink); font-weight: 600; }
  .toc summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--mut); border-bottom: 1.5px solid var(--mut); transform: rotate(45deg); margin-top: -4px; }
  .toc details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
  .toc details a, .toc details a.other { display: flex; align-items: center; min-height: var(--tap); padding: 0 14px; border: 0; border-top: 1px solid var(--line); border-radius: 0; white-space: normal; }
}
/* ===== END Layout pass 5 (site) ===== */
/* ===== BEGIN Layout pass 6 (site) ===== */
/* S1a. phones and folded Duo: the two section cards and the eyebrow leave the hero so the board starts in the first screen */
@media (max-width: 699px) {
  .hero { padding-top: 20px; }
  .hero .top { gap: 12px; margin-bottom: 20px; }
  .hero .top > .both { display: none; }
  .hero .eyebrow { display: none; }
}
/* S1b. phone held sideways: one column sized to its content (no full-height hero), price beside the button, board in the first frame */
@media (max-height: 500px) and (max-width: 959px) {
  .hero .top { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 20px; row-gap: 8px; align-items: center; align-content: start; min-height: 0; margin-bottom: 16px; }
  .hero .top > * { grid-column: 1 / -1; }
  .hero .top > .cta-row { grid-column: 1; }
  .hero .top > .undercta { grid-column: 2; }
  .hero .top > .both { display: none; }
}
/* S2. a secondary link under a section: text, not a bordered button */
.tlink { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--mut); font-size: 15px; text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 4px; }
.tlink:hover { color: var(--ink); }
.tlink svg { width: 16px; height: 16px; }
/* S3. document pages, phone held sideways: title and date share a line */
@media (max-height: 500px) and (max-width: 959px) {
  .pagetop { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-block: 8px 4px; }
  .pagetop .lead { font-size: 13px; }
  .docgrid { gap: 8px; }
}
/* ===== END Layout pass 6 (site) ===== */
/* ===== BEGIN Layout pass 7 (site) ===== */
/* S1. any short screen: the header scrolls away with the page (was only under 960 wide) */
@media (max-height: 500px) { .sitehead { position: relative; } }
/* S2. document pages, phone held sideways: "On this page" is one button at the right of the first heading's row and opens over the text */
@media (max-height: 500px) and (max-width: 959px) {
  .docgrid { position: relative; }
  .toc { position: absolute; top: 0; right: 0; z-index: 30; }
  .toc details { width: max-content; max-width: min(340px, calc(100vw - 40px)); margin-left: auto; }
  .toc details[open] { box-shadow: var(--shadow-pop); }
  .toc summary { gap: 10px; }
  .prose > :first-child { margin-top: 0; margin-right: 148px; }
  .prose > h2:first-child { min-height: 44px; display: flex; align-items: center; }
  .prose h2 { scroll-margin-top: 12px; }
}
/* ===== END Layout pass 7 (site) ===== */
/* ===== BEGIN Layout pass 8 (site) ===== */
/* S1. phones, folded Duo, Duo portrait: the first frame is headline, button, price, board. The intro sentence and the trust line follow the board. */
@media (max-width: 699px) {
  .sitehead .wrap { min-height: 52px; }
  .hero { padding-top: 16px; }
  .hero > .wrap { display: flex; flex-direction: column; gap: 12px; }
  .hero .top { display: contents; }
  .hero > .wrap > .demo { order: 1; margin-top: 4px; }
  .hero .top > .lead, .hero .top > .proofline { order: 2; }
  .hero .top > .lead { margin-top: 8px; }
}
@media (min-width: 500px) and (max-width: 699px) { .hero .display { max-width: none; } }
/* S1b. phone held sideways: same order; the price sits beside the button */
@media (max-height: 500px) and (max-width: 959px) {
  .hero { padding-top: 12px; }
  .hero > .wrap { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 20px; row-gap: 8px; align-items: center; }
  .hero .top { display: contents; }
  .hero .top > *, .hero > .wrap > .demo { grid-column: 1 / -1; }
  .hero .top > .cta-row { grid-column: 1; }
  .hero .top > .undercta { grid-column: 2; }
  .hero > .wrap > .demo { order: 1; margin-top: 8px; }
  .hero .top > .lead, .hero .top > .proofline { order: 2; }
  .hero .top > .lead { margin-top: 8px; }
}
/* S1c. wide and short (Duo landscape, small laptops): two-line headline, price beside the button, board by mid-frame, trust line after the board */
@media (min-width: 700px) and (min-height: 501px) and (max-height: 720px) {
  .hero { padding-top: 24px; }
  .hero .eyebrow { display: none; }
  .hero > .wrap { display: grid; grid-template-columns: max-content minmax(0, 1fr) minmax(0, .8fr); column-gap: 20px; row-gap: 14px; align-items: center; }
  .hero .top { display: contents; }
  .hero .top > .display { grid-column: 1 / 3; grid-row: 1; font-size: clamp(34px, 4.2vw, 48px); max-width: none; text-wrap: balance; }
  .hero .top > .lead { grid-column: 1 / 3; grid-row: 2; }
  .hero .top > .cta-row { grid-column: 1; grid-row: 3; }
  .hero .top > .undercta { grid-column: 2; grid-row: 3; }
  .hero .top > .both { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
  .hero > .wrap > .demo { grid-column: 1 / -1; grid-row: 4; margin-top: 10px; }
  .hero .top > .proofline { grid-column: 1 / -1; grid-row: 5; }
}
/* S2. example board: an account name never breaks inside a word; where name and status do not fit one line, the status goes under the name */
.demo .acct .nm { flex: 1 1 auto; }
.demo .acct .nm b { overflow-wrap: normal; word-break: normal; }
.demo .acct > header { flex-wrap: wrap; }
.demo .acct > header .pill { flex: none; }
/* S3. phones: the board summary is one line (the plan count); sessions and machines show from 466 wide */
@media (max-width: 465px) { .demo .acctsum span:nth-child(n+2) { display: none; } }
/* ===== END Layout pass 8 (site) ===== */
/* ===== BEGIN Layout pass 9 (site) ===== */
/* S1. example board chips: a session name never cuts; when a card is too narrow the chip's state or target goes to a second line inside the chip */
.demo .schip { flex-wrap: wrap; row-gap: 0; padding-block: 3px; }
.demo .schip .snm { flex: none; overflow: visible; }
/* S2. folded Duo, two 164pt cards: 4pt more room per card, so the longest name (116pt) and "name idle" fit on one line */
@media (min-width: 466px) and (max-width: 520px) { .demo .acct { padding-inline: 10px; } .demo .schip { padding-inline: 5px; gap: 5px; } }
/* ===== END Layout pass 9 (site) ===== */

/* Instagram story visitors (O7, assets/dm.js): hide the offer until it is swapped, so the general offer never flashes. */
html.dm-v:not(.dm-done) a[href="/app"].btn.go, html.dm-v:not(.dm-done) .undercta, html.dm-v:not(.dm-done) .fine,
html.dm-v:not(.dm-done) .badge.accent, html.dm-v:not(.dm-done) [data-dm] { visibility: hidden; }
@media (max-width: 359px) { html.dm-v .btn.go.big[href^="https://ig.me"] { padding-inline: var(--s2); font-size: 15px; } }
/* the hero sign-in link shows on phone layouts only; wider screens have "Sign in" in the header (Fable spec) */
.hero .top > .herolink { display: none; }
@media (max-width: 699px), (max-height: 500px) and (max-width: 959px) {
  .hero .top > .herolink { display: inline-flex; order: 1; align-self: flex-start; justify-self: start; }
}

/* O23 (design/screens/o23-start-and-demo-tap.html, Fable): the 4 example pictures answer a tap with one note and the start link
   (site/assets/demotap.js). data-example="accounts" on the hero board and the two meters, "room" on the room example. */
[data-example] { -webkit-tap-highlight-color: transparent; }
@media (hover: hover) {
  [data-example], [data-example] * { cursor: pointer; }
  .demo[data-example] .demo-bar span { transition: color var(--t) var(--ease); }
  .demo[data-example]:hover .demo-bar span { color: var(--mut); }
}
.vig .meter[data-example]::after { content: ""; position: absolute; inset: -16px 0; }   /* 44px tap zone on a 12px meter */
.exnote { position: absolute; z-index: 40; box-sizing: border-box; width: max-content; max-width: 320px; margin: 0; padding: 10px 14px;
  border: 1px solid var(--line2); border-radius: var(--r-md); background: var(--panel); box-shadow: var(--shadow-pop);
  color: var(--ink); font: 14px/1.45 var(--sans); text-align: left; text-wrap: pretty;
  visibility: hidden; opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t); }
.exnote.below { transform: translateY(-4px); }
.exnote.on { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
.exnote .ex { color: var(--mut); }
.exnote a { color: var(--accent-ink); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px;
  padding-block: 14px; margin-block: -14px; border-radius: var(--r-xs); }
.exnote a:hover { color: var(--accent); }
.exnote::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 10px; height: 10px; margin-left: -5px;
  background: var(--panel); border: solid var(--line2); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.exnote.below::after { bottom: auto; top: -6px; border-width: 1px 0 0 1px; }
@media (prefers-reduced-motion: reduce) { .exnote, .exnote.below { transform: none; transition: none; } }

/* ======================= Founding Fleet (O-FF1, design/screens/founding-fleet.html) ======================= */

.ff-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* the pin: the one Founding Fleet glyph. Always next to the written name, so it is aria-hidden. */
.ff-pin{width:14px;height:14px;flex:none;fill:var(--ff);stroke:none}
.ff-pin .d{fill:var(--on-ff)}
/* the gold mark: the geometry of .badge, in gold, with the pin */
.ff-mark{display:inline-flex;align-items:center;gap:5px;flex:none;padding:1px 7px 1px 5px;border:1px solid var(--ff-line);border-radius:var(--r-xs);background:var(--ff-soft);color:var(--ff-ink);font:700 12px/1.3 var(--mono);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;vertical-align:middle}
.ff-mark .ff-pin{width:12px;height:12px}
/* the normal yearly price next to the half price */
.ff-was{font-weight:500;color:var(--dim);text-decoration:line-through;text-decoration-thickness:1.5px;letter-spacing:0}
.rung .pr .ff-was{font-size:.7em;margin:0 1px}
.ff-price .ff-was{font-size:.44em;margin:0 2px}
/* the pin inside an interval control (site .ivl label, app .seg button): gold when idle, the text color when picked */
.ivl label .ff-pin,.seg .ff-pin{display:inline-block;width:11px;height:11px;margin-left:6px;vertical-align:-1px}
#ivl-y:checked ~ .pickrow .ivl label[for="ivl-y"] .ff-pin,.seg>.on .ff-pin{fill:currentColor}
#ivl-y:checked ~ .pickrow .ivl label[for="ivl-y"] .ff-pin .d,.seg>.on .ff-pin .d{fill:var(--accent)}

/* -- 1. the site strip: site/assets/site.css -- */
.ff-bar{background-color:var(--bg);background-image:linear-gradient(var(--ff-soft),var(--ff-soft));border-bottom:1px solid var(--ff-line);color:var(--ink);font:13px/1.4 var(--sans)}
.ff-bar-in{display:flex;align-items:center;gap:var(--s2) var(--s4);min-height:48px;padding-block:6px}
.ff-bar-t{flex:1;min-width:0;margin:0;text-wrap:pretty}
.ff-bar-t .ff-pin{display:inline-block;vertical-align:-2px;margin-right:7px}
.ff-bar-t .nm{font-weight:650;color:var(--ff-ink)}
.ff-n{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.ff-n[data-ff-wait]{visibility:hidden}                 /* keeps its room until the count arrives: no jump */
.ff-go{display:inline-flex;align-items:center;gap:4px;flex:none;min-height:34px;padding:0 10px 0 14px;border:1px solid var(--ff-line);border-radius:var(--r-sm);color:var(--ff-ink);font:600 13px var(--sans);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color var(--t-fast),border-color var(--t-fast)}
.ff-go:hover{background:var(--ff-soft);border-color:var(--ff)}
.ff-go:focus-visible{outline-color:var(--ff)}
.ff-go svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (pointer:coarse){ .ff-go{min-height:var(--tap)} }
.ff-bar.full{background-image:none;background-color:var(--panel);border-bottom-color:var(--line);color:var(--mut)}
.ff-bar.full .ff-bar-in{min-height:40px}
/* under 700: one paragraph, the button is its last words, and the whole strip is the tap target */
@media (max-width:699px){
  .ff-bar-in{display:block;position:relative;min-height:0;padding-block:10px}
  .ff-bar-t{display:inline}
  .ff-go{display:inline;min-height:0;padding:0;border:0;border-radius:0;font-weight:650;white-space:normal;text-decoration:underline;text-decoration-color:var(--ff-line);text-underline-offset:3px}
  .ff-go:hover{background:none}
  .ff-go::after{content:"";position:absolute;inset:0}
  .ff-go svg{display:inline-block;vertical-align:-2px}
  .ff-bar.full .ff-bar-in{padding-block:var(--s2)}
}
/* live addition (the strip is in the static page and hidden until the window class is on <html>):
   [data-ff-bar]{display:none} html.ff-open [data-ff-bar],html.ff-full [data-ff-bar]{display:block} */

/* -- 2. the pricing page: site/assets/site.css -- */
html:not(.ff-open) .ff-o,html:not(.ff-open) .ff-y,#ivl-m:checked ~ * .ff-y{display:none!important}
html.ff-open #ivl-y:checked ~ * .ff-noty{display:none!important}
.pp .price.ff-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px}
.pp .price.ff-price .ff-mark{align-self:center}
.ff-fine{font:13px/1.5 var(--sans);color:var(--mut);max-width:46ch}
/* a rung drawn as a row (under 900): "first yr" goes under the price, so the plan name keeps its room */
@media (max-width:899px){ .ladder .rung .pr.ff-pr{text-align:right;flex:none} .ladder .rung .pr.ff-pr small{display:block;margin-top:2px} }
[data-ff-bar]{display:none}
html.ff-open [data-ff-bar],html.ff-full [data-ff-bar]{display:block}

/* ===== BEGIN Business page and Token saver block (design/BUSINESS-PAGE.md, 11-26) ===== */
/* header: 8 links. Lower links leave the bar first and stay in the phone menu and the footer. */
@media (max-width: 1199px) { .sitenav a[href$="docs/setup.html"] { display: none; } }
@media (max-width: 1099px) { .sitenav a[href$="guides/index.html"] { display: none; } }
@media (min-width: 860px) and (max-width: 1023px) { .sitenav a { padding-inline: 10px; } .sitehead .wrap { gap: var(--s4); } }
/* hero: the message and the CTA on the left, the plan numbers on the right */
.bizhero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 56px); }
.bizhero-in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--s8) clamp(24px, 5vw, 64px); align-items: center; }
.bizhero-text { display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
.bizhero .display { font-size: clamp(30px, 4.2vw, 50px); max-width: 21ch; text-wrap: balance; }
.bizhero .lead { text-wrap: pretty; }
.bizhero .undercta { max-width: 60ch; }
.bizhero .undercta b { color: var(--ink); font-weight: 600; }
.bizhero .undercta a { color: var(--accent-ink); }
.bizfacts { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.bizfacts > div { display: flex; flex-direction: column; gap: 4px; padding: var(--s5); min-width: 0; box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
.bizfacts dt { font: 650 clamp(26px, 3vw, 34px)/1.05 var(--sans); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.bizfacts dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--mut); }
@media (max-width: 859px) { .bizhero-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 699px) {
  .bizhero { padding-block: var(--s5) var(--s6); }
  .bizhero-text { gap: var(--s3); }
  .bizhero .display { font-size: 28px; }
  .bizhero .lead { font-size: 15.5px; line-height: 1.5; }
  .bizfacts > div { padding: var(--s3) var(--s4); }
  .bizfacts dt { font-size: 24px; }
  .bizfacts dd { font-size: 13px; }
}
/* company plans: Team, Business, Enterprise */
.bplans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); align-items: stretch; }
.bplan { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; min-width: 0; padding: var(--s6); border: 1px solid var(--line2); border-radius: var(--r-lg); background: var(--panel); }
.bplan .nm { font-size: 19px; font-weight: 650; }
.bplan .price { font: 650 clamp(34px, 4vw, 44px)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bplan .price small { font: 500 13px var(--mono); color: var(--dim); letter-spacing: 0; }
.bplan .sub { color: var(--mut); font-size: 15px; }
.bplan .btn { width: 100%; }
.bplan .fine { font-size: 13px; line-height: 1.45; }
.bplan ul { list-style: none; margin: var(--s2) 0 0; padding: var(--s4) 0 0; border-top: 1px solid var(--line); width: 100%; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: var(--mut); }
.bplan li { display: flex; gap: 9px; align-items: flex-start; }
.bplan li svg { color: var(--good); margin-top: 3px; flex: none; }
.bplan li b { color: var(--ink); font-weight: 600; }
.bplan.ent { border-style: dashed; background: transparent; }
.bmore { display: flex; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); flex-wrap: wrap; margin-top: var(--s3); padding: var(--s5) var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel2); }
.bmore > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 360px; font-size: 14.5px; color: var(--mut); }
.bmore b { color: var(--ink); font-size: 16px; font-weight: 650; }
@media (max-width: 959px) { .bplans { grid-template-columns: minmax(0, 1fr); } .bplan { padding: var(--s5); } }
@media (max-width: 519px) { .bmore { padding: var(--s4); } .bmore .btn { width: 100%; } }
/* contact form */
.bizform { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8) clamp(24px, 5vw, 72px); align-items: start; }
.bizform .sechead { margin-bottom: 0; }
.bizform-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--mut); font-size: 15px; }
.bizform-list li { display: flex; gap: 9px; align-items: flex-start; }
.bizform-list svg { color: var(--good); margin-top: 3px; flex: none; }
.bizform-card { padding: var(--s6); border: 1px solid var(--line2); border-radius: var(--r-lg); background: var(--panel); min-width: 0; }
.bizform-card form { display: flex; flex-direction: column; gap: var(--s4); }
.bizform-card .field > label { color: var(--ink); }
.bizform-card .field .opt { font-weight: 400; color: var(--dim); }
.bizform-card .err[hidden], .bizform-card form[hidden], .bizform-sum[hidden] { display: none; }
.bizform-sum { padding: 10px var(--s3); border: 1px solid var(--bad-line); border-radius: var(--r-md); background: var(--bad-soft); margin: 0; }
.bizform-go { display: flex; align-items: center; gap: var(--s3) var(--s4); flex-wrap: wrap; }
.bizform-go .btn:disabled { opacity: .7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bizform-sent { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; outline: none; }
.bizform-sent[hidden] { display: none; }
.bizform-sent .ok { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--good); background: var(--good-soft); border: 1px solid var(--good-line); }
.bizform-sent p { color: var(--mut); font-size: 15.5px; max-width: 52ch; }
@media (max-width: 859px) { .bizform { grid-template-columns: minmax(0, 1fr); } .bizform-card { padding: var(--s5); } .bizform-go .btn { width: 100%; } }
/* Token saver block (home page and /business) */
.tsave-sec { padding-block: clamp(40px, 6vw, 72px); }
.tsave { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line2); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.tsave-main { display: flex; flex-direction: column; gap: var(--s4); padding: clamp(20px, 3.4vw, 40px); min-width: 0; }
.tsave-eb { display: inline-flex; align-items: center; gap: 8px; }
.tsave-eb svg { color: var(--good); }
.tsave .lead { font-size: clamp(16px, 1.4vw, 18px); }
.tsave-levers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s5); }
.tsave-levers li { display: flex; flex-direction: column; gap: 2px; padding-left: var(--s3); border-left: 2px solid var(--line2); font-size: 14.5px; color: var(--mut); min-width: 0; }
.tsave-levers b { font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.tsave-main .cta-row { margin-top: var(--s2); }
.tsave-proof { display: flex; flex-direction: column; gap: var(--s4); padding: clamp(20px, 3.4vw, 40px); background: var(--panel2); border-left: 1px solid var(--line); min-width: 0; }
.tsave-num { display: flex; flex-direction: column; gap: 4px; }
.tsave-num b { font: 650 clamp(38px, 4.6vw, 54px)/1 var(--sans); letter-spacing: -.03em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.tsave-num span { font-size: 14.5px; color: var(--mut); max-width: 34ch; }
.tsave-num + .tsave-num b { font-size: clamp(28px, 3.2vw, 36px); color: var(--ink); }
.tsave-row { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--mut); }
.tsave-row b { color: var(--ink); font-weight: 600; }
.tsave-row svg { color: var(--good); flex: none; }
.tsave-row:first-of-type { padding-top: var(--s4); border-top: 1px solid var(--line); }
.tsave-tog { flex: none; position: relative; width: 30px; height: 18px; border-radius: var(--r-pill); border: 1px solid var(--line2); background: var(--panel3); }
.tsave-tog::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--dim); }
@media (max-width: 859px) {
  .tsave { grid-template-columns: minmax(0, 1fr); }
  .tsave-proof { border-left: 0; border-top: 1px solid var(--line); }
  .tsave-main .cta-row .btn.go { width: 100%; }
}
@media (max-width: 519px) { .tsave-levers { grid-template-columns: minmax(0, 1fr); } }
/* ===== END Business page and Token saver block ===== */

/* ===== BEGIN Agent onboard copy (classes .ao-*; design/AGENT-ONBOARD-COPY.md, script assets/agentcopy.js) ===== */
/* The second hero action. An outline, never a fill: the trial button stays the one filled control. */
.ao-copy { justify-content: flex-start; gap: 10px; padding: 0 var(--s4); background: transparent; text-align: left; }
.ao-ic, .ao-sw { display: inline-grid; flex: none; }
.ao-ic > svg, .ao-sw > span { grid-area: 1 / 1; }
.ao-ic > svg { color: var(--dim); }
.ao-sw > span { display: grid; row-gap: 2px; }
.ao-sw b { font: 600 14px/1.2 var(--sans); color: var(--ink); }
.ao-sw small { font: 400 12px/1.2 var(--sans); color: var(--mut); }
.ao-copy:hover .ao-ic > svg { color: var(--accent-ink); }
/* copied: the second label takes the same grid cell, so the width never moves */
.ao-ic > svg + svg, .ao-b { visibility: hidden; }
.ao-copy.done { border-color: var(--good-line); }
.ao-copy.done .ao-ic > svg, .ao-copy.done .ao-a { visibility: hidden; }
.ao-copy.done .ao-ic > svg + svg, .ao-copy.done .ao-b { visibility: visible; }
.ao-copy.done .ao-ic > svg + svg, .ao-copy.done .ao-b b { color: var(--good); }
.ao-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* clipboard blocked: the prompt in a field, under the two buttons, inside the same row (the hero grid does not change).
   width 0 + min-width 100%: the field fills the row and adds nothing to the row's own width. */
.ao-fb { flex: 1 0 100%; width: 0; min-width: 100%; max-width: 560px; display: grid; gap: var(--s2); padding: var(--s3); border: 1px solid var(--line2); border-radius: var(--r-md); background: var(--panel); }
.ao-fb[hidden] { display: none; }
.ao-fb label { font: 600 13px/1.4 var(--sans); color: var(--ink); }
.ao-fb textarea { display: block; width: 100%; height: 118px; resize: vertical; padding: 10px 12px; border: 1px solid var(--line2); border-radius: var(--r-sm); background: var(--term-bg); color: var(--term-ink); font: 12.5px/1.55 var(--mono); }
.ao-fb textarea:focus-visible { outline: 2px solid var(--accent2); outline-offset: 1px; }
.ao-fb-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); font: 13px/1.4 var(--sans); color: var(--mut); }
.ao-k-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .ao-k-key { display: none; } .ao-k-touch { display: inline; }
  .ao-fb textarea { font-size: 16px; height: 132px; }   /* 16px: no zoom on focus on a phone */
  .ao-fb .btn.sm { min-height: var(--tap); }
}
/* phones: both actions take the full width; the second is 44px high */
@media (max-width: 499px) {
  .hero .ao-copy { width: 100%; min-height: var(--tap); justify-content: center; }
  .ao-fb { max-width: none; }
}
/* phone held sideways: one line, so the row stays 44px high and the price line keeps its room */
@media (max-height: 500px) and (max-width: 959px) { .ao-sw small { display: none; } }
/* ===== END Agent onboard copy ===== */
