/* ratecard-md site: pine ink, lime tag, paper. Serif display, grotesk text. */
:root {
  --pine: #0b2723;
  --pine-2: #123a34;
  --pine-3: #1b4d45;
  --lime: #d9f65b;
  --paper: #f5f3ec;
  --card: #ffffff;
  --ink: #10211e;
  --muted: #53665f;
  --line: #d9d5c8;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 3px; box-shadow: 0 0 0 6px var(--pine); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.01em; }
h3 { font-size: 26px; }
p { margin: 0; }
code, pre { font-family: var(--mono); font-size: .86em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -56px; background: var(--lime); color: var(--pine); padding: 10px 16px; z-index: 20; font-weight: 700; }
.skip:focus { top: 12px; }

.top { background: var(--pine); color: #fff; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; font-size: 16px; color: #fff; text-decoration: none; }
.wordmark i { width: 22px; height: 26px; background: var(--lime); border-radius: 4px; position: relative; }
.wordmark i::after { content: ""; position: absolute; left: 50%; top: 4px; width: 5px; height: 5px; margin-left: -2.5px; background: var(--pine); border-radius: 50%; }
.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: #cfe1da; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--lime); }

section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 20px; color: var(--muted); max-width: 56ch; margin-top: 18px; }

.hero { background: var(--pine); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); overflow-x: clip; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 63px, rgba(217,246,91,.06) 63px 64px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { font-size: clamp(44px, 5.6vw, 80px); letter-spacing: -.02em; margin-top: 18px; }
.hero h1 em { color: var(--lime); font-style: italic; }
.hero .lead { color: #bcd2ca; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-block; background: var(--lime); color: var(--pine); text-decoration: none; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 2px solid var(--lime); }
.btn:hover { background: #fff; border-color: #fff; }
.btn-quiet { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-quiet:hover { background: transparent; border-color: var(--lime); color: var(--lime); }
.one-liner { margin-top: 26px; }
.one-liner code { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 8px 12px; border-radius: 8px; color: #e8f3ee; overflow-wrap: anywhere; display: inline-block; }

.fan { position: relative; aspect-ratio: 1 / 1.02; }
.fan a { position: absolute; width: 54%; border-radius: 3px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); background: #fff; transition: transform .25s; }
.fan a:hover { z-index: 5; transform: translateY(-6px) rotate(0deg) !important; }
.fan .f1 { left: 0; top: 10%; transform: rotate(-7deg); }
.fan .f2 { right: 0; top: 0; transform: rotate(6deg); }
.fan .f3 { left: 23%; top: 15%; transform: rotate(-1.5deg); z-index: 2; }

.pitch { background: var(--paper); }
.pitch h2 { max-width: 18ch; }
.facts { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.facts li { border-top: 3px solid var(--pine); padding-top: 16px; color: var(--muted); font-size: 16px; }
.facts b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

.how { background: var(--pine-2); color: #fff; }
.how .eyebrow { color: var(--lime); }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--pine); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 64px; line-height: 1; color: var(--lime); font-style: italic; }
.steps h3 { color: #fff; }
.steps p { color: #bcd2ca; font-size: 16px; }
.steps pre { margin: 0; background: #06201c; border-radius: 10px; padding: 14px; color: #dff3ea; overflow-x: auto; font-size: 13px; line-height: 1.55; }
.steps .k { color: var(--lime); }
.ask { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; max-width: 30ch; margin: 56px 0 0; padding-left: 22px; border-left: 4px solid var(--lime); }

.formats-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px 56px; margin-top: 56px; align-items: start; }
.formats-grid figure { margin: 0; }
.formats-grid figure img { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 24px 48px rgba(16,33,30,.18); background: #fff; }
.formats-grid .wide { grid-column: 1 / -1; }
.formats-grid figcaption, .themes figcaption { margin-top: 16px; color: var(--muted); font-size: 16px; }
.formats-grid figcaption b, .themes figcaption b { display: block; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; margin-bottom: 2px; }
.stack { display: grid; gap: 40px; }
.stack img { max-width: 440px; }

.themes-sec { background: #ebe7da; }
.themes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 22px; margin-top: 56px; }
.themes figcaption b { font-size: 24px; }
@media (max-width: 960px) { .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } .themes figcaption { font-size: 14px; } }
.themes figure { margin: 0; }
.themes img { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 18px 36px rgba(16,33,30,.18); background: #fff; }
.themes a { display: block; transition: transform .2s; }
.themes a:hover { transform: translateY(-4px); }

.world { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.world ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.world li { padding-left: 28px; position: relative; color: var(--muted); }
.world li::before { content: ""; position: absolute; left: 0; top: .6em; width: 14px; height: 3px; background: var(--pine); }
.world li b { color: var(--ink); }
.world img { width: 100%; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 24px 48px rgba(16,33,30,.18); max-width: 460px; margin: 0 auto; }

.examples { background: var(--paper); border-top: 1px solid var(--line); }
.ex-list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 3px solid var(--pine); }
.ex-list li { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ex-list .who { font-family: var(--display); font-size: 28px; line-height: 1.1; }
.ex-list .what { color: var(--muted); font-size: 15px; }
.ex-list .links { display: flex; gap: 14px; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.ex-list .links a { color: var(--pine-3); }
.note { color: var(--muted); margin-top: 20px; font-size: 15px; }

.install { background: var(--pine); color: #fff; }
.install .eyebrow { color: var(--lime); }
.boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.boxes > div { min-width: 0; }
.boxes h3 { font-size: 24px; color: #fff; }
.boxes pre { margin: 14px 0 0; background: #06201c; border: 1px solid rgba(255,255,255,.12); color: #e8f3ee; padding: 16px; border-radius: 12px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.install .note { color: #9fb8af; }

.foot { background: #061b18; color: #9fb8af; padding: 48px 0 64px; font-size: 15px; }
.foot a { color: #e8f3ee; }
.foot-row { display: grid; gap: 10px; }
.foot .wordmark { margin-bottom: 6px; }

.lost { min-height: 62vh; display: flex; align-items: center; background: var(--pine); color: #fff; }
.lost .eyebrow { color: var(--lime); }
.lost h1 { font-size: clamp(44px, 6vw, 80px); margin-top: 12px; }
.lost .lead { color: #bcd2ca; }

@media (max-width: 960px) {
  .hero-grid, .world, .formats-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .fan { max-width: 520px; width: 100%; margin: 0 auto; }
  .steps, .boxes { grid-template-columns: minmax(0, 1fr); }
  .ex-list li { grid-template-columns: minmax(0, 1fr); }
  .stack img { max-width: 100%; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .nav { gap: 16px; }
  .btn { padding: 12px 20px; }
}
