:root {
  color-scheme: dark;
  --black: #000000;
  --graphite: #14161a;
  --panel: #202329;
  --gold: #c9ab6e;
  --gold-light: #e6d8b4;
  --ivory: #faf8f3;
  --muted: #a7a9ab;
  --line: #373126;
  --success: #44c787;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; min-width: 320px; color: var(--ivory); background: var(--black); }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 20; width: auto; height: auto; padding: 10px 14px; margin: 0; overflow: visible; clip: auto; color: var(--black); background: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 10px clamp(18px, 4vw, 64px); border-bottom: 1px solid var(--line); background: rgb(0 0 0 / 92%); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hf-mark { object-fit: contain; }
.ecosystem { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.divider { width: 1px; height: 26px; background: var(--line); }
.product-lockup { width: 134px; height: 38px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--ivory); }
.site-header .header-cta { padding: 10px 14px; border: 1px solid #705f3b; border-radius: 8px; color: var(--gold-light); }

main { overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center; min-height: 730px; max-width: 1360px; margin: 0 auto; padding: 92px clamp(24px, 6vw, 88px); }
.hero-copy { position: relative; z-index: 2; max-width: 780px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--gold); font-size: 11px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgb(68 199 135 / 10%); }
h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6vw, 86px); line-height: .98; letter-spacing: -.055em; }
.hero-lead { max-width: 690px; margin: 30px 0 0; color: #c9c8c3; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.primary, .secondary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 8px; font-size: 14px; font-weight: 750; text-decoration: none; }
.primary { color: var(--black); background: var(--gold); box-shadow: 0 12px 40px rgb(201 171 110 / 14%); }
.primary:hover, .primary:focus-visible { background: var(--gold-light); }
.secondary { border: 1px solid var(--line); color: var(--ivory); background: var(--graphite); }
.availability { margin-top: 20px; color: #85878b; font-size: 12px; }
.hero-brand { position: relative; display: grid; place-items: center; min-height: 480px; }
.hero-brand::before { content: ""; position: absolute; width: min(34vw, 430px); height: min(34vw, 430px); border: 1px solid rgb(201 171 110 / 16%); border-radius: 50%; box-shadow: 0 0 90px rgb(201 171 110 / 8%); }
.hero-brand img { position: relative; width: min(36vw, 490px); height: auto; }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1220px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; background: var(--graphite); }
.proof-strip p { display: grid; gap: 4px; margin: 0; padding: 22px 26px; }
.proof-strip p + p { border-left: 1px solid var(--line); }
.proof-strip strong { color: var(--gold-light); font-size: 13px; }
.proof-strip span { color: var(--muted); font-size: 12px; }

.product-section, .trust-section { max-width: 1360px; margin: 0 auto; padding: 130px clamp(24px, 6vw, 88px); }
.section-copy { max-width: 760px; }
.section-copy h2, .access-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -.035em; }
.section-copy > p:last-child { max-width: 680px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.demo-shell { margin-top: 54px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--graphite); box-shadow: 0 40px 100px rgb(0 0 0 / 40%); }
.demo-topbar { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--black); }
.demo-brand, .demo-counts { display: flex; align-items: center; gap: 10px; }
.demo-brand img { border-radius: 7px; }
.demo-brand strong { font-size: 13px; }
.demo-brand span { padding: 4px 7px; border: 1px solid #574a2f; border-radius: 999px; color: var(--gold); font-size: 9px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.demo-counts { gap: 8px; }
.demo-counts span { padding: 7px 10px; border: 1px solid #2e3035; border-radius: 999px; color: var(--muted); font-size: 10px; }
.demo-counts b { color: var(--gold-light); font-size: 12px; }
.demo-tabs { display: flex; gap: 2px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.demo-tabs button { min-height: 48px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; cursor: pointer; }
.demo-tabs button[aria-selected="true"] { border-color: var(--gold); color: var(--gold-light); }
.demo-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 480px; }
.demo-body aside { padding: 20px 14px; border-right: 1px solid var(--line); background: #101113; }
.demo-body aside > p { margin: 0 8px 12px; color: #73757a; font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.repo { display: grid; width: 100%; gap: 3px; padding: 12px; border: 1px solid transparent; border-radius: 8px; color: var(--ivory); background: transparent; text-align: left; cursor: pointer; }
.repo + .repo { margin-top: 4px; }
.repo strong { font-size: 12px; }
.repo span { color: #85878b; font-size: 10px; }
.repo.active { border-color: #51462f; background: #1a1916; box-shadow: inset 3px 0 var(--gold); }
.demo-panel { padding: 34px; }
.panel-label { margin: 0 0 10px; color: var(--gold); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.demo-panel h3 { margin: 0; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.025em; }
.demo-panel section > p:not(.panel-label) { max-width: 720px; color: var(--muted); line-height: 1.6; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.action-grid article, .trust-grid article { padding: 20px; border: 1px solid #2d2f34; border-radius: 12px; background: #181a1e; }
.action-grid span, .mission-list span { color: var(--gold); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.action-grid strong { display: block; margin-top: 16px; font-size: 14px; }
.action-grid p { margin: 8px 0 0; color: #8f9196; font-size: 11px; line-height: 1.5; }
.mission-list, .delivery-steps { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.mission-list li { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid #2d2f34; border-radius: 10px; background: #181a1e; }
.mission-list strong { font-size: 14px; }
.mission-list small, .delivery-steps small { color: #8f9196; font-size: 11px; }
.delivery-steps li { display: flex; gap: 14px; align-items: center; padding: 15px; border-bottom: 1px solid #2d2f34; }
.delivery-steps li > b { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #574a2f; border-radius: 50%; color: var(--gold); }
.delivery-steps span { display: grid; gap: 3px; }
.demo-note { margin: 14px 0 0; color: #74767a; font-size: 11px; text-align: right; }

.trust-section { border-top: 1px solid #211f1a; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.trust-grid article { min-height: 250px; padding: 28px; }
.trust-grid article > span { color: var(--gold); font-size: 11px; font-weight: 750; }
.trust-grid h3 { margin: 52px 0 12px; font-size: 20px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.access-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; max-width: 1220px; margin: 10px auto 110px; padding: 36px; border: 1px solid #574a2f; border-radius: 16px; background: var(--graphite); }
.access-cta img { border-radius: 18px; }
.access-cta .section-kicker { margin-bottom: 8px; }
.access-cta h2 { font-size: clamp(26px, 3vw, 40px); }
.access-cta p:last-child { max-width: 750px; margin: 12px 0 0; color: var(--muted); line-height: 1.55; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; padding: 24px clamp(18px, 4vw, 64px); border-top: 1px solid var(--line); color: #77797d; font-size: 11px; }
footer div { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--gold); }
.legal { max-width: 780px; min-height: calc(100vh - 90px); margin: 0 auto; padding: 80px 24px; }
.legal > a { color: var(--gold); font-size: 13px; text-decoration: none; }
.legal .section-kicker { margin-top: 70px; }
.legal h1 { font-size: clamp(42px, 7vw, 72px); }
.legal p:not(.section-kicker) { color: #b7b6b1; font-size: 16px; line-height: 1.75; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .site-header nav > a:not(.header-cta), .ecosystem, .divider, .hf-mark { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-brand { order: -1; min-height: 280px; }
  .hero-brand img { width: min(72vw, 360px); }
  .hero-brand::before { width: 310px; height: 310px; }
  .proof-strip, .trust-grid { grid-template-columns: 1fr; }
  .proof-strip p + p { border-top: 1px solid var(--line); border-left: 0; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-body aside { display: flex; gap: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-body aside > p { display: none; }
  .repo { min-width: 190px; }
  .action-grid { grid-template-columns: 1fr; }
  .access-cta { grid-template-columns: auto 1fr; margin-inline: 20px; }
  .access-cta .primary { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header { min-height: 62px; padding-inline: 14px; }
  .product-lockup { width: 116px; height: 33px; }
  .site-header .header-cta { padding: 8px 10px; font-size: 11px; }
  .hero { padding: 54px 20px 76px; }
  h1 { font-size: 46px; }
  .hero-brand { min-height: 220px; }
  .hero-brand img { width: 260px; }
  .hero-brand::before { width: 235px; height: 235px; }
  .proof-strip { margin-inline: 20px; }
  .product-section, .trust-section { padding: 92px 20px; }
  .demo-topbar { align-items: flex-start; flex-direction: column; }
  .demo-counts { width: 100%; overflow-x: auto; }
  .demo-tabs { overflow-x: auto; padding-inline: 8px; }
  .demo-tabs button { flex: 0 0 auto; }
  .demo-panel { padding: 24px 18px 30px; }
  .access-cta { grid-template-columns: 1fr; padding: 24px; }
  .access-cta img { width: 72px; height: 72px; }
  footer { align-items: flex-start; flex-direction: column; }
  footer div { flex-wrap: wrap; }
}

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