:root {
  color-scheme: dark;
  --stadium-black: #070a0f;
  --midnight-navy: #0b1220;
  --deep-pitch: #101827;
  --surface: #172033;
  --card: #1e293b;
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --muted: #94a3b8;
  --divider: rgba(255, 255, 255, 0.08);
  --electric-blue: #3b82f6;
  --stadium-green: #22c55e;
  --gold: #facc15;
  --orange: #f97316;
  --red: #ef4444;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--stadium-black);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 34% -12%, rgba(59, 130, 246, 0.18), transparent 34rem),
    linear-gradient(145deg, var(--midnight-navy), var(--stadium-black) 62%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(
      165deg,
      transparent 0,
      transparent 86px,
      rgba(255, 255, 255, 0.028) 87px,
      transparent 110px
    );
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer,
.page-main {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  padding: 8px;
  border: 1px solid var(--divider);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.72);
  backdrop-filter: blur(14px);
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 900;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--stadium-black);
  background: var(--gold);
  text-decoration: none;
}

.page-main {
  flex: 1;
  padding: 42px 0 64px;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: stretch;
  min-height: min(660px, calc(100vh - 190px));
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(30, 41, 59, 0.96), rgba(11, 18, 32, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.support-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.support-copy h1,
.legal-document h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.support-copy .lead {
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  font-weight: 760;
  max-width: 42rem;
}

.direct-email {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 13px 16px;
  border: 1px solid rgba(250, 204, 21, 0.24);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(250, 204, 21, 0.08);
  font-weight: 900;
  word-break: break-word;
}

.direct-email:hover {
  background: rgba(250, 204, 21, 0.14);
  text-decoration: none;
}

.contact-form {
  align-self: center;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3.5vw, 28px);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  background: rgba(7, 10, 15, 0.52);
}

.request-card {
  align-self: center;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3.5vw, 32px);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  background: rgba(7, 10, 15, 0.52);
}

.request-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 1.3rem;
}

.steps li {
  color: var(--text-secondary);
  font-weight: 760;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 14px 15px;
  color: var(--text);
  background: rgba(30, 41, 59, 0.88);
  font: inherit;
  font-weight: 720;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.submit-button {
  min-height: 58px;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--stadium-black);
  background: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 950;
}

.submit-button:hover {
  filter: brightness(1.04);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status {
  min-height: 1.35em;
  color: var(--stadium-green);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  background: rgba(23, 32, 51, 0.74);
}

.legal-aside h2 {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 950;
}

.toc {
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 190px);
  overflow: auto;
}

.toc a {
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 800;
}

.toc a:hover {
  color: var(--gold);
}

.legal-document {
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  background: rgba(11, 18, 32, 0.9);
  box-shadow: var(--shadow);
}

.legal-document h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
}

.legal-document h2 {
  margin: 42px 0 12px;
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.legal-document h3 {
  margin: 28px 0 10px;
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
}

.legal-document p,
.legal-document li {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 640;
}

.legal-document ul {
  margin: 10px 0 18px;
  padding-left: 1.2rem;
}

.legal-document li {
  margin: 6px 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--divider);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    flex: 1;
    padding-inline: 8px;
  }

  .support-section,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .support-section {
    min-height: auto;
  }

  .legal-aside {
    position: static;
  }

  .toc {
    max-height: 240px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .page-main {
    width: min(100% - 28px, var(--max-width));
  }

  .page-main {
    padding-top: 24px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1.04rem;
  }

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

  .support-section {
    padding: 22px;
  }

  .nav-links {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
  }

  .nav-links a {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    padding-inline: 8px;
  }

  .support-copy h1 {
    font-size: 3rem;
  }

  .form-row,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
