:root {
  --ink: #111311;
  --ink-2: #1a1d1a;
  --paper: #f1efe8;
  --paper-deep: #d9d7d0;
  --signal: #d8f23d;
  --signal-soft: #aebe31;
  --orange: #ff7043;
  --muted: #6e716c;
  --dark-muted: #9a9f97;
  --line: #2b2e2b;
  --light-line: #c5c4bd;
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
  --pad: clamp(1.2rem, 3.7vw, 4.2rem);
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p, h1, h2, h3 { text-wrap: pretty; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: var(--signal); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 1000; top: 0; left: 1rem; padding: .7rem 1rem; color: var(--ink); background: var(--signal); transform: translateY(-120%); font: .75rem var(--mono); }
.skip-link:focus { transform: translateY(0); }

.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 66px; padding: 0 var(--pad); border-bottom: 1px solid #343734; color: #edf0e8; background: var(--ink); font: .66rem var(--mono); letter-spacing: .1em; }
.identity { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.identity em { color: var(--dark-muted); font-style: normal; }
.identity-mark { position: relative; display: inline-block; width: 25px; height: 18px; }
.identity-mark::before, .identity-mark::after { content: ""; position: absolute; left: 5px; width: 14px; height: 1px; background: currentColor; transform-origin: left center; }
.identity-mark::before { top: 8px; transform: rotate(-25deg); }
.identity-mark::after { top: 9px; transform: rotate(25deg); }
.identity-mark i { position: absolute; z-index: 1; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.identity-mark i:first-child { left: 0; top: 6px; background: var(--signal); }
.identity-mark i:nth-child(2) { right: 0; top: 0; }
.identity-mark i:last-child { right: 0; bottom: 0; }
.masthead-title { text-align: center; }
.skill-label { justify-self: end; color: var(--signal); }
.skill-label i { display: inline-block; width: 7px; height: 7px; margin-right: .4rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); }

.hero { position: relative; min-height: calc(100vh - 66px); padding: clamp(4rem, 8vw, 8rem) var(--pad) 0; overflow: hidden; color: #edf0e8; background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .13; pointer-events: none; background-image: linear-gradient(#5d635d 1px, transparent 1px), linear-gradient(90deg, #5d635d 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent 88%); }
.hero::after { content: ""; position: absolute; top: 18%; left: 46%; width: 18vw; height: 18vw; border: 1px solid #515651; border-radius: 50%; box-shadow: 0 0 0 4vw #111311, 0 0 0 calc(4vw + 1px) #363a36, 0 0 0 9vw #111311, 0 0 0 calc(9vw + 1px) #252825; pointer-events: none; }
.hero-copy, .trace-console { position: relative; z-index: 2; }
.hero-copy { width: min(100%, var(--max)); margin: auto; }
.eyebrow, .section-code { margin: 0 0 1.8rem; font: .68rem var(--mono); letter-spacing: .12em; }
.eyebrow { color: var(--signal); }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
h1 { max-width: 1000px; font-size: clamp(4rem, 8.4vw, 9.2rem); }
h1 span, h2 span { color: var(--signal-soft); }
.hero-lede { max-width: 650px; margin: 2.2rem 0 0; color: #b8bdb5; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.3rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-width: 220px; min-height: 54px; padding: .85rem 1rem; border: 1px solid currentColor; font: 500 .7rem var(--mono); letter-spacing: .07em; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-signal { color: var(--ink); border-color: var(--signal); background: var(--signal); }
.button-signal:hover { background: #e6ff58; }
.button-quiet { color: #daddd6; border-color: #5e635e; background: transparent; }
.button-quiet:hover { color: var(--ink); border-color: #f2f3ee; background: #f2f3ee; }
.button-dark { color: var(--paper); border-color: var(--ink); background: var(--ink); }

.trace-console { width: min(57%, 830px); margin: -5.5rem 0 7rem auto; border: 1px solid #686e68; background: rgba(17,19,17,.94); box-shadow: 22px 22px 0 rgba(216,242,61,.07); }
.console-bar, .console-foot { display: flex; align-items: center; justify-content: space-between; padding: .7rem .9rem; font: .58rem var(--mono); letter-spacing: .1em; }
.console-bar { border-bottom: 1px solid #414541; color: var(--dark-muted); }
.live { color: var(--signal); }
.live i { display: inline-block; width: 6px; height: 6px; margin-right: .4rem; border-radius: 50%; background: var(--signal); }
.trace-stage { padding: 2rem; }
.trace-node { position: relative; padding: 1rem; border: 1px solid #4d524d; background: var(--ink-2); }
.node-label { display: block; margin-bottom: .8rem; color: var(--dark-muted); font: .55rem var(--mono); letter-spacing: .1em; }
.trace-node strong { font: 500 .9rem var(--mono); }
.trace-node small { display: block; margin-top: .75rem; color: var(--dark-muted); font: .56rem var(--mono); letter-spacing: .06em; }
.video-node { width: 52%; }
.play { position: absolute; top: 50%; right: 1rem; color: var(--signal); transform: translateY(-50%); }
.redirect-node { width: 38%; margin-left: 19%; }
.landing-node { width: 72%; margin-left: auto; border-color: var(--signal); }
.landing-node strong { color: var(--signal); }
.landing-node small { color: #e8ebe4; }
.route { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; width: 62%; margin: .65rem auto; color: var(--dark-muted); font: .52rem var(--mono); letter-spacing: .08em; }
.route i { height: 1px; background: #4b504b; }
.route b { color: var(--signal); font-size: .9rem; }
.console-foot { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: .7rem 1rem; border-top: 1px solid #414541; color: var(--dark-muted); }
.console-foot b { color: #e8ebe4; font-weight: 400; }
.signal-strip { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 3.3rem); margin: 0 calc(var(--pad) * -1); padding: 1rem var(--pad); color: var(--ink); background: var(--signal); font: 500 .61rem var(--mono); letter-spacing: .08em; white-space: nowrap; overflow: hidden; }
.signal-strip i { font-style: normal; }

.problem, .method, .configuration, .guardrails { padding: clamp(6rem, 11vw, 11rem) var(--pad); }
.problem, .method { width: min(100%, calc(var(--max) + var(--pad) * 2)); margin: auto; }
.section-code { display: flex; align-items: center; gap: .8rem; color: var(--muted); }
.section-code span { color: var(--ink); }
.section-code::after { content: ""; width: 74px; height: 1px; background: currentColor; }
.section-code.inverse { color: #9fa49c; }
.section-code.inverse span { color: var(--signal); }
.problem-grid, .method-title-row { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 8vw, 9rem); align-items: end; }
h2 { font-size: clamp(3.4rem, 7vw, 7.2rem); }
h2 em { font-style: normal; }
.problem h2 em { color: var(--muted); }
.problem-copy p, .method-title-row > p, .guardrail-copy > p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.problem-copy p + p { margin-top: 1.4rem; }
.difference-grid { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; margin-top: 6rem; }
.difference-grid article { min-height: 330px; padding: 2.2rem; border: 1px solid var(--ink); }
.difference-grid article > span, .finding-grid article > span, .guardrail-ledger span { font: .62rem var(--mono); letter-spacing: .1em; }
.difference-grid h3 { margin: 3rem 0 1.8rem; font: 500 clamp(2rem, 3vw, 3.3rem)/1 var(--display); letter-spacing: -.04em; }
.difference-grid ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.difference-grid li { padding: .7rem 0; border-top: 1px solid var(--light-line); }
.difference-grid li::before { content: "— "; color: var(--ink); }
.difference-arrow { color: var(--muted); font: 2rem var(--mono); text-align: center; }
.difference-grid .after-card { color: #edf0e8; border-color: var(--ink); background: var(--ink); box-shadow: 12px 12px 0 var(--signal); }
.after-card > span { color: var(--signal); }
.after-card li { color: #b8bdb5; border-color: #414541; }

.sample { padding: clamp(6rem, 10vw, 10rem) var(--pad); color: #edf0e8; background: var(--ink); }
.sample-head, .snapshot, .ranked, .finding-grid { width: min(100%, var(--max)); margin-left: auto; margin-right: auto; }
.sample-head { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 5rem; }
.sample-head .section-code { grid-column: 1 / -1; }
.sample h2 { font-size: clamp(3.5rem, 7vw, 7.5rem); }
.sample h2 em { color: var(--signal); font-style: normal; }
.sample-lede { align-self: end; color: #abb0a8; font-size: 1.05rem; line-height: 1.8; }
.snapshot { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5rem; border: 1px solid #5a5f5a; }
.snapshot > div { min-height: 180px; padding: 1.6rem; border-right: 1px solid #5a5f5a; }
.snapshot > div:last-child { border-right: 0; }
.snapshot strong { display: block; font: 500 clamp(3rem, 5vw, 5.5rem)/1 var(--display); letter-spacing: -.05em; }
.snapshot span { display: block; margin-top: 1.5rem; color: #92978f; font: .62rem/1.5 var(--mono); letter-spacing: .09em; }
.snapshot .signal-stat { color: var(--ink); background: var(--signal); }
.snapshot .signal-stat span { color: #30332f; }
.ranked { margin-top: 5.5rem; }
.ranked-head { display: flex; justify-content: space-between; padding: .85rem 0; border-top: 2px solid #e5e8df; border-bottom: 1px solid #555a55; color: #a5aaa2; font: .62rem var(--mono); letter-spacing: .09em; }
.ranked ol { margin: 0; padding: 0; list-style: none; }
.ranked li { display: grid; grid-template-columns: 70px minmax(300px, 1.2fr) minmax(180px, .8fr) 80px; gap: 1.5rem; align-items: center; min-height: 126px; border-bottom: 1px solid #414541; }
.rank { color: #777d75; font: .7rem var(--mono); }
.ranked li strong { color: #edf0e8; font: 500 clamp(.9rem, 1.3vw, 1.15rem) var(--mono); word-break: break-word; }
.ranked li p { margin: .5rem 0 0; color: #888e86; font-size: .85rem; }
.bar { height: 7px; background: #2b2f2b; }
.bar i { display: block; width: var(--value); height: 100%; background: var(--signal); transform-origin: left; }
.count { justify-self: end; padding: .45rem .55rem; color: var(--ink); background: var(--signal); font: .66rem var(--mono); white-space: nowrap; }
.finding-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; margin-top: 5.5rem; border-top: 1px solid #555a55; border-left: 1px solid #555a55; }
.finding-grid article { min-height: 350px; padding: 2rem; border-right: 1px solid #555a55; border-bottom: 1px solid #555a55; }
.finding-grid article > span { color: #91968f; }
.finding-grid .lead-finding { color: var(--ink); background: var(--signal); }
.lead-finding > span { color: #32352f !important; }
.finding-grid h3 { margin: 4.5rem 0 1.3rem; font: 500 clamp(2rem, 3vw, 3.3rem)/1 var(--display); letter-spacing: -.05em; }
.finding-grid p { color: #a3a8a0; }
.lead-finding p { color: #30332f; }
.finding-grid code { color: var(--signal); font: inherit; }

.method-title-row { align-items: end; }
.method-title-row h2 span { color: var(--muted); }
.steps { margin: 6rem 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 70px 1fr 110px; gap: 1.5rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--light-line); }
.steps li > span, .steps li > b { font: .62rem var(--mono); letter-spacing: .09em; }
.steps li > span { color: var(--muted); }
.steps li > b { justify-self: end; color: var(--signal-soft); }
.steps strong { font: 500 clamp(1.8rem, 3vw, 3rem)/1 var(--display); letter-spacing: -.04em; }
.steps p { max-width: 670px; margin: .7rem 0 0; color: var(--muted); }

.configuration { background: var(--paper-deep); }
.config-head, .preset-panel, .lookup-section { width: min(100%, var(--max)); margin-left: auto; margin-right: auto; }
.config-title-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 9rem); align-items: end; }
.config-title-row h2 { font-size: clamp(3.5rem, 7vw, 7.4rem); }
.config-title-row h2 span { color: var(--muted); }
.config-intro > p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.control-equation { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; margin-top: 2rem; font: .58rem var(--mono); letter-spacing: .09em; text-align: center; }
.control-equation span { padding: .8rem .5rem; border: 1px solid var(--ink); }
.control-equation b { color: var(--signal-soft); font-weight: 500; }
.preset-panel { margin-top: 6rem; border: 1px solid var(--ink); background: var(--paper); }
.preset-panel-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; padding: 1.4rem; border-bottom: 1px solid var(--ink); }
.preset-panel-head span, .preset-panel-head small, .configured-prompt > span { display: block; color: var(--muted); font: .58rem var(--mono); letter-spacing: .1em; }
.preset-panel-head strong { display: block; margin-top: .45rem; font: 500 clamp(1.35rem, 2.2vw, 2rem) var(--display); letter-spacing: -.03em; }
.preset-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.preset-card { position: relative; min-height: 260px; padding: 1.35rem; border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.preset-card:last-child { border-right: 0; }
.preset-card > span, .preset-card > small { display: block; font: .58rem var(--mono); letter-spacing: .09em; }
.preset-card > span { color: var(--muted); }
.preset-card > strong { display: block; margin-top: 2.4rem; font: 500 clamp(3.2rem, 5vw, 5.8rem)/1 var(--display); letter-spacing: -.07em; }
.preset-card > small { margin-top: .65rem; }
.preset-card > i { position: absolute; right: 1.35rem; bottom: 1.2rem; left: 1.35rem; padding-top: .75rem; border-top: 1px solid var(--light-line); color: var(--muted); font-size: .72rem; font-style: normal; }
.preset-card:hover, .preset-card.is-active { color: var(--ink); background: var(--signal); }
.preset-card.is-active::after { content: "SELECTED"; position: absolute; top: 1.2rem; right: 1.2rem; padding: .25rem .4rem; color: var(--signal); background: var(--ink); font: .5rem var(--mono); letter-spacing: .08em; }
.preset-card.is-active > span, .preset-card.is-active > i { color: #33372e; }
.preset-card.is-active > i { border-color: #9cad2f; }
.configured-prompt { display: grid; grid-template-columns: 150px 1fr auto; gap: 1.5rem; align-items: center; min-height: 120px; padding: 1.4rem; background: var(--ink); }
.configured-prompt p { margin: 0; color: #eef1e9; font: 500 clamp(1rem, 1.8vw, 1.45rem)/1.45 var(--display); }
.configured-prompt p b { color: var(--signal); font-weight: 500; }
.configured-prompt button { padding: .7rem .85rem; border: 1px solid var(--signal); color: var(--signal); background: transparent; font: .58rem var(--mono); letter-spacing: .09em; cursor: pointer; }
.configured-prompt button:hover { color: var(--ink); background: var(--signal); }
.run-notes { display: grid; grid-template-columns: repeat(3, 1fr); }
.run-notes p { margin: 0; padding: 1.3rem; border-right: 1px solid var(--ink); color: var(--muted); font-size: .78rem; line-height: 1.6; }
.run-notes p:last-child { border-right: 0; }
.run-notes strong { color: var(--ink); }
.lookup-section { margin-top: clamp(7rem, 11vw, 11rem); }
.lookup-head { display: grid; grid-template-columns: 170px 1fr .75fr; gap: 2rem; align-items: end; padding-bottom: 1.4rem; border-bottom: 2px solid var(--ink); }
.lookup-head > span { color: var(--muted); font: .58rem var(--mono); letter-spacing: .09em; }
.lookup-head h3 { margin: 0; font: 500 clamp(2.2rem, 4vw, 4.3rem)/1 var(--display); letter-spacing: -.05em; }
.lookup-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.lookup-grid { display: grid; grid-template-columns: 1fr 1fr; }
.lookup-card { min-height: 390px; padding: 1.7rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.lookup-card:nth-child(2) { border-right: 0; }
.lookup-card > div:first-child { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font: .56rem var(--mono); letter-spacing: .08em; }
.lookup-card > div:first-child b { color: var(--signal-soft); font-weight: 500; }
.lookup-card > code { display: inline-block; margin-top: 4rem; padding: .45rem .55rem; color: #e9ece4; background: var(--ink); font: .74rem var(--mono); }
.lookup-card h4 { margin: 1.5rem 0 .8rem; font: 500 clamp(1.9rem, 3vw, 3.2rem)/1 var(--display); letter-spacing: -.045em; }
.lookup-card > p { max-width: 600px; color: var(--muted); }
.lookup-card.recommended { box-shadow: inset 0 6px 0 var(--signal); }
.brand-card { grid-column: 1 / -1; min-height: 0; border-right: 0; }
.brand-card > code { margin-top: 3rem; }
.brand-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1.2rem; align-items: center; margin-top: 2.5rem; }
.brand-flow div { min-height: 150px; padding: 1.2rem; border: 1px solid var(--ink); }
.brand-flow span { color: var(--signal-soft); font: .57rem var(--mono); letter-spacing: .08em; }
.brand-flow p { margin: 1.2rem 0 0; color: var(--muted); font-size: .82rem; }
.brand-flow i { font-style: normal; }
.brand-fallback { max-width: none !important; margin: 1.5rem 0 0; padding: 1rem; color: #cbd0c7 !important; background: var(--ink); font-size: .8rem; }
.brand-fallback strong { color: var(--signal); }
.resolution-foot { display: grid; grid-template-columns: 170px 1fr; gap: 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--ink); }
.resolution-foot > span { color: var(--signal-soft); font: .58rem var(--mono); letter-spacing: .09em; }
.resolution-foot p { margin: 0; color: var(--muted); font-size: .82rem; }
.resolution-foot code { color: var(--ink); font: .78rem var(--mono); }

.prompts { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(4rem, 8vw, 9rem); padding: clamp(6rem, 10vw, 10rem) var(--pad); color: #edf0e8; background: #202420; }
.prompt-intro h2 { font-size: clamp(3.3rem, 6vw, 6.5rem); }
.prompt-intro h2 em { color: var(--signal); font-style: normal; }
.prompt-intro > p { max-width: 560px; margin-top: 2rem; color: #9ea39b; }
.prompt-list { border-top: 1px solid #5d625d; }
.prompt-card { width: 100%; display: grid; grid-template-columns: 95px 1fr auto; gap: 1.5rem; align-items: center; min-height: 126px; padding: 1.2rem 0; border: 0; border-bottom: 1px solid #5d625d; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.prompt-card span, .prompt-card small { color: #8b9088; font: .57rem var(--mono); letter-spacing: .09em; }
.prompt-card strong { max-width: 570px; font: 500 clamp(1.15rem, 2vw, 1.8rem)/1.35 var(--display); letter-spacing: -.025em; }
.prompt-card small { padding: .45rem .6rem; border: 1px solid #5d625d; color: var(--signal); white-space: nowrap; }
.prompt-card:hover strong { color: var(--signal); }
.prompt-card:hover small { color: var(--ink); border-color: var(--signal); background: var(--signal); }
.copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; }

.guardrails { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(4rem, 8vw, 10rem); align-items: start; background: var(--paper-deep); }
.guardrail-copy { position: sticky; top: 3rem; }
.guardrail-copy h2 { font-size: clamp(3.4rem, 6vw, 6.5rem); }
.guardrail-ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.guardrail-ledger div { min-height: 210px; padding: 1.6rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.guardrail-ledger span { color: var(--muted); }
.guardrail-ledger strong { display: block; margin-top: 2.8rem; font: 500 clamp(2.4rem, 4vw, 4.5rem)/1 var(--display); letter-spacing: -.05em; }
.guardrail-ledger small { display: block; margin-top: .7rem; color: var(--muted); }

.finale { position: relative; padding: clamp(7rem, 13vw, 13rem) var(--pad); overflow: hidden; text-align: center; }
.finale .eyebrow { color: var(--muted); }
.finale h2 { position: relative; z-index: 1; max-width: 1300px; margin: auto; font-size: clamp(3rem, 6.7vw, 7rem); }
.finale > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 650px; margin: 2rem auto 0; color: var(--muted); font-size: 1.05rem; }
.finale .hero-actions { position: relative; z-index: 1; justify-content: center; }
.finale-trace { position: absolute; top: 2rem; left: 50%; width: min(90vw, 1100px); height: min(90vw, 1100px); border: 1px solid #d5d3cc; border-radius: 50%; transform: translateX(-50%); }
.finale-trace::before, .finale-trace::after { content: ""; position: absolute; inset: 14%; border: 1px solid #d5d3cc; border-radius: 50%; }
.finale-trace::after { inset: 30%; }
.finale-trace i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--signal-soft); }
.finale-trace i:nth-child(1) { top: 0; left: 50%; }
.finale-trace i:nth-child(2) { top: 25%; right: 6%; }
.finale-trace i:nth-child(3) { top: 58%; left: 15%; }
.finale-trace i:nth-child(4) { top: 32%; left: 35%; }
.finale-trace i:nth-child(5) { top: 50%; left: 50%; background: var(--orange); }

footer { display: grid; grid-template-columns: 1fr 1.5fr 1fr auto; gap: 2rem; align-items: center; padding: 2.5rem var(--pad); color: #e8ebe4; background: var(--ink); font: .6rem var(--mono); letter-spacing: .08em; }
footer p { margin: 0; color: var(--dark-muted); }
footer a { justify-self: end; color: var(--signal); text-decoration: none; }
footer > span:last-child { color: #747a73; }

.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-ready .ranked li.is-visible .bar i { animation: grow .8s .15s both; }
@keyframes grow { from { transform: scaleX(0); } }

@media (max-width: 1050px) {
  .trace-console { width: min(100%, 760px); margin: 4rem 0 6rem auto; }
  .problem-grid, .method-title-row, .sample-head, .config-title-row, .prompts, .guardrails { grid-template-columns: 1fr; }
  .preset-grid { grid-template-columns: 1fr 1fr; }
  .preset-card:nth-child(2) { border-right: 0; }
  .preset-card:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .lookup-head { grid-template-columns: 1fr; }
  .sample-lede { max-width: 650px; margin-top: 2rem; }
  .guardrail-copy { position: static; }
  .finding-grid { grid-template-columns: 1fr 1fr; }
  .finding-grid .lead-finding { grid-column: 1 / -1; min-height: 300px; }
}

@media (max-width: 720px) {
  .masthead { grid-template-columns: 1fr auto; padding: 0 1rem; }
  .masthead-title { display: none; }
  .identity em { display: none; }
  .hero { padding-top: 4.5rem; }
  .hero::after { display: none; }
  h1 { font-size: clamp(3.25rem, 16vw, 5.3rem); }
  h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trace-stage { padding: 1rem; }
  .video-node, .redirect-node, .landing-node { width: 100%; margin-left: 0; }
  .route { width: 90%; }
  .console-foot { grid-template-columns: 1fr 1fr; }
  .signal-strip { justify-content: flex-start; }
  .difference-grid { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 4rem; }
  .difference-arrow { transform: rotate(90deg); }
  .snapshot { grid-template-columns: 1fr 1fr; }
  .snapshot > div { min-height: 150px; border-bottom: 1px solid #5a5f5a; }
  .snapshot > div:nth-child(2) { border-right: 0; }
  .snapshot > div:nth-child(n+3) { border-bottom: 0; }
  .ranked-head span:last-child { display: none; }
  .ranked li { grid-template-columns: 42px 1fr 64px; gap: .8rem; padding: 1.2rem 0; }
  .ranked .bar { grid-column: 2 / -1; grid-row: 2; }
  .ranked li p { display: none; }
  .finding-grid, .guardrail-ledger { grid-template-columns: 1fr; }
  .finding-grid .lead-finding { grid-column: auto; }
  .finding-grid article { min-height: 300px; }
  .steps li { grid-template-columns: 42px 1fr; }
  .steps li > b { grid-column: 2; justify-self: start; }
  .preset-panel-head { align-items: start; flex-direction: column; }
  .preset-grid, .run-notes, .lookup-grid, .brand-flow { grid-template-columns: 1fr; }
  .preset-card { min-height: 220px; border-right: 0; }
  .configured-prompt { grid-template-columns: 1fr; }
  .configured-prompt button { justify-self: start; }
  .run-notes p { border-right: 0; border-bottom: 1px solid var(--ink); }
  .run-notes p:last-child { border-bottom: 0; }
  .lookup-card, .lookup-card:nth-child(2) { min-height: 340px; border-right: 0; }
  .brand-card { grid-column: auto; }
  .brand-flow i { transform: rotate(90deg); text-align: center; }
  .resolution-foot { grid-template-columns: 1fr; gap: .7rem; }
  .prompt-card { grid-template-columns: 1fr auto; padding: 1.4rem 0; }
  .prompt-card span { grid-column: 1; }
  .prompt-card strong { grid-column: 1 / -1; }
  .prompt-card small { grid-column: 2; grid-row: 1; }
  .guardrail-ledger div { min-height: 180px; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; grid-row: 2; }
  footer a { grid-column: 1; grid-row: 3; justify-self: start; }
  footer > span:last-child { grid-column: 2; grid-row: 3; }
}

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

/* Get the skill */
.get-skill { padding: clamp(6rem, 11vw, 11rem) var(--pad); width: min(100%, calc(var(--max) + var(--pad) * 2)); margin: auto; }
.get-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.get-copy h2 { margin: 0; font: 500 clamp(2.4rem, 4.6vw, 4.4rem)/1.02 var(--display); letter-spacing: -.04em; }
.get-copy h2 span { color: var(--signal-soft); }
.get-copy p { max-width: 560px; margin: 1.8rem 0 0; color: var(--muted); line-height: 1.65; }
.get-copy .hero-actions { margin-top: 2.4rem; }
.get-copy .button-quiet { color: var(--ink); border-color: var(--ink); }
.get-copy .button-quiet:hover { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.install-steps { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.install-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--light-line); }
.install-steps li > span { font: .62rem var(--mono); letter-spacing: .09em; color: var(--muted); padding-top: .35rem; }
.install-steps strong { font: 500 clamp(1.3rem, 2vw, 1.8rem)/1.1 var(--display); letter-spacing: -.03em; }
.install-steps p { margin: .5rem 0 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 880px) { .get-grid { grid-template-columns: 1fr; } }
