:root {
  --bg: #f6f7f5; --panel: #ffffff; --soft: #eef0ed; --line: #e0e4df;
  --tx: #131815; --sub: #56615a; --faint: #7a837d;
  --acc: #1c6145; --on-acc: #ffffff; --acc-soft: #e4f0ea;
  --bad: #a8392a; --bad-soft: #f6e3df;
  --ink: #131815; --on-ink: #ffffff;
  --shadow: 0 1px 2px rgba(16,24,20,.05), 0 30px 70px -30px rgba(16,24,20,.28);
  --ui: "Hanken Grotesk", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c0b; --panel: #121514; --soft: #151917; --line: #272c29;
    --tx: #eceeec; --sub: #96a099; --faint: #7d8780;
    --acc: #8ed3ab; --on-acc: #07140d; --acc-soft: #16261e;
    --bad: #f0907f; --bad-soft: #2c1815;
    --ink: #eceeec; --on-ink: #0a0c0b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 30px 70px -30px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
/* Dark bands keep the dark palette in both themes. */
.dark {
  --bg: #0a0c0b; --panel: #121514; --soft: #151917; --line: #272c29;
  --tx: #eceeec; --sub: #96a099; --faint: #7d8780;
  --acc: #8ed3ab; --on-acc: #07140d; --acc-soft: #16261e;
  background: var(--bg); color: var(--tx);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 17px/1.55 var(--ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1128px; margin: 0 auto; padding: 0 24px; }
.acc { color: var(--acc); }

/* Type */
h1 { font-size: clamp(2.6rem, 8.2vw, 6.5rem); font-weight: 600; line-height: .97; letter-spacing: -.048em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 600; line-height: 1.03; letter-spacing: -.04em; text-wrap: balance; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
.eyebrow { font: 400 12.5px/1.4 var(--mono); color: var(--sub); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.eyebrow.acc { color: var(--acc); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); display: inline-block; flex: none; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--sub); max-width: 34em; margin: 28px auto 0; text-wrap: pretty; }
.body { color: var(--sub); max-width: 30em; margin-top: 20px; text-wrap: pretty; }
.body.narrow { max-width: 34em; }
.fine { font: 400 12.5px/1.4 var(--mono); color: var(--faint); margin-top: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font: 500 16px/1 var(--ui); cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), opacity .2s; }
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn-s { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-acc { background: var(--acc); color: var(--on-acc); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.stuck { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.mark-bg { fill: var(--ink); } .mark-fg { fill: var(--on-ink); } .mark-fg-s { stroke: var(--on-ink); }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--sub); }
.links a { transition: color .2s; }
.links a:hover { color: var(--tx); }

/* Hero */
.hero { text-align: center; padding: clamp(72px, 13vw, 168px) 0 clamp(64px, 9vw, 120px); }
.hero .eyebrow { justify-content: center; margin-bottom: 26px; }

/* Waitlist */
.wl { display: flex; flex-wrap: wrap; gap: 8px; max-width: 440px; margin: 36px auto 0; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(16,24,20,.04); transition: border-color .2s; }
.wl:focus-within { border-color: var(--acc); }
.wl input { flex: 1 1 160px; min-width: 0; height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--tx); font: 400 16px/1 var(--ui); outline: none; }
.wl input::placeholder { color: var(--faint); }
.wl-msg { flex-basis: 100%; margin: 0; font-size: 14px; text-align: center; color: var(--sub); }
.wl-msg:empty { display: none; }
.wl-msg:not(:empty) { padding: 6px 12px 8px; }
.wl-msg.err { color: var(--bad); }
.wl.done input, .wl.done .btn { display: none; }
.wl.done .wl-msg { color: var(--acc); font-weight: 500; padding: 14px; font-size: 16px; }

/* Sections */
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec + .sec:not(.dark), .sec-tight { border-top: 1px solid var(--line); }
.dark + .sec { border-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }

/* Center Work */
.work-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 22em); align-items: end; gap: 20px 22px; margin-bottom: clamp(32px, 4vw, 52px); }
.work-head svg { align-self: center; border-radius: 13px; }
.work-head .eyebrow { margin-bottom: 8px; }
.work-sub { color: var(--sub); text-align: right; text-wrap: pretty; }

.shot { margin: 0; }
.shot picture { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.shot-lg picture { border-radius: clamp(10px, 1.6vw, 20px); }
.shot figcaption { margin-top: 14px; font-size: 14.5px; color: var(--sub); }
.shot-lg figcaption { text-align: center; margin-top: 20px; }

/* A day with Center */
.day { margin-top: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.day li { display: grid; grid-template-columns: 190px minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px 28px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.when { font: 400 12.5px/1.4 var(--mono); color: var(--faint); }
.ask { font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.got { color: var(--sub); font-size: 16px; }

/* Three principles */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.three article { padding: 28px 28px 4px 0; }
.three article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.num { font: 400 12.5px/1 var(--mono); color: var(--acc); }
.three h3 { margin: 16px 0 8px; }
.three p { color: var(--sub); font-size: 16px; text-wrap: pretty; }

/* Living numbers demo */
.hint { display: flex; align-items: center; gap: 8px; margin-top: 26px; font: 400 12.5px/1.4 var(--mono); color: var(--acc); }
.demo { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.demo-pane { padding: 24px; }
.demo-pane + .demo-pane { border-top: 1px solid var(--line); }
.pane-t { font: 400 12px/1.4 var(--mono); color: var(--faint); margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: 72px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font: 400 14.5px/1 var(--mono); }
.grid > * { height: 42px; display: flex; align-items: center; padding: 0 14px; border-top: 1px solid var(--line); }
.grid > :nth-child(-n+2) { border-top: 0; }
.grid .k { color: var(--sub); background: var(--soft); border-right: 1px solid var(--line); }
.grid .v { justify-content: flex-end; text-align: right; }
.grid input.v { width: 100%; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--tx); font: inherit; outline: 2px solid var(--acc); outline-offset: -2px; border-radius: 0 0 9px 0; }
.doc { font-size: 1.15rem; line-height: 1.6; text-wrap: pretty; }
.lv { color: var(--acc); border-bottom: 1.5px solid color-mix(in srgb, var(--acc) 45%, transparent); padding-bottom: 1px; font-variant-numeric: tabular-nums; }
.lv.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { background: var(--acc-soft); box-shadow: 0 0 0 4px var(--acc-soft); } 100% { background: transparent; box-shadow: 0 0 0 4px transparent; } }
.check { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 13px 7px 11px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.check::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.check.ok { background: var(--acc-soft); color: var(--acc); }
.check.bad { background: var(--bad-soft); color: var(--bad); }

/* Editors */
.editors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); margin-top: clamp(36px, 5vw, 64px); }
.editors .shot picture { box-shadow: 0 1px 2px rgba(16,24,20,.04), 0 18px 40px -24px rgba(16,24,20,.25); }
.editors figcaption { display: flex; align-items: baseline; gap: 10px; }
.editors figcaption b { font-weight: 600; font-size: 17px; color: var(--tx); letter-spacing: -.015em; }
.editors figcaption span { font: 400 12.5px/1 var(--mono); color: var(--faint); }

/* Privacy */
.providers { font: 400 12.5px/1.7 var(--mono); color: var(--faint); margin-top: 28px; max-width: 34em; }
.mask { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.mask-line { font-size: 1.08rem; line-height: 1.6; }
.mask-line + .pane-t { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.ph { font: 500 .82em/1 var(--mono); background: var(--acc-soft); color: var(--acc); padding: 3px 7px; border-radius: 6px; white-space: nowrap; }

/* Verify */
.seal { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.seal .check { margin-top: 0; }
.seal-name { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; margin: 18px 0 6px; }
.seal dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.seal dl div:first-child { margin-top: 12px; }
.seal dt { color: var(--sub); }

/* Details and questions */
.rows { border-bottom: 1px solid var(--line); margin-top: 8px; }
.rows div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.rows dt { font-weight: 600; letter-spacing: -.01em; }
.rows dd { color: var(--sub); }
.faq { border-bottom: 1px solid var(--line); margin-top: 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--sub), var(--sub)) center/100% 1.5px no-repeat, linear-gradient(var(--sub), var(--sub)) center/1.5px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--sub); max-width: 40em; padding: 0 0 24px; text-wrap: pretty; }

/* Close and footer */
.close { text-align: center; padding: clamp(88px, 12vw, 168px) 0; }
.close h2 { font-size: clamp(2.3rem, 6.4vw, 5rem); }
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 14px; color: var(--sub); }
.foot-in { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.foot .brand { color: var(--tx); font-size: 15px; }
.foot .copy { margin-left: auto; color: var(--faint); }

/* Reveal on scroll, only with script and motion allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lv.flash { animation: none; }
}

/* Narrow screens */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .work-head { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .work-sub { grid-column: 1 / -1; text-align: left; }
  .day li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 20px 0; }
  .three { grid-template-columns: minmax(0, 1fr); }
  .three article, .three article + article { padding: 24px 0; border-left: 0; }
  .three article + article { border-top: 1px solid var(--line); }
  .editors { grid-template-columns: minmax(0, 1fr); }
  .rows div { grid-template-columns: minmax(0, 1fr); }
  .foot .copy { margin-left: 0; }
}
@media (max-width: 460px) {
  .wl { border-radius: 22px; }
  .wl .btn { flex: 1 1 100%; }
  .wl input { text-align: center; }
}
