:root {
  color-scheme: dark;
  --black: #080808;
  --surface: #111111;
  --surface-raised: #171717;
  --line: #29251d;
  --gold: #c59a52;
  --gold-light: #dfbd7d;
  --text: #f3f0e9;
  --muted: #aaa59b;
  --quiet: #827d73;
  --sans: "Segoe UI", Arial, sans-serif;
  --mono: Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--black); color: var(--text); font: 15px/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: #080808; background: var(--gold-light); }
.container { width: min(1050px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -50px; left: 16px; z-index: 20; padding: 8px 12px; color: #000; background: #fff; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid #222; background: rgba(8, 8, 8, .96); }
.header-inner { display: flex; min-height: 72px; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.brand img { display: block; width: 40px; height: 40px; object-fit: cover; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { color: var(--muted); font-size: 13px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-light); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 700; transition: background .15s ease, color .15s ease; }
.button-small { min-height: 38px; padding-inline: 14px; font-size: 12px; }
.button-gold { color: #0a0907; background: var(--gold); }
.button-gold:hover { background: var(--gold-light); }
.button-outline { border-color: #51432b; color: var(--gold-light); background: transparent; }
.button-outline:hover { border-color: var(--gold); background: #17130c; }
.menu-toggle { display: none; }

.hero { border-bottom: 1px solid #25211a; background: radial-gradient(ellipse at 75% 45%, #1b160d 0, var(--black) 64%); }
.hero-layout { display: grid; min-height: 570px; grid-template-columns: 1fr .9fr; align-items: center; gap: 58px; padding-block: 66px; }
.hero-content { min-width: 0; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font: 11px/1.5 var(--mono); letter-spacing: 1.4px; }
.hero h1 { max-width: 570px; margin: 0; font-size: clamp(43px, 5.7vw, 66px); line-height: 1.06; letter-spacing: -2.5px; }
.hero-copy { max-width: 490px; margin: 20px 0 25px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
.hero-note { margin: 18px 0 0; color: var(--quiet); font: 11px/1.6 var(--mono); letter-spacing: .2px; }
.hero-visual { position: relative; padding: 18px; border: 1px solid #4a3a20; border-radius: 10px; background: linear-gradient(145deg, #17140e, #0d0d0c 70%); box-shadow: 0 28px 80px #0009; }
.dashboard-preview { padding: 20px; border: 1px solid #302b22; border-radius: 7px; background: #0c0c0b; }
.preview-topbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #25231e; }
.preview-brand { display: inline-flex; align-items: center; gap: 9px; color: #e4dfd4; font: 10px var(--mono); letter-spacing: 1px; }
.preview-brand img { border-radius: 50%; object-fit: cover; }
.preview-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px #c59a5270; }
.preview-eyebrow { margin: 23px 0 5px; color: var(--gold); font: 10px var(--mono); letter-spacing: 1.2px; }
.dashboard-preview h2 { margin: 0 0 18px; font-size: 21px; letter-spacing: -.3px; }
.preview-list { border-top: 1px solid #28251f; }
.preview-list > div { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #28251f; color: #e4dfd4; font-size: 13px; }
.preview-index { color: #837b6b; font: 10px var(--mono); }
.preview-action { color: var(--gold-light); font-size: 11px; }
.preview-footer { display: flex; align-items: center; gap: 9px; margin-top: 17px; color: var(--quiet); font-size: 11px; }
.preview-footer span { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--gold); }

.section { padding: 78px 0; }
.section-heading { margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2, .partnership-content h2, .setup-content h2 { margin: 0; font-size: clamp(27px, 4vw, 38px); line-height: 1.2; letter-spacing: -.8px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-card { min-height: 190px; padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.feature-number { color: var(--gold); font: 11px var(--mono); }
.feature-card h3 { margin: 12px 0 6px; font-size: 18px; }
.feature-card p { margin: 0 0 15px; color: var(--muted); font-size: 14px; }
code { padding: 3px 6px; border: 1px solid #443921; border-radius: 3px; color: var(--gold-light); background: #17130d; font: 12px var(--mono); }
.feature-card code { display: inline-block; margin: 0 5px 5px 0; }

.partnership-section { border-block: 1px solid #29231a; background: #0e0d0a; }
.partnership-content { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 32px; padding-block: 38px; }
.partnership-content h2 { max-width: 330px; }
.partnership-content > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; }
.text-link { color: var(--gold-light); font-size: 13px; font-weight: 600; white-space: nowrap; }
.text-link:hover { color: #f0d7a4; }
.setup-section { padding-block: 65px; }
.setup-content { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.setup-content h2 { margin-bottom: 7px; }
.setup-content p:not(.eyebrow) { margin: 0; color: var(--muted); }
.setup-actions { display: flex; align-items: center; gap: 24px; }

.site-footer { border-top: 1px solid #222; }
.footer-content { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; }
.footer-content .brand img { width: 30px; height: 30px; }
.footer-content > span { color: var(--quiet); font-size: 12px; }

.guide-heading { padding: 53px 0 38px; border-bottom: 1px solid #26221b; background: #0e0d0a; }
.back-link { display: inline-block; margin-bottom: 27px; color: var(--muted); font-size: 13px; }
.back-link:hover { color: var(--gold-light); }
.guide-heading h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 48px); line-height: 1.15; }
.guide-heading .container > p:last-child { max-width: 690px; margin-bottom: 0; color: var(--muted); }
.guide-body { padding: 48px 0 80px; }
.guide-layout { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: start; gap: 60px; }
.guide-nav { position: sticky; top: 95px; display: grid; gap: 12px; }
.guide-nav a { color: var(--muted); font-size: 13px; }
.guide-nav a:hover { color: var(--gold-light); }
.guide-section { scroll-margin-top: 90px; margin-bottom: 42px; }
.guide-section h2 { margin: 0 0 13px; font-size: 23px; }
.guide-section p, .guide-section li { color: var(--muted); font-size: 14px; }
.guide-section ol { display: grid; gap: 11px; padding-left: 22px; }
.guide-section li { padding-left: 5px; }
.command-list { margin: 0; border-top: 1px solid var(--line); }
.command-list > div { display: grid; grid-template-columns: 175px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.command-list dt, .command-list dd { margin: 0; }
.command-list dd { color: var(--muted); font-size: 14px; }
.guide-page + .site-footer .footer-content { min-height: 66px; }

@media (max-width: 700px) {
  html { scroll-padding-top: 68px; }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand { gap: 7px; font-size: 14px; }
  .brand img { width: 35px; height: 35px; }
  .menu-toggle { display: flex; width: 38px; height: 38px; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; padding: 9px; border: 1px solid #34302a; border-radius: 4px; background: transparent; }
  .menu-toggle span { height: 1px; background: var(--gold-light); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: 64px; right: 0; left: 0; display: none; padding: 9px 18px 13px; border-bottom: 1px solid #29251d; background: #080808; }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 10px 0; }
  .header-inner > .button { padding-inline: 10px; }
  .hero-layout { min-height: 0; grid-template-columns: 1fr; gap: 34px; padding-block: 53px; }
  .hero-content { text-align: center; }
  .hero-content .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { margin-top: 15px; }
  .hero-visual { width: min(100%, 470px); margin-inline: auto; padding: 12px; }
  .dashboard-preview { padding: 16px; }
  .hero-copy { max-width: 360px; font-size: 15px; }
  .section { padding: 58px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 19px; }
  .partnership-content { grid-template-columns: 1fr; gap: 12px; padding-block: 30px; }
  .partnership-content > p { font-size: 13px; }
  .setup-content { align-items: flex-start; flex-direction: column; }
  .setup-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .footer-content { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 17px; }
  .guide-heading { padding-top: 37px; }
  .guide-layout { grid-template-columns: 1fr; gap: 30px; }
  .guide-nav { position: static; grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px; }
  .guide-nav a { font-size: 12px; }
  .guide-body { padding-top: 32px; }
  .command-list > div { grid-template-columns: 135px 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
