/* Squint, from the Claude Design project "Too Small, Can't Read" (squint.css + Landing / For Parents).
   Anton for shouting, Atkinson Hyperlegible Next for reading. Fonts are self-hosted subsets
   (Latin; see site/README.md) so no page calls a third party. */

@font-face { font-family: "Anton"; src: url(/fonts/anton.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(/fonts/atkinson.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Material Symbols Rounded"; src: url(/fonts/symbols.woff2) format("woff2"); font-weight: 600; font-display: block; }

:root {
  color-scheme: dark;
  --bg: oklch(0.17 0.012 285);
  --raise: oklch(0.23 0.012 285);
  --raise2: oklch(0.29 0.012 285);
  --line: oklch(0.34 0.012 285);
  --fg: oklch(0.97 0.006 285);
  --mute: oklch(0.74 0.01 285);
  --lime: oklch(0.9 0.19 128);
  --limeInk: oklch(0.2 0.03 128);
  --frame: oklch(0.09 0.01 285);
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --text: "Atkinson Hyperlegible Next", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--fg); font-family: var(--text); font-size: 18px; line-height: 1.45; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--fg); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
button { font: inherit; cursor: pointer; }

.disp { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.01em; font-weight: 400; }
.ms { font-family: "Material Symbols Rounded"; font-weight: 600; font-style: normal; line-height: 1; font-feature-settings: "liga"; display: inline-block; white-space: nowrap; direction: ltr; user-select: none; }
.lime { color: var(--lime); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 1000px; }

/* Nav + footer */
.nav { display: flex; align-items: center; gap: 24px; padding: 22px 0; }
.nav .logo { font-size: 30px; color: var(--fg); }
.nav .sp { flex: 1; }
.nav a.l { color: var(--mute); font-weight: 800; font-size: 17px; }
.nav a.l:hover { color: var(--fg); }
.getbtn { background: var(--lime); color: var(--limeInk); border-radius: 999px; padding: 12px 20px; font-weight: 800; font-size: 17px; white-space: nowrap; }
.getbtn:hover { color: var(--limeInk); filter: brightness(1.05); }
.footer { padding: 40px 0 60px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; color: var(--mute); font-size: 16px; border-top: 1px solid var(--line); }
.footer .sp { flex: 1; }
.footer a { color: var(--mute); }
.footer a:hover { color: var(--fg); }
.footer .logo { font-size: 24px; color: var(--fg); }

/* Shared pieces */
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 16px; font-size: 17px; font-weight: 800; }
.pill.lime-o { border: 2px solid var(--lime); color: var(--lime); }
.read-h { font-family: var(--display); text-transform: uppercase; color: var(--lime); font-size: 46px; line-height: 1; }
.read-p { font-size: 34px; line-height: 1.28; font-weight: 600; text-wrap: pretty; }
section { padding: 90px 0; border-top: 1px solid var(--line); }
.h2 { font-size: clamp(44px, 6vw, 80px); line-height: 0.95; max-width: 900px; }
.lead { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; color: var(--mute); max-width: 640px; margin-top: 18px; text-wrap: pretty; }

/* Official store badges (Apple and Google require their own artwork, unaltered).
   Google's PNG has transparent padding built in, so it is drawn larger and pulled in. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.badge { display: inline-block; line-height: 0; border-radius: 10px; }
.badge img { display: block; height: 60px; width: auto; }
.badge.play img { height: 89px; margin: -14.5px -10px; }
.soon { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px; border-radius: 14px; border: 2px dashed var(--line); color: var(--mute); font-weight: 800; font-size: 17px; }
.soon .ms { font-size: 26px; }

/* Phone frame (iPhone 390×844) */
.phone { width: 390px; height: 844px; border-radius: 54px; border: 10px solid var(--frame); overflow: hidden; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); position: relative; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px oklch(0 0 0 / 0.6); }
.sb { height: 50px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 28px 6px; font-size: 16px; font-weight: 800; }
.sb .ic { display: flex; gap: 6px; }
.sb .ms { font-size: 18px; }
.home-ind { height: 26px; flex: none; display: flex; align-items: center; justify-content: center; }
.home-ind i { width: 134px; height: 5px; border-radius: 3px; background: var(--fg); opacity: 0.8; }
.appbar { display: flex; align-items: center; gap: 4px; padding: 6px 12px 10px; flex: none; }
.appbar .sp { flex: 1; }
.iconbtn { width: 52px; height: 52px; border-radius: 26px; display: flex; align-items: center; justify-content: center; }
.iconbtn .ms { font-size: 30px; }
.sizebtn { height: 52px; min-width: 56px; padding: 0 10px; display: flex; align-items: center; justify-content: center; }
.btnbar { display: grid; grid-template-columns: 4fr 4fr 3fr; gap: 8px; padding: 10px 12px 4px; flex: none; }
.bbtn { height: 96px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 19px; font-weight: 800; }
.bbtn .ms { font-size: 36px; }
.bb-lime { background: var(--lime); color: var(--limeInk); }
.bb-chalk { background: var(--fg); color: var(--bg); }
.bb-dark { background: var(--raise); color: var(--fg); }

/* Policy pages */
.doc { max-width: 760px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(52px, 8vw, 96px); line-height: 0.92; margin: 32px 0 12px; }
.doc .updated { color: var(--mute); font-size: 16px; margin-bottom: 28px; }
.doc .short { background: var(--raise); border-radius: 24px; padding: 24px 26px; font-size: 20px; line-height: 1.45; margin-bottom: 12px; }
.doc .short b { color: var(--lime); }
.doc h2 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 34px; line-height: 1; margin: 48px 0 14px; }
.doc p, .doc li { font-size: 19px; line-height: 1.55; color: var(--mute); max-width: 68ch; }
.doc p + p { margin-top: 12px; }
.doc b, .doc strong { color: var(--fg); }
.doc ul { padding-left: 22px; margin-top: 10px; }
.doc li { margin: 8px 0; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc .caps { text-transform: none; font-size: 17px; }

@media (max-width: 900px) {
  .nav a.l { display: none; }
  section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 12px; }
  .nav .logo { font-size: 26px; }
  .getbtn { padding: 10px 16px; font-size: 16px; }
  .badge img { height: 52px; }
  .badge.play img { height: 77px; margin: -12.5px -8.6px; }
}
