/* Read Clearly product page. Colours and type come from the app itself (src/theme: field #F5C542,
   white cards, near-black ink; Space Grotesk Bold for display, Atkinson Hyperlegible for reading,
   both OFL). One light theme on purpose: the app ships light only. Text is centered in its box.
   Shapes: device frames are rounded like the phone, chips are pills, nothing else has a card. */

@font-face { font-family: "Space Grotesk"; src: url("/apps/readclearly/fonts/SpaceGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/apps/readclearly/fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --field: #f5c542;
  --field-deep: #ebb52a;
  --paper: #fffdf6;
  --ink: #17140e;
  --ink-soft: #4a3d1a;
  --edge: #1b1915;
  --display: "Space Grotesk", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { background: var(--field); color: var(--ink); }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.55; -webkit-font-smoothing: antialiased; text-align: center; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 14px; z-index: 2; }

.top { display: flex; justify-content: space-between; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 22px 24px; font-weight: 700; }
.top a { text-decoration: none; }
.top a:hover { text-decoration: underline; }
.top__links { display: flex; gap: 22px; }

.hero__body { max-width: 760px; margin: 0 auto; padding: 32px 24px 0; display: grid; justify-items: center; gap: 22px; }
.hero__icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 30px rgb(120 82 0 / 0.25); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
.hero__lede { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-soft); max-width: 34ch; }
.stores { display: grid; justify-items: center; gap: 8px; }
.badge img { width: 150px; opacity: 0.45; }
.soon { font-weight: 700; font-size: 0.95rem; }

.device { margin: 0; background: var(--edge); border-radius: 44px; padding: 10px; box-shadow: 0 30px 60px rgb(110 74 0 / 0.28); }
.device img { border-radius: 35px; }

.trio { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: center; gap: clamp(14px, 3vw, 36px); max-width: 980px; margin: 56px auto 0; padding: 0 24px 72px; }
.device--side { transform: translateY(36px); }

main section { padding: 88px 24px; }
main h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

.formats { background: var(--paper); }
.formats h2 { max-width: 18ch; margin: 0 auto; }
.chips { list-style: none; padding: 0; margin: 36px auto 26px; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { background: var(--field); border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 1.05rem; }
.note { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 460px); justify-content: center; align-items: center; gap: clamp(32px, 7vw, 96px); }
.split__copy { display: grid; gap: 18px; justify-items: center; }
.split__copy p { color: var(--ink-soft); max-width: 40ch; }

.private { background: var(--ink); color: var(--paper); }
.private h2 { max-width: 16ch; margin: 0 auto 18px; }
.private p { max-width: 46ch; margin: 0 auto; color: #e9dfc2; font-size: 1.2rem; }

.facts { background: var(--paper); }
.facts__list { max-width: 980px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.facts__list div { display: grid; gap: 8px; justify-items: center; }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.facts dd { margin: 0; color: var(--ink-soft); max-width: 30ch; }

.foot { padding: 40px 24px 48px; font-size: 0.95rem; }
.foot__legal { margin-top: 10px; color: var(--ink-soft); font-size: 0.8rem; }

@media (max-width: 760px) {
  .trio { grid-template-columns: 1fr; max-width: 300px; padding-bottom: 56px; }
  .device--side { display: none; }
  main section { padding: 64px 16px; }
  .split, .split--flip { grid-template-columns: minmax(0, 280px); }
  .split--flip .device { order: -1; }
  .split .device { order: -1; }
  .facts__list { grid-template-columns: 1fr; gap: 28px; }
  .top { padding: 18px 16px; }
}
