/* ── Read60 site ─────────────────────────────────────────────── */
:root {
  --red: #c4302b;
  --red-dark: #a52521;
  --ink: #101114;
  --body: #3d4148;
  --muted: #9aa0a8;
  --line: #ececee;
  --paper: #ffffff;
  --wash: #f7f7f5;
  --card: #ffffff;
  --solid-bg: #101114;
  --solid-fg: #ffffff;
  --solid-hover: #000000;
  --solid-fg-dim: rgba(255,255,255,.6);
  --header-bg: rgba(255,255,255,.92);
  --hover-tint: rgba(16,17,20,.05);
  --shot-fade: 255,255,255;   /* RGB the immersive photo fades into */
  --shot-solid: #ffffff;      /* card face colour behind mockup text */
  --chip-bg: #ffffff;         /* Read60 badge pill */
  --chip-fg: #101114;
  --radius: 18px;
  --font: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

/* Dark theme — applied when the user picks it, or by default if their OS prefers dark */
:root[data-theme="dark"] {
  --red: #e14b42;
  --red-dark: #c4302b;
  --ink: #f1f2f4;
  --body: #b6bac1;
  --muted: #787e88;
  --line: #2c2f36;
  --paper: #131418;
  --wash: #191b20;
  --card: #202329;
  --solid-bg: #f1f2f4;
  --solid-fg: #16171c;
  --solid-hover: #ffffff;
  --solid-fg-dim: rgba(20,21,25,.55);
  --header-bg: rgba(19,20,24,.9);
  --hover-tint: rgba(255,255,255,.07);
  --shot-fade: 32,35,41;
  --shot-solid: #202329;
  --chip-bg: #2d313a;
  --chip-fg: #f1f2f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker.red { color: var(--red); }

/* ── Brand mark ── */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.r-badge {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--red); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1;
}

/* ── Header ── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
nav.main { display: flex; gap: 28px; align-items: center; font-weight: 600; font-size: 15px; color: var(--body); }
nav.main a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--solid-bg); color: var(--solid-fg);
  border-radius: 999px; padding: 10px 22px;
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--solid-hover); }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--wash); }

/* Theme toggle */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); padding: 0; transition: border-color .15s, background .15s;
}
.theme-toggle:hover { border-color: var(--muted); background: var(--hover-tint); }
.theme-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── Hero ── */
.hero { padding: 96px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04; letter-spacing: -0.03em; font-weight: 800;
  margin: 18px 0 22px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lede { font-size: 19px; color: var(--body); max-width: 46ch; margin-bottom: 34px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Hero phone mockup — auto-rotating mode carousel */
.phone {
  width: 300px; margin: 0 auto;
  border-radius: 38px; border: 1px solid var(--line);
  background: var(--shot-solid);
  box-shadow: 0 30px 80px -30px rgba(16,17,20,.28), 0 2px 6px rgba(16,17,20,.06);
  padding: 12px 12px 30px; position: relative;
}
.phone::after {
  content: ""; position: absolute; left: 50%; bottom: 10px;
  width: 96px; height: 4px; border-radius: 4px; background: #d9d9dc;
  transform: translateX(-50%);
}
.phone .slides { position: relative; aspect-ratio: 9 / 17; }
.phone .slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.phone .slide.active { opacity: 1; pointer-events: auto; }
.phone .slide .shot {
  height: 100%; aspect-ratio: auto;
  border: none; box-shadow: none; border-radius: 27px;
}
/* hero tagline, in theme colours */
.hero-tag {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
  color: var(--ink);
  margin-bottom: 34px;
}
.hero-tag em { font-family: var(--serif); font-style: italic; font-weight: 700; }
.hero-tag strong { color: var(--red); }
.hero-tag .muted { color: var(--muted); font-weight: 700; }

/* inside the smaller hero phone, scale the card type down a notch */
.phone .shot.immersive h4 { font-size: 20px; }
.phone .shot.magazine h4 { font-size: 19px; }
.phone .shot.minimal h4 { font-size: 21px; }
.phone .shot p.sum { font-size: 12.5px !important; line-height: 1.6 !important; }
.phone .dots { display: flex; justify-content: center; gap: 8px; padding-top: 14px; }
.phone .dots button {
  width: 7px; height: 7px; border-radius: 999px; border: none; cursor: pointer;
  background: #d9d9dc; padding: 0; transition: background .2s, transform .2s;
}
.phone .dots button.active { background: var(--red); transform: scale(1.25); }

/* ── Section scaffolding ── */
section { padding: 84px 0; }
section.alt { background: var(--wash); }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.025em; line-height: 1.1; font-weight: 800; margin: 14px 0 14px; }
.sec-head p { color: var(--body); font-size: 17px; }

/* ── News wall ── */
.wall { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }

.rail { position: sticky; top: 88px; }
.rail-toggle {
  display: none; width: 100%; text-align: left;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-weight: 700; font-size: 15px; font-family: var(--font);
  cursor: pointer;
}
.rail ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.rail button.cat-btn {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--body);
  padding: 9px 14px; border-radius: 10px; text-transform: capitalize;
  transition: background .12s, color .12s;
}
.rail button.cat-btn:hover { background: var(--hover-tint); color: var(--ink); }
.rail button.cat-btn.active { background: var(--solid-bg); color: var(--solid-fg); }
.rail button.cat-btn .n { color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.rail button.cat-btn.active .n { color: var(--solid-fg-dim); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s, box-shadow .18s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -22px rgba(16,17,20,.25); }
.news-card .meta { display: flex; align-items: center; justify-content: space-between; }
.news-card h3 { font-size: 19px; line-height: 1.22; letter-spacing: -0.015em; font-weight: 800; }
.news-card p { font-size: 14.5px; color: var(--body); flex: 1; }
.news-card .foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.news-card .foot .src { color: var(--muted); font-weight: 600; }
.news-card .foot a.more { font-weight: 800; color: var(--ink); }
.news-card .foot a.more:hover { color: var(--red); }
.wall-note { margin-top: 26px; font-size: 13.5px; color: var(--muted); }

/* ── Modes showcase ── */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mode { text-align: center; }
.mode .shot {
  border-radius: 30px; border: 1px solid var(--line); overflow: hidden;
  background: var(--shot-solid); aspect-ratio: 9 / 17;
  box-shadow: 0 24px 60px -30px rgba(16,17,20,.3);
  text-align: left; position: relative;
}
.mode h3 { margin: 22px 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.mode p { color: var(--body); font-size: 15px; max-width: 34ch; margin: 0 auto; }

/* mini mock shared bits */
.shot .m-cat { font-size: 9px; letter-spacing: .26em; font-weight: 700; text-transform: uppercase; }
.shot .m-src { font-size: 10.5px; font-weight: 600; }
.shot .m-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--chip-bg); border-radius: 999px; padding: 4px 10px 4px 4px;
  font-size: 10.5px; font-weight: 800; color: var(--chip-fg);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.shot .m-badge .r-badge { width: 16px; height: 16px; border-radius: 4px; font-size: 10px; }

/* immersive: full-bleed photo, headline rising over a white fade */
.shot.immersive { color: var(--ink); }
.shot.immersive .bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--shot-fade),0) 0%, rgba(var(--shot-fade),.55) 30%, rgba(var(--shot-fade),.94) 48%, var(--shot-solid) 64%),
    url("../img/mock-immersive.jpg") center top / cover no-repeat;
}
.shot.immersive .inner { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.shot.immersive h4 { margin-top: auto; font-size: 23px; line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; }
.shot.immersive p.sum { font-size: 13.5px; line-height: 1.65; color: var(--body); }
.shot.immersive .row { display: flex; justify-content: space-between; align-items: center; }
.shot.immersive .row:last-child { margin-top: auto; }
.shot.immersive .m-cat { color: var(--body); }
.shot .m-read {
  background: var(--solid-bg); color: var(--solid-fg); border-radius: 999px;
  font-size: 12px; font-weight: 700; padding: 9px 18px;
}

/* magazine: photo block + serif headline */
.shot.magazine .photo {
  height: 34%; position: relative;
  background: url("../img/mock-magazine.jpg") center / cover no-repeat;
}
.shot.magazine .photo .m-badge { position: absolute; left: 14px; bottom: -13px; }
.shot.magazine .body { padding: 30px 18px 18px; display: flex; flex-direction: column; gap: 12px; height: 66%; }
.shot.magazine .m-cat { color: var(--muted); }
.shot.magazine h4 { font-family: var(--serif); font-size: 22px; line-height: 1.18; font-weight: 700; letter-spacing: -0.01em; }
.shot.magazine p.sum { font-size: 13.5px; line-height: 1.65; color: var(--body); }
.shot.magazine .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.shot.magazine .m-src { color: var(--muted); }

/* minimal: pure type */
.shot.minimal .body { padding: 26px 18px 18px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.shot.minimal .top { display: flex; align-items: center; justify-content: space-between; }
.shot.minimal .m-cat { color: var(--muted); }
.shot.minimal h4 { font-size: 25px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
.shot.minimal p.sum { font-size: 14px; line-height: 1.7; color: var(--body); }
.shot.minimal .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.shot.minimal .m-src { color: var(--muted); }
.shot.minimal .arrow { font-weight: 800; font-size: 13px; }

/* meta rows read bigger, like the app */
.shot .m-cat { font-size: 10.5px; }
.shot .m-src { font-size: 12.5px; }
.shot .m-badge { font-size: 11.5px; padding: 5px 12px 5px 5px; }
.shot .m-badge .r-badge { width: 18px; height: 18px; font-size: 11px; }

/* ── Difference / feature grid ── */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.feat .num { font-family: var(--serif); font-size: 15px; color: var(--red); font-weight: 700; }
.feat h3 { font-size: 18.5px; font-weight: 800; letter-spacing: -0.01em; margin: 10px 0 8px; }
.feat p { font-size: 14.5px; color: var(--body); }

/* ── Download / socials ── */
.get { text-align: center; }
.get .sec-head { margin: 0 auto 40px; }
.store-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  background: var(--solid-bg); color: var(--solid-fg); border-radius: 14px; padding: 10px 26px 12px;
  line-height: 1.25; opacity: .55; cursor: default;
}
.store-badge .small { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--solid-fg-dim); }
.store-badge .big { font-size: 18px; font-weight: 700; }
.store-badge .soon { font-size: 10px; color: var(--red); font-weight: 800; letter-spacing: .1em; }
.social-row { display: flex; gap: 14px; justify-content: center; margin-top: 36px; }
.social-row a {
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .15s, transform .15s;
}
.social-row a:hover { border-color: var(--red); transform: translateY(-2px); }
.social-row svg { width: 19px; height: 19px; fill: var(--ink); }

/* ── Footer ── */
footer.site { border-top: 1px solid var(--line); padding: 44px 0 52px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 24px; font-size: 14px; font-weight: 600; color: var(--body); }
footer.site nav a:hover { color: var(--ink); }
footer.site .fine { font-size: 13px; color: var(--muted); }

/* ── Legal pages ── */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.025em; font-weight: 800; margin: 12px 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--body); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--red); font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 52px; }
  .phone { width: 280px; }
  .modes { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 56px; }
  .feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  nav.main .hide-m { display: none; }
  .wall { grid-template-columns: 1fr; }
  .rail { position: static; }
  .rail-toggle { display: block; margin-bottom: 12px; }
  .rail ul { display: none; flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 4px 0 8px; }
  .rail.open ul { display: flex; }
  .rail button.cat-btn { width: auto; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; }
}
@media (max-width: 560px) {
  .hero { padding: 64px 0 48px; }
  section { padding: 60px 0; }
  .feats { grid-template-columns: 1fr; }
}
