:root {
  --paper: #f5efe4;
  --paper-2: #ece3d3;
  --card: #fffdf8;
  --ink: #14284b;
  --ink-soft: #4e586c;
  --accent: #285fa0;
  --green: #1b6e35;
  --rule: rgba(20, 40, 75, 0.14);
  --serif: "New York", "Iowan Old Style", "Charter", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14171d;
    --paper-2: #1b1f27;
    --card: #20252f;
    --ink: #eef1f6;
    --ink-soft: #a9b2c3;
    --accent: #74a3e6;
    --green: #5bd17c;
    --rule: rgba(255, 255, 255, 0.12);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
header.site .brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
header.site .brand img { width: 40px; height: 40px; border-radius: 9px; }
header.site nav a { margin-left: 18px; color: var(--ink-soft); text-decoration: none; font-size: 15px; }
header.site nav a:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 64px 0 48px; }
.hero h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 68px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -0.5px; }
.hero p.lede { font-size: 20px; color: var(--ink-soft); margin: 0 0 28px; max-width: 34em; }
.hero .phones { display: flex; gap: 18px; justify-content: center; }
.hero .phones img { width: 46%; border-radius: 34px; box-shadow: 0 24px 60px rgba(20, 30, 50, 0.22); }
.hero .phones img:last-child { margin-top: 48px; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 14px; font-weight: 600;
}
.badge svg { width: 22px; height: 22px; fill: currentColor; }
.badge small { display: block; font-weight: 400; font-size: 11px; opacity: 0.85; line-height: 1; }
.free { margin-left: 14px; color: var(--green); font-weight: 600; }

.soon {
  display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 16px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px 6px 8px;
}
.soon .tv { background: var(--ink); color: var(--paper); border-radius: 6px; padding: 1px 7px; font-size: 13px; letter-spacing: 0.5px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 6px; }
.tv-hero img { border-radius: 18px; box-shadow: 0 24px 60px rgba(20, 30, 50, 0.25); margin-bottom: 32px; }
.gallery.tv { margin-top: 28px; }
.gallery.tv img { border-radius: 14px; }

.audience { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.audience span { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink-soft); }

section { padding: 56px 0; border-top: 1px solid var(--rule); }
section h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); margin: 0 0 10px; }
section p.intro { color: var(--ink-soft); max-width: 44em; margin: 0 0 32px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 22px; }
.feature h3 { margin: 6px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.feature .icon { font-size: 26px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 28px; box-shadow: 0 14px 40px rgba(20, 30, 50, 0.16); }
.gallery figcaption { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
.ipad img { border-radius: 18px; box-shadow: 0 18px 50px rgba(20, 30, 50, 0.18); }
.ipad { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.cite { background: var(--card); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 22px; font-size: 16px; }

.prose { max-width: 760px; padding: 48px 0 72px; }
.prose h1 { font-family: var(--serif); font-size: 44px; margin: 0 0 6px; }
.prose h2 { font-family: var(--serif); font-size: 26px; margin: 36px 0 8px; }
.prose .updated { color: var(--ink-soft); margin-bottom: 28px; }

footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; color: var(--ink-soft); font-size: 14px; }
footer a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .features, .gallery { grid-template-columns: 1fr 1fr; }
  .ipad { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .features, .gallery { grid-template-columns: 1fr; }
  header.site nav a { margin-left: 12px; }
  .free { display: block; margin: 12px 0 0; }
}

/* ---- Accessibility ---- */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-contrast: more) {
  :root { --ink-soft: var(--ink); --rule: currentColor; }
  .feature, .cite { border-width: 2px; }
  a { text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
