/* goldyoke.com (GY-389): one stylesheet for every page. Colours are the apps' own (Keep's
   palette, the yolk accent); light and dark follow the visitor's device. */
:root {
  --ground: #EEF1F2; --surface: #FFFFFF; --surface-2: #F7F9FA;
  --ink: #14181C; --ink-2: #464F57; --ink-3: #6B767F;
  --line: #DCE1E4; --line-strong: #C3CBCF;
  --accent: #0E5A63; --accent-2: #16909C; --accent-wash: #E3EDED;
  --yolk: #E8A317; --yolk-bright: #F5C24B; --yolk-wash: #FBEFCE;
  --ok: #2F8A57; --ok-wash: #E4F0E9; --on-ok: #FFFFFF; --warn: #B87A16; --warn-wash: #F5ECDA; --crit: #C4443A; --crit-wash: #F3E1DF;
  --panel: #10151A; --on-panel: #E7EEEE; --on-panel-2: #9AA9AB;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 6px; --shell: 1440px; --gutter: clamp(16px, 5.5vw, 80px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0D1215; --surface: #151C21; --surface-2: #1B242A;
    --ink: #E9EEF0; --ink-2: #B7C2C8; --ink-3: #8D9AA2;
    --line: #26323A; --line-strong: #34434C;
    --accent: #3FB6C2; --accent-2: #5CC8D3; --accent-wash: #16313A;
    --yolk-wash: #3A2E12; --on-ok: #0D1215; --ok: #4CC07F; --ok-wash: #15301F; --warn: #E0A43A; --warn-wash: #33290F; --crit: #E46A60; --crit-wash: #3A1C1A;
    --panel: #0A0E11;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0D1215; --surface: #151C21; --surface-2: #1B242A;
  --ink: #E9EEF0; --ink-2: #B7C2C8; --ink-3: #8D9AA2;
  --line: #26323A; --line-strong: #34434C;
  --accent: #3FB6C2; --accent-2: #5CC8D3; --accent-wash: #16313A;
  --yolk-wash: #3A2E12; --on-ok: #0D1215; --ok: #4CC07F; --ok-wash: #15301F; --warn: #E0A43A; --warn-wash: #33290F; --crit: #E46A60; --crit-wash: #3A1C1A;
  --panel: #0A0E11;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* the page hides things with el.hidden; no display rule may undo it */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.6 var(--sans); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 3px solid var(--yolk); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
/* The layout is at most 1440 px wide, side margins included (GY-430). */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---- Top bar ---------------------------------------------------------------------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .shell { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--accent-wash); }
.topbar .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
.signin { position: relative; }
.signin summary { list-style: none; cursor: pointer; color: var(--ink-2); font-weight: 600; padding: 8px 10px; border-radius: var(--radius); }
.signin summary::-webkit-details-marker { display: none; }
.signin[open] summary, .signin summary:hover { background: var(--surface-2); color: var(--ink); }
.signin .menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgb(0 0 0 / .14), 0 2px 6px rgb(0 0 0 / .08); padding: 6px; min-width: 210px; }
.signin .menu a { display: block; padding: 9px 12px; border-radius: 4px; color: var(--ink); text-decoration: none; }
.signin .menu a:hover { background: var(--surface-2); }
.signin .menu small { display: block; color: var(--ink-3); }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav, .topbar .actions { display: none; }
  .topbar.open .shell { flex-wrap: wrap; padding-bottom: 12px; }
  .topbar.open .nav { display: flex; flex-direction: column; width: 100%; margin: 0; order: 3; }
  .topbar.open .actions { display: flex; width: 100%; order: 4; margin: 0; }
  .topbar.open .signin .menu { position: static; box-shadow: none; margin-top: 6px; }
}

/* ---- Buttons --------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius); font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; touch-action: manipulation; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--yolk); color: #1B1405; }
.btn-primary:hover { background: var(--yolk-bright); color: #1B1405; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .95rem; }
.on-dark .btn-ghost { background: transparent; color: var(--on-panel); border-color: rgb(255 255 255 / .28); }
.on-dark .btn-ghost:hover { border-color: var(--yolk-bright); color: var(--yolk-bright); }

/* ---- Sections ---------------------------------------------------------------------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
.eyebrow { font: 700 .78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.hero { background: var(--panel); color: var(--on-panel); padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); }
.hero .eyebrow { color: var(--yolk-bright); }
.hero .lede { color: var(--on-panel-2); }
.hero h1 em { font-style: normal; color: var(--yolk-bright); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.fineprint { color: var(--ink-3); font-size: .9rem; }
.hero .fineprint { color: var(--on-panel-2); }

/* ---- Product pair (landing) -------------------------------------------------------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
@media (max-width: 820px) { .pair { grid-template-columns: 1fr; } }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px rgb(0 0 0 / .05); }
.product .tag { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 10px; }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; gap: .14em; margin-bottom: 14px; }
.wordmark .p { font-size: .42em; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); }
.wordmark .n { font-weight: 800; letter-spacing: -0.02em; }
.product .wordmark { font-size: 2.2rem; }
.product ul { margin: 6px 0 22px; padding: 0; list-style: none; }
.product li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--line); }
.product li:first-child { border-top: 0; }
.product li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--yolk); }
.product.keep li::before { background: var(--accent-2); }
.product .go { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Feature grid -------------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.feature .ic { width: 40px; height: 40px; border-radius: 8px; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.band .feature { background: var(--surface-2); }
.group-title { font: 700 .8rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin: 44px 0 0; }
.group-title + .features { margin-top: 14px; }

/* ---- Split rows ---------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 72px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 2; } }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { padding: 6px 0 6px 30px; position: relative; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 16px; height: 9px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }

/* ---- Mock app panels (drawn in HTML, no screenshots) ---------------------------------- */
.mock { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 4px rgb(0 0 0 / .06), 0 24px 48px rgb(0 0 0 / .18); overflow: hidden; font-size: .92rem; }
.hero .mock { border-color: #26323A; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar .ttl { font-weight: 700; }
.mock-bar .chip { margin-left: auto; }
.mock-body { padding: 6px 0; }
.mock-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.mock-row:first-child { border-top: 0; }
.mock-row .sub { color: var(--ink-3); font-size: .82rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip.ok { background: var(--ok-wash); color: var(--ok); border-color: transparent; }
.chip.warn { background: var(--warn-wash); color: var(--warn); border-color: transparent; }
.chip.crit { background: var(--crit-wash); color: var(--crit); border-color: transparent; }
.chip.yolk { background: var(--yolk-wash); color: var(--warn); border-color: transparent; }
.qty { font-family: var(--mono); font-weight: 700; }
.mock-foot { padding: 10px 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: .82rem; }
.stack { display: grid; gap: 14px; }

/* chat mock */
.chat { padding: 14px; display: grid; gap: 10px; }
.bubble { max-width: 88%; padding: 10px 13px; border-radius: 12px; line-height: 1.45; }
.bubble.q { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bubble.a { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble .looked { display: block; font: .75rem var(--mono); color: var(--ink-3); margin-bottom: 6px; }

/* ---- Facts strip ------------------------------------------------------------------------ */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 36px; }
.facts > div { background: var(--surface); padding: 20px; }
.facts b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.facts span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---- Ask band ---------------------------------------------------------------------------- */
.ask-band { background: var(--panel); color: var(--on-panel); }
.ask-band .lede { color: var(--on-panel-2); }
.ask-band .eyebrow { color: var(--yolk-bright); }
.ask-band .mock { border-color: #26323A; }

/* ---- Pricing ------------------------------------------------------------------------------ */
.price-controls { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: center; margin-top: 28px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: var(--surface); }
.seg button { font: inherit; font-weight: 700; border: 0; background: none; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.save { color: var(--ok); font-weight: 700; font-size: .9rem; }
.stepper { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 700 1.2rem var(--sans); cursor: pointer; }
.stepper input { width: 64px; height: 40px; text-align: center; font: 700 1.1rem var(--mono); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px rgb(0 0 0 / .05); }
.plan .wordmark { font-size: 2rem; }
.plan .for { color: var(--ink-2); min-height: 3.2em; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 2px; }
.plan .price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price .per { color: var(--ink-3); }
.plan .note { color: var(--ink-3); font-size: .9rem; min-height: 1.5em; }
.addons { margin: 18px 0; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.addons .lbl { font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 6px; }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 8px 0; cursor: pointer; }
.addon input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.addon small { display: block; color: var(--ink-3); }
.addon .ap { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.plan .total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.plan .total b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.plan .btn { margin-top: 16px; width: 100%; }
.plan .incl { list-style: none; padding: 0; margin: 4px 0 0; }
.plan .incl li { padding: 4px 0 4px 24px; position: relative; color: var(--ink-2); font-size: .95rem; }
.plan .incl li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.bundle { margin-top: 20px; background: var(--panel); color: var(--on-panel); border-radius: 12px; padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: center; }
.bundle p { color: var(--on-panel-2); margin: 0; }
.bundle b.sum { font-size: 1.6rem; font-variant-numeric: tabular-nums; display: block; }
@media (max-width: 700px) { .bundle { grid-template-columns: 1fr; } }
.loading-note { text-align: center; color: var(--ink-3); margin-top: 16px; min-height: 1.6em; }
.faq { max-width: 760px; margin: 28px auto 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--ink-2); }

/* ---- Final call to action + footer --------------------------------------------------------- */
.cta-band { background: var(--panel); color: var(--on-panel); text-align: center; }
.cta-band .lede { color: var(--on-panel-2); margin-inline: auto; }
.cta-band .cta-row { justify-content: center; }
footer { padding: 40px 0 56px; color: var(--ink-3); font-size: .92rem; }
footer .shell { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--accent); }
.langs { color: var(--ink-3); }

/* Small icons inside labels (product tags, eyebrows) sit on the text line. */
.tag svg, .eyebrow svg { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }

/* Monthly prices are the big figures; the yearly price sits under each in small type (GY-389). */
.plan .total > div { text-align: right; }
.plan .total small, .bundle .sum-year { display: block; color: var(--ink-3); font-size: .85rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.bundle .sum-year { color: var(--on-panel-2); margin-top: 2px; }
.addon .ap { text-align: right; display: flex; flex-direction: column; }
.addon .ap small { color: var(--ink-3); font-size: .8rem; }

/* Yearly savings (GY-389): the full monthly price struck through, and a badge that's hard to miss. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.was { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan .price { flex-wrap: wrap; }
.plan .price .was { font-size: 1.35rem; }
.plan .total .was { font-size: .95rem; }
.bundle .was { color: var(--on-panel-2); font-size: 1.05rem; }
.addon .ap s { color: var(--ink-3); font-weight: 400; margin-right: 2px; }
.save-badge { display: inline-flex; align-items: center; background: var(--ok); color: var(--on-ok); font-weight: 800; font-size: .9rem; letter-spacing: .01em; padding: 4px 11px; border-radius: 999px; white-space: nowrap; align-self: center; }
.plan .price .save-badge { font-size: 1rem; padding: 5px 12px; margin-left: 4px; }
.price-controls .save-badge { font-size: .95rem; padding: 6px 14px; }
.seg-save { font-size: .78rem; font-weight: 800; background: var(--ok); color: var(--on-ok); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.seg button[aria-pressed="true"] .seg-save { background: var(--on-ok); color: var(--ok); }

/* Language menu (GY-390): in the top bar and the footer; keeps you on the same page. */
.lang-menu summary { display: inline-flex; align-items: center; gap: 6px; }
.lang-menu summary svg { width: 1.05em; height: 1.05em; }
.lang-menu .menu { min-width: 170px; }
.lang-menu .menu a[aria-current], footer .langs a[aria-current] { font-weight: 700; color: var(--ink); }
footer .langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer .langs a { color: var(--ink-3); }

/* GY-390: version bump after a cache race (assets now always upload before pages, see deploy.sh). */

/* Ask GoldYoke on Pricing (Jin, GY-389): its own card, free, credits included. */
.ask-plan { margin-top: 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; background: var(--surface); border: 2px solid var(--ok); border-radius: 12px; padding: 24px 28px; }
.ask-plan h3 { margin: 6px 0; font-size: 1.3rem; }
.ask-plan p { color: var(--ink-2); margin: 0 0 8px; max-width: 46em; }
.ask-plan .tag { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.ask-plan-price { display: grid; justify-items: center; gap: 6px; text-align: center; }
.ask-plan-price .free { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ok); line-height: 1; }
.ask-plan-price small { color: var(--ink-3); }
@media (max-width: 640px) { .ask-plan { grid-template-columns: 1fr; } .ask-plan-price { justify-items: start; text-align: left; } }

/* The daily cycle on the home page (GY-393): six numbered steps. */
.cycle { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; counter-reset: step; }
.cycle li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; position: relative; }
.cycle li::before { content: counter(step); position: absolute; top: 18px; right: 20px; font: 800 1.6rem var(--mono); color: var(--line-strong); }
.cycle .ic { width: 40px; height: 40px; border-radius: 8px; background: var(--yolk-wash); color: var(--ink); display: grid; place-items: center; margin-bottom: 12px; }
.cycle .ic svg { width: 22px; height: 22px; }
.cycle h3 { margin-bottom: .35em; }
.cycle p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.cycle-foot { display: flex; gap: 10px; align-items: flex-start; margin: 22px auto 0; max-width: 720px; color: var(--ink-2); justify-content: center; text-align: left; }
.cycle-foot svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.feature.path { display: block; color: inherit; text-decoration: none; transition: border-color .15s; }
.feature.path:hover, .feature.path:focus-visible { border-color: var(--accent); }


/* "Book a demo" (GY-395) */
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.demo-form, .demo-done { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: grid; gap: 16px; }
.demo-done { text-align: center; justify-items: center; }
.demo-done .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--ok-wash); color: var(--ok); display: grid; place-items: center; }
.demo-done .ic svg { width: 24px; height: 24px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; padding: 0; }
.field small { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-2); color: var(--ink); font: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--crit); }
.radios { display: flex; gap: 18px; padding-top: 8px; }
.radios label { font-weight: 400; display: flex; gap: 6px; align-items: center; }
.radios input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--crit-wash); color: var(--crit); font-weight: 600; }
.demo-form .btn { justify-self: start; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* GY-407: the apps under the first call to action, and every drawn panel marked as an example. */
.hero-apps { color: var(--on-panel-2); margin: 18px 0 0; max-width: 60ch; }
.hero-apps b { color: var(--on-panel); }
.mock[data-sample] { position: relative; }
.mock[data-sample]::after { content: attr(data-sample); display: block; padding: 6px 14px 8px; font-size: .72rem; letter-spacing: .03em; color: var(--ink-3); border-top: 1px dashed var(--line); }
.plan .price-label { margin: 6px 0 -6px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.plan .base-line { color: var(--ink-3); font-size: .9rem; margin: 0; }

/* Product film and real screens (GY-410) */
.film { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #0b1013; border: 1px solid #26323A; box-shadow: 0 2px 4px rgb(0 0 0 / .06), 0 24px 48px rgb(0 0 0 / .28); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0b1013; }
.film-frame { position: relative; }
.film-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 18px; border: 0; background: rgb(11 16 19 / .18); cursor: pointer; color: #fff; font: inherit; }
.film-play span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; font-size: 1.05rem; border-radius: 999px; background: var(--yolk-bright); color: #14181C; font-weight: 700; box-shadow: 0 6px 20px rgb(0 0 0 / .35); transition: transform .15s ease; }
.film-play span::before { content: ""; width: 0; height: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; }
.film-play:hover span, .film-play:focus-visible span { transform: scale(1.04); }
.film-play:focus-visible { outline: 3px solid var(--yolk-bright); outline-offset: -3px; }
.film.playing .film-play { display: none; }
.film figcaption { padding: 10px 14px; font-size: .82rem; color: #9AA9AB; border-top: 1px solid #26323A; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; background: #0f1418; border: 1px solid #26323A; box-shadow: 0 2px 4px rgb(0 0 0 / .06), 0 24px 48px rgb(0 0 0 / .18); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: .85rem; line-height: 1.45; color: #C7D2D5; border-top: 1px solid #26323A; }
.screens { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 48px; align-items: start; }
.screens .shot { grid-column: span 2; }
.screens .shot.wide { grid-column: span 4; }
@media (max-width: 900px) { .screens { grid-template-columns: 1fr 1fr; } .screens .shot, .screens .shot.wide { grid-column: span 1; } }
@media (max-width: 560px) { .screens { grid-template-columns: 1fr; } }
.faq details ul { margin: -4px 0 12px; padding-left: 22px; color: var(--ink-2); }
.faq details ul li { margin: 3px 0; }

/* Enlarge a real screen (GY-412) */
.shot img { cursor: zoom-in; }
.shot figcaption.has-zoom { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.shot-zoom { flex: none; margin-top: -2px; padding: 5px 11px 5px 28px; border: 1px solid #34434C; border-radius: 999px; background: #0D1215 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9EEF0' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") no-repeat 9px 50% / 13px; color: #E9EEF0; font: 600 .78rem/1.2 var(--sans); cursor: pointer; }
.shot-zoom:hover, .shot-zoom:focus-visible { background-color: #0D1215; border-color: var(--yolk-bright); }
.shot-zoom:focus-visible { outline: 2px solid var(--yolk-bright); outline-offset: 2px; }
dialog.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 56px 16px 16px; border: 0; background: rgb(8 11 13 / .96); color: #E9EEF0; display: none; flex-direction: column; gap: 10px; }
dialog.zoom[open] { display: flex; }
dialog.zoom::backdrop { background: rgb(0 0 0 / .6); }
.zoom-view { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; }
.zoom-view img { display: block; max-width: 100%; max-height: 100%; border-radius: 10px; border: 1px solid #26323A; cursor: zoom-in; }
dialog.zoom.full .zoom-view { place-items: start; }
dialog.zoom.full .zoom-view img { max-width: none; max-height: none; cursor: zoom-out; }
.zoom-close { position: absolute; top: 12px; right: 16px; padding: 8px 16px; border-radius: 999px; border: 1px solid #34434C; background: #151C21; color: #E9EEF0; font: 600 .9rem var(--sans); cursor: pointer; }
.zoom-close:focus-visible { outline: 2px solid var(--yolk-bright); outline-offset: 2px; }
.zoom-cap { margin: 0 auto; max-width: 70ch; text-align: center; font-size: .95rem; }
.zoom-hint { margin: 0 auto; text-align: center; font-size: .78rem; color: #8D9AA2; }

/* Flat illustrations and less text (GY-429). Illustrations are inline SVG with a soft tinted
   blob behind them (.illus .bg) that follows light and dark. */
:root { --il-bg: #F6EFDD; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --il-bg: #2A2617; } }
:root[data-theme="dark"] { --il-bg: #2A2617; }
.illus { width: 100%; height: auto; }
.illus .bg { fill: var(--il-bg); }

/* The daily cycle as a journey: six stops joined by a dotted gold line. */
.journey { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: step; position: relative; }
.journey::before { content: ""; position: absolute; left: 8%; right: 8%; top: 64px; border-top: 3px dotted var(--yolk); z-index: 0; }
.journey li { counter-increment: step; text-align: center; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.journey .illus { max-width: 168px; }
.journey h3 { font-size: 1.02rem; margin: 6px 0 .25em; display: flex; gap: 6px; align-items: baseline; justify-content: center; }
.journey h3::before { content: counter(step); font: 800 .8rem var(--mono); color: var(--accent); }
.journey p { color: var(--ink-2); font-size: .92rem; line-height: 1.45; margin: 0; max-width: 18ch; }
@media (max-width: 960px) { .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } .journey::before { display: none; } }
@media (max-width: 520px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Three screens: two side by side, then the owner's view with a callout. */
.screens.trio { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.owner-note { grid-column: span 2; align-self: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.owner-note .illus { max-width: 120px; margin-bottom: 6px; }
.owner-note p { margin: 0; color: var(--ink-2); }
.owner-note strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
@media (max-width: 900px) { .owner-note { grid-column: span 2; } }
@media (max-width: 560px) { .owner-note { grid-column: span 1; } }

/* Product cards with their marks and colours. */
.product .head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.product .mark { width: 56px; height: 56px; flex: none; }
.product .head .wordmark { margin: 0; }
.product { border-top: 5px solid var(--accent-2); }
.product.keep { border-top-color: #33508C; }
:root[data-theme="dark"] .product.keep { border-top-color: #6684C9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .product.keep { border-top-color: #6684C9; } }

/* Hero: the three apps as small chips with their marks. */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); font-size: .9rem; color: var(--on-panel-2); }
.hero-chips b { color: var(--on-panel); }
.hero-chips .mark, .hero-chips svg { width: 24px; height: 24px; flex: none; }
.hero-chips .spark { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: #F5B335; color: #14191E; }
.hero-chips .spark svg { width: 15px; height: 15px; }

/* Cards that lead with an illustration. */
.feature.pic { text-align: center; padding: 18px 22px 24px; }
.feature.pic .illus { max-width: 150px; margin: 0 auto 6px; }
.feature.pic p { font-size: .95rem; }
.features.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .features.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .features.four { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .screens.trio { grid-template-columns: 1fr 1fr; } .screens.trio .shot, .screens.trio .shot.wide { grid-column: span 2; } .owner-note { grid-column: span 2; } }
@media (max-width: 560px) { .screens.trio { grid-template-columns: 1fr; } .screens.trio .shot, .screens.trio .shot.wide, .owner-note { grid-column: span 1; } }
.eyebrow .mark { width: 1.9em; height: 1.9em; display: inline-block; vertical-align: -0.6em; margin-right: 8px; }
.checks.narrow { max-width: 640px; margin: 28px auto 0; }
.band .pair .feature.pic { background: var(--surface); }
.plan .head { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.plan .head .wordmark { margin: 0; }
.plan .mark { width: 48px; height: 48px; flex: none; }
.plan[data-app="hatch"] { border-top: 5px solid var(--accent-2); }
.plan[data-app="keep"] { border-top: 5px solid #33508C; }

/* Home hero (GY-430): the GoldYoke Town drives behind the headline; a dark fade keeps the text readable. */
.hero-town { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(560px, 80vh, 780px); display: flex; align-items: center; background: #33373e; }
.town-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
.hero-town::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* A soft shade only behind the headline and buttons (the town shows around them), GY-430. */
  background: radial-gradient(ellipse 820px 640px at calc(50% - 330px) 50%, rgb(16 21 26 / .88) 0%, rgb(16 21 26 / .74) 42%, rgb(16 21 26 / .28) 72%, rgb(16 21 26 / 0) 100%),
              linear-gradient(0deg, rgb(16 21 26 / .6) 0%, rgb(16 21 26 / 0) 20%); }
.hero-town h1, .hero-town .lede, .hero-town .eyebrow { text-shadow: 0 2px 16px rgb(10 14 17 / .7); }
.hero-copy { max-width: 600px; }
@media (max-width: 760px) {
  .hero-town { min-height: 0; }
  .hero-town::before { background: linear-gradient(180deg, rgb(16 21 26 / .72), rgb(16 21 26 / .82)); }
}
.btn-film { display: inline-flex; align-items: center; gap: 10px; background: rgb(255 255 255 / .1); color: var(--on-panel); border: 1px solid rgb(255 255 255 / .28); cursor: pointer; font: inherit; font-weight: 700; }
.btn-film::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--yolk-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M9 7l6 4-6 4z' fill='%2314181C'/%3E%3C/svg%3E") center / 22px no-repeat; flex: none; }
.btn-film:hover, .btn-film:focus-visible { border-color: var(--yolk-bright); color: var(--yolk-bright); }

/* The film plays in a pop-up player. */
.film-dialog { width: min(1100px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0; background: transparent; overflow: visible; }
.film-dialog::backdrop { background: rgb(5 8 10 / .82); }
.film-dialog .film { box-shadow: 0 30px 80px rgb(0 0 0 / .5); }
.film-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .15); color: #fff; font-size: 18px; cursor: pointer; }
.film-close:hover, .film-close:focus-visible { background: rgb(255 255 255 / .28); }

/* GY-430: the film shows as a thumbnail with a play button (bottom right; under the buttons on a phone). */
.hero-town { background: var(--panel); }
.hero-town .shell { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 40px; align-items: end; }
.film-thumb { justify-self: end; width: min(360px, 100%); padding: 0; border: 1px solid rgb(255 255 255 / .16); border-radius: 12px; overflow: hidden; background: #0b1013; cursor: pointer; position: relative; box-shadow: 0 18px 50px rgb(0 0 0 / .45); }
.film-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; opacity: .92; transition: opacity .15s, transform .3s; }
.film-thumb-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.film-thumb-play { font: 700 .95rem var(--sans); color: #14181C; }
.film-thumb-play::before { content: ""; position: absolute; inset: 0; background: rgb(11 16 19 / .2); }
.film-thumb .pill { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--yolk-bright); box-shadow: 0 6px 20px rgb(0 0 0 / .35); }
.film-thumb .pill::before { content: ""; width: 0; height: 0; border-left: 11px solid #14181C; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; }
.film-thumb:hover img, .film-thumb:focus-visible img { opacity: 1; transform: scale(1.02); }
.film-thumb:focus-visible { outline: 3px solid var(--yolk-bright); outline-offset: 3px; }
@media (max-width: 900px) { .hero-town .shell { grid-template-columns: 1fr; } .film-thumb { justify-self: start; width: 100%; max-width: 560px; } }
.in-short .lede { max-width: 760px; margin-inline: auto; }
.in-short .chip { vertical-align: 0.1em; margin-right: 4px; }
.tag .mark { width: 1.6em; height: 1.6em; display: inline-block; vertical-align: -0.45em; }

/* Use cases: GoldYoke Town, interactive (GY-431). The town fills the section; workflow picker on top,
   the step card bottom-left (a bottom sheet on phones). One dark look on purpose, like the town. */
.uc-head { padding-block: 40px 20px; }
.uc-head h1 { margin: 0; }
.town-app { --t-ink: #eef1f3; --t-ink2: #b9c2c8; --t-muted: #8b959c; --t-panel: rgba(22, 27, 32, .94); --t-panel2: #20272d; --t-rim: rgba(255,255,255,.09);
  --t-petrol: #2ea9b6; --t-yolk: #f0b53f; --t-yolkB: #f7cd6a; --t-ok: #4cbf86; --t-warn: #f0a33f; --t-crit: #e3726a;
  position: relative; height: min(calc(100svh - 64px), 920px); min-height: 560px; overflow: hidden; padding: 0;
  background: #3d4148; color: var(--t-ink); font-size: 14px; line-height: 1.45; color-scheme: dark; }
.town-app canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.town-app canvas.drag { cursor: grabbing; }
.town-top { position: absolute; left: 0; right: 0; top: 0; display: flex; padding: 14px 16px; pointer-events: none; }
.town-app .flows { pointer-events: auto; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 2px; }
.town-app .flows::-webkit-scrollbar { display: none; }
.town-app .flow { flex: none; font: 600 13px/1 var(--sans, system-ui); color: var(--t-ink2); background: var(--t-panel); border: 1px solid var(--t-rim); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.town-app .flow:hover { color: var(--t-ink); border-color: rgba(255,255,255,.22); }
.town-app .flow[aria-pressed="true"] { color: #1a1406; background: var(--t-yolk); border-color: var(--t-yolk); }
.town-app .flow:focus-visible, .town-app .tbtn:focus-visible { outline: 2px solid var(--t-petrol); outline-offset: 2px; }
.town-card { position: absolute; left: 16px; bottom: 16px; width: 380px; max-height: calc(100% - 90px); display: flex; flex-direction: column; background: var(--t-panel); border: 1px solid var(--t-rim); border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.town-card .card-in { padding: 16px 18px 14px; display: grid; gap: 10px; overflow: auto; min-height: 0; } /* the controls stay in view */
.town-app { scroll-margin-top: 64px; }
.town-card .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font: 600 11px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--t-muted); }
.town-card .meta .n { color: var(--t-yolkB); }
.town-card h2 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; color: var(--t-ink); }
.town-card p { margin: 0; color: var(--t-ink2); max-width: none; font-size: 14px; }
.town-card .hint { color: var(--t-muted); font-size: 12px; }
.town-card .who { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--t-ink2); }
.town-card .who i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.town-card .screen { border: 1px solid var(--t-rim); border-radius: 10px; background: #12171b; overflow: hidden; font-size: 12.5px; }
.town-card .screen-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; background: #182026; border-bottom: 1px solid var(--t-rim); font: 600 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--t-muted); text-transform: uppercase; }
.town-card .screen-h em { font-style: normal; border: 1px solid var(--t-rim); border-radius: 4px; padding: 2px 5px; letter-spacing: .04em; }
.town-card .screen-h .app { color: var(--t-petrol); }
.town-card .screen-h .app.keep { color: #8fb7ff; }
.town-card .trow { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 6px 10px; border-bottom: 1px solid rgba(255,255,255,.05); align-items: baseline; }
.town-card .trow:last-child { border-bottom: 0; }
.town-card .trow > span:first-child { min-width: 0; color: var(--t-ink); }
.town-card .trow b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--t-ink); }
.town-card .trow .sub { display: block; color: var(--t-muted); font-size: 11px; }
.town-card .trow.warn b { color: var(--t-warn); } .town-card .trow.ok b { color: var(--t-ok); } .town-card .trow.crit b { color: var(--t-crit); } .town-card .trow.y b { color: var(--t-yolkB); }
.town-card .trow.group { background: rgba(255,255,255,.03); font: 600 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .05em; text-transform: uppercase; }
.town-card .trow.group span:first-child { color: var(--t-muted); }
.town-card .ctrl { display: flex; align-items: center; gap: 8px; padding: 10px 18px 14px; border-top: 1px solid var(--t-rim); }
.town-app .tbtn { font: 600 13px/1 var(--sans, system-ui); color: var(--t-ink); background: var(--t-panel2); border: 1px solid var(--t-rim); border-radius: 8px; padding: 9px 12px; cursor: pointer; }
.town-app .tbtn:hover { border-color: rgba(255,255,255,.25); }
.town-app .tbtn:disabled { opacity: .35; cursor: default; }
.town-app .tbtn.play { background: var(--t-petrol); border-color: var(--t-petrol); color: #061418; min-width: 74px; }
.town-card .dots { display: flex; gap: 5px; margin-left: auto; }
.town-card .dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); cursor: pointer; }
.town-card .dots button[aria-current="step"] { background: var(--t-yolk); }
.town-card .dots button.done { background: rgba(240,181,63,.45); }
.town-card .bar { height: 3px; background: rgba(255,255,255,.06); }
.town-card .bar i { display: block; height: 100%; width: 0; background: var(--t-yolk); }
.town-app .legend { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; max-width: 46%; background: var(--t-panel); border: 1px solid var(--t-rim); border-radius: 10px; padding: 8px 12px; font-size: 12px; color: var(--t-ink2); pointer-events: none; }
.town-app .legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.town-app .legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.town-app .legend .line { width: 18px; height: 0; border-radius: 0; border-top: 2px dashed var(--t-yolk); }
@media (max-width: 720px) {
  .town-app { height: calc(100svh - 56px); }
  .town-app canvas { touch-action: pan-y; } /* a vertical swipe still scrolls the page */
  .town-card { left: 0; right: 0; bottom: 0; width: auto; border-radius: 14px 14px 0 0; max-height: 50%; }
  .town-card h2 { font-size: 17px; }
  .town-app .legend { display: none; }
  .town-card .screen .trow:nth-child(n+6) { display: none; }
}

/* Web Interface Guidelines pass (GY-435). */
html { scroll-padding-top: 80px; }            /* anchors and focused fields clear the sticky header */
a, button, summary, input, label { -webkit-tap-highlight-color: rgb(245 179 53 / .25); }
a, button, summary, label, .btn { touch-action: manipulation; }
dialog, .zoom-view, .town-card .card-in { overscroll-behavior: contain; }
.town-pause { position: absolute; right: 16px; bottom: 16px; z-index: 2; font: 600 13px/1 var(--sans); color: #eef1f3; background: rgb(16 21 26 / .72); border: 1px solid rgb(255 255 255 / .18); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .15s, border-color .15s; }
.town-pause:hover { background: rgb(16 21 26 / .9); border-color: rgb(255 255 255 / .35); }
.town-pause:focus-visible { outline: 2px solid var(--yolk, #F5B335); outline-offset: 2px; }
@media (max-width: 760px) { .town-pause { right: 12px; bottom: 12px; padding: 7px 12px; } }
.town-top { gap: 8px; align-items: flex-start; }
.town-app .zoom-btns { pointer-events: auto; display: flex; gap: 4px; margin-left: auto; flex: none; }
.town-app .zoom-btns .tbtn { width: 38px; padding: 9px 0; font-size: 16px; background: var(--t-panel); }

/* The free plan (GY-439): one quiet card under the paid plans. */
.free-tier-band { padding-top: 0; }
.free-tier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 24px 40px; align-items: center; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg, 16px); background: var(--surface); }
.free-tier h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
.free-tier .checks { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
@media (max-width: 900px) { .free-tier { grid-template-columns: 1fr; padding: 22px 20px; } .free-tier .checks { grid-template-columns: 1fr; } .free-tier .btn { justify-self: start; } }
