/* ============================================================
   Anseo — editorial ink-on-paper system
   Warm bone paper · warm-black ink · one paint-green accent
   Hard edges, thick rules, oversized type, painted motif
   ============================================================ */

:root {
  --paper:      #F1ECE1;   /* warm bone */
  --paper-2:    #E7E0D2;   /* deeper paper, alt sections */
  --paper-line: #DAD2C2;   /* hairline on paper */
  --ink:        #16130D;   /* warm near-black */
  --ink-soft:   #46402F;   /* muted body on paper */
  --ink-faint:  #837A64;   /* captions/labels */
  --paint:      #0E7A4A;   /* the one accent — flat */
  --paint-deep: #0A5C38;

  --display: "Bricolage Grotesque", "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --sans:    "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1200px;
  --pad: 30px;
  --rule: 2px solid var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { padding: 96px 0; }

/* inverted (ink) sections */
.invert { background: var(--ink); color: var(--paper); }
.invert .kicker { color: var(--paper); }
.invert .kicker::before { background: var(--paper); }
.invert .rule-top { border-color: var(--paper); }

/* ---------- type ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--paint);
  margin-right: 12px;
}
.kicker .pt { color: var(--paint); }

h2.title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 17ch;
  margin-top: 20px;
}
.section-head { margin-bottom: 56px; }
.section-head .lead {
  font-size: 19px; color: var(--ink-soft); max-width: 52ch; margin-top: 18px;
}
.invert .section-head .lead { color: #C9C2B2; }

.painted {
  display: inline-block;
  color: var(--paper);
  background: var(--paint);
  padding: 0.02em 0.18em 0.1em;
  white-space: nowrap;
  /* torn paint edges, sharp corners */
  clip-path: polygon(1% 14%, 99% 3%, 100% 82%, 97% 99%, 3% 97%, 0 86%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper);
  text-decoration: none; cursor: pointer;
  border-radius: 0;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid:hover { background: var(--paint); border-color: var(--paint); }
.btn--paint { background: var(--paint); border-color: var(--paint); color: var(--paper); }
.btn--paint:hover { background: var(--paint-deep); border-color: var(--paint-deep); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.invert .btn--ghost { color: var(--paper); border-color: var(--paper); }
.invert .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--paint); outline-offset: 3px; }

/* ---------- logo / nav ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink);
}
.logo svg { width: 30px; height: 30px; display: block; }
.logo .name {
  font-family: var(--display); font-weight: 700; font-size: 23px;
  letter-spacing: -0.03em; line-height: 1;
}
.invert .logo, .invert .logo .name { color: var(--paper); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--rule);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-soft); text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero { padding: 80px 0 84px; border-bottom: var(--rule); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: end; }
h1.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 8vw, 100px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 26px 0 0;
}
.hero-sub {
  font-size: 20px; line-height: 1.55; color: var(--ink-soft);
  max-width: 44ch; margin-top: 28px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.trust { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--paper-line); }
.trust-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 12px;
}
.trust-logos { display: flex; gap: 26px; flex-wrap: wrap; }
.trust-logos span {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  color: var(--ink); letter-spacing: -0.01em;
}

/* hero scan slip */
.slip { border: var(--rule); background: var(--paper); }
.slip-bar {
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 18px; display: flex; justify-content: space-between; align-items: center;
}
.slip-body { padding: 22px 20px; }
.slip-q { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); margin-bottom: 18px; }
.slip-q b { color: var(--ink); }
.scan-rows { display: flex; flex-direction: column; gap: 16px; }
.scan-row-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 7px; font-size: 15px;
}
.scan-row-top .brand { font-weight: 700; font-family: var(--display); letter-spacing: -0.01em; }
.scan-row-top .pct { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.bar { height: 12px; background: var(--paper-2); border: 1.5px solid var(--ink); }
.bar > span { display: block; height: 100%; width: 0; background: var(--ink); transition: width 1s cubic-bezier(0.2,1,0.3,1); }
.scan-rows .scan-row:nth-child(2) .bar > span { background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 9px); }
.scan-rows .scan-row:nth-child(3) .bar > span { background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 8px); }
.slip-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--ink);
  font-family: var(--mono); font-size: 12px; color: var(--ink); display: flex; gap: 8px; align-items: baseline;
}
.slip-foot b { color: var(--paint); }

/* ---------- big numbered grid (problem) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat {
  padding: 14px 30px 0; border-left: 1px solid rgba(241,236,225,0.18);
}
.stat:first-child { padding-left: 0; border-left: none; }
.invert .stat-num { color: var(--paper); }
.stat-num {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(54px, 7vw, 88px); line-height: 0.92; color: var(--paper);
}
.stat-num .pt { color: var(--paint); }
.stat-desc { margin-top: 18px; font-size: 16px; line-height: 1.5; color: #C9C2B2; max-width: 30ch; }

/* ---------- process (numbered editorial rows) ---------- */
.steps { border-top: var(--rule); }
.step {
  display: grid; grid-template-columns: 100px 1fr 2.1fr; gap: 30px;
  align-items: start; padding: 34px 0; border-bottom: 1px solid var(--paper-line);
}
.step-n { font-family: var(--mono); font-size: 15px; color: var(--paint); padding-top: 6px; }
.step-h { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.step-d { color: var(--ink-soft); font-size: 17px; line-height: 1.55; max-width: 56ch; }

/* ---------- sample proof report ---------- */
.report { border: var(--rule); background: var(--paper); display: grid; grid-template-columns: 1fr 1.4fr; }
.report-score {
  padding: 40px; border-right: var(--rule); display: flex; flex-direction: column; justify-content: center;
}
.score-num { font-family: var(--display); font-weight: 800; font-size: 88px; line-height: 0.9; letter-spacing: -0.04em; }
.score-num .slash { color: var(--ink-faint); font-weight: 500; }
.score-meta { font-family: var(--mono); font-size: 13px; color: var(--ink-faint); margin-top: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.score-meta b { color: var(--paint); }
.report-body { padding: 34px 36px; }
.eb-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.eb { display: flex; flex-direction: column; gap: 15px; }
.eb-row .scan-row-top { font-size: 14px; }
.eb-row:last-of-type .bar > span { background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 9px); }
.callout {
  margin-top: 28px; padding: 20px 22px; background: var(--ink); color: var(--paper);
  font-size: 16px; line-height: 1.5;
}
.callout b { color: var(--paper); }
.report-foot { margin-top: 26px; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--rule); border-right: none; }
.price {
  padding: 34px 30px; border-right: var(--rule); display: flex; flex-direction: column;
  position: relative;
}
.price.feat { background: var(--ink); color: var(--paper); }
.price.feat .price-name, .price.feat .price-list li { color: #C9C2B2; }
.price.feat .price-amt, .price.feat .price-list svg { color: var(--paper); }
.badge {
  position: absolute; top: 0; right: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--paint); color: var(--paper); padding: 6px 12px;
}
.price-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.price-amt { font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: -0.03em; line-height: 1; margin-top: 18px; }
.price-amt .per { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.price.feat .price-amt .per { color: #C9C2B2; }
.price-deliver { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paint); margin-top: 12px; }
.price.feat .price-deliver { color: #5BD79B; }
.price-list { list-style: none; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.price-list li { display: flex; gap: 11px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.price-list svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--paint); }
.price .btn { width: 100%; justify-content: center; }
.price-note { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); margin-top: 26px; text-align: center; }
.price-note b { color: var(--ink); }

/* ---------- comparison ---------- */
.cmp { border: var(--rule); }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-bottom: 1px solid var(--paper-line); }
.cmp-row:last-child { border-bottom: none; }
.cmp-row > div { padding: 20px 24px; font-size: 16px; display: flex; align-items: center; }
.cmp-row > div:nth-child(2) { border-left: 1px solid var(--paper-line); color: var(--ink-soft); }
.cmp-row > div:nth-child(3) { border-left: var(--rule); background: rgba(14,122,74,0.06); font-weight: 600; }
.cmp-row .lbl { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--ink-faint); }
.cmp-head > div { font-family: var(--display); font-weight: 700; font-size: 18px; padding-top: 24px; padding-bottom: 24px; }
.cmp-head .h-aeo { color: var(--paint); }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: var(--rule); }
.faq-item { border-bottom: 1px solid var(--paper-line); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 56px 1fr 30px; align-items: center; gap: 12px;
  padding: 26px 4px; font-family: var(--display); font-weight: 700; font-size: 21px;
  letter-spacing: -0.015em; color: var(--ink);
}
.faq-q .n { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--ink-faint); }
.faq-q .ico { position: relative; width: 18px; height: 18px; justify-self: end; }
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; background: var(--paint); transition: opacity 0.25s, transform 0.25s;
}
.faq-q .ico::before { top: 8px; left: 0; right: 0; height: 2px; }
.faq-q .ico::after { left: 8px; top: 0; bottom: 0; width: 2px; }
.faq-item[open] .faq-q .ico::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 30px 28px 68px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; max-width: 70ch; }

/* ---------- final cta ---------- */
.final { text-align: center; }
.final h2 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.03em; line-height: 0.98; max-width: 18ch; margin: 0 auto; }
.final p { font-size: 20px; color: #C9C2B2; margin-top: 22px; }
.final .btn { margin-top: 36px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.footer .tagline { font-family: var(--display); font-size: 18px; color: #C9C2B2; margin-top: 14px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.footer-col a { display: block; color: #C9C2B2; text-decoration: none; font-size: 15px; margin-bottom: 11px; transition: color 0.15s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(241,236,225,0.16);
  font-family: var(--mono); font-size: 12px; color: var(--ink-faint);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; align-items: stretch; }
  .report { grid-template-columns: 1fr; }
  .report-score { border-right: none; border-bottom: var(--rule); }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid rgba(241,236,225,0.18); padding: 28px 0 0; }
  .stat:first-child { border-top: none; }
  .stat + .stat { margin-top: 28px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .price-grid { grid-template-columns: 1fr; border-right: var(--rule); }
  .price { border-right: none; border-bottom: var(--rule); }
  .price:last-child { border-bottom: none; }
  .step { grid-template-columns: 60px 1fr; }
  .step-d { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > div { border-left: none !important; }
  .cmp-head { display: none; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .faq-a-inner { padding-left: 30px; }
}
