:root {
  --p-bg: #ffffff; --p-surface: #f7f7f8; --p-ink: #1c1b18; --p-muted: #6b675c;
  --p-accent: #f6821f; --p-accent-ink: #111111; --p-action: #f6821f; --p-action-ink: #111111;
  --p-inv-bg: #1c1b18; --p-inv-surface: #292724; --p-inv-ink: #f7f4ee; --p-inv-muted: #9c9994;
  --p-inv-accent: #f6821f; --p-inv-accent-ink: #111111; --p-inv-action: #f6821f; --p-inv-action-ink: #111111;
  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500; --display-tracking: -0.028em; --display-tracking-xl: -0.036em; --display-stretch: 96%;
  --ly-scale: 1.04;
}
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo img { width: 30px; height: 30px; border-radius: 8px; }

/* hero: the product as live HTML, rising out of a warm frame */
.hero--centred .hero__window { background: #fff4ea; }
.km { display: grid; grid-template-columns: 250px 1fr; background: var(--p-surface); border: 1px solid #ecdcc6; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px -24px rgb(110 60 10 / .45); font-size: 14px; line-height: 1.45; }
.km__list { background: #f7f7f8; padding: 10px; display: grid; align-content: start; gap: 4px; border-right: 1px solid #e8e1d3; }
.km__item { padding: 9px 10px; border-radius: 10px; display: grid; gap: 2px; }
.km__item.is-on { background: #fdebd8; }
.km__item b { font-weight: 600; } .km__item span { color: var(--p-muted); font-size: 13px; }
.km__main { padding: 16px 20px; display: grid; gap: 10px; align-content: start; }
.km__subject { font-weight: 600; font-size: 18px; }
.km__draft { border: 1px solid #f0d3b0; background: #fff8ef; border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; }
.km__draft small { color: #8f3d08; font-weight: 600; font-size: 13px; }
.km__acts { display: flex; gap: 8px; }
.km__acts i { font-style: normal; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: #e3e0db; font-size: 13px; }
.km__acts i:first-child { background: var(--p-accent); color: #111; }
.km__brand { display: flex; align-items: center; gap: 8px; padding: 4px 10px 8px; font-weight: 600; }
.km__who { color: var(--p-muted); font-size: 13px; }
@media (max-width: 639px) { .km { grid-template-columns: 1fr; } .km__list { display: none; } .km__main { padding: 12px 14px; gap: 8px; } .km__subject { font-size: 15px; } }

/* screens per section */
#private { --h: 1; } #recovery { --h: 1; } #ai { --h: 1; } #developers { --h: 1; }
#how .panel { --p-h: 420px; }
#how .panel .phone-shot { margin-top: 24px; width: min(220px, 80%); }
.phone-shot { display: block; width: min(240px, 84%); height: auto; margin: 0 auto; border-radius: 26px; border: 6px solid var(--p-surface); box-shadow: 0 18px 36px -20px rgb(60 45 20 / .45); }
.shot { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid #e3ded2; background: var(--p-surface); }
.shot--tall { max-height: 500px; object-fit: cover; object-position: top; }
.art { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.moment-line { font: var(--display-weight) clamp(38px, 7.4vw, 108px)/1.02 var(--font-display); letter-spacing: var(--display-tracking-xl); }
.tile-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fdebd8; }
.tile-ic img { width: 24px; height: 24px; }
.ledger h3 { margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join { max-width: 460px; }
.footer-note { max-width: 62ch; }
@media (max-width: 639px) { #how { --hm: 2; } #how .panel { --p-h: 300px; } #faq { --hm: 2; } .shot--tall { max-height: 300px; } }

/* body text in the ink, and a focus ring that shows on warm paper */
.hero--centred .hero__lead, #waitlist .t-small { color: var(--ink); }
:focus-visible { outline-color: #8f3d08; }
.join { margin: 0; }
.art-panel { height: 200px; display: grid; place-items: center; border-radius: var(--r-lg); background: #fdebd8; margin-bottom: 16px; }
.art-panel img { display: block; width: 190px; height: 150px; object-fit: contain; }
.ground-surface .art-panel { background: #fcefe0; }
.h-ic { width: 20px; height: 20px; margin-right: 8px; vertical-align: -4px; }
.h-ic--wide { width: 40px; height: auto; vertical-align: -3px; }
.art--big { max-width: 460px; }
.phones { display: flex; gap: 20px; justify-content: center; }
.phones .phone-shot { margin: 0; width: min(250px, 46%); }
@media (max-width: 639px) { .art-panel { height: 130px; } .art-panel img { width: 140px; height: 110px; } .art--big { max-width: 260px; } .phones .phone-shot:first-child { display: none; } .phones .phone-shot { width: min(240px, 80%); } }
#yours .art { max-width: 300px; }
.ledger .art-panel { margin: 16px 0 0; height: 180px; }
@media (max-width: 639px) { .ledger .art-panel { height: 120px; } }
#recovery .art-panel { height: 280px; }
#recovery .art-panel img { width: 260px; height: 220px; }
@media (max-width: 639px) { #recovery .art-panel { height: 150px; } #recovery .art-panel img { width: 160px; height: 130px; } }
/* phone: each of these fits one screen */
@media (max-width: 639px) {
  #private, #ai, #developers, #faq { --h: 1; --hm: 1; }
  #private .art--big { max-width: 170px; margin-top: 12px; }
  #private .rows p, #ai .rows p { font-size: 15px; line-height: 1.45; }
  #private .rows li, #ai .rows li { padding-block: 10px; }
  #ai .shot--tall, #developers .shot--tall { max-height: 210px; }
  #faq .faq__item { padding-block: 10px; gap: 4px; }
  #faq .faq__item h3 { font-size: 16px; }
}
@media (max-width: 359px) { .nav__actions { display: none; } }
@media (max-width: 639px) { #private .art--big { max-width: 240px; } #private .section-head p { font-size: 16px; } }
@media (max-width: 359px) { header.nav .nav__bar > .nav__actions { display: none; } }

/* footer: as tall as what it holds */
.site-foot { background: var(--p-surface); border-top: 1px solid #e3ded2; padding: 56px 0 32px; }
.site-foot__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px 24px; }
.site-foot__brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
.site-foot__brand p { margin: 0; max-width: 30ch; color: var(--ink); }
.site-foot__label { margin: 0 0 8px; font: 600 14px/1.4 var(--font-text); letter-spacing: 0; color: var(--muted); }
.site-foot nav { display: grid; align-content: start; justify-items: start; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; font-size: 15px; }
.site-foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #e3ded2; font-size: 13px; color: var(--muted); }
@media (max-width: 639px) { .site-foot { padding: 40px 0 28px; } .site-foot__top { grid-template-columns: 1fr 1fr; } .site-foot__brand { grid-column: 1 / -1; } .site-foot nav a { min-height: 44px; } }
.join { width: 100%; }
.join .field, .join .field input { width: 100%; }
.join .field__error[hidden] { display: none; }
#yours .art { margin: 0; }

#waitlist form.join { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: stretch; max-width: 440px; }
#waitlist form.join .field { display: grid; max-width: none; }
#waitlist form.join textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--p-surface); border: 1px solid #cfc8b8; border-radius: var(--r-md, 10px); resize: vertical; }
#waitlist form.join select { width: 100%; min-height: 48px; padding: 0 14px; font: inherit; color: var(--ink); background: var(--p-surface); border: 1px solid #cfc8b8; border-radius: var(--r-md, 10px); box-sizing: border-box; }
#waitlist form.join input[type="email"] { width: 100%; max-width: none; box-sizing: border-box; }
#waitlist form.join .btn-row { justify-content: start; }
@media (min-width: 640px) and (max-width: 1023px) {
  #private .art--big { max-width: 300px; margin-top: 24px; }
  #ai .shot--tall, #developers .shot--tall { max-height: 360px; }
  #yours .art { height: 320px; }
}
@media (max-width: 639px) { #ai .shot--tall { max-height: 270px; } }
#yours .art { width: 100%; max-width: 100%; height: 300px; object-fit: contain; margin: 0; }
@media (max-width: 639px) {
  #yours .art { height: 210px; }
  #how .panel { --p-h: 230px; height: 230px; min-height: 0; aspect-ratio: auto; overflow: hidden; }
  #how .panel .phone-shot { margin-top: 18px; width: min(190px, 62%); }
}
.plan { display: flex; flex-direction: column; padding: 24px; border: 1px solid #e3ded2; border-radius: var(--r-lg); background: var(--p-surface); }
.plan .btn { margin-top: 16px; justify-content: center; }
.plan .art-panel { margin: 0 0 16px; height: 108px; }
.plan .art-panel img { width: 120px; height: 92px; }
#pricing .rows li { padding-block: 12px; }
#pricing .footer-note { margin-top: 16px; max-width: none; }
@media (max-width: 639px) { .plan .art-panel { height: 96px; } .plan .art-panel img { width: 110px; height: 80px; } }
@media (min-width: 640px) { .ledger .art-panel { height: 280px; } .ledger .art-panel img { width: 320px; height: 252px; } }
@media (max-width: 639px) { .ledger .art-panel { height: 150px; } .ledger .art-panel img { width: 180px; height: 140px; } }

.plans .art-panel { height: 280px; }
.plans .art-panel img { width: 300px; height: 230px; }
@media (max-width: 639px) { .plans .art-panel { height: 130px; } .plans .art-panel img { width: 150px; height: 110px; } }
/* clean, flat backdrops behind screenshots (the owner found the shaded tan panels poor) */
#how .panel { background: #fff4ea; border: 0; }
#how .panel::before, #how .panel::after { content: none; }
.phone-shot { border-color: #ffffff; outline: 1px solid #e6e6e9; outline-offset: -1px; }
.km { background: #ffffff; border-color: #ececee; box-shadow: 0 24px 48px -28px rgb(20 20 30 / .3); }
.shot { background: #ffffff; border-color: #e6e6e9; }
.art-panel, .ground-surface .art-panel { background: #fff4ea; }
.mascot { display: block; width: 168px; height: 168px; margin: 0 0 8px; }
@media (max-width: 639px) { .mascot { width: 96px; height: 96px; } }
/* scrollbars: thin, soft, no arrows */
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-button{display:none}::-webkit-scrollbar-thumb{background:#d9d9de;border:3px solid transparent;background-clip:padding-box;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#b9b9c0;background-clip:padding-box}::-webkit-scrollbar-corner{background:transparent}@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:#d9d9de transparent}}

/* ---- Natural height. The kit makes every section exactly one screen tall, which left large empty areas (owner's
   report), so sections are as tall as their content, with one spacing rhythm. ---- */
main > section.section, main > section.hero { height: auto !important; min-height: 0 !important; padding-block: 72px !important; scroll-margin-top: 72px; }
main > section.hero { padding-block: 56px 40px !important; }
main > section > .wrap { height: auto !important; min-height: 0 !important; flex: none !important; }
main > section .section-head { margin-bottom: 32px; }
main > section .section-head h2 { margin: 0 0 12px; }
main > section .section-head p { margin: 0; }
/* side-by-side sections: centred on each other */
.split, #private .grid, #ai .grid, #developers .grid { align-items: center; }
.split .section-head { margin: 0; }
#yours .art { height: 300px; }
/* the three "how it works" cards: pictures start and end on the same lines whatever the text length */
#how .grid { align-items: stretch; }
#how .card { display: flex; flex-direction: column; }
#how .card .panel { margin-top: auto; height: 440px; min-height: 0; aspect-ratio: auto; overflow: hidden; }
#how .card > p { margin-bottom: 20px; }
/* pricing: both columns the same height */
.plans { align-items: stretch; }
.plans > div:last-child { display: flex; flex-direction: column; }
.plans > div:last-child .art-panel { flex: 1; height: auto; min-height: 220px; margin: 0; }
.plans .footer-note { margin-bottom: 0; }
.ledger .art-panel, #recovery .art-panel { height: 220px; }
.ledger .art-panel img, #recovery .art-panel img { width: 240px; height: 190px; }
#private .art--big { max-width: 300px; }
#waitlist .grid { align-items: start; }
#waitlist .phones { align-items: flex-start; }
@media (max-width: 639px) {
  main > section.section { padding-block: 44px !important; }
  main > section .section-head { margin-bottom: 20px; }
  #how .card .panel { height: 340px; }
  #how .grid { row-gap: 32px; }
  #yours .art { height: 200px; margin-top: 20px; }
  .ledger .art-panel, #recovery .art-panel { height: 140px; }
  .ledger .art-panel img, #recovery .art-panel img { width: 150px; height: 120px; }
  .plans > div:last-child { margin-top: 20px; }
  .plans > div:last-child .art-panel { min-height: 140px; }
}
/* the opening picture: shown whole, not clipped and faded at the fold */
.hero--centred .hero__window { height: auto !important; max-height: none !important; min-height: 0 !important; aspect-ratio: auto !important; flex: none !important; padding: 32px 24px !important; -webkit-mask-image: none !important; mask-image: none !important; overflow: hidden; }
.hero--centred .hero__window::before, .hero--centred .hero__window::after { content: none !important; }
.hero--centred .hero__window .km { position: static !important; transform: none !important; height: auto !important; max-width: 880px; margin: 0 auto; }
/* the waitlist's own page */
.join-page { padding: 48px 24px 72px; }
.join-page__card { max-width: 480px; margin: 0 auto; }
.join-page__card > img { display: block; margin: 0 0 8px; }
.join-page h1 { font-size: 36px; line-height: 1.15; margin: 0 0 12px; }
.join-page__card > p { margin: 0 0 28px; }
.join-page form.join { max-width: none !important; }
#waitlist .section-head .btn { margin-top: 24px; }
@media (max-width: 639px) { .join-page { padding: 28px 20px 56px; } .join-page h1 { font-size: 28px; } }
main.plain { padding-block: 40px 72px; }
main.join-page { min-height: 0; }
main.plain h1 { font-size: 40px; line-height: 1.15; margin: 0; }
main.plain.post h1 { margin-bottom: 4px; }
@media (max-width: 639px) { main.plain h1 { font-size: 30px; } }
/* waitlist: sending, failed and joined */
.join button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 200px; min-height: 48px; }
.join button[disabled] { cursor: progress; opacity: .85; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(28 27 24 / .25); border-top-color: #1c1b18; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
.form__status.is-error { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: #fde4e4; color: #8c1d21; font-size: 15px; }
.joined { display: grid; justify-items: center; gap: 12px; padding: 32px 24px; text-align: center; border-radius: 24px; background: #e9f7ef; }
.joined__tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #2aa36b; }
.joined h2 { margin: 0; font-size: 26px; }
.joined p { margin: 0 0 8px; overflow-wrap: anywhere; }
