@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #101116;
  --panel: #17191f;
  --panel-light: #1d2027;
  --text: #f4f3f0;
  --muted: #a1a2a9;
  --subtle: #70727c;
  --accent: #e7b648;
  --accent-bright: #f3cb68;
  --border: rgba(255,255,255,.09);
  font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
.site-header { height: 76px; padding: 0 max(6.5vw, 24px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: rgba(16,17,22,.95); }
.brand { position: relative; display: inline-flex; align-items: center; gap: 11px; font: 700 13px "Space Grotesk",sans-serif; letter-spacing: 1.2px; white-space: nowrap; }
.brand-logo { display: block; width: auto; height: 56px; max-width: 180px; object-fit: contain; }
.brand-tm { position: absolute; top: 3px; right: -9px; color: var(--accent); font: 600 9px "DM Sans",sans-serif; }
.brand-muted { color: var(--muted); font-weight: 500; }
nav { display: flex; height: 100%; gap: 36px; align-items: center; }
nav a { color: var(--muted); font-size: 13px; transition: color .2s; }
nav a:hover, nav a.active { color: var(--text); }
nav a.active { position: relative; }
nav a.active::after { position: absolute; content: ""; height: 2px; background: var(--accent); left: 0; right: 0; bottom: -29px; }
.hero { position: relative; min-height: 570px; padding: 95px max(11vw, 28px) 85px; display: flex; align-items: center; overflow: hidden; background: radial-gradient(ellipse at 74% 48%, rgba(116,84,24,.12), transparent 39%), linear-gradient(120deg,#101116 20%,#121318 100%); }
.hero::after { position: absolute; content: ""; inset: 0; pointer-events: none; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(90deg,transparent 5%,black); }
.hero-content { position: relative; z-index: 1; width: min(590px, 60%); }
.eyebrow { margin: 0 0 19px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1,h2,h3,p { margin-top: 0; }
.hero h1,.rules-hero h1 { margin: 0; font: 700 clamp(46px,6.1vw,76px)/1.07 "Space Grotesk",sans-serif; letter-spacing: -3.4px; }
.hero h1 span,.rules-hero h1 span { color: var(--accent); }
.hero-copy { max-width: 470px; margin: 24px 0 29px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 45px; padding: 0 18px; display: inline-flex; gap: 14px; align-items: center; justify-content: center; border: 1px solid transparent; font-size: 12px; font-weight: 700; transition: .2s ease; }
.button-primary { background: var(--accent); color: #17140e; }
.button-primary:hover { background: var(--accent-bright); transform: translateY(-2px); }
.button-secondary { border-color: var(--border); color: var(--text); }
.button-secondary:hover { border-color: var(--accent); }
.hero-art { position: absolute; width: 410px; height: 410px; right: 12%; top: 50%; transform: translateY(-50%); display: grid; place-items: center; }
.art-ring { position: absolute; border: 1px solid rgba(231,182,72,.19); border-radius: 50%; }
.ring-one { inset: 6%; }
.ring-two { inset: 17%; border-color: rgba(231,182,72,.27); }
.art-ring::before,.art-ring::after { position: absolute; content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.ring-one::before { left: 22%; top: 10%; }
.ring-one::after { right: 5%; top: 64%; }
.ring-two::before { right: 15%; top: 10%; }
.ring-two::after { left: 12%; bottom: 11%; }
.art-core { width: 145px; height: 145px; border: 1px solid rgba(231,182,72,.55); display: grid; place-content: center; text-align: center; font: 700 49px/.92 "Space Grotesk",sans-serif; color: var(--accent); background: radial-gradient(circle,rgba(231,182,72,.11),rgba(16,17,22,.85) 70%); box-shadow: 0 0 90px rgba(231,182,72,.1); }
.art-core span { display: block; font-size: 16px; letter-spacing: 8px; padding-left: 8px; color: var(--text); }
.art-label,.art-coordinate { position: absolute; color: var(--subtle); font-size: 9px; letter-spacing: 2px; line-height: 1.6; }
.art-label { left: 5%; top: 30%; }
.art-coordinate { bottom: 13%; right: 2%; }
.content-section { max-width: 1040px; margin: 0 auto; padding: 82px 24px 10px; }
.section-heading { margin-bottom: 27px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin-bottom: 9px; font: 600 30px "Space Grotesk",sans-serif; letter-spacing: -.8px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.connect-card { min-height: 125px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--border); background: linear-gradient(100deg,var(--panel),#15161b); }
.connect-card > div { display: grid; gap: 8px; }
.card-label { color: var(--subtle); font-size: 9px; font-weight: 700; letter-spacing: 1.7px; }
.connect-card code { color: var(--text); font: 600 22px "Space Grotesk",sans-serif; letter-spacing: .2px; }
.card-note { color: var(--muted); font-size: 11px; }
.rules-preview { padding-bottom: 84px; }
.preview-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.preview-card { position: relative; min-height: 200px; padding: 27px 28px; border: 1px solid var(--border); background: var(--panel); transition: border-color .2s,transform .2s; }
.preview-card:hover { border-color: rgba(231,182,72,.55); transform: translateY(-3px); }
.preview-number { position: absolute; top: 24px; right: 25px; color: #53545b; font: 600 13px "Space Grotesk",sans-serif; }
.preview-icon { color: var(--accent); font-size: 21px; }
.preview-card h3 { margin: 15px 0 8px; font: 600 18px "Space Grotesk",sans-serif; }
.preview-card p { max-width: 350px; margin-bottom: 17px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.text-link { color: var(--accent); font-size: 11px; font-weight: 700; }
.text-link span { margin-left: 5px; }
.site-footer { min-height: 83px; padding: 20px max(6.5vw, 24px); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; }
.site-footer .brand-logo { height: 42px; }
.site-footer > a:last-child { color: var(--accent); }
.rules-main { max-width: 1120px; margin: auto; padding: 43px 24px 75px; }
.rules-hero { padding: 4px 0 35px; border-bottom: 1px solid var(--border); }
.back-link { display: inline-block; margin-bottom: 32px; color: var(--muted); font-size: 11px; }
.back-link:hover { color: var(--accent); }
.rules-hero .eyebrow { margin-bottom: 12px; }
.rules-hero h1 { font-size: clamp(42px,5vw,60px); letter-spacing: -2.5px; }
.rules-hero > p:not(.eyebrow) { max-width: 690px; margin: 17px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.rules-meta { display: flex; flex-wrap: wrap; gap: 9px; }
.rules-meta span { padding: 7px 10px; border: 1px solid var(--border); color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.rules-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 65px; padding-top: 39px; align-items: start; }
.rules-sidebar { position: sticky; top: 28px; display: grid; gap: 0; }
.rules-sidebar p { margin: 0 0 13px; color: var(--subtle); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.rules-sidebar a { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.055); color: var(--muted); font-size: 10px; transition: color .2s; }
.rules-sidebar a:hover { color: var(--accent); }
.rules-content { min-width: 0; }
.rule-section { margin: 0 0 45px; scroll-margin-top: 25px; }
.section-kicker { margin-bottom: 7px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.rule-section h2 { margin-bottom: 17px; font: 600 22px "Space Grotesk",sans-serif; letter-spacing: -.3px; }
.rule { padding: 15px 18px; margin-bottom: 8px; border: 1px solid var(--border); background: linear-gradient(105deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); }
.rule h3 { margin: 0 0 8px; font: 600 12px "Space Grotesk",sans-serif; }
.rule ul { margin: 0; padding-left: 17px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.rule li::marker { color: var(--accent); font-size: 8px; }
.rule p { margin: 0 0 7px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.rule p:last-child { margin-bottom: 0; }
.agreement { padding: 20px 22px; border: 1px solid rgba(231,182,72,.3); background: rgba(231,182,72,.055); }
.agreement strong { color: var(--accent); font-size: 9px; letter-spacing: 1.5px; }
.agreement p { margin: 9px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.agreement .agreement-signoff { color: var(--text); font-weight: 700; letter-spacing: .5px; }

@media (max-width: 800px) {
  .hero { min-height: 530px; padding: 75px 7vw; }
  .hero-content { width: 75%; }
  .hero-art { right: -130px; opacity: .55; }
  .rules-layout { grid-template-columns: 1fr; gap: 27px; }
  .rules-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .rules-sidebar p { grid-column: 1/-1; }
}
@media (max-width: 560px) {
  .site-header { height: auto; min-height: 70px; padding: 13px 18px; flex-wrap: wrap; gap: 14px; }
  .brand { font-size: 11px; }
  .brand-logo { height: 48px; }
  nav { width: 100%; height: auto; justify-content: space-between; gap: 9px; }
  nav a { padding: 5px 0; font-size: 11px; }
  nav a.active::after { bottom: -7px; }
  .hero { min-height: 500px; padding: 64px 24px; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: 49px; letter-spacing: -2.5px; }
  .hero-copy { max-width: 360px; font-size: 13px; }
  .hero-art { width: 290px; height: 290px; top: 62%; right: -154px; opacity: .28; }
  .art-core { width: 105px; height: 105px; font-size: 36px; }
  .art-core span { font-size: 12px; }
  .content-section { padding-top: 58px; }
  .section-heading h2 { font-size: 25px; }
  .connect-card { align-items: flex-start; flex-direction: column; padding: 21px; }
  .connect-card code { font-size: 19px; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-card { min-height: auto; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .rules-main { padding: 28px 18px 55px; }
  .rules-hero h1 { font-size: 43px; }
  .rules-meta span { font-size: 7px; }
  .rules-sidebar { grid-template-columns: 1fr 1fr; }
  .rule-section h2 { font-size: 20px; }
  .rule { padding: 14px; }
}
