:root {
  --paper: #f7f4ee;
  --paper-strong: #fffdfa;
  --ink: #171717;
  --muted: #6b665d;
  --line: #ded7cb;
  --study: #3157c9;
  --note: #087b69;
  --listen: #c6572b;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 238, 0.9);
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}
.navlinks {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}
.button.light {
  background: var(--paper-strong);
  color: var(--ink);
  border-color: var(--line);
}
.hero {
  padding: 76px 0 52px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(23,23,23,0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23,23,23,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.62fr);
  gap: 42px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h1, h2, h3 { letter-spacing: 0; line-height: 1.04; }
h1 {
  margin: 0;
  font-size: clamp(44px, 6.5vw, 82px);
  max-width: 820px;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
}
h3 { margin: 0 0 10px; font-size: 21px; }
.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.panel {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(23, 23, 23, 0.1);
}
.product {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.product img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}
.product strong { display: block; font-size: 20px; }
.product span { color: var(--muted); }
.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.checklist li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
section { padding: 70px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}
.section-copy {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-strong);
}
.card {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.card:last-child { border-right: 0; }
.card p, .faq p { color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.compare {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-strong);
}
.cell {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.cell.head {
  color: var(--ink);
  background: #eee7db;
  font-weight: 850;
}
.cell:nth-child(4n) { border-right: 0; }
.cell:nth-last-child(-n + 4) { border-bottom: 0; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cta {
  background: #eee7db;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
footer {
  padding: 34px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 750; }

@media (max-width: 900px) {
  .navlinks { display: none; }
  .hero-grid, .grid-3, .faq-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-copy { margin-top: 16px; }
  .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
  .compare { grid-template-columns: 1fr; }
  .cell, .cell:nth-child(4n), .cell:nth-last-child(-n + 4) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .cell:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .hero { padding-top: 52px; }
  .button { width: 100%; }
}
