:root {
  --bg: #f4f1ea;
  --ink: #0b0b0b;
  --muted: #4a4741;
  --accent: #19e35a;
  --line: 3px solid var(--ink);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px clamp(16px, 4vw, 48px); border-bottom: var(--line); }
.logo { font-weight: 900; font-size: 1.1rem; letter-spacing: -.01em; }
.top nav { display: flex; gap: clamp(12px, 3vw, 28px); font-size: .95rem; font-weight: 600; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(24px, 5vw, 72px) clamp(16px, 4vw, 48px); border-bottom: var(--line); }
h1 { margin: 0; font-weight: 900; text-transform: uppercase; font-size: clamp(4.2rem, 13vw, 12.5rem); line-height: .82; letter-spacing: -.055em; }
h1 span { display: block; }
.tagline { margin: clamp(20px, 3vw, 32px) 0 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
mark { background: var(--accent); color: var(--ink); padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }

.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; border: var(--line); box-shadow: 12px 12px 0 var(--ink); }
.sticker { position: absolute; left: -14px; bottom: 28px; transform: rotate(-6deg); background: var(--accent); border: var(--line); padding: 6px 14px; font-weight: 900; font-size: clamp(1.2rem, 2.4vw, 1.8rem); letter-spacing: -.02em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 52px; padding: 12px 22px; border: var(--line); font: 800 1.05rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.btn-secondary { background: var(--ink); color: var(--bg); box-shadow: 5px 5px 0 var(--accent); }
.btn:hover { transform: translate(-2px, -2px); }
.btn-primary:hover { box-shadow: 7px 7px 0 var(--ink); }
.btn-secondary:hover { box-shadow: 7px 7px 0 var(--accent); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.is-disabled, a.is-disabled { opacity: .45; pointer-events: none; cursor: not-allowed; box-shadow: none; }

/* Sections */
section:not(.hero) { padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px); border-bottom: var(--line); }
h2 { margin: 0 0 20px; font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: .9; letter-spacing: -.045em; }
.note { margin: 0 0 20px; max-width: 46ch; color: var(--muted); }

/* Contract */
.ca { background: var(--ink); color: var(--bg); }
.ca .note { color: #c9c5bc; }
.ca-box { display: flex; align-items: stretch; border: 3px solid var(--bg); max-width: 920px; }
.ca-box code { flex: 1; min-width: 0; padding: 16px 18px; font: 600 clamp(.9rem, 1.9vw, 1.25rem)/1.4 var(--mono); word-break: break-all; }
.btn-copy { min-width: 120px; border: 0; border-left: 3px solid var(--bg); background: var(--accent); color: var(--ink); }
.btn-copy:hover, .btn-copy:active { transform: none; box-shadow: none; filter: brightness(1.08); }
.btn-copy.copied { background: var(--bg); }
.copy-status { min-height: 1.5em; margin: 12px 0 0; font-weight: 700; color: var(--accent); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(16px, 4vw, 64px); }
.about-body p { margin: 0 0 16px; max-width: 58ch; }
.about-body .big { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; max-width: 22ch; }

/* How to buy */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: var(--line); }
.steps li { counter-increment: step; padding: 24px 20px 28px; border-right: var(--line); }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 900; font-size: 3rem; line-height: 1; letter-spacing: -.04em; margin-bottom: 14px; }
.steps li:nth-child(3) { background: var(--accent); }
.steps strong { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.steps a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Footer */
.footer { padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 48px) 40px; }
.footer-name { margin: 0 0 16px; font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: -.03em; text-transform: uppercase; }
.footer-name span { background: var(--accent); padding: 0 .2em; }
.links { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.links a { display: inline-block; padding: 10px 16px; border: var(--line); font-weight: 700; text-decoration: none; }
.links a:hover { background: var(--accent); }
.disclaimer { margin: 0; max-width: 70ch; font-size: .9rem; color: var(--muted); }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .portrait { order: -1; margin-right: 12px; }
  .portrait img { box-shadow: 8px 8px 0 var(--ink); }
  .sticker { left: auto; right: -6px; bottom: 18px; transform: rotate(5deg); }
  .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: var(--line); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .top nav a:not(:last-child) { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .ca-box { flex-direction: column; }
  .btn-copy { border-left: 0; border-top: 3px solid var(--bg); min-height: 56px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: var(--line); }
  .steps li:last-child { border-bottom: 0; }
}
