:root {
  color-scheme: dark;
  --bg: #12120f;
  --bg-deep: #0b0c0a;
  --surface: #1a1a15;
  --surface-2: #212018;
  --line: rgba(255, 237, 188, .15);
  --line-strong: rgba(246, 190, 40, .38);
  --text: #f2eddf;
  --muted: #aaa697;
  --amber: #f2b90f;
  --amber-soft: #ffd96a;
  --lcd: #c8a73c;
  --lcd-ink: #1f2817;
  --green: #81c784;
  --radius: 22px;
  --shell: min(1120px, calc(100% - 48px));
  font-family: Manrope, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 5%, rgba(242,185,15,.10), transparent 27rem),
    linear-gradient(180deg, #171712 0, var(--bg) 45rem, var(--bg-deep) 100%);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--amber-soft); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; color: #16130a; background: var(--amber); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 10;
  width: var(--shell);
  min-height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 9px 30px rgba(0,0,0,.42); }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 16px; letter-spacing: .01em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.header-actions, .header-actions nav { display: flex; align-items: center; }
.header-actions { gap: 22px; }
.header-actions nav { gap: 26px; }
.header-actions nav a { position: relative; color: var(--muted); font-size: 14px; font-weight: 650; }
.header-actions nav a:hover, .header-actions nav a[aria-current="page"] { color: var(--text); }
.header-actions nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px; background: var(--amber); }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(48px, 9vw, 120px); padding-block: 90px; }
.eyebrow, .section-number { margin: 0 0 24px; color: var(--amber-soft); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px rgba(129,199,132,.6); }
h1, h2, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(45px, 6.4vw, 78px); line-height: .98; letter-spacing: -.05em; font-weight: 760; }
h2 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -.04em; }
.lede { max-width: 650px; margin-bottom: 36px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; font-size: 14px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #17140b; background: var(--amber); box-shadow: 0 12px 40px rgba(242,185,15,.16); }
.button-primary:hover { background: var(--amber-soft); }
.button-secondary { color: var(--text); background: rgba(255,255,255,.035); border-color: var(--line); }
.button-secondary:hover { border-color: var(--line-strong); }

.instrument { position: relative; width: min(100%, 430px); margin-inline: auto; padding: 24px; background: linear-gradient(145deg, #343124, #1b1b16 60%, #11120f); border: 1px solid rgba(255,226,133,.24); border-radius: 32px; box-shadow: 0 42px 100px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.08); transform: rotate(1.4deg); }
.instrument::before { content: ""; position: absolute; inset: -14px; z-index: -1; border: 1px solid rgba(242,185,15,.1); border-radius: 39px; }
.instrument-top, .instrument-bottom { display: flex; align-items: center; justify-content: space-between; color: #9d9888; font: 750 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.instrument-top { margin-bottom: 18px; }
.instrument-bottom { margin-top: 17px; }
.live-mark { color: var(--green); }
.lcd { position: relative; overflow: hidden; min-height: 278px; padding: 24px; color: var(--lcd-ink); background: linear-gradient(140deg, #d4bd5d, #b89b38); border: 9px solid #0c0e0b; border-radius: 17px; box-shadow: inset 0 0 45px rgba(44,52,28,.35), 0 0 0 1px rgba(255,236,159,.18); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.lcd::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(28,35,20,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(28,35,20,.22) 1px, transparent 1px); background-size: 4px 4px; }
.lcd-label, .lcd-value { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; }
.lcd-label { font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.lcd-value { margin-top: 3px; font-size: clamp(20px, 3vw, 30px); line-height: 1.1; }
.lcd-result { position: relative; z-index: 1; display: grid; margin-top: 56px; }
.lcd-result span { font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.lcd-result b { font-size: clamp(40px, 5vw, 62px); line-height: 1; letter-spacing: -.06em; }

.trust-strip { width: 100%; min-height: 88px; display: flex; align-items: center; justify-content: center; gap: clamp(34px, 8vw, 110px); padding: 20px 24px; background: rgba(255,255,255,.025); border-block: 1px solid var(--line); }
.trust-strip div { display: flex; align-items: center; gap: 11px; color: #d6d1c3; font-size: 13px; font-weight: 650; }
.trust-strip svg { width: 20px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding-block: 120px; }
.section-intro { max-width: 530px; color: var(--muted); font-size: 18px; }
.support-card { padding: 30px; background: linear-gradient(140deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: var(--radius); }
.support-card-label { color: var(--amber-soft); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.support-card ul { margin: 20px 0 26px; padding-left: 21px; color: #d0cbbd; }
.support-card li { margin: 9px 0; padding-left: 5px; }
.support-card li::marker { color: var(--amber); }
.text-link { display: inline-flex; gap: 8px; color: var(--text); font-weight: 720; border-bottom: 1px solid var(--line-strong); }
.text-link:hover { color: var(--amber-soft); }

.faq-section { padding-block: 110px; border-top: 1px solid var(--line); }
.faq-section > div:first-child { max-width: 700px; margin-bottom: 48px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 48px 24px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 20px; color: var(--amber); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 48px 24px 0; color: var(--muted); }

.notice { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-block: 0 110px; padding: 30px; background: rgba(242,185,15,.055); border: 1px solid rgba(242,185,15,.22); border-radius: var(--radius); }
.notice-index { width: 32px; height: 32px; display: grid; place-items: center; color: #17140b; background: var(--amber); border-radius: 50%; font-weight: 900; }
.notice strong { display: block; margin: 2px 0 5px; }
.notice p { margin: 0; color: var(--muted); }

.site-footer { min-height: 128px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer div { display: flex; align-items: center; gap: 16px; }
.site-footer strong { color: var(--text); }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a:hover { color: var(--amber-soft); }

.legal-page { padding-block: 85px 110px; }
.legal-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-bottom: 18px; }
.legal-hero .lede { margin-bottom: 0; }
.policy-meta { min-width: 175px; display: grid; gap: 4px; padding: 18px 20px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; }
.policy-meta span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.policy-meta strong { font-size: 14px; }
.legal-content { max-width: 900px; margin: 0 auto; }
.legal-content section { display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding-block: 42px; border-bottom: 1px solid var(--line); }
.legal-content section > span { padding-top: 7px; color: var(--amber); font: 750 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.legal-content h2 { margin-bottom: 14px; font-size: clamp(24px, 3vw, 34px); }
.legal-content p { color: #c1bdaf; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { color: var(--amber-soft); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 780px) {
  :root { --shell: min(100% - 30px, 680px); }
  .site-header { min-height: 82px; }
  .brand small { display: none; }
  .header-actions { gap: 12px; }
  .header-actions nav { gap: 15px; }
  .header-actions nav a { font-size: 13px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 66px; padding-block: 68px 82px; }
  h1 { font-size: clamp(43px, 13vw, 64px); }
  .instrument { width: min(94%, 430px); transform: rotate(.7deg); }
  .trust-strip { align-items: flex-start; flex-direction: column; gap: 14px; padding: 24px max(24px, calc((100vw - 680px) / 2)); }
  .content-grid { grid-template-columns: 1fr; gap: 35px; padding-block: 88px; }
  .faq-section { padding-block: 85px; }
  .notice { margin-bottom: 80px; }
  .legal-page { padding-block: 64px 85px; }
  .legal-hero { grid-template-columns: 1fr; align-items: start; padding-bottom: 48px; }
  .policy-meta { width: fit-content; }
}

@media (max-width: 520px) {
  .brand img { width: 38px; height: 38px; border-radius: 9px; }
  .brand strong { font-size: 15px; }
  .header-actions nav a:first-child { display: none; }
  .header-actions { gap: 8px; }
  .hero { padding-top: 54px; }
  .eyebrow { margin-bottom: 18px; }
  .lede { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .instrument { width: 100%; padding: 18px; border-radius: 26px; }
  .lcd { min-height: 240px; padding: 20px; }
  .lcd-result { margin-top: 48px; }
  .content-grid, .faq-section { padding-block: 74px; }
  .support-card { padding: 23px; }
  .notice { grid-template-columns: 1fr; padding: 24px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 30px; }
  .site-footer div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .legal-hero h1 { font-size: 48px; }
  .legal-content section { grid-template-columns: 1fr; gap: 10px; padding-block: 34px; }
}

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