/* Daily Scroll website. One narrow column, set like a page of a pocket Bible: paper, ink, hairline rules, one red ribbon. */
@font-face { font-family: "Literata"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/literata-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/literata-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url(fonts/figtree-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url(fonts/figtree-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ground: #f7f4ee; --surface: #fdfbf7; --line: rgba(31, 27, 22, 0.14);
  --ink: #1f1b16; --ink-2: rgba(31, 26, 21, 0.78); --ink-3: rgba(31, 26, 21, 0.62);
  --accent: #a3271a; --on-ink: #f7f4ee;
  --f-verse: "Literata", Georgia, "Times New Roman", serif;
  --f-ui: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 8px; --r-sm: 6px; --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #161513; --surface: #1c1a18; --line: rgba(239, 233, 222, 0.14);
    --ink: #efe9de; --ink-2: rgba(240, 233, 220, 0.8); --ink-3: rgba(240, 233, 220, 0.62);
    --accent: #e67a63; --on-ink: #161513; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #161513; --surface: #1c1a18; --line: rgba(239, 233, 222, 0.14);
  --ink: #efe9de; --ink-2: rgba(240, 233, 220, 0.8); --ink-3: rgba(240, 233, 220, 0.62);
  --accent: #e67a63; --on-ink: #161513; color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.6 var(--f-ui); }
.wrap {
  max-width: 44rem; margin: 0 auto; padding-block: 24px 48px;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; gap: 48px;
}
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, .cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.lockup { display: block; flex: none; }
.lockup .lk { fill: var(--ink); }
.lockup .lr { fill: var(--accent); }

/* masthead */
.mast { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.mast nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.mast nav a { padding: 8px 0; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.mast nav a:hover, .mast nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }

/* type */
h1, h2 { margin: 0; font-family: var(--f-verse); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(2rem, 7.2vw, 2.75rem); line-height: 1.1; }
h2 { font-size: 1.5rem; line-height: 1.2; }
h3 { margin: 0; font-size: 1rem; font-weight: 500; }
p { margin: 0; }
.lead { font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.note { font-size: 0.875rem; color: var(--ink-3); }
.status { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }
main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.hero, .sec, .prose { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sec { padding-top: 32px; border-top: 1px solid var(--line); }
.prose p, .prose li { max-width: 36em; color: var(--ink-2); }
.prose h2 { margin-top: 16px; }
.prose h3 { margin-top: 8px; }
.prose ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; }

/* the reading card, as it looks in the app */
.reading { position: relative; max-width: 26rem; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.reading::after { content: ""; position: absolute; top: -1px; right: 24px; width: 18px; height: 34px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.reading .k { padding-right: 40px; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }
.reading .ch { font-family: var(--f-verse); font-weight: 500; font-size: 2rem; line-height: 1.1; }
.reading .meta { font-size: 0.875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.reading blockquote { margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--f-verse); font-size: 1.125rem; line-height: 1.55; }
.reading cite { display: block; margin-top: 8px; font: 400 0.875rem var(--f-ui); color: var(--ink-3); }

/* pictures of the app */
.wrap.wide { max-width: 64rem; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.hero.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.hero.split .shot { width: 100%; max-width: 17rem; }
.herotext { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tour, .feats { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; counter-reset: s; }
.tour li, .feats li { display: flex; flex-direction: column; gap: 8px; min-width: 0; counter-increment: s; }
.tour .shot, .feats .shot { margin-bottom: 4px; }
.tour h3::before { content: counter(s); margin-right: 8px; font-family: var(--f-verse); font-size: 1.25rem; line-height: 1; color: var(--accent); font-variant-numeric: lining-nums; }
.tour p, .feats p { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 760px) {
  .hero.split { grid-template-columns: minmax(0, 1fr) 17rem; gap: 56px; }
  .tour { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
}

/* numbered steps and plain rows */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 4px 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 4px; }
.steps li::before { content: counter(s); grid-row: 1 / span 2; font-family: var(--f-verse); font-weight: 500; font-size: 1.5rem; line-height: 1.1; color: var(--accent); font-variant-numeric: lining-nums; }
.steps p { grid-column: 2; color: var(--ink-2); max-width: 32em; }
.rows { margin: 0; display: flex; flex-direction: column; }
.rows > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.rows > div:first-child { border-top: 0; padding-top: 4px; }
.rows dt { font-weight: 500; }
.rows dd { margin: 0; color: var(--ink-2); }
@media (max-width: 520px) { .rows > div { grid-template-columns: minmax(0, 1fr); } }

/* pricing */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 26rem; }
.opt { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: inherit; text-decoration: none; }
.opt b { font-family: var(--f-verse); font-weight: 500; font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums lining-nums; }
.opt span { font-size: 0.875rem; color: var(--ink-2); }
a.opt { border-color: var(--ink); }
a.opt:hover { color: inherit; box-shadow: inset 0 0 0 1px var(--ink); }
a.opt .go { margin-top: 10px; font-weight: 500; color: var(--accent); }
.cta { align-self: flex-start; display: inline-flex; align-items: center; padding: 12px 20px; border-radius: var(--r); background: var(--ink); color: var(--on-ink); font-weight: 500; text-decoration: none; }
.cta:hover { color: var(--on-ink); opacity: 0.9; }
.addr { font-family: var(--f-verse); font-size: 1.25rem; user-select: all; overflow-wrap: anywhere; }

/* footer */
.foot { padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.foot .who { display: flex; flex-direction: column; gap: 8px; }
.foot p, .foot a { font-size: 0.875rem; color: var(--ink-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { padding: 6px 0; }
@media (prefers-reduced-motion: no-preference) { a, .opt { transition: color 0.2s var(--ease), box-shadow 0.2s var(--ease); } }
