:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-soft: #111316;
  --surface: #171412;
  --surface-2: #202124;
  --text: #f1e7d2;
  --muted: #b7aa94;
  --muted-2: #8f9fa5;
  --line: #352b25;
  --line-strong: #574235;
  --red: #b64135;
  --red-deep: #7c2823;
  --gold: #d3b36d;
  --moss: #647a6c;
  --steel: #9eb4bd;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1120px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(182, 65, 53, 0.09), transparent 30%, rgba(100, 122, 108, 0.08) 76%, transparent),
    linear-gradient(180deg, #0b0b0d 0%, #111316 46%, #0b0b0d 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-color: rgba(211, 179, 109, 0.5);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff6df;
  text-decoration-color: var(--gold);
}

img,
svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: #15100d;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(87, 66, 53, 0.72);
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner,
.main-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px var(--shadow);
}

.brand-title {
  display: block;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.2;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.44rem 0.68rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: rgba(211, 179, 109, 0.34);
  background: rgba(211, 179, 109, 0.08);
  color: var(--text);
}

.main-inner {
  padding: 2.2rem 0 4rem;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  align-items: stretch;
  gap: 1rem;
  padding: clamp(2.25rem, 5vw, 4.8rem) 0 2rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: #fff6df;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.3rem, 6vw, 5rem);
  font-weight: 820;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 760;
}

h3 {
  font-size: 1.08rem;
  font-weight: 760;
}

p {
  margin: 0;
}

.lede {
  max-width: 760px;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.notice {
  max-width: 760px;
  margin-top: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--red);
  color: var(--muted-2);
  font-size: 0.98rem;
}

.release-panel {
  display: grid;
  align-content: space-between;
  gap: 1.4rem;
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(182, 65, 53, 0.15), transparent 42%),
    rgba(23, 20, 18, 0.82);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.release-panel .brand-mark {
  width: 58px;
  height: 58px;
}

.release-panel dl {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.release-panel dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
  text-transform: uppercase;
}

.release-panel dd {
  margin: 0.1rem 0 0;
  color: #fff6df;
  font-weight: 720;
}

.breadcrumbs {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--line-strong);
}

.breadcrumbs li:last-child::after {
  content: "";
  margin: 0;
}

.page-header {
  max-width: 860px;
  padding: 1.1rem 0 2rem;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.section {
  margin-top: 2.2rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading p {
  max-width: 620px;
  color: var(--muted);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.hub-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 20, 18, 0.78);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.hub-card:hover {
  border-color: rgba(211, 179, 109, 0.58);
  transform: translateY(-2px);
}

.hub-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hub-card strong {
  display: block;
  color: #fff6df;
  font-size: 1.28rem;
  line-height: 1.18;
}

.hub-card small {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 1rem;
}

.panel {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 19, 22, 0.7);
}

.panel h2,
.panel h3 {
  margin-bottom: 0.75rem;
}

.panel p + p {
  margin-top: 0.9rem;
}

.muted {
  color: var(--muted);
}

.rule-list,
.link-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li,
.link-list a {
  min-height: 44px;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(87, 66, 53, 0.76);
  border-radius: var(--radius);
  background: rgba(23, 20, 18, 0.64);
}

.rule-list li {
  color: var(--muted);
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  text-decoration: none;
}

.link-list a::after {
  content: ">";
  color: var(--gold);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.62rem;
  border: 1px solid rgba(158, 180, 189, 0.26);
  border-radius: var(--radius);
  background: rgba(158, 180, 189, 0.08);
  color: #dce7e7;
  font-size: 0.92rem;
  font-weight: 650;
}

.status-strip {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(100, 122, 108, 0.45);
  border-radius: var(--radius);
  background: rgba(100, 122, 108, 0.1);
  color: #d8e4d7;
}

.site-footer {
  border-top: 1px solid rgba(87, 66, 53, 0.72);
  background: #09090a;
}

.footer-inner {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer-links a {
  color: var(--text);
}

.not-found {
  min-height: 52vh;
  display: grid;
  align-content: center;
  gap: 1rem;
}

@media (max-width: 960px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .home-hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .header-inner,
  .main-inner,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.78rem;
  }

  .nav a {
    padding: 0.42rem 0.56rem;
    font-size: 0.88rem;
  }

  .main-inner {
    padding-top: 1.4rem;
  }

  .home-hero {
    padding-top: 1.5rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card {
    min-height: 152px;
  }

  .section-heading {
    display: grid;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hub-card {
    transition: border-color 160ms ease, transform 160ms ease;
  }
}
