@font-face {
  font-family: "Noto Sans";
  src: url("/assets/noto-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #24252a;
  --surface: #2a2b30;
  --raised: #303137;
  --line: #4c4d54;
  --text: #f6f5f1;
  --muted: #c4c4cb;
  --yellow: #ffd645;
  --ink: #24252a;
  font-family: "Noto Sans", system-ui, sans-serif;
  scroll-padding-top: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--base); color: var(--text); line-height: 1.6; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h1, h2 { font-weight: 750; letter-spacing: -.05em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.14rem; font-weight: 700; }
p { color: var(--muted); }
img { display: block; max-width: 100%; }
.shell { width: min(1184px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }

.skip { position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .6rem 1rem; background: var(--yellow); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; color: var(--ink); }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 77px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.06rem; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-size: .73rem; font-weight: 500; margin-top: .12rem; }
.nav { margin-inline: auto; display: flex; gap: clamp(16px, 2.6vw, 36px); align-items: center; }
.nav a, .footer nav a { text-decoration: none; }
.nav a { color: var(--muted); white-space: nowrap; font-size: .89rem; font-weight: 600; }
.nav a:hover { color: var(--yellow); }
.button { display: inline-flex; min-height: 48px; padding: .67rem 1.17rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; font-weight: 750; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.header .button { min-height: 41px; font-size: .87rem; }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-primary:hover { background: #ffe47e; color: var(--ink); }
.button-outline { border-color: #73747d; color: var(--text); }
.button-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.button-dark { background: var(--ink); color: var(--text); }
.button-dark:hover { background: #393a40; color: var(--text); }
.actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }

.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(2rem, 4.7vw, 4.5rem); padding-block: clamp(4rem, 9vw, 8.25rem); }
.hero-label { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--yellow); font-weight: 650; margin-bottom: 1.35rem; }
.hero-label span { width: .52rem; height: .52rem; border-radius: 50%; background: var(--yellow); }
h1 { font-size: clamp(2.8rem, 5.5vw, 5.15rem); line-height: 1.06; }
.hero-copy > p:not(.hero-label) { max-width: 46ch; font-size: clamp(1rem, 1.45vw, 1.18rem); margin-block: 1.55rem 1.8rem; }
.hero-risk { display: inline-block; color: var(--muted); font-size: .77rem; margin-top: 1.1rem; }

.terminal { min-width: 0; border: 1px solid #55565e; border-radius: 15px; background: var(--surface); overflow: hidden; box-shadow: 12px 16px 0 #202125; }
.terminal-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); }
.terminal-title { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .89rem; }
.sample { font-size: .7rem; color: var(--yellow); border: 1px solid #6a5c33; border-radius: 5px; padding: .14rem .42rem; white-space: nowrap; }
.terminal-body { padding: 1.1rem; }
.instrument { display: flex; justify-content: space-between; gap: .4rem; align-items: baseline; margin-bottom: .8rem; }
.instrument span, .terminal-bottom, .terminal figcaption { color: var(--muted); font-size: .75rem; }
.chart { width: 100%; height: auto; border: 1px solid var(--line); background: #26272d; }
.terminal-bottom { display: flex; justify-content: space-between; gap: .5rem; margin-top: .9rem; }
.terminal-bottom i { display: inline-block; width: .42rem; height: .42rem; background: var(--yellow); border-radius: 50%; margin-right: .25rem; }
.terminal-bottom b { color: var(--yellow); padding-inline: .12rem; }
.terminal figcaption { font-size: .68rem; padding: .55rem 1.1rem; background: #26272b; border-top: 1px solid var(--line); }

.service, .setup, .faq { background: var(--surface); border-block: 1px solid var(--line); }
.service-grid, .setup-grid, .faq-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.service p, .setup-grid > div p { max-width: 44ch; margin-top: 1.25rem; font-size: 1.02rem; }
.custody { margin-block: .2rem; }
.custody > div:not(.custody-link) { display: grid; grid-template-columns: 1fr 1.65fr; gap: 1.1rem; align-items: center; padding: 1rem 1.25rem; background: var(--raised); border: 1px solid var(--line); border-radius: 7px; }
.custody span { color: var(--muted); }
.custody-link { display: flex; gap: .7rem; align-items: center; color: var(--yellow); padding-left: 1.3rem; font-size: .8rem; }
.custody-link span { height: 2rem; width: 1px; background: var(--yellow); }

.features { margin-top: 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.65rem; }
.features article { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.features svg { width: 34px; height: 34px; stroke: var(--yellow); fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .8rem; }
.features p { margin-top: .65rem; font-size: .93rem; }

.setup-grid > div .button { margin-top: 1.4rem; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: setup; }
.steps li { counter-increment: setup; display: grid; grid-template-columns: 2.1rem 1fr; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li::before { content: counter(setup); display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #8c793f; border-radius: 50%; color: var(--yellow); font-size: .8rem; font-weight: 750; }
.steps h3 { margin-top: .32rem; }
.steps p { margin-top: .35rem; font-size: .93rem; }
.tools { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem; }
.tool { padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 10px; }
.tool h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.tool p { margin-block: .8rem 1.3rem; }
.plans { background: var(--yellow); color: var(--ink); }
.plans p { color: #383021; }
.plans :focus-visible { outline-color: var(--ink); }
.access { background: var(--raised); border: 1px solid var(--line); }
.download { display: inline-flex; min-height: 44px; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 650; }
.download span { color: var(--yellow); }

.faq-grid details { border-bottom: 1px solid var(--line); }
.faq-grid details:first-child { border-top: 1px solid var(--line); }
summary { position: relative; cursor: pointer; display: block; font-weight: 700; list-style: none; padding: 1rem 2rem 1rem 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; color: var(--yellow); }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 1.1rem; max-width: 60ch; }
details a { color: var(--yellow); }

.footer { padding-block: 2.2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.footer-top > div { display: grid; gap: .25rem; }
.footer a, .footer p { color: var(--muted); font-size: .85rem; }
.footer a:hover { color: var(--yellow); }
.footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer p { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }

.legal-copy { max-width: 70ch; }
.legal-copy h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-block: .8rem 1.3rem; }
.legal-copy h2 { font-size: 1.35rem; letter-spacing: -.02em; margin-block: 1.65rem .55rem; }
.legal-copy a { color: var(--yellow); }

@media (max-width: 920px) {
  .shell { width: min(100% - 64px, 1184px); }
  .hero { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: .25rem .8rem; padding-top: .75rem; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: .5rem; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; }
  .hero, .service-grid, .setup-grid, .faq-grid, .tools { grid-template-columns: 1fr; }
  .hero { padding-top: 3.2rem; }
  .hero h1 { font-size: clamp(2.65rem, 9.4vw, 4.4rem); }
  .terminal { box-shadow: 6px 7px 0 #202125; }
  .custody > div:not(.custody-link) { grid-template-columns: 1fr; gap: .3rem; }
  .footer-top { flex-direction: column; }
}

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