:root {
  --paper: #f4f1e9;
  --white: #fffefb;
  --ink: #111614;
  --muted: #626b67;
  --green: #0c6b58;
  --green-dark: #16473e;
  --lime: #d7ff67;
  --line: #d8d5cc;
  --radius: 0;
  --shadow: 0 18px 50px rgba(17, 22, 20, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1240px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 50; background: var(--ink); color: white; padding: 12px 16px; }
.skip-link:focus { top: 16px; }

.site-header {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -.03em; }
.brand-logo { display: block; width: 64px; height: 64px; object-fit: contain; }
nav { display: flex; gap: 28px; font-weight: 700; }
nav a { text-decoration: none; padding-block: 9px; border-bottom: 2px solid transparent; }
nav a:hover, nav a:focus-visible, nav a[aria-current="page"] { border-color: var(--green); }

.hero { padding-block: clamp(72px, 9vw, 126px) 0; }
.eyebrow { color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(54px, 8vw, 112px); align-items: center; margin-top: 22px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 790px; margin-bottom: 28px; font-size: clamp(52px, 6.2vw, 86px); line-height: .96; letter-spacing: -.075em; }
h1 em { color: var(--green); font-weight: 500; }
.lede { max-width: 760px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 52px; padding: 13px 20px; border: 1px solid var(--ink); font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, summary:focus-visible, nav a:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--green); border-color: var(--green); }
.button-quiet { background: transparent; }
.button-quiet:hover { background: var(--white); }
.button-green { background: var(--green); border-color: var(--green); color: white; }
.button-green:hover { background: var(--ink); border-color: var(--ink); }
.button-light { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.button-full { width: 100%; margin-top: auto; }

.cover-demo { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.pdf-sheet, .image-sheet { position: absolute; width: min(62%, 270px); aspect-ratio: 3/4; border: 1px solid var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.pdf-sheet { left: 3%; top: 0; z-index: 1; padding: 24px; background: var(--white); transform: rotate(-5deg); }
.image-sheet { right: 0; bottom: 0; z-index: 3; background: var(--green-dark); transform: rotate(4deg); }
.file-label { display: inline-block; padding: 4px 8px; background: var(--ink); color: white; font: 800 12px/1 ui-monospace, monospace; }
.sheet-line { display: block; width: 64%; height: 7px; margin-top: 16px; background: #d7d9d4; }
.line-wide { width: 88%; margin-top: 44px; background: var(--green); }
.line-short { width: 44%; }
.page-number { position: absolute; right: 24px; bottom: 20px; font-size: 64px; font-weight: 800; letter-spacing: -.08em; color: #e8e9e4; }
.conversion-arrow { z-index: 5; display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid var(--ink); border-radius: 50%; background: var(--lime); font-size: 31px; font-weight: 900; }
.image-sun { position: absolute; left: 22%; top: 17%; width: 55px; height: 55px; border-radius: 50%; background: var(--lime); }
.image-hill { position: absolute; width: 120%; height: 58%; left: -10%; bottom: -22%; border-radius: 50% 50% 0 0; transform: rotate(-9deg); }
.hill-back { background: #148c72; bottom: 10%; }
.hill-front { background: var(--lime); bottom: -31%; left: 8%; }
.image-label { position: absolute; right: 17px; bottom: 15px; z-index: 2; padding: 5px 8px; background: var(--ink); color: white; font: 800 11px/1 ui-monospace, monospace; letter-spacing: .08em; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(72px, 9vw, 118px) 0 0; border: 1px solid var(--line); }
.hero-facts div { padding: 28px 30px; }
.hero-facts div + div { border-left: 1px solid var(--line); }
.hero-facts dt { margin-bottom: 5px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero-facts dd { margin: 0; font-size: 21px; font-weight: 800; }

.section { padding-block: clamp(90px, 11vw, 150px); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 72px; align-items: end; margin-bottom: 54px; }
h2 { margin: 16px 0 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -.06em; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 18px; }
.version-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.version-card { min-height: 660px; display: flex; flex-direction: column; padding: clamp(30px, 5vw, 56px); background: var(--white); }
.version-card + .version-card { border-left: 1px solid var(--line); }
.version-browser { background: #eef6e4; }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.version-number { font-size: 34px; font-weight: 800; letter-spacing: -.06em; }
.status { padding: 7px 9px; border: 1px solid var(--ink); font: 800 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.status-accent { background: var(--lime); }
.version-art { width: clamp(132px, 15vw, 184px); margin: 34px 0 22px; }
.version-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 20px rgba(17, 22, 20, .16)); }
.version-card h3 { margin-bottom: 18px; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -.04em; }
.card-summary { color: var(--muted); font-size: 17px; }
code { padding: .1em .35em; background: rgba(12, 107, 88, .1); color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.feature-list { margin: 14px 0 30px; padding: 0; list-style: none; }
.feature-list li { padding: 12px 0 12px 29px; border-top: 1px solid var(--line); position: relative; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before { content: "✓"; position: absolute; left: 3px; color: var(--green); font-weight: 900; }
.best-for { display: grid; gap: 5px; margin: 0 0 30px; }
.best-for strong { color: var(--green); font: 800 11px/1.2 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.best-for span { color: var(--muted); }

.comparison { border-top: 1px solid var(--line); }
.comparison h2 { max-width: 800px; margin-bottom: 50px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { padding: 22px 26px; border: 1px solid var(--line); text-align: left; }
thead th { background: var(--ink); color: white; font-size: 14px; letter-spacing: .04em; }
tbody th { width: 34%; }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; }
.dot-yes { background: var(--green); }
.dot-no { background: var(--lime); border: 1px solid var(--green); }

.process { background: var(--ink); color: white; }
.light-heading > p { color: #b7c0bc; }
.eyebrow-lime { color: var(--lime); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border: 1px solid #34413d; list-style: none; }
.steps li { min-height: 290px; padding: 34px; }
.steps li + li { border-left: 1px solid #34413d; }
.step-number { display: block; margin-bottom: 66px; color: var(--lime); font: 800 13px/1 ui-monospace, monospace; }
.steps h3 { margin-bottom: 10px; font-size: 26px; }
.steps p { color: #b7c0bc; }
.steps code { color: var(--lime); background: rgba(215, 255, 103, .08); }

.notes-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding: clamp(36px, 6vw, 74px); border: 1px solid var(--line); background: var(--white); }
.notes-panel h2 { font-size: clamp(36px, 4.4vw, 54px); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; padding: 22px 42px 22px 0; font-size: 18px; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding-right: 30px; color: var(--muted); }

.cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(80px, 10vw, 130px); padding: clamp(40px, 7vw, 80px); background: var(--green-dark); color: white; }
.cta h2 { max-width: 790px; }
.site-footer { display: flex; justify-content: space-between; gap: 40px; padding-block: 35px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer strong { color: var(--ink); }
.site-footer a { color: var(--green); font-weight: 800; }

@media (max-width: 900px) {
  .hero-grid, .section-heading, .notes-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 70px; }
  .section-heading { gap: 24px; }
  .cover-demo { width: min(540px, 100%); margin-inline: auto; }
  .version-grid { grid-template-columns: 1fr; }
  .version-card + .version-card { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: auto; }
  .steps li + li { border-left: 0; border-top: 1px solid #34413d; }
  .step-number { margin-bottom: 35px; }
  .notes-panel { gap: 45px; }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1240px); }
  .site-header { min-height: 80px; align-items: center; flex-direction: row; padding-block: 0; }
  .brand { font-size: 17px; }
  .brand-logo { width: 56px; height: 56px; }
  nav { width: auto; justify-content: flex-end; gap: 15px; font-size: 14px; }
  nav a:first-child { display: none; }
  h1 { font-size: clamp(46px, 14vw, 62px); }
  .hero { padding-top: 64px; }
  .hero-grid { margin-top: 16px; }
  .cover-demo { min-height: 390px; }
  .pdf-sheet, .image-sheet { width: 61%; }
  .conversion-arrow { width: 52px; height: 52px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .version-card { min-height: 0; }
  .section { padding-block: 82px; }
  th, td { min-width: 160px; padding: 17px; }
  tbody th { min-width: 145px; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
