@font-face {
  font-family: 'Coggy Hand';
  src: url('fonts/CoggyHand.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('fonts/Geist.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --surface: #F9F7F3;
  --ink: #161616;
  --panel: #ECEAE5;
  --rule: #DDDAD3;
  --muted: #55524d;
  --hand: 'Coggy Hand', 'Geist', system-ui, sans-serif;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1080px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--ink); }
.brand span { font-family: var(--hand); font-size: 34px; line-height: 1; padding-top: 4px; }
.nav { display: flex; gap: 22px; font-size: 16px; }
.nav a { text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }

/* Type */
h1, h2, h3 { font-family: var(--hand); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: 0.01em; }
h1 { font-size: clamp(52px, 8vw, 92px); }
h2 { font-size: clamp(38px, 5vw, 56px); }
h3 { font-size: 32px; }
.lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); max-width: 32ch; }
.eyebrow { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--surface);
  padding: 14px 24px; border-radius: 999px;
  text-decoration: none; font-size: 17px;
  border: 2px solid var(--ink);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.pill {
  display: inline-block; border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 14px; font-size: 15px;
}

/* Hero */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
.hero h1 { margin: 18px 0 20px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 460px; margin-left: auto; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 14px 0 0; }

.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.path { background: var(--panel); border-radius: var(--radius); padding: 24px; }
.path h3 { font-size: 28px; margin-bottom: 8px; }
.path p { margin: 0; font-size: 16px; color: var(--muted); }

.promise { background: var(--panel); border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.promise ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.promise li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.promise li::before {
  content: ''; width: 20px; height: 20px; margin-top: 4px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: radial-gradient(circle, var(--ink) 0 4px, transparent 5px);
}
.promise img { max-width: 320px; margin: 0 auto; }

.nopress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.nopress div { border-top: 2px solid var(--ink); padding-top: 14px; }
.nopress strong { display: block; font-family: var(--hand); font-weight: 400; font-size: 30px; line-height: 1.1; margin-bottom: 6px; }
.nopress p { margin: 0; color: var(--muted); font-size: 16px; }

.price { text-align: center; }
.price .wrap { max-width: 720px; }
.price .plans { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 32px 0 18px; }
.plan { border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px 30px; min-width: 200px; }
.plan strong { display: block; font-family: var(--hand); font-weight: 400; font-size: 44px; line-height: 1; }
.plan span { color: var(--muted); font-size: 16px; }
.small { font-size: 15px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); margin-top: 40px; padding: 36px 0 48px; font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; color: var(--muted); max-width: 520px; }

/* Long-form pages */
.page { padding: 28px 0 40px; }
.page .wrap { max-width: 780px; }
.page-head { display: flex; align-items: center; gap: 24px; margin-bottom: 36px; }
.page-head img { width: 140px; flex-shrink: 0; }
.page-head h1 { font-size: clamp(48px, 7vw, 72px); }
.page-head p { margin: 10px 0 0; color: var(--muted); }
.prose h2 { font-size: 40px; margin: 52px 0 14px; }
.prose h3 { font-size: 28px; margin: 30px 0 8px; }
.prose p, .prose li { color: #2b2a28; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.summary { background: var(--panel); border-radius: var(--radius); padding: 26px 28px; }
.summary h2 { margin-top: 0; font-size: 34px; }
.summary ul { margin: 10px 0 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; border-bottom: 2px solid var(--ink); }
.toc { columns: 2; column-gap: 32px; font-size: 16px; padding-left: 20px; }

/* Support */
.contact { border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact h2 { font-size: 36px; margin: 0 0 6px; }
.contact p { margin: 0; color: var(--muted); }
details { background: var(--panel); border-radius: 18px; margin: 12px 0; }
summary { cursor: pointer; padding: 18px 22px; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details > div { padding: 0 22px 18px; color: #2b2a28; }
details > div p:first-child { margin-top: 0; }
.faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 36px; margin-bottom: 10px; }

/* Why */
.why { padding-top: 24px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 44px 0; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 20px; }
.why-list li { padding-left: 28px; position: relative; }
.why-list li::before { content: '×'; position: absolute; left: 0; top: -1px; font-size: 22px; }
.why-answer { font-family: var(--hand); font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; max-width: 30ch; margin: 44px auto 0; text-align: center; }
.why-answer em { font-style: normal; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Feature rows */
.rows { display: grid; gap: 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; border: 2px solid var(--ink); border-radius: 28px; padding: 40px 48px; }
.row:nth-child(even) .row-art { order: -1; }
.row h3 { font-size: clamp(34px, 4vw, 44px); margin-bottom: 14px; }
.row p { color: var(--muted); margin: 0 0 12px; max-width: 40ch; }
.row-art img { max-height: 340px; width: auto; margin: 0 auto; }
.quote { font-family: var(--hand); font-size: 28px; line-height: 1.2; color: var(--ink) !important; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--panel); border-radius: 999px; padding: 8px 16px; font-size: 16px; }

/* Closing */
.closing .wrap { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; max-width: 820px; }
.closing p { color: var(--muted); margin: 12px 0 22px; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .row { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .row .row-art, .row:nth-child(even) .row-art { order: -1; }
  .row-art img { max-height: 240px; }
  .closing .wrap { grid-template-columns: 1fr; text-align: center; }
  .closing img { max-width: 200px; margin: 0 auto; }
  .hero .wrap, .promise { grid-template-columns: 1fr; }
  .hero-art img { max-width: 320px; margin: 0 auto; }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .nopress { grid-template-columns: 1fr; }
  .promise img { max-width: 220px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 14px; font-size: 15px; }
  .nav .hide-sm { display: none; }
  .brand span { font-size: 28px; }
  .brand img { width: 38px; height: 38px; }
  section { padding: 52px 0; }
  .paths { grid-template-columns: 1fr; }
  .promise { padding: 28px 20px; border-radius: 24px; }
  .row { padding: 22px 20px; border-radius: 22px; }
  .row-art img { max-height: 200px; }
  .why-list { font-size: 18px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-head img { width: 110px; }
  .toc { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
