:root {
  --night: #141518; --night-2: #1E2024; --night-line: #33363C; --on-night: #F3F0EA; --on-night-soft: #B3B0A9;
  --paper: #FBF8F3; --sand: #F2ECE2; --white: #FFFFFF; --line: #E4DCCF; --ink: #17191C; --soft: #5C5850;
  --signal: #C8431B; --signal-hot: #E8602F; --signal-wash: #FBE7DE;
  --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--signal); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--signal-hot); outline-offset: 3px; border-radius: 3px; }
code, .mono { font-family: var(--mono); font-size: .86em; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 12px; z-index: 9; background: #fff; padding: 8px 12px; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(251, 248, 243, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 700 21px var(--display); letter-spacing: -.02em; }
.logo svg { width: 28px; height: 28px; }
.menu { display: none; }
.links { display: flex; align-items: center; gap: 28px; }
.links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:hover, .links a[aria-current] { color: var(--signal); }
.btn { display: inline-block; background: var(--signal); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 8px; transition: background .15s, transform .15s; }
.btn:hover { background: #A93715; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1px var(--night-line); }
.btn.ghost:hover { background: var(--night-2); }
.btn.light { background: var(--white); color: var(--ink); }
.links a.btn.small { color: #fff; padding: 9px 16px; font-size: 15px; }

.hero { background: var(--night); color: var(--on-night); padding: 84px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.eyebrow { font: 500 13px var(--mono); letter-spacing: .02em; color: var(--signal-hot); margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); }
.hero .lede { font-size: 20px; color: var(--on-night-soft); margin: 24px 0 32px; max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.mock { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 14px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.mock-bar { display: flex; justify-content: space-between; align-items: center; font: 400 12px var(--mono); color: var(--on-night-soft); padding-bottom: 14px; border-bottom: 1px solid var(--night-line); }
.mock-bar b { color: var(--on-night); font-weight: 500; }
.mock-figs { display: flex; gap: 34px; padding: 20px 0 8px; }
.mock-figs strong { display: block; font: 700 38px var(--display); letter-spacing: -.03em; line-height: 1.1; }
.mock-figs span { font-size: 13px; color: var(--on-night-soft); }
.mock svg { display: block; width: 100%; height: auto; }
.hops { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--night-line); font: 400 12.5px/1.5 var(--mono); color: var(--on-night-soft); }
.hops li { display: flex; gap: 10px; align-items: baseline; padding: 3px 0; overflow-wrap: anywhere; }
.hops i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--night-line); }
.hops li:last-child i { background: var(--signal-hot); }
.hops li:last-child { color: var(--on-night); }

.section { padding: 92px 0; }
.section.sand { background: var(--sand); }
.section.dark { background: var(--night); color: var(--on-night); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2, .page-head h1 + p { }
.section h2 { font-size: clamp(32px, 3.6vw, 46px); }
.section-head p { color: var(--soft); font-size: 19px; margin-top: 14px; }
.dark .section-head p { color: var(--on-night-soft); }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; }
.feature { padding: 26px 0; border-top: 1px solid var(--line); }
.feature h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.015em; }
.feature p { color: var(--soft); margin: 0; font-size: 16px; }

.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 16px var(--display); margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; letter-spacing: -.015em; }
.steps p { color: var(--soft); font-size: 16px; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.url-anatomy { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 12px; padding: 24px; font: 400 15px/1.75 var(--mono); overflow-wrap: anywhere; }
.url-anatomy b { font-weight: 500; color: var(--signal-hot); }
.url-anatomy dl { font: 400 14px/1.5 var(--body); color: var(--on-night-soft); margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--night-line); }
.url-anatomy dt { color: var(--on-night); font-weight: 600; } .url-anatomy dd { margin: 0 0 10px; }
.white-panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.white-panel .addr { font: 400 13px var(--mono); background: var(--sand); padding: 7px 12px; border-radius: 6px; margin-bottom: 20px; overflow-wrap: anywhere; }
.white-panel .co { display: flex; align-items: center; gap: 12px; font: 700 20px var(--display); }
.white-panel .co i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--ink); color: #fff; font-style: normal; }
.white-panel p { color: var(--soft); font-size: 15px; margin: 14px 0 0; }

.cta { padding: 76px 0; background: var(--signal); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(30px, 3.4vw, 42px); max-width: 16em; }

.page-head { padding: 72px 0 52px; background: var(--sand); }
.page-head h1 { font-size: clamp(38px, 4.8vw, 58px); }
.page-head p { color: var(--soft); font-size: 20px; margin: 14px 0 0; max-width: 36em; }
.doc { padding: 56px 0 96px; }
.doc h2 { font-size: 27px; margin: 2em 0 .6em; letter-spacing: -.02em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 20px; margin: 1.5em 0 .5em; letter-spacing: -.015em; }
.doc ul, .doc ol { padding-left: 1.25em; margin: 0 0 1em; } .doc li { margin-bottom: .4em; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 16px; }
.doc th { text-align: left; font-weight: 600; border-bottom: 2px solid var(--ink); padding: 8px 12px 8px 0; }
.doc td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.doc pre { background: var(--night); color: var(--on-night); padding: 18px 20px; border-radius: 10px; overflow-x: auto; font: 400 14px/1.6 var(--mono); }
.updated { color: var(--soft); font-size: 15px; }
.callout { background: var(--signal-wash); border-radius: 10px; padding: 18px 22px; margin: 1.4em 0; }
.callout p:last-child { margin: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.contact-card h2 { font-size: 21px; margin: 0 0 8px; }
.contact-card p:last-child { margin: 0; }
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: 56px; margin-bottom: 12px; }

.foot { background: var(--night); color: var(--on-night-soft); padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot a { color: var(--on-night-soft); text-decoration: none; display: block; padding: 3px 0; } .foot a:hover { color: #fff; }
.foot p a { display: inline; }
.foot h2 { color: var(--on-night); font: 600 14px var(--body); letter-spacing: 0; margin-bottom: 10px; }
.foot-brand { color: var(--on-night); font: 700 22px var(--display); margin-bottom: 8px; }
.foot-end { border-top: 1px solid var(--night-line); margin-top: 44px; padding-top: 22px; font-size: 13.5px; }

@media (max-width: 920px) {
  .hero { padding: 56px 0 64px; } .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .feature-list { grid-template-columns: 1fr 1fr; } .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; } .foot-grid { grid-template-columns: 1fr 1fr; }
  .desktop { display: none; } .menu { display: block; }
  .menu summary { display: block; cursor: pointer; font-weight: 600; padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .feature-list, .steps, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .mock-figs { gap: 22px; } .mock-figs strong { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
