/* SEN brand CI: ink #14171c, green #12925f, paper #f6f5f1, white, grey #5c5f64.
   Inter Tight for the English headline, Anuphan for Thai headings, IBM Plex Sans Thai for body.
   Brand green on white is 3.96:1, so it is used for graphics and large text only (--accent).
   Small green text and button fills use --accent-text / --btn-bg, a deeper green that passes 4.5:1.
   Radius: 10px everywhere, full pill only for the ledger toggle.
   Theme: dark for everyone (Jay's choice, matches the CI's dark card). The light palette is kept below;
   add data-theme="light" to <html> to bring it back. */

:root {
  color-scheme: dark;
  --bg: #14171c;
  --band: #181b21;
  --panel: #1d2128;
  --ink: #f6f5f1;
  --ink-2: #c9ccd1;
  --muted: #9ea1a7;
  --line: #2b2f36;
  --accent: #12925f;
  --accent-text: #3dbb88;
  --accent-soft: #16291f;
  --btn-bg: #12925f;
  --btn-hover: #17a56c;
  --btn-ink: #14171c;
  --good: #3dbb88;
  --unknown: #7c828c;
  --error: #ff8a7a;
  --radius: 10px;
  --wrap: min(100% - 2rem, 76rem);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5f1;
  --band: #eeece6;
  --panel: #ffffff;
  --ink: #14171c;
  --ink-2: #3a3d43;
  --muted: #5c5f64;
  --line: #e2e0da;
  --accent-text: #0d7a4f;
  --accent-soft: #e6f2ec;
  --btn-bg: #0d7a4f;
  --btn-hover: #0b6a44;
  --btn-ink: #ffffff;
  --good: #0d7a4f;
  --unknown: #8a8d93;
  --error: #b42318;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans Thai", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-family: "Anuphan", "IBM Plex Sans Thai", sans-serif; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
/* Thai has no spaces: keep headline phrases whole so lines only break between them. */
.nb { white-space: nowrap; display: inline-block; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--bg); padding: .5rem 1rem; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 44px; padding: 0 1.1rem; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-lg { min-height: 56px; padding: 0 1.6rem; font-size: 17px; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; height: 42px; width: auto; } /* logo includes the ไม้โท above the E */
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); display: inline-flex; min-height: 44px; align-items: center; }
.nav-links a:hover { color: var(--ink); }

/* Type helpers */
.kicker { font-size: 15px; color: var(--muted); margin-bottom: 1rem; }
.h2 { font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); letter-spacing: -0.01em; max-width: 22em; }
.lede { margin-top: 1rem; font-size: 18px; color: var(--ink-2); max-width: 38em; }
.fine { margin-top: .75rem; font-size: 13px; color: var(--muted); }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.band { background: var(--band); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: calc(100dvh - 68px); padding-block: 3rem 4rem; }
/* Grid children default to min-width: auto, which lets the ledger table push the column past the screen. */
.hero > *, .system > *, .check-wrap > *, .faq-wrap > *, .book > *, .founder > *, .cost > * { min-width: 0; }
/* Hero: Thai headline first (version B), the CI's English line small underneath with "Revenue." in green. */
.hero h1 { font-family: "Anuphan", sans-serif; font-weight: 700; font-size: clamp(2rem, 1.1rem + 2vw, 2.7rem); line-height: 1.25; letter-spacing: -0.01em; }
/* Two lines on wide screens; narrower screens wrap between the phrase spans instead. */
@media (max-width: 1100px) { .br-wide { display: none; } }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-brand { margin-top: 1rem; font: 800 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.2 "Inter Tight", sans-serif; letter-spacing: -0.02em; color: var(--ink-2); }
.hero-brand em { font-style: normal; color: var(--accent); }
.hero-sub { margin: .9rem 0 2rem; max-width: 30em; font-size: 18px; color: var(--ink-2); }
.kicker-pilot { display: inline-flex; align-items: center; min-height: 44px; margin-left: .4rem; color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.kicker-pilot:hover { color: var(--btn-hover); }


/* Ledger */
.ledger { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ledger-head h2 { font-weight: 600; font-size: 17px; }
.toggle { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.toggle button { font: inherit; font-size: 14px; font-weight: 500; border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 0 1rem; min-height: 44px; cursor: pointer; transition: background-color .25s, color .25s; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th { text-align: right; font-weight: 500; color: var(--muted); font-size: 13px; padding: 0 0 .6rem .75rem; white-space: nowrap; }
td { text-align: right; padding: .7rem 0 .7rem .75rem; border-top: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; padding-left: 0; }
td.cell { color: var(--unknown); transition: color .35s; }
td.cell.known { color: var(--ink); font-weight: 600; }
tr.best td.cell { color: var(--good); }
.verdict { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); background: var(--accent-soft); font-size: 15px; min-height: 4.6em; }

/* Who: rows, not cards */
/* Fit: situations as a two-column checklist */
.fit-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.fit-list li { position: relative; padding: 1.1rem 0 1.1rem 2rem; border-top: 1px solid var(--line); font-size: 18px; color: var(--ink); }
.fit-list li::before { content: ""; position: absolute; left: .25rem; top: 1.45em; width: .5rem; height: .9rem; border: solid var(--accent-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.who-examples { margin-top: 2rem; color: var(--ink-2); max-width: 52em; }
.who-examples b { color: var(--ink); font-weight: 600; }
.who-not { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* Cost of old way */
.cost { margin-top: 2.5rem; display: grid; grid-template-columns: 16rem 1fr; gap: 1.5rem; align-items: start; }
.cost-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.cost-tabs button {
  width: 100%; text-align: left; font: inherit; font-size: 16px; color: var(--ink-2);
  background: transparent; border: 0; border-radius: var(--radius); padding: .65rem .9rem; min-height: 44px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.cost-tabs button:hover { background: var(--panel); color: var(--ink); }
.cost-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.cost-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: opacity .2s; }
.cost-panel.swap { opacity: 0; }
.cost-panel > div { padding: 1.75rem; }
.cost-h { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: .9rem; }
.cost-cons { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cost-cons li { position: relative; padding-left: 1.4rem; }
.cost-cons li::before { content: ""; position: absolute; left: 0; top: .75em; width: .7rem; height: 2px; background: var(--muted); }
.cost-instead { background: var(--accent-soft); }
.cost-instead p { font-size: 18px; }

/* Pipeline */
.system { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.system-intro { position: sticky; top: 7rem; }
/* The 4 plain-language steps come first; the 8-step detail sits in a drawer below them. */
.steps4 { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps4 li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.steps4 li::before { content: counter(s); grid-row: span 2; font: 800 2rem/1 "Inter Tight", sans-serif; color: var(--accent-text); }
.steps4 h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .35rem; }
.steps4 p { color: var(--ink-2); }
.pipeline-more { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.pipeline-more summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding-top: .75rem; cursor: pointer; font-weight: 600; color: var(--accent-text); list-style: none; }
.pipeline-more summary::-webkit-details-marker { display: none; }
.pipeline-more summary::after { content: "+"; font: 400 1.4rem/1 "Anuphan", sans-serif; transition: transform .2s; }
.pipeline-more[open] summary::after { transform: rotate(45deg); }
.pipeline-more .pipeline { margin-top: 1.5rem; }
.pipeline { --p: 0; position: relative; list-style: none; margin: 0; padding: 0 0 0 3.75rem; }
.pipeline::before, .pipeline::after { content: ""; position: absolute; left: 1.2rem; top: 1rem; bottom: 1rem; width: 2px; }
.pipeline::before { background: var(--line); }
.pipeline::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--p)); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.p-step { position: relative; padding-bottom: 2.5rem; }
.p-step:last-child { padding-bottom: 0; }
.p-node {
  position: absolute; left: -3.75rem; top: 0; z-index: 1; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font: 600 15px/1 "Anuphan", sans-serif;
  background: var(--bg); border: 2px solid var(--line); color: var(--muted);
  transition: background-color .35s, border-color .35s, color .35s;
}
.p-step h3 { font-size: 1.25rem; font-weight: 600; margin: .3rem 0 .35rem; }
.p-step p { color: var(--ink-2); }
.p-step .metric { margin-top: .5rem; font-size: 14px; color: var(--muted); }
.js .p-step > div { opacity: .4; transition: opacity .4s; }
.p-step.on > div { opacity: 1; }
.p-step.on .p-node { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }

/* Deliverables: two sample panels (weekly dashboard, one lead's path in the CRM) */
.deliv-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.25rem; align-items: start; }
.deliv-grid > * { min-width: 0; }
.deliv-tools { margin-top: 1.25rem; font-size: 16px; color: var(--ink-2); max-width: 46em; }
/* Real work: shipped client landing pages */
.work-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2.5rem; }
.work-item { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.5rem; align-items: center; }
.work-item > * { min-width: 0; }
.work-shot { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work-shot img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.work-shot:hover img { transform: scale(1.015); }
.work-copy h3 { font-size: 1.35rem; font-weight: 600; }
.work-type { margin-top: .25rem; font-size: 14px; color: var(--muted); }
.work-copy p:not(.work-type) { margin-top: 1rem; color: var(--ink-2); }
.work-link { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--accent-text); text-underline-offset: .2em; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.panel-head h3 { font-size: 1.1rem; font-weight: 600; }
.sample-tag { flex: none; font-size: 12px; font-weight: 600; color: var(--accent-text); border: 1px solid currentColor; border-radius: 999px; padding: .15rem .65rem; }
.panel-sub { margin: 1.5rem 0 .75rem; font-size: 14px; font-weight: 600; color: var(--muted); }
.panel-note { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius); background: var(--accent-soft); font-size: 14px; color: var(--ink); }

.kpis { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.kpis div { padding: .8rem .9rem; border-radius: var(--radius); background: var(--band); }
.kpis dt { font-size: 13px; color: var(--muted); }
.kpis dd { margin: .25rem 0 0; font: 700 1.35rem/1.2 "Inter Tight", sans-serif; font-variant-numeric: tabular-nums; color: var(--ink); }
.kpis dd small { display: block; font: 400 12px/1.4 "IBM Plex Sans Thai", sans-serif; color: var(--muted); }

.funnel-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.funnel-bars li { display: grid; grid-template-columns: 8.5rem 1fr 2.5rem; align-items: center; gap: .75rem; font-size: 14px; }
.fb-label { color: var(--ink-2); }
.fb-bar { display: block; height: 10px; width: max(var(--w), 6px); border-radius: 5px; background: var(--accent); transform-origin: left; }
.js .panel:not(.in) .fb-bar { transform: scaleX(0); }
.fb-bar { transition: transform .8s cubic-bezier(.16, 1, .3, 1) .2s; }
.fb-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }

.mini-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.mini-table th { text-align: right; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 0 0 .5rem .5rem; }
.mini-table td { text-align: right; padding: .55rem 0 .55rem .5rem; border-top: 1px solid var(--line); }
.mini-table th:first-child, .mini-table td:first-child { text-align: left; padding-left: 0; }
.mini-table .best-row td { color: var(--good); font-weight: 600; }
.mini-table .best-row td:first-child { color: var(--ink); }

.lead-card { padding: 1rem; border-radius: var(--radius); background: var(--band); }
.lead-name { font-weight: 600; color: var(--ink); }
.lead-name span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.lead-meta { margin-top: .5rem; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.grade { font-weight: 700; color: var(--btn-ink); background: var(--btn-bg); border-radius: 999px; padding: .1rem .6rem; }

.stages { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.stages li { font-size: 12.5px; padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.stages li.done { color: var(--ink-2); border-color: var(--accent); }
.stages li.current { color: var(--btn-ink); background: var(--btn-bg); border-color: var(--btn-bg); font-weight: 600; }

.timeline { list-style: none; margin: 1.25rem 0 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--line); display: grid; gap: .9rem; }
.timeline li { position: relative; display: grid; gap: .1rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.1rem - 6px); top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--panel); border: 2px solid var(--accent); }
.timeline li.ok::before { background: var(--accent); }
.t-when { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.t-what { font-size: 14.5px; color: var(--ink); }
.t-what b { color: var(--accent-text); font-weight: 600; }

/* CPQL: two big numbers */
.cpql { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.cpql-col { padding: 2rem 2rem 0 0; }
.cpql-col + .cpql-col { padding-left: 2rem; border-left: 1px solid var(--line); }
.cpql-name { font-weight: 600; margin-bottom: .75rem; }
.cpql-math { color: var(--ink-2); font-size: 16px; }
.cpql-num { margin-top: 1.5rem; font: 700 clamp(2.4rem, 1.6rem + 3vw, 4rem)/1 "Anuphan", sans-serif; font-variant-numeric: tabular-nums; color: var(--muted); }
.cpql-label { display: block; font: 500 14px/1.4 "IBM Plex Sans Thai", sans-serif; color: var(--muted); margin-bottom: .4rem; }
.cpql-col.win .cpql-num { color: var(--accent); }

/* Pilot offer */
.pilot-head { max-width: 46rem; }
.pilot h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; }
.pilot-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; }
.pilot-get { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.pilot-pay { padding: 2rem; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--panel); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .45rem; height: .8rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pay { margin: 0; display: grid; }
.pay div { padding: .9rem 0; border-top: 1px solid var(--line); }
.pay div:first-child { border-top: 0; padding-top: 0; }
.pay dt { font-size: 14px; color: var(--muted); }
.pay dd { margin: .2rem 0 0; }
.pay strong { font: 700 1.6rem/1.2 "Anuphan", sans-serif; color: var(--accent); margin-right: .35rem; }
/* Pilot terms: a plain definition table, the part a careful buyer reads twice */
.pilot-terms { margin-top: 3rem; }
.pilot-terms dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.pilot-terms dl div { padding: 1rem 0; border-top: 1px solid var(--line); }
.pilot-terms dt { font-weight: 600; color: var(--ink); }
.pilot-terms dd { margin: .3rem 0 0; color: var(--ink-2); }
.pilot-fit { margin-top: 3rem; }
.pilot-fit ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; }
.pilot-fit li { padding: .9rem 0 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.pilot-slots { margin-top: 3rem; padding: 2rem; border-radius: var(--radius); background: var(--accent-soft); display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2rem; align-items: center; }
.slots-count { font-weight: 600; white-space: nowrap; }
.slots-num { font: 700 3rem/1 "Anuphan", sans-serif; color: var(--accent); margin-right: .35rem; vertical-align: -0.15em; }
.slots-why { color: var(--ink-2); font-size: 15px; max-width: 40em; }

/* Data ownership: 2x2 statements with a green rule on top */
.data-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; }
.data-list li { padding-top: 1rem; border-top: 2px solid var(--accent); color: var(--ink-2); }
.data-list b { display: block; margin-bottom: .3rem; font: 600 1.15rem/1.4 "Anuphan", sans-serif; color: var(--ink); }

/* Checklist */
.check-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.qs { list-style: none; counter-reset: q; margin: 0; padding: 0; }
.qs li { counter-increment: q; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.qs li::before { content: counter(q); grid-row: span 2; font: 700 2rem/1 "Anuphan", sans-serif; color: var(--accent-text); }
.qs b { display: block; color: var(--ink); font-weight: 600; margin-bottom: .2rem; }

/* About */
/* Founder: photo on the left, what owners said on the right. */
.founder { display: grid; grid-template-columns: minmax(15rem, 24rem) 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; border-top: 1px solid var(--line); }
.founder-photo { margin: 0; position: sticky; top: 6.5rem; }
.founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.founder-photo figcaption { margin-top: .9rem; display: grid; font-size: 14px; color: var(--muted); line-height: 1.45; }
.founder-photo figcaption b { font-size: 17px; color: var(--ink); font-weight: 600; }
.findings { list-style: none; counter-reset: f; margin: 2rem 0 0; padding: 0; }
.findings li { counter-increment: f; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.findings li::before { content: "0" counter(f); grid-row: span 3; font: 700 1.1rem/1.6 "Inter Tight", sans-serif; color: var(--accent-text); }
.findings blockquote { margin: 0; font: 600 clamp(1.15rem, 1rem + .5vw, 1.45rem)/1.5 "Anuphan", sans-serif; color: var(--ink); }
.who-said { margin-top: .4rem; font-size: 14px; color: var(--muted); }
.lesson { margin-top: .75rem; color: var(--ink-2); max-width: 36em; }
.founder-close { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--ink); max-width: 34em; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: .75rem 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 "Anuphan", sans-serif; color: var(--accent-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.25rem; color: var(--ink-2); max-width: 40em; }

/* Booking */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .85rem; min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-err { font-size: 14px; color: var(--error); min-height: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-error { margin-bottom: 1rem; font-size: 15px; color: var(--error); }
.form-note { margin-top: .75rem; text-align: center; font-size: 14px; color: var(--muted); }
.book-fit { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.form-success { text-align: center; padding: 1.5rem 0; }
.form-success h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.form.done > :not(.form-success) { display: none; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 14px; }
.footer-brand { display: inline-flex; min-height: 44px; align-items: center; }
.footer-brand img { display: block; height: 64px; width: auto; }
.footer-links ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); border-top: 1px solid var(--line); display: none; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Breakpoints: ≤1100 laptop / tablet landscape, ≤960 nav collapses, ≤860 single column,
   ≤640 large phone, ≤480 phone, short landscape. */
@media (max-width: 1100px) {
  .nav-links { gap: 1.25rem; }
  .cost { grid-template-columns: 13rem 1fr; }
  .cost-panel { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .pilot-slots { grid-template-columns: auto 1fr; }
  .pilot-slots .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 2rem 4rem; }
  .ledger { max-width: 40rem; }
  .system, .check-wrap, .faq-wrap { grid-template-columns: 1fr; }
  .system-intro { position: static; }
}
@media (max-width: 860px) {
  .fit-list { grid-template-columns: 1fr; }
  .fit-list li { font-size: 17px; }
  .cost { grid-template-columns: 1fr; }
  .cost-tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; scroll-snap-type: x mandatory; }
  .cost-tabs li { flex: none; scroll-snap-align: start; }
  .cost-tabs button { white-space: nowrap; border: 1px solid var(--line); background: var(--panel); }
  .pilot-grid, .book, .deliv-grid { grid-template-columns: 1fr; }
  .work-item { grid-template-columns: 1fr; gap: 1.25rem; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Phones: small photo with the name beside it, then the findings. */
  .founder { grid-template-columns: 1fr; gap: 1.5rem; }
  .founder-photo { position: static; display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; align-items: end; }
  .founder-photo figcaption { margin-top: 0; }
  .findings li { grid-template-columns: 2.25rem 1fr; }
  .sticky-cta:not([hidden]) { display: block; }
  body { padding-bottom: 5rem; }
}
@media (max-width: 640px) {
  .cpql { grid-template-columns: 1fr; }
  .cpql-col, .cpql-col + .cpql-col { padding: 1.5rem 0; border-left: 0; }
  .cpql-col + .cpql-col { border-top: 1px solid var(--line); }
  .pilot-get, .pilot-pay, .pilot-slots, .form, .ledger { padding: 1.25rem; }
  .pilot-fit ul, .pilot-terms dl, .data-list { grid-template-columns: 1fr; }
  .pilot-slots { grid-template-columns: 1fr; }
  .pilot-slots .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .panel { padding: 1.1rem; }
  .funnel-bars li { grid-template-columns: 6.5rem 1fr 2.25rem; gap: .5rem; font-size: 13px; }
  .mini-table { font-size: 13px; }
  body { font-size: 16px; }
  .hero .btn-lg { width: 100%; }
  .kicker { margin-bottom: .5rem; }
  .kicker-pilot { display: flex; margin-left: 0; }
  /* All five ledger columns must stay visible: the "?" columns are the point. */
  table { font-size: 13px; }
  th { font-size: 12px; }
  th, td { padding-left: .5rem; }
  .hero-sub, .lede, .founder-close { font-size: 17px; }
  .nav .btn { padding: 0 .8rem; font-size: 14px; }
}
@media (max-width: 360px) {
  .nav-inner { gap: .75rem; }
  .ledger { padding: 1rem; }
  th, td { padding-left: .35rem; }
  table { font-size: 12.5px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .sticky-cta:not([hidden]) { display: none; }
  body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal], .js .p-step > div { opacity: 1; transform: none; }
}
