:root {
  --ink: #f2f2ee;
  --muted: #a2a29b;
  --line: #353531;
  --paper: #10100f;
  --surface: #191918;
  --surface-strong: #232320;
  --accent: #b7e36a;
  --code: #292925;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.site-header { width: min(1160px, calc(100% - 48px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark, .closing-mark { font-size: 20px; font-weight: 750; letter-spacing: -.055em; }
.mark { color: var(--accent); }
nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; color: #d1d1cb; }
.nav-cta { padding: 10px 14px; border: 1px solid #72726b; }
.nav-cta:hover { color: var(--paper); background: var(--accent); border-color: var(--accent); text-decoration: none; }

.hero { padding: clamp(82px, 12vw, 138px) 0 82px; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .14em; line-height: 1.4; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 930px; margin: 18px 0 28px; font-size: clamp(52px, 8vw, 104px); line-height: .93; letter-spacing: -.075em; font-weight: 720; }
h1 span { color: #878780; }
.hero-copy { max-width: 520px; color: #b6b6af; font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 58px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 190px; padding: 15px 17px; border: 1px solid var(--accent); font-size: 13px; font-weight: 700; }
.button-dark { color: #13130f; background: var(--accent); }
.button-dark:hover { color: #13130f; background: #d0f390; text-decoration: none; }
.button-light { color: var(--ink); border-color: #696962; background: transparent; }
.button-light:hover { color: var(--paper); background: var(--ink); text-decoration: none; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.hero-meta b { color: var(--ink); margin-right: 7px; }

.product-preview { min-height: 485px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.preview-bar { display: flex; justify-content: space-between; padding: 15px 20px; color: #9c9c96; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; }
.preview-bar span:last-child { color: var(--accent); }
.preview-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(40px, 8vw, 100px); align-items: center; padding: clamp(52px, 7vw, 82px) clamp(26px, 8vw, 100px); }
.preview-copy .eyebrow { color: #a8a8a1; }
.preview-copy h2 { max-width: 560px; margin: 18px 0; font-size: clamp(32px, 4vw, 56px); line-height: .98; letter-spacing: -.065em; }
.preview-copy p { max-width: 410px; margin-bottom: 0; color: #aaa9a3; line-height: 1.6; }
.preview-card { width: 100%; max-width: 370px; margin-left: auto; padding: 25px; color: var(--ink); background: var(--surface-strong); border: 1px solid #4b4b45; border-left: 4px solid var(--accent); }
.card-label { color: #aaa9a3; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.preview-card h3 { margin: 35px 0 13px; font-size: 25px; letter-spacing: -.05em; }
.preview-card p { color: #b0b0a9; font-size: 13px; line-height: 1.5; }
.code-line { margin-top: 24px; padding: 5px 9px; color: #ededE8; background: var(--code); font: 13px/1.45 "SFMono-Regular", Consolas, monospace; }
.code-line span { color: var(--accent); }
.code-line.indent { margin-top: 0; padding-top: 0; }
.preview-footer { display: flex; justify-content: space-between; margin-top: 35px; color: #a2a29b; font-size: 10px; letter-spacing: .1em; }

.section-block { padding: clamp(86px, 11vw, 128px) 0; }
.section-heading { max-width: 650px; margin-bottom: 45px; }
.section-heading h2, .download-heading h2 { margin: 15px 0 0; font-size: clamp(35px, 5vw, 65px); line-height: 1; letter-spacing: -.07em; }
.feature-grid, .download-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card, .download-card, .guide-step { min-width: 0; min-height: 310px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-card, .download-card { display: flex; flex-direction: column; }
.feature-number, .guide-step > span { display: block; color: #888882; font: 12px "SFMono-Regular", Consolas, monospace; }
.feature-card h3, .download-card h3, .guide-step h3 { margin: 54px 0 12px; font-size: 24px; letter-spacing: -.05em; }
.feature-card p, .download-card p, .guide-step p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.feature-card a, .text-link { display: inline-block; margin-top: auto; padding-top: 20px; color: var(--accent); font-size: 12px; font-weight: 750; }

.download-section { padding: clamp(88px, 11vw, 120px) 0 clamp(90px, 11vw, 125px); color: var(--ink); background: #151514; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.download-heading p { max-width: 520px; margin: 22px 0 0; color: var(--muted); line-height: 1.6; }
.download-grid { border-color: var(--line); }
.download-card { min-height: 365px; border-color: var(--line); }
.download-card.featured { background: var(--surface-strong); }
.download-top { display: flex; justify-content: space-between; gap: 15px; }
.download-card .card-label, .download-size { color: #9e9e97; }
.download-size { font: 11px "SFMono-Regular", Consolas, monospace; white-space: nowrap; }
.download-card h3 { margin-top: 58px; font-size: 34px; }
.download-card p { min-height: 70px; color: var(--muted); }
.checksum { margin-top: 28px; color: #91918b; font: 10px/1.65 "SFMono-Regular", Consolas, monospace; letter-spacing: .06em; }
.checksum code { color: #e8e8e2; }
.download-tools { display: flex; flex-wrap: wrap; gap: 25px; padding-top: 22px; color: var(--muted); font-size: 12px; }
.download-tools a:hover { color: var(--ink); }

.guide-section { padding-bottom: clamp(75px, 9vw, 100px); }
pre { overflow-x: auto; margin: 25px 0 0; padding: 14px; color: #d1d1ca; background: var(--code); font: 12px/1.6 "SFMono-Regular", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.guide-note { margin-top: 20px; padding: 20px 22px; border-left: 3px solid var(--accent); color: #b3b3ac; background: var(--surface); font-size: 13px; line-height: 1.6; }
.guide-note strong { color: var(--ink); margin-right: 8px; }
.guide-note code { color: var(--ink); font: 12px "SFMono-Regular", Consolas, monospace; }
.closing { padding: 75px 0 105px; border-top: 1px solid var(--line); }
.closing h2 { max-width: 620px; margin: 30px 0 18px; font-size: clamp(40px, 6vw, 78px); line-height: .95; letter-spacing: -.075em; }
.closing p { max-width: 420px; color: var(--muted); line-height: 1.6; }
.closing .button { margin-top: 18px; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer a { color: var(--ink); }

@media (max-width: 850px) {
  .preview-grid { grid-template-columns: 1fr; }
  .preview-card { margin-left: 0; }
}
@media (max-width: 760px) {
  .section-wrap, .site-header { width: min(100% - 32px, 1160px); }
  .site-header { min-height: 64px; }
  nav { gap: 14px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { padding: 80px 0 60px; }
  h1 { font-size: clamp(50px, 15vw, 76px); }
  .hero-meta { gap: 12px 20px; }
  .preview-grid { gap: 45px; padding: 55px 25px; }
  .section-block, .download-section { padding: 80px 0; }
  .feature-grid, .download-grid, .guide-grid { grid-template-columns: 1fr; }
  .feature-card, .download-card, .guide-step { min-height: auto; }
  .feature-card h3, .download-card h3, .guide-step h3 { margin-top: 38px; }
  .download-card p { min-height: auto; }
  .site-footer { flex-direction: column; }
}
