:root {
  --ink: #080a0b;
  --panel: #101315;
  --panel-2: #171b1e;
  --paper: #eee9df;
  --muted: #9ba0a3;
  --line: rgba(255,255,255,.13);
  --red: #a92c27;
  --red-bright: #d4483f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' 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='.55'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid white; outline-offset: 4px; }

.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px clamp(22px,4vw,68px); border-bottom: 1px solid var(--line); background: rgba(5,7,8,.96); }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand span { display: grid; line-height: 1; text-transform: uppercase; }
.brand strong { font-size: 14px; letter-spacing: .13em; }
.brand small { margin-top: 6px; color: var(--muted); font-size: 10px; letter-spacing: .44em; }
.site-header nav { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.site-header nav a { color: #c7c7c4; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: white; }
.site-header .nav-store { padding: 10px 15px; border: 1px solid rgba(212,72,63,.7); background: rgba(169,44,39,.16); }

.page-hero { position: relative; min-height: 460px; overflow: hidden; display: grid; align-items: end; padding: 100px clamp(22px,7vw,112px) 72px; border-bottom: 1px solid var(--line); background: #080a0b; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg,#07090a 0%,rgba(7,9,10,.88) 42%,rgba(7,9,10,.25)), url('/media/legacy-republic-hero.jpg'); background-position: center, 75% center; background-size: cover; }
.page-hero.desert::before { background-image: linear-gradient(90deg,#080806 0%,rgba(8,8,6,.82) 48%,rgba(8,8,6,.18)), url('/media/takistanplus-hero.png'); }
.page-hero.coast::before { background-image: linear-gradient(90deg,#06090a 0%,rgba(6,9,10,.84) 48%,rgba(6,9,10,.18)), url('/media/deer-isle-hero.png'); }
.hero-content { position: relative; z-index: 1; max-width: 980px; }
.eyebrow { margin: 0 0 15px; color: var(--red-bright); font-size: 11px; font-weight: 800; letter-spacing: .31em; text-transform: uppercase; }
h1, h2 { font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-weight: 400; line-height: .92; letter-spacing: .018em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 0; font-size: clamp(62px,9vw,132px); }
h2 { margin: 0 0 24px; font-size: clamp(40px,5.5vw,76px); }
.page-hero .lede { max-width: 760px; margin: 22px 0 0; color: #c9c8c3; font-size: clamp(16px,1.7vw,21px); }

.layout { width: min(1320px,calc(100% - 44px)); margin: 0 auto; padding: 84px 0 110px; }
.intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px,7vw,100px); align-items: start; margin-bottom: 76px; }
.intro-grid > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.callout { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin: 0 0 70px; padding: clamp(28px,4vw,52px); border: 1px solid rgba(212,72,63,.42); background: linear-gradient(110deg,rgba(169,44,39,.18),rgba(15,17,18,.96) 48%); }
.callout h2 { margin-bottom: 12px; font-size: clamp(34px,4vw,58px); }
.callout p { margin: 0; color: var(--muted); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--red-bright); background: var(--red); color: white; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; transition: .2s; }
.button:hover { transform: translateY(-2px); background: var(--red-bright); }
.button.secondary { border-color: var(--line); background: rgba(3,4,5,.42); }
.button.secondary:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }

.card-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { min-height: 250px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(16,19,21,.52); }
.card .number, .rule-card .number { color: var(--red-bright); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.card h3, .rule-card h3, .contact-card h3 { margin: 55px 0 12px; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.card p, .contact-card p { margin: 0; color: var(--muted); }
.card .text-link, .contact-card .text-link { display: inline-block; margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid var(--red); color: white; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-block { margin-top: 92px; }
.section-heading { max-width: 820px; margin-bottom: 38px; }
.section-heading p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 25px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); color: var(--red-bright); font-family: Impact,sans-serif; font-size: 27px; }
.steps h3 { margin: 0 0 7px; font-size: 19px; text-transform: uppercase; }
.steps p { margin: 0; color: var(--muted); }

.jump-links { position: sticky; top: 0; z-index: 10; display: flex; gap: 8px; overflow-x: auto; padding: 14px clamp(22px,7vw,112px); border-bottom: 1px solid var(--line); background: rgba(8,10,11,.96); }
.jump-links a { white-space: nowrap; padding: 8px 11px; color: #b9bab7; border: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rules-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.rule-card { scroll-margin-top: 78px; padding: clamp(28px,4vw,46px); border: 1px solid var(--line); background: var(--panel); }
.rule-card h3 { margin-top: 17px; }
.rule-card ul { margin: 20px 0 0; padding-left: 20px; color: #c5c5c0; }
.rule-card li + li { margin-top: 10px; }
.notice { margin: 0 0 38px; padding: 24px 28px; border-left: 3px solid var(--red-bright); background: rgba(169,44,39,.12); color: #d7d4ce; }

.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.contact-card { min-height: 270px; padding: 34px; border: 1px solid var(--line); background: var(--panel); }
.contact-card h3 { margin-top: 20px; }
.contact-card .tag { color: var(--red-bright); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.policy { max-width: 940px; margin: 0 auto; }
.policy-meta { display: flex; gap: 10px 28px; flex-wrap: wrap; margin: 0 0 42px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #b9b9b5; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.policy h2 { margin-top: 62px; font-family: Arial,Helvetica,sans-serif; font-size: 25px; font-weight: 800; line-height: 1.25; letter-spacing: .04em; }
.policy h3 { margin-top: 34px; font-size: 17px; text-transform: uppercase; }
.policy p, .policy li { color: #c1c2bf; }
.policy li + li { margin-top: 8px; }
.policy a { color: #f0b2ad; text-decoration: underline; text-underline-offset: 3px; }
.prohibited { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; }
.prohibited li { padding: 8px 11px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; text-transform: uppercase; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; padding: 50px clamp(22px,6vw,96px); border-top: 1px solid var(--line); color: #888d90; }
.footer-brand { display: grid; gap: 8px; }
.footer-brand strong { color: #d4d2cd; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand span { font-size: 13px; }
.footer-links { max-width: 740px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
footer small { grid-column: 1/-1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .08em; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-header nav { justify-content: flex-start; }
  .intro-grid, .callout { grid-template-columns: 1fr; }
  .callout .button { justify-self: start; }
  .card-grid, .contact-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 650px) {
  .brand strong { font-size: 12px; }
  .site-header nav { gap: 8px 14px; }
  .page-hero { min-height: 430px; padding-top: 72px; }
  .layout { width: min(100% - 34px,1320px); padding-top: 62px; }
  .card-grid, .contact-grid, .rules-grid { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .jump-links { position: static; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

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