:root {
  --paper: #F7F5F0;
  --ink: #1E2420;
  --muted: #5F6863;
  --accent: #B5541F;
  --chip: #F6E2D3;
  --border: #D9D4C7;
  --on-accent: #FBF1E8;
  --type: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181C1A;
    --ink: #EDEAE2;
    --muted: #A9B0AB;
    --accent: #E78F5A;
    --chip: #3A2A20;
    --border: #38403B;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--type); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .16em; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }

/* The bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 600; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.bar nav a { color: inherit; display: inline-block; padding: 10px 0; }

/* The hero: the ground of the App Store listing, and the phone running off it */
.hero { background: #B5541F; color: var(--on-accent); overflow: hidden; }
.hero a { color: inherit; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding-top: clamp(16px, 4vw, 40px); }
.hero h1 { font-size: clamp(44px, 7.4vw, 84px); line-height: 1.02; letter-spacing: -.025em; font-weight: 700; }
.hero .lead { margin-top: 24px; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.38; max-width: 30em; }
.hero .when { margin-top: 24px; font-weight: 600; }
.phone { border-radius: 13% / 6%; overflow: hidden; background: #F7F5F0; box-shadow: 0 0 0 1px rgba(30,36,32,.25); }
.hero .phone { width: min(100%, 360px); margin: 0 auto -32px; }

/* The line: the one thing this page has to show */
.line-section { padding-block: clamp(64px, 9vw, 112px); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -.015em; font-weight: 700; }
.line { margin-top: 28px; font-size: clamp(30px, 5.6vw, 64px); line-height: 1.16; letter-spacing: -.02em; font-weight: 600; }
.line .place { color: var(--accent); }
.line .tag, .line .note { color: var(--muted); }
.line span { white-space: nowrap; }
.line .note { white-space: normal; }
.grammar { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 36px 0 0; max-width: 34em; }
.grammar dt { font-weight: 700; color: var(--accent); min-width: 1.6em; }
.grammar dd { margin: 0; }
.answer { margin-top: 36px; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.38; max-width: 32em; }

/* What the app does: a screen and what it means, side by side */
.feature { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); align-items: center; padding-block: clamp(32px, 5vw, 56px); }
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.feature.flip .phone { order: 2; }
.feature p { margin-top: 14px; max-width: 30em; font-size: 19px; line-height: 1.42; color: var(--muted); }

/* The data */
.data { margin-top: clamp(48px, 7vw, 88px); padding-block: clamp(56px, 8vw, 96px); background: var(--chip); }
.data ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; }
.data li { padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }

/* Support and privacy: one column of reading */
.page { max-width: 680px; margin-inline: auto; padding: clamp(24px, 5vw, 56px) var(--gutter) clamp(56px, 8vw, 96px); }
.page h1 { font-size: clamp(36px, 6vw, 52px); line-height: 1.06; letter-spacing: -.02em; font-weight: 700; }
.page .lead { margin-top: 18px; font-size: 20px; line-height: 1.4; }
.page h2 { font-size: 24px; margin-top: 48px; }
.page h2 + * { margin-top: 12px; }
.meta { margin-top: 12px; color: var(--muted); }
.mail { display: inline-block; margin-top: 24px; font-size: clamp(21px, 5vw, 28px); font-weight: 600; overflow-wrap: anywhere; }
.page ul.plain { padding-left: 1.2em; }
.page li + li { margin-top: 12px; }
details { border-top: 1px solid var(--border); }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; padding-block: 14px; font-weight: 600; }
details p { padding-bottom: 18px; }
.terms dt { font-weight: 600; margin-top: 20px; }
.terms dd { margin: 4px 0 0; }

/* The foot */
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { color: inherit; display: inline-block; padding-block: 6px; }
.data + footer { border-top: 0; }

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .phone { width: min(78%, 320px); }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .phone { order: 0; }
  .feature .phone { width: min(70%, 280px); }
  .data ul { grid-template-columns: 1fr; }
  .line span { white-space: normal; }
}
