:root {
  color-scheme: dark;
  --ink: #f5f7f2;
  --muted: #bec7bc;
  --dim: #879283;
  --paper: #11150f;
  --panel: #171c15;
  --panel-strong: #20261c;
  --line: rgba(245, 247, 242, 0.14);
  --green: #6f895f;
  --green-dark: #31432f;
  --red: #d5382d;
  --gold: #d7aa54;
  --shadow: rgba(0, 0, 0, 0.38);
  --max: 1160px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.sr-only,
.skip-link:not(:focus) {
  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;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: #11150f;
  border-radius: 4px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 44px);
  background: rgba(17, 21, 15, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(245, 247, 242, 0.08);
  outline: none;
}

.nav-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(245, 247, 242, 0.04);
  color: var(--ink);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(84vh - var(--header-height));
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 21, 15, 0.94) 0%, rgba(17, 21, 15, 0.74) 44%, rgba(17, 21, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(17, 21, 15, 0.92) 0%, rgba(17, 21, 15, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: clamp(72px, 12vh, 150px) 0 clamp(48px, 8vh, 92px);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-copy {
  width: 100%;
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.policy-links,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 30px var(--shadow);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f04a3d;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(245, 247, 242, 0.07);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(245, 247, 242, 0.34);
  background: rgba(245, 247, 242, 0.12);
}

.section {
  padding: clamp(64px, 10vw, 112px) 0;
}

.studio-band {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.studio-grid > *,
.split > *,
.warning-layout > *,
.legal-layout > *,
.footer-grid > * {
  min-width: 0;
}

.studio-grid p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 22px 60px var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.content-stack {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.content-stack p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-list span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(245, 247, 242, 0.04);
  font-size: 0.92rem;
}

.warning-band {
  background: #241512;
  border-block: 1px solid rgba(213, 56, 45, 0.3);
}

.warning-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
}

.notice {
  display: grid;
  gap: 18px;
  padding-left: clamp(0px, 4vw, 42px);
  border-left: 1px solid rgba(213, 56, 45, 0.36);
}

.notice p {
  margin: 0;
  color: #ead1ce;
}

.policy-strip {
  background: var(--panel);
}

.policy-strip h2 {
  max-width: 860px;
}

.policy-links {
  margin-top: 28px;
}

.policy-card {
  flex: 1 1 280px;
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 247, 242, 0.04);
  text-decoration: none;
}

.policy-card:hover,
.policy-card:focus-visible {
  border-color: rgba(215, 170, 84, 0.65);
  background: rgba(215, 170, 84, 0.08);
  outline: none;
}

.policy-card span {
  font-size: 1.35rem;
  font-weight: 800;
}

.policy-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 32px 0;
  background: #0b0e0a;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.footer-grid nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-grid nav a:hover,
.footer-grid nav a:focus-visible {
  color: var(--ink);
}

.footer-grid p {
  margin: 0;
  color: var(--dim);
  text-align: right;
  font-size: 0.92rem;
}

.legal-hero {
  padding: clamp(64px, 10vw, 112px) 0 clamp(36px, 6vw, 72px);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.legal-meta {
  margin: 18px 0 0;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(28px, 6vw, 68px);
  align-items: start;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content ol,
.legal-content ul {
  padding-left: 1.2rem;
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 247, 242, 0.04);
}

.legal-aside a {
  color: var(--muted);
  text-decoration: none;
}

.legal-aside a:hover,
.legal-aside a:focus-visible {
  color: var(--ink);
}

.error-page {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding: 80px 0;
}

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

@media (max-width: 860px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    background: rgba(17, 21, 15, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 40px var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(17, 21, 15, 0.94) 0%, rgba(17, 21, 15, 0.54) 100%),
      linear-gradient(90deg, rgba(17, 21, 15, 0.76), rgba(17, 21, 15, 0.32));
  }

  .studio-grid,
  .split,
  .warning-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .notice {
    padding-left: 0;
    border-left: 0;
  }

  .legal-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-grid nav {
    justify-content: start;
  }

  .footer-grid p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container,
  .hero-content {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions .button,
  .content-stack .button,
  .notice .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4rem);
  }
}
