:root {
  --paper: #f2efe6;
  --paper-2: #e7e2d5;
  --ink: #10110f;
  --muted: #5d615b;
  --orange: #ff5b35;
  --acid: #c8ff55;
  --blue: #536dfe;
  --red: #ff5c69;
  --line: #171816;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--acid); color: var(--ink); padding: .7rem 1rem; font-weight: 800; }
.skip:focus { top: 1rem; }
.wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }

.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); }
.wordmark { display: flex; align-items: center; gap: .42rem; font: 800 .88rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-decoration: none; letter-spacing: .04em; }
.wordmark span { background: var(--ink); color: white; padding: .48rem .55rem; }
.wordmark b { color: var(--orange); font-size: 1.2rem; }
.topbar nav { display: flex; align-items: center; gap: 1.7rem; }
.topbar nav a { font: 700 .78rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-decoration: none; text-transform: uppercase; }
.topbar nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.topbar .nav-buy { background: var(--acid); border: 2px solid var(--ink); padding: .72rem .9rem; box-shadow: 4px 4px 0 var(--ink); }

.hero { padding: 6.5rem 0 7rem; display: grid; grid-template-columns: .94fr 1.06fr; gap: 5rem; align-items: center; }
.label { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.25rem; font: 800 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .11em; }
.label span { width: 24px; height: 8px; background: var(--orange); display: inline-block; }
.label.light { color: white; }.label.light span { background: var(--acid); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 740px; margin-bottom: 1.7rem; font-size: clamp(3.4rem, 6.3vw, 6.25rem); line-height: .91; letter-spacing: -.07em; }
h1 em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 690px; font-size: 1.18rem; line-height: 1.65; color: #383b37; }
.solo-offer { max-width: 690px; margin: 1.35rem 0 0; padding: 1rem 1.15rem; border: 2px solid var(--ink); border-left: 8px solid var(--orange); background: white; display: grid; grid-template-columns: auto 1fr auto; gap: .65rem 1rem; align-items: center; font: 800 .7rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; }
.solo-offer span { color: var(--muted); font-weight: 700; }
.solo-offer a { color: var(--blue); white-space: nowrap; text-underline-offset: 4px; }
.actions { display: flex; gap: .85rem; margin-top: 2.1rem; align-items: stretch; }
.button { display: inline-flex; min-height: 52px; padding: .9rem 1.15rem; align-items: center; justify-content: center; gap: 1rem; border: 2px solid var(--ink); font: 900 .76rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-decoration: none; letter-spacing: .035em; transition: transform .14s ease, box-shadow .14s ease; }
.button:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.button.primary { background: var(--acid); }.button.primary span { padding-left: 1rem; border-left: 1px solid var(--ink); }
.button.ghost { background: transparent; }
.facts { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; list-style: none; padding: 0; margin: 1.8rem 0 0; color: var(--muted); font: 700 .7rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.facts li::before { content: "+"; margin-right: .45rem; color: var(--orange); }

.demo-frame { position: relative; border: 2px solid var(--ink); background: var(--ink); box-shadow: 12px 12px 0 var(--blue); }
.demo-top, .demo-foot { min-height: 44px; padding: 0 .85rem; display: flex; align-items: center; justify-content: space-between; color: white; font: 800 .65rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.demo-frame img { width: 100%; height: auto; display: block; border-block: 1px solid #343733; }
.live-dot { color: var(--acid); }.live-dot::before { content: ""; width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--acid); margin-right: .4rem; box-shadow: 0 0 10px var(--acid); }
.demo-foot b { color: var(--red); }.demo-foot span { color: #b7bcb5; }
.tape { position: absolute; z-index: 2; padding: .45rem .65rem; font: 900 .62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; border: 1px solid var(--ink); }
.tape-a { left: -22px; top: 28%; background: var(--acid); transform: rotate(-7deg); }
.tape-b { right: -24px; bottom: 22%; background: white; transform: rotate(5deg); }

.sample-strip { padding: 5rem 0; background: var(--orange); color: white; border-block: 2px solid var(--ink); }
.sample-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 5rem; align-items: center; }
.sample-grid h2 { margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .94; letter-spacing: -.065em; }
.sample-grid > div > p:last-child { max-width: 640px; color: #fff1ec; font-size: 1.06rem; }
.sample-command { padding: 1.4rem; background: var(--ink); border: 2px solid white; box-shadow: 10px 10px 0 var(--acid); display: flex; flex-direction: column; gap: .65rem; }
.sample-command code { padding: .7rem; border: 1px solid #4c4f49; color: #e9eee7; font: .72rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-x: auto; }
.sample-command strong { padding: .7rem; color: var(--red); font: 900 .72rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.sample-command .button { margin-top: .5rem; color: var(--ink); }
.sample-command small { color: #b7bcb5; font: .62rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }

.problem { padding: 8rem 0; background: var(--ink); color: white; }
.problem-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 6rem; align-items: start; }
.section-intro h2, .commands-head h2 { margin-bottom: 1.2rem; font-size: clamp(2.7rem, 5.4vw, 5.3rem); line-height: .94; letter-spacing: -.065em; }
.section-intro > p:last-child { max-width: 560px; color: #b9beb7; font-size: 1.08rem; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare-card { min-height: 410px; padding: 1.8rem; border: 2px solid white; display: flex; flex-direction: column; }
.compare-card.bad { background: #2a171b; border-color: var(--red); }
.compare-card.good { background: #18231a; border-color: var(--acid); }
.mini-label { font: 900 .68rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .09em; }
.compare-card ol { margin: 2.4rem 0; padding-left: 1.35rem; color: #d1d5d0; }
.compare-card li { padding: .55rem 0; }
.compare-card code { color: white; }
.compare-card > strong { margin-top: auto; padding-top: 1rem; border-top: 1px solid currentColor; font: 900 .78rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.compare-card.bad > strong { color: var(--red); }.compare-card.good > strong { color: var(--acid); }

.inside { padding: 9rem 0; }
.inside > .section-intro { max-width: 760px; margin-bottom: 4rem; }
.inside-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 5rem; align-items: start; }
.inside-grid > *, .faq > * { min-width: 0; }
.file-window { border: 2px solid var(--ink); background: #10110f; color: #e9eee7; box-shadow: 10px 10px 0 var(--orange); position: sticky; top: 24px; }
.window-bar { min-height: 48px; display: flex; align-items: center; gap: .45rem; padding: 0 1rem; border-bottom: 1px solid #353832; color: #aeb3ac; font: .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }.window-bar i:nth-child(2) { background: #ffcf4a; }.window-bar i:nth-child(3) { background: var(--acid); margin-right: .6rem; }
.file-window pre { margin: 0; padding: 2rem; font: .86rem/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-x: auto; }
.folder { color: var(--acid); }
.deliverables { border-top: 2px solid var(--ink); }
.deliverables article { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.55rem 0; border-bottom: 2px solid var(--ink); }
.deliverables article > b { font: 900 .73rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--orange); }
.deliverables h3 { margin-bottom: .4rem; font-size: 1.25rem; }
.deliverables p { margin: 0; color: var(--muted); }

.commands { padding: 8rem 0; background: var(--blue); color: white; }
.commands-head { display: grid; grid-template-columns: 1fr .55fr; gap: 5rem; align-items: end; margin-bottom: 3rem; }
.commands-head > p { color: #e0e4ff; font-size: 1.05rem; }
.command-grid { border: 2px solid white; }
.command-grid code { min-height: 66px; display: grid; grid-template-columns: 68px 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.45); font-size: clamp(.72rem,1.5vw,1rem); }
.command-grid code:last-child { border-bottom: 0; }
.command-grid i { height: 100%; display: flex; align-items: center; justify-content: center; border-right: 1px solid rgba(255,255,255,.45); color: var(--acid); font-style: normal; }
.command-grid code { padding-right: 1rem; }.command-grid code i { margin-right: 1.2rem; }

.fit { padding: 8rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fit-card { min-height: 480px; padding: 2.4rem; border: 2px solid var(--ink); display: flex; flex-direction: column; }
.fit-card.yes { background: var(--acid); }.fit-card.no { background: white; }
.fit-card h2 { font-size: clamp(2rem,3.3vw,3.4rem); line-height: 1; letter-spacing: -.05em; }
.fit-card ul { margin: auto 0 0; padding: 1.5rem 0 0; border-top: 2px solid var(--ink); list-style: none; }
.fit-card li { padding: .5rem 0 .5rem 1.4rem; position: relative; }
.fit-card li::before { content: "+"; position: absolute; left: 0; font-weight: 900; }.fit-card.no li::before { content: "-"; color: var(--orange); }

.field-notes { padding: 8rem 0; background: var(--paper-2); border-block: 2px solid var(--ink); }
.field-notes .section-intro { max-width: 780px; margin-bottom: 3.5rem; }
.note-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.note-grid a { min-height: 330px; padding: 1.7rem; border: 2px solid var(--ink); background: var(--paper); text-decoration: none; display: flex; flex-direction: column; transition: transform .14s ease, box-shadow .14s ease; }
.note-grid a:hover { transform: translate(-4px,-4px); box-shadow: 8px 8px 0 var(--ink); }
.note-grid span, .note-grid b { font: 900 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.note-grid h3 { margin: 3rem 0 1rem; font-size: 1.6rem; line-height: 1.1; }
.note-grid p { color: var(--muted); }.note-grid b { margin-top: auto; color: var(--orange); }

.faq { padding: 8rem 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 6rem; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { padding: 1.35rem 0; border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 900; font-size: 1.02rem; }
.faq details p { color: var(--muted); margin: 1rem 0 0; max-width: 700px; }
.faq code { overflow-wrap: anywhere; word-break: break-all; }
.receipt-page .commands .inside-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.receipt-page .file-window { min-width: 0; width: 100%; }
.receipt-page .faq { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.receipt-page .faq-list,
.receipt-page .faq details,
.receipt-page .faq code { min-width: 0; max-width: 100%; }
.receipt-page .faq code { display: block; }

.buy-section { padding: 8rem 0; background: var(--ink); color: white; }
.buy-grid { display: grid; grid-template-columns: 1fr 430px; gap: 6rem; align-items: center; }
.buy-grid h2 { font-size: clamp(3rem,6vw,6rem); line-height: .92; letter-spacing: -.07em; }
.price-card { background: var(--acid); color: var(--ink); padding: 2rem; border: 2px solid white; box-shadow: 12px 12px 0 var(--orange); display: flex; flex-direction: column; }
.price-card > p { font: 900 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.price-card > strong { font-size: 6rem; line-height: 1; letter-spacing: -.08em; }
.price-card > span { margin: .5rem 0 1.5rem; color: #444a40; }
.price-card .button { background: var(--ink); color: white; margin-bottom: 1rem; }.price-card .button:hover { box-shadow: 6px 6px 0 var(--orange); }
.price-card small { font: .65rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }

.footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; font: 700 .66rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }

/* Guide pages */
.guide-hero { padding: 7rem 0 5rem; max-width: 940px; }
.guide-hero h1 { max-width: 920px; }
.guide-hero .hero-lede { max-width: 760px; }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0,760px); gap: 5rem; padding-bottom: 8rem; }
.guide-aside { position: sticky; top: 24px; align-self: start; border-top: 2px solid var(--ink); padding-top: 1rem; font: 700 .72rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.guide-aside a { display: block; margin-top: 1rem; color: var(--orange); }
.guide-body { min-width: 0; }
.guide-body h2 { margin: 3.5rem 0 1.2rem; font-size: clamp(2rem,4vw,3.4rem); line-height: 1; letter-spacing: -.05em; }
.guide-body h2:first-child { margin-top: 0; }
.guide-body h3 { margin: 2rem 0 .6rem; font-size: 1.35rem; }
.guide-body p, .guide-body li { color: #383b37; font-size: 1.06rem; line-height: 1.75; }
.guide-body pre { width: 100%; max-width: 100%; overflow-x: auto; padding: 1.5rem; border: 2px solid var(--ink); background: var(--ink); color: #e9eee7; font: .82rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.guide-body .callout { margin: 2rem 0; padding: 1.4rem; border: 2px solid var(--ink); background: var(--acid); color: var(--ink); }
.guide-cta { margin-top: 4rem; padding: 2rem; background: var(--blue); color: white; border: 2px solid var(--ink); }
.guide-index { padding: 7rem 0 9rem; }
.guide-index .note-grid { margin-top: 4rem; }

@media (max-width: 980px) {
  .hero, .sample-grid, .problem-grid, .inside-grid, .faq, .buy-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .receipt-page .commands .inside-grid,
  .receipt-page .faq { grid-template-columns: minmax(0, 1fr); }
  .receipt-page .file-window pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .hero { padding-top: 4.5rem; }
  .file-window { position: static; }
  .commands-head { grid-template-columns: 1fr; gap: 1rem; }
  .buy-grid { max-width: 760px; }.price-card { max-width: 500px; }
  .guide-layout { grid-template-columns: 1fr; gap: 2rem; }.guide-aside { position: static; }
}

@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .topbar { min-height: 68px; }.topbar nav a:not(.nav-buy) { display: none; }
  .topbar .nav-buy { box-shadow: none; }
  .hero { padding: 4.2rem 0 5rem; }
  h1 { font-size: clamp(3rem,15vw,4.6rem); }
  .actions { flex-direction: column; }.button { width: 100%; }
  .solo-offer { grid-template-columns: 1fr; }
  .facts { flex-direction: column; }
  .demo-frame { box-shadow: 7px 7px 0 var(--blue); }.tape { display: none; }.demo-foot span { display: none; }
  .sample-strip, .problem, .inside, .commands, .field-notes, .faq, .buy-section { padding-block: 5rem; }
  .comparison, .fit, .note-grid { grid-template-columns: 1fr; }
  .fit { padding-block: 5rem; }
  .fit-card { min-height: 420px; }
  .commands-head h2, .section-intro h2 { font-size: 3rem; }
  .file-window pre { font-size: .74rem; }
  .footer { flex-direction: column; justify-content: center; text-align: center; gap: .45rem; }
  .guide-hero { padding: 5rem 0 3rem; }.guide-layout { padding-bottom: 5rem; }
}

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