:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #555555;
  --line: #111111;
  --soft: #f4f1ea;
  --marker: #ffe066;
  --fastbooks: #2F405B;
  --daylight: #f3e3d3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --fg: #f2f0ea;
    --muted: #a8a59e;
    --line: #f2f0ea;
    --soft: #1c1b19;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 400 20px/1.55 "Inter Tight", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--marker); }
strong { font-weight: 700; }

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

/* Highlighter */
mark {
  color: #111;
  background: var(--marker);
  padding: 0 0.14em;
  border-radius: 0.18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Header */
header { padding: 28px 0; }
header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
.logo .badge {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--marker); color: #111;
  font-size: 15px; font-weight: 900;
}
nav { display: flex; gap: 22px; font-size: 16px; font-weight: 500; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--marker); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(48px, 9.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.lede { margin-top: 40px; font-size: clamp(22px, 2.8vw, 27px); line-height: 1.45; }
.lede + .lede { margin-top: 22px; }

/* Sections */
section { padding: 72px 0 0; }
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.kicker::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.statement { font-size: clamp(26px, 3.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.more { display: inline-block; margin-top: 8px; font-weight: 700; }

/* Products */
.product {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 2px solid var(--line);
}
.product:first-of-type { border-top: 0; padding-top: 0; }
.mark { width: 88px; height: 88px; border-radius: 22px; display: grid; place-items: center; }
.mark svg { width: 48px; height: 48px; }
.mark.fb { background: var(--fastbooks); }
.mark.dl { background: var(--daylight); }
.product h3 { font-size: 40px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.product .tag { margin-top: 8px; font-size: 24px; font-weight: 500; line-height: 1.3; }
.product .desc { margin-top: 14px; color: var(--muted); }
.btn {
  display: inline-block; margin-top: 20px;
  font-weight: 700; font-size: 18px;
  padding: 10px 18px; border: 2px solid var(--line); border-radius: 999px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--fg); color: var(--bg); }

/* Numbered principles */
.principles { list-style: none; counter-reset: p; margin-top: 36px; }
.principles li { counter-increment: p; position: relative; padding-left: 64px; margin-bottom: 30px; }
.principles li::before {
  content: counter(p);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--fg); color: var(--bg);
  display: grid; place-items: center;
  font-weight: 900; font-size: 17px;
}
.principles strong { display: block; font-size: 24px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.25; }
.principles span { display: block; margin-top: 4px; color: var(--muted); }

/* Panel */
.panel {
  margin-top: 88px;
  background: var(--soft);
  border-radius: 24px;
  padding: 48px 40px;
}
.panel .sig { margin-top: 24px; font-size: 18px; color: var(--muted); }
.panel .email {
  display: inline-block; margin-top: 20px;
  font-size: clamp(24px, 4vw, 32px); font-weight: 900; letter-spacing: -0.02em;
}

/* Manifesto page */
.prose p { margin-top: 22px; }
.prose .lede { margin-top: 40px; }
.beliefs { margin-top: 56px; display: grid; gap: 6px; }
.beliefs p { font-size: clamp(22px, 3vw, 28px); line-height: 1.35; letter-spacing: -0.01em; }
.beliefs .no { color: var(--muted); }
.beliefs .yes { font-weight: 900; margin-bottom: 18px; }

footer { padding: 56px 0 48px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 600px) {
  body { font-size: 18px; }
  .wrap { padding: 0 16px; }
  nav { gap: 14px; font-size: 15px; }
  nav .hide-sm { display: none; }
  .hero { padding: 44px 0 24px; }
  section { padding-top: 56px; }
  .product { grid-template-columns: 1fr; gap: 18px; }
  .mark { width: 64px; height: 64px; border-radius: 16px; }
  .mark svg { width: 36px; height: 36px; }
  .product h3 { font-size: 34px; }
  .product .tag { font-size: 21px; }
  .principles li { padding-left: 54px; }
  .principles strong { font-size: 21px; }
  .panel { padding: 32px 22px; margin-top: 64px; }
}

/* Refinements */
h1 mark { padding: 0.06em 0.12em 0; }
.prose h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.04; }
#contact .panel { margin-top: 16px; }

.mark img { display: block; }
.mark.fb img { width: 34px; height: auto; }
.mark.dl img { width: 60px; height: 60px; }
@media (max-width: 600px) {
  .mark.fb img { width: 25px; }
  .mark.dl img { width: 44px; height: 44px; }
}
