@font-face { font-family: "Archivo"; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 500 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(/fonts/atkinson-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(/fonts/atkinson-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --wall: #dde4de;
  --paper: #ffffff;
  --ink: #1c2a4a;
  --muted: #4f5b73;
  --line: #bcc7bf;
  --hi: #f6e84a;
  --hi-ink: #1c2a4a;
  --bubble-in: #e9e9eb;
  --bubble-in-ink: #1c2a4a;
  --bubble-out: #1f8a4c;
  --phone: #1c2a4a;
  --shadow: 0 1px 0 rgba(28, 42, 74, .08), 0 12px 28px -14px rgba(28, 42, 74, .35);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Atkinson", "Verdana", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wall: #17201c; --paper: #212b27; --ink: #e7ecf4; --muted: #a6b1c4; --line: #34413a;
    --hi: #e8d736; --bubble-in: #2f3a36; --bubble-in-ink: #e7ecf4; --bubble-out: #23954f; --phone: #0c1210;
    --shadow: 0 12px 28px -14px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  --wall: #17201c; --paper: #212b27; --ink: #e7ecf4; --muted: #a6b1c4; --line: #34413a;
  --hi: #e8d736; --bubble-in: #2f3a36; --bubble-in-ink: #e7ecf4; --bubble-out: #23954f; --phone: #0c1210;
  --shadow: 0 12px 28px -14px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; background: var(--wall); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }
.prose { max-width: 66ch; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; font-stretch: 75%; font-weight: 800; letter-spacing: -.005em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
h3 { font-size: 1.3rem; font-stretch: 90%; font-weight: 700; }
p { margin: 0 0 1em; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.mark { font: 900 1.5rem/1 var(--display); font-stretch: 112%; text-decoration: none; letter-spacing: -.02em; }
.top nav { display: flex; gap: 20px; align-items: center; font-size: .95rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.top .nav-section { display: none; }
@media (min-width: 760px) { .top .nav-section { display: inline; } }

.btn { display: inline-block; padding: .7em 1.15em; border-radius: 6px; font-weight: 700; text-decoration: none; background: var(--ink); color: var(--wall); border: 2px solid var(--ink); }
.btn:hover { text-decoration: none; filter: brightness(1.15); }
.btn.ghost { background: transparent; color: var(--ink); }

/* hero */
.hero { display: grid; gap: 40px; padding-block: 24px 72px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1.05fr; gap: 56px; padding-block: 48px 96px; } }
.quote { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 4.6rem); font-stretch: 68%; font-weight: 850; line-height: .98; margin-bottom: .35em; text-wrap: balance; }
.quote-by { font-size: 1rem; color: var(--muted); margin-bottom: 1.6em; }
.lede { font-size: 1.2rem; max-width: 34ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* demo: printout on the wall, phone in front */
.demo { position: relative; padding-bottom: 8px; }
.sheet { position: relative; background: var(--paper); box-shadow: var(--shadow); padding: 16px 14px 44px; transform: rotate(-1.2deg); width: min(100%, 460px); }
.sheet-title { font: 800 1rem/1.2 var(--display); font-stretch: 85%; margin: 0 0 10px; }
.sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .76rem; font-variant-numeric: tabular-nums; }
@media (min-width: 420px) { .sheet table { font-size: .82rem; } }
.sheet th, .sheet td { border: 1px solid var(--line); padding: 5px 4px; text-align: left; overflow-wrap: anywhere; }
.sheet th:first-child { width: 22%; }
.sheet thead th { font-weight: 700; font-size: .75rem; color: var(--muted); }
.sheet tbody th { font-weight: 700; }
.sheet td.off { color: var(--muted); }
.sheet td { background-image: linear-gradient(var(--hi), var(--hi)); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size .45s ease-out, color .2s; }
.sheet td.hi { background-size: 100% 100%; color: var(--hi-ink); }
.sticky { position: absolute; left: -8px; bottom: -34px; margin: 0; background: var(--hi); color: var(--hi-ink); padding: 10px 12px; font: 700 .95rem/1.25 var(--body); transform: rotate(2deg); box-shadow: var(--shadow); max-width: 15ch; }
.sticky b { display: block; font: 850 1.05rem/1.2 var(--display); font-stretch: 80%; white-space: nowrap; }

.phone { position: relative; margin: 52px 0 0 auto; width: min(82%, 300px); background: var(--phone); border-radius: 34px; padding: 12px; box-shadow: var(--shadow); z-index: 1; }
@media (min-width: 560px) { .phone { margin-top: -20px; } }
.screen { background: var(--paper); border-radius: 24px; padding: 12px 10px 14px; min-height: 380px; display: flex; flex-direction: column; }
.screen-head { text-align: center; font-size: .78rem; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.screen-head b { display: block; color: var(--ink); font-size: .9rem; }
.langs { display: none; gap: 4px; justify-content: center; margin-bottom: 10px; }
.js .langs { display: flex; }
.langs button { font: 700 .8rem/1 var(--body); padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.thread[hidden] { display: none; }
.thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; line-height: 1.35; }
.thread li { max-width: 82%; padding: 7px 11px; border-radius: 17px; }
.thread .in { align-self: flex-start; background: var(--bubble-in); color: var(--bubble-in-ink); border-bottom-left-radius: 5px; }
.thread .out { align-self: flex-end; background: var(--bubble-out); color: #fff; border-bottom-right-radius: 5px; }
.js .thread li.wait { opacity: 0; transform: translateY(6px); }
.thread li { transition: opacity .25s ease-out, transform .25s ease-out; }
.thread .typing { align-self: flex-start; background: var(--bubble-in); color: var(--muted); letter-spacing: .2em; }
@media (prefers-reduced-motion: reduce) {
  .thread li, .sheet td { transition: none; }
}

/* sections */
.band { padding-block: 72px; border-top: 1px solid var(--line); }
.band.paper { background: var(--paper); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 850 3.2rem/1 var(--display); font-stretch: 62%; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.formats { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.formats li { border: 1px solid var(--line); border-radius: 4px; padding: 3px 10px; font-size: .9rem; }
.confirm { background: var(--wall); border: 1px solid var(--line); border-radius: 8px; padding: 16px; font-size: .9rem; }
.confirm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.confirm-head b { font: 800 1.15rem/1.2 var(--display); font-stretch: 85%; }
.confirm table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.confirm td { padding: 6px 4px; border-top: 1px solid var(--line); }
.confirm td:last-child { color: var(--muted); text-align: right; }
.confirm .btn { margin-top: 14px; padding: .5em 1.2em; font-size: .95rem; }

/* pricing */
.draft-flag { display: inline-block; background: var(--hi); color: var(--hi-ink); padding: 2px 8px; font-weight: 700; font-size: .9rem; margin-bottom: 1em; }
.plans { display: grid; gap: 0; margin-top: 28px; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan + .plan { border-left: 1px solid var(--line); } }
.plan { padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .plan { padding: 24px; border-bottom: 0; } .plan:first-child { padding-left: 0; } }
.price { font: 850 2.6rem/1 var(--display); font-stretch: 70%; margin: 6px 0 4px; }
.price small { font: 400 1rem var(--body); color: var(--muted); }
.plan ul { padding-left: 1.1em; margin: 14px 0 0; color: var(--muted); }
.plan li { margin-bottom: 4px; }

/* referral */
.refer { background: var(--hi); color: var(--hi-ink); }
.refer .wrap { padding-block: 64px; }
.refer h2 { max-width: 18ch; }
.refer a { color: var(--hi-ink); }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; max-width: 72ch; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.1rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* footer */
.foot { padding-block: 40px 56px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }

/* legal pages */
.legal { padding-block: 32px 72px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; font-stretch: 85%; margin-top: 2em; }
.legal .draft-flag { margin-bottom: 1.5em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
