/* Generated by scripts/web/build.ts from src/theme/tokens.ts (DIK-67, DIK-98). Don't edit. */
@font-face { font-family: Archivo; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/kept/assets/fonts/Archivo-variable.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url(/kept/assets/fonts/Inter-variable.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-muted: #F1F5F2;
  --border: #D9E1DC;
  --border-strong: #7B8781;
  --text: #0F1A16;
  --text-secondary: #53605A;
  --primary: #86E5C8;
  --on-primary: #06312A;
  --primary-muted: #E2F7EF;
  --primary-strong: #0A6B56;
  --inverse: #0F1A16;
  --on-inverse: #EEF4F1;
  --on-inverse-secondary: #B7C4BE;
  --warning-bg: #FFE9D9;
  --warning-text: #8F3A00;
  --danger: #B3261E;
  --success: #1B7340;
  --scrim: #0F1A16;
  --pine: #06312A;
  --mint: #86E5C8;
  /* Text on deep pine, and the demo receipt's paper, which stays light in dark mode. */
  --on-pine: #EEF4F1;
  --paper: #FFFFFF;
  --paper-ink: #0F1A16;
  --paper-rule: #7B8781;
  --paper-mark: #0A6B56;
}
@media (prefers-color-scheme: dark) {
  :root {
  --bg: #0D1210;
  --surface: #151C19;
  --surface-muted: #1D2622;
  --border: #2E3934;
  --border-strong: #7C8984;
  --text: #EEF4F1;
  --text-secondary: #A4B0AB;
  --primary: #86E5C8;
  --on-primary: #06312A;
  --primary-muted: #103A31;
  --primary-strong: #86E5C8;
  --inverse: #25322D;
  --on-inverse: #EEF4F1;
  --on-inverse-secondary: #B7C4BE;
  --warning-bg: #3F2410;
  --warning-text: #FFB27A;
  --danger: #FF8A80;
  --success: #62D594;
  --scrim: #000000;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.55;
}
h1, h2, h3 { font-family: Archivo, Inter, system-ui, sans-serif; font-weight: 800; margin: 1.5rem 0 0.5rem; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: 2.5rem; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; line-height: 1.1428571428571428; letter-spacing: -0.014285714285714287em; }
h3 { font-size: 1.125rem; line-height: 1.3333333333333333; letter-spacing: 0em; font-family: Inter, system-ui, sans-serif; font-weight: 600; letter-spacing: 0; }
p, ul, ol { margin: 0 0 0.75rem; }
li { margin: 0.25rem 0; }
a { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--primary-strong); outline-offset: 2px; border-radius: 0.375rem; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.9em; overflow-wrap: anywhere; }
strong { font-weight: 600; }
img { max-width: 100%; height: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--surface); padding: 0.5rem 0.75rem; }
.skip:focus { left: 0.5rem; z-index: 2; }

/* The page frame: a 1200 px column on Home's full width bands, a 720 px reading column inside. */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
.page-inner main { display: block; max-width: calc(720px + 2 * clamp(16px, 4vw, 48px)); margin: 0 auto; padding: 1rem clamp(16px, 4vw, 48px) 2rem; }

.site-header { color: var(--text); }
.page-home .site-header { background: var(--mint); color: var(--pine); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 0.75rem; }
.lockup { display: inline-flex; align-items: center; gap: 0.25em; color: inherit; text-decoration: none; font-size: 2rem; min-height: 44px; }
.glyph { height: 1em; width: auto; flex: none; }
.glyph-receipt { fill: currentColor; }
.glyph-check { fill: none; stroke: var(--bg); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.page-home .site-header .glyph-check { stroke: var(--mint); }
.wordmark { font-family: Archivo, Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: inherit; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { text-decoration: underline; }
.page-home .site-header :focus-visible, .hero :focus-visible { outline-color: var(--pine); }

.site-footer { border-top: 1px solid var(--border); margin-top: clamp(3rem, 7vw, 6rem); color: var(--text-secondary); }
.page-home .site-footer { margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1.5rem; }
.site-footer .lockup { color: var(--text); font-size: 1.625rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.footer-legal { flex-basis: 100%; margin: 0; font-size: 0.8125rem; line-height: 1.3846153846153846; letter-spacing: 0em; }
.footer-legal a { color: var(--text-secondary); }

/* Home */
.hero { background: var(--mint); color: var(--pine); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); padding-top: clamp(1.5rem, 5vw, 4rem); }
.hero-copy { flex: 1 1 26rem; padding-bottom: clamp(2rem, 6vw, 6rem); }
.hero h1 { font-size: clamp(56px, 8.6vw, 124px); line-height: 0.94; letter-spacing: -0.035em; margin: 0 0 1rem; }
.hero-lead { font-size: clamp(1.1875rem, 1.9vw, 1.375rem); line-height: 1.45; max-width: 36ch; }
.stores { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0.75rem; }
.store-pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1rem; border-radius: 999px; background: var(--pine); color: var(--mint); font-weight: 600; text-decoration: none; }
a.store-pill:hover { text-decoration: underline; }
.hero-note { font-weight: 600; margin: 0; }
.hero-phone { flex: 0 1 320px; margin: 0 auto -96px; position: relative; z-index: 1; }
.hero-phone img { display: block; border: 10px solid var(--pine); border-radius: 2.75rem; background: var(--pine); }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.after-hero { padding-top: calc(clamp(3.5rem, 8vw, 7rem) + 96px); }
.section h2, .band h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.04; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); max-width: 22ch; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.5rem clamp(2rem, 5vw, 4rem); }
.steps li { flex: 1 1 15rem; margin: 0; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: var(--pine); font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: 1.375rem; }
.steps h3 { font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: 1.5rem; margin: 0.75rem 0 0.25rem; }
.steps p { color: var(--text-secondary); max-width: 36ch; }

.band { padding-block: clamp(3.5rem, 8vw, 7rem); }
.band-muted { background: var(--surface-muted); }
.band-pine { background: var(--pine); color: var(--on-pine); }
.band-pine h2 { color: var(--mint); }
.band-pine a { color: var(--mint); }

.demo { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem clamp(2.5rem, 6vw, 6rem); }
.receipt { flex: 0 1 330px; margin: 0 auto; background: var(--paper); color: var(--paper-ink); font-family: ui-monospace, Menlo, monospace; font-size: 0.875rem; line-height: 1.5; padding: 1.75rem 1.5rem 2.5rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 91.66% 100%, 83.33% calc(100% - 12px), 75% 100%, 66.66% calc(100% - 12px), 58.33% 100%, 50% calc(100% - 12px), 41.66% 100%, 33.33% calc(100% - 12px), 25% 100%, 16.66% calc(100% - 12px), 8.33% 100%, 0 calc(100% - 12px)); }
.receipt p { margin: 0; display: flex; justify-content: space-between; gap: 1em; }
.receipt .center { justify-content: center; }
.receipt hr { border: 0; border-top: 1px dashed var(--paper-rule); margin: 0.625rem 0; }
/* On the paper, which stays light in dark mode, the outline is light mode's deep pine. */
.hl { outline: 2px solid var(--paper-mark); outline-offset: 3px; border-radius: 3px; }
.demo-copy { flex: 1 1 22rem; }
.demo-copy > p { max-width: 46ch; }
.fields { background: var(--bg); border-radius: 1.5rem; padding: 0.5rem 1rem; margin: 1rem 0; max-width: 28rem; }
.field { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.field:last-child { border-bottom: 0; }
.field dt { color: var(--text-secondary); }
.field dd { margin: 0; font-weight: 600; }
.field.flagged { background: var(--warning-bg); color: var(--warning-text); margin: 0.5rem -0.75rem; padding: 0.75rem; border-radius: 1rem; border-bottom: 0; }
.field.flagged dt { color: var(--warning-text); }
.flag { display: flex; align-items: center; gap: 0.375rem; margin-top: 0.25rem; font-size: 0.875rem; font-weight: 600; }
.flag svg { width: 16px; height: 16px; flex: none; }
.field.total dd { font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: 2rem; line-height: 1.1; }
.kept-done { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.draw-check { width: 32px; height: 32px; flex: none; }
.draw-check circle { fill: var(--mint); }
.draw-check path { fill: none; stroke: var(--pine); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }

/* The reading demo plays once, when it scrolls into view (assets/home.js), and never with Reduce
   Motion. Without the script it simply shows its end. */
@media (prefers-reduced-motion: no-preference) {
  .demo.is-ready .hl { outline-color: transparent; }
  .demo.is-ready .field, .demo.is-ready .kept-done { opacity: 0; transform: translateY(6px); }
  .demo.is-ready .draw-check path { stroke-dashoffset: 24; }
  .demo.is-playing .hl { animation: read 0.36s ease-out both; }
  .demo.is-playing .hl-1 { animation-delay: 0.2s; }
  .demo.is-playing .hl-2 { animation-delay: 0.45s; }
  .demo.is-playing .hl-3 { animation-delay: 0.7s; }
  .demo.is-playing .hl-4 { animation-delay: 0.95s; }
  .demo.is-playing .field { animation: fill 0.32s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
  .demo.is-playing .field:nth-child(1) { animation-delay: 1.25s; }
  .demo.is-playing .field:nth-child(2) { animation-delay: 1.34s; }
  .demo.is-playing .field:nth-child(3) { animation-delay: 1.43s; }
  .demo.is-playing .field:nth-child(4) { animation-delay: 1.52s; }
  .demo.is-playing .field:nth-child(5) { animation-delay: 1.61s; }
  .demo.is-playing .kept-done { animation: fill 0.32s ease-out 1.9s both; }
  .demo.is-playing .draw-check path { animation: draw 0.34s cubic-bezier(0.3, 0, 0.2, 1) 2.1s both; }
}
@keyframes read { from { outline-color: transparent; } to { outline-color: var(--paper-mark); } }
@keyframes fill { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

.pack { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem clamp(2.5rem, 6vw, 6rem); }
.pack-copy { flex: 1 1 22rem; }
.pack-copy > p { max-width: 46ch; }
.fine { color: var(--text-secondary); font-size: 0.8125rem; line-height: 1.3846153846153846; letter-spacing: 0em; }
.chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { margin: 0; padding: 0.5rem 1rem; border-radius: 999px; background: var(--surface-muted); font-weight: 600; }
.doc { flex: 1 1 22rem; max-width: 34rem; border: 1px solid var(--border-strong); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); }
.doc-title { font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: 1.375rem; margin: 0; }
.doc-sub { color: var(--text-secondary); font-size: 0.8125rem; line-height: 1.3846153846153846; letter-spacing: 0em; margin: 0.25rem 0 0.75rem; }
.doc table { font-size: 0.8125rem; line-height: 1.3846153846153846; letter-spacing: 0em; }
.doc td:not(:first-child), .doc th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc tfoot td { font-weight: 600; border-bottom: 0; border-top: 2px solid var(--text); }

.plans { display: flex; flex-wrap: wrap; gap: 1rem; }
.plan { flex: 1 1 18rem; max-width: 32rem; border-radius: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.plan h3 { font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: 1.75rem; margin: 0 0 0.25rem; }
.plan-price { font-weight: 600; font-size: 1.25rem; }
.plan ul { padding-left: 1.2em; }
.plan-free { background: var(--surface-muted); }
.plan-pro { background: var(--mint); color: var(--pine); }
.plan-pro a { color: var(--pine); }
.plan-terms { font-size: 0.8125rem; line-height: 1.3846153846153846; letter-spacing: 0em; margin: 0; }
.promises { padding-left: 1.2em; font-size: clamp(1.125rem, 1.8vw, 1.3125rem); max-width: 44ch; }

/* Inner pages */
.card { background: var(--surface-muted); border-radius: 1rem; padding: 1rem; margin: 1rem 0; }
.card > :first-child { margin-top: 0; }
.notice { background: var(--warning-bg); color: var(--warning-text); border-radius: 1rem; padding: 0.75rem 1rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.5rem 1rem; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--inverse); color: var(--on-inverse);
}
.button.secondary { background: var(--surface-muted); color: var(--text); }
.button.danger { background: var(--danger); color: var(--on-inverse); }
@media (prefers-color-scheme: dark) { .button.danger { color: var(--bg); } }
.button[disabled] { opacity: 0.5; cursor: not-allowed; }
label { display: block; font-weight: 600; margin: 0.75rem 0 0.25rem; }
input[type="email"], input[type="text"] {
  display: block; width: 100%; min-height: 48px; padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-strong); border-radius: 0.75rem; background: var(--surface); color: var(--text); font: inherit;
}
.check { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; min-height: 44px; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--primary-strong); }
.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.status { min-height: 1.5em; margin-top: 0.75rem; }
.status.error { color: var(--danger); }
[hidden] { display: none !important; }
.glossary { margin: 0 0 0.75rem; }
.glossary dt { font-weight: 600; margin-top: 0.75rem; }
.glossary dd { margin: 0.25rem 0 0; }
.prose blockquote { margin: 0 0 0.75rem; padding: 0.5rem 1rem; border-left: 4px solid var(--border-strong); color: var(--text-secondary); }
.table { overflow-x: auto; margin: 0 0 0.75rem; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.375; letter-spacing: 0em; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }

@media (max-width: 30rem) {
  .page-inner h1 { font-size: 1.75rem; line-height: 1.1428571428571428; letter-spacing: -0.014285714285714287em; }
  .page-inner h2 { font-size: 1.125rem; line-height: 1.3333333333333333; letter-spacing: 0em; font-family: Archivo, Inter, system-ui, sans-serif; font-weight: 800; }
}
