:root {
  color-scheme: dark;
  --background: #0d0f12;
  --panel: #14181d;
  --raised: #1b2129;
  --line: #28313d;
  --text: #e0e2ea;
  --muted: #d7c4ad;
  --amber: #ffb020;
  --green: #2ee59d;
  --gutter: clamp(22px, 5vw, 80px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--amber); }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 6px;
}
::selection { background: var(--amber); color: var(--background); }
.skip { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 15px; background: var(--amber); color: var(--background); }
.skip:focus { top: 12px; }
.shell { max-width: 1320px; margin: auto; padding-inline: var(--gutter); }
.header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 110px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 21px; font-weight: 750; letter-spacing: .17em; }
.brand img { width: 46px; height: 46px; border-radius: 10px; }
.nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.nav [aria-current="page"] { color: var(--amber); }
.eyebrow, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: var(--amber); font-size: 11px; line-height: 1.8; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--amber); border-radius: 50%; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(45px, 6.3vw, 84px); line-height: 1.04; font-weight: 750; letter-spacing: -.055em; margin-bottom: 30px; }
h1 em { font-style: normal; color: var(--amber); }
h2 { font-size: clamp(27px, 3vw, 40px); line-height: 1.16; letter-spacing: -.035em; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.02em; }
p, li { font-size: 17px; line-height: 1.75; }
p { color: var(--muted); }
.lead { max-width: 49ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero { padding-block: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 65px; align-items: center; }
.hero .lead { margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 54px; padding: 14px 21px; background: var(--amber); color: var(--background); font-size: 15px; font-weight: 700; border-radius: 4px; text-decoration: none; }
.button:hover { background: #ffd59b; color: var(--background); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.instrument { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 30px; position: relative; }
.instrument-label { display: flex; justify-content: space-between; align-items: center; font-size: 10px; line-height: 1.6; letter-spacing: .11em; color: var(--muted); text-transform: uppercase; }
.instrument-logo { display: block; width: min(100%, 265px); height: auto; margin: 40px auto; }
.instrument-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; }
.instrument-bottom span { font-size: 12px; line-height: 1.8; color: var(--muted); }
.instrument-bottom strong { display: block; color: var(--text); font-size: 23px; font-weight: 500; }
.rule { border-top: 1px solid var(--line); }
.features { padding-block: 64px 80px; display: grid; grid-template-columns: .9fr 1.4fr; gap: 80px; }
.features > h2 { max-width: 12ch; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li::before { content: "0" counter(step); font-family: ui-monospace, Menlo, monospace; color: var(--amber); font-size: 12px; padding-top: 5px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin-bottom: 0; font-size: 16px; }
.page-head { padding-top: clamp(60px, 8vw, 100px); padding-bottom: 50px; }
.page-head h1 { max-width: 13ch; }
.page-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); padding-block: 52px 90px; }
.sidebar { align-self: start; position: sticky; top: 30px; }
.sidebar h2 { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 17px; }
.sidebar a { display: block; padding-block: 12px; text-decoration: none; font-size: 14px; line-height: 1.4; }
.article { min-width: 0; max-width: 72ch; }
.article section { padding-top: 12px; margin-bottom: 54px; scroll-margin-top: 26px; }
.article h2 { font-size: 28px; margin-bottom: 22px; }
.article h3 { margin-top: 28px; margin-bottom: 8px; }
.article p { margin-bottom: 20px; }
.article li { color: var(--muted); margin-bottom: 10px; }
.article ul { padding-left: 22px; }
.note { background: var(--panel); padding: 22px 25px; border: 1px solid var(--line); border-radius: 4px; margin-block: 26px; }
.note p:last-child { margin-bottom: 0; }
.contact { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 44px); }
.contact .button { overflow-wrap: anywhere; }
.contact p { max-width: 54ch; }
details { border-bottom: 1px solid var(--line); padding: 0; }
summary { cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.5; padding: 22px 26px 22px 0; }
details p { font-size: 16px; padding-bottom: 7px; }
.footer { border-top: 1px solid var(--line); padding-block: 30px 40px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.footer p { font-size: 12px; margin: 0; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
.footer-links { display: flex; gap: 25px; }
.meta { color: var(--muted); font-size: 12px; line-height: 1.7; }
@media (max-width: 760px) {
  .header { min-height: 86px; gap: 15px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 35px; height: 35px; }
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 45px; }
  .instrument { max-width: 480px; width: 100%; }
  .instrument-logo { width: 190px; margin-block: 25px; }
  .features { grid-template-columns: 1fr; gap: 35px; padding-block: 45px 60px; }
  .features > h2 { max-width: none; }
  .page-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 24px; }
  .sidebar { position: static; display: flex; flex-wrap: wrap; gap: 0 22px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .sidebar h2 { width: 100%; margin-bottom: 5px; }
  .sidebar a { padding-block: 12px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (max-width: 360px) {
  .header { align-items: flex-start; flex-direction: column; padding-block: 17px 8px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

button.button { border: 0; font-family: inherit; cursor: pointer; }
.button[hidden] { display: none; }
