:root {
  --bg: #071712;
  --bg-2: #0d241d;
  --surface: rgba(10, 28, 23, 0.9);
  --surface-2: rgba(14, 38, 31, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --text: #eef9f1;
  --muted: #b4d0bf;
  --line: rgba(134, 255, 181, 0.14);
  --line-soft: rgba(255, 255, 255, 0.07);
  --green: #57f287;
  --green-2: #96ffaf;
  --mint: #6fe8c1;
  --aqua: #6fd8ff;
  --glow: rgba(87, 242, 135, 0.18);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-width: 1180px;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Gill Sans", "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(87, 242, 135, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(111, 216, 255, 0.1), transparent 26%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: var(--green);
  color: #062014;
  font-weight: 800;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-shell {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 14, 11, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 2rem));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(145deg, var(--green), var(--mint));
  color: #062014;
  box-shadow: 0 0 0 6px rgba(87, 242, 135, 0.09);
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.nav {
  display: none;
  flex-direction: column;
  gap: 0.45rem;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% + 0.7rem);
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(8, 21, 17, 0.98);
  box-shadow: var(--shadow);
}

.nav.is-open {
  display: flex;
}

.nav a {
  text-decoration: none;
  padding: 0.82rem 0.96rem;
  border-radius: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(87, 242, 135, 0.12), rgba(111, 216, 255, 0.08));
}

.page-main {
  padding: 1.2rem 0 3.2rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(87, 242, 135, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(111, 216, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(87, 242, 135, 0.14), transparent 28%),
    linear-gradient(140deg, rgba(8, 25, 20, 0.98), rgba(13, 36, 29, 0.98));
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(111, 216, 255, 0.12);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
  padding: 0.46rem 0.76rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(87, 242, 135, 0.18);
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h1,
.hero-card h2 {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 3.7rem);
  line-height: 0.95;
}

.hero-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.72;
}

.utility-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.utility-card,
.content-frame,
.legal-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(12, 31, 25, 0.94), rgba(7, 20, 16, 0.98));
  box-shadow: var(--shadow-soft);
}

.utility-card,
.legal-card {
  padding: 1.25rem;
}

.utility-card h3,
.legal-card h2 {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-family: var(--serif);
}

.utility-card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

.content-frame {
  margin-top: 1rem;
  overflow: hidden;
}

.content-panel {
  padding: 1.25rem;
}

.content-panel article > :first-child {
  margin-top: 0;
}

.content-panel article > :last-child {
  margin-bottom: 0;
}

.content-panel h1,
.content-panel h2,
.content-panel h3 {
  color: var(--text);
  font-family: var(--serif);
  letter-spacing: -0.02em;
}

.content-panel h1 {
  font-size: clamp(2.2rem, 6.2vw, 3.8rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.content-panel h2 {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 0.9rem;
  padding-top: 0.9rem;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
}

.content-panel h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--aqua));
}

.content-panel h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 3.2vw, 1.58rem);
}

.content-panel p,
.content-panel li,
.content-panel td p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.76;
  overflow-wrap: anywhere;
}

.content-panel a {
  color: var(--green-2);
  font-weight: 700;
}

.content-panel ul {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.content-panel li {
  position: relative;
  margin-bottom: 0.72rem;
  padding: 0.96rem 1rem 0.96rem 3.2rem;
  border: 1px solid rgba(87, 242, 135, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, rgba(87, 242, 135, 0.08), rgba(111, 216, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
}

.content-panel li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.02rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green), var(--mint));
  box-shadow: 0 0 0 4px rgba(87, 242, 135, 0.12);
}

.content-panel table {
  display: block;
  width: 100%;
  margin: 1.35rem 0;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid rgba(87, 242, 135, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 31, 25, 0.98), rgba(7, 20, 16, 0.98));
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.content-panel tbody {
  display: table;
  width: 100%;
  min-width: 960px;
}

.content-panel tbody tr:first-child {
  background: linear-gradient(135deg, rgba(87, 242, 135, 0.16), rgba(111, 216, 255, 0.12));
}

.content-panel tbody tr:not(:first-child):nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.content-panel td {
  padding: 0.95rem 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.site-footer {
  padding: 1.5rem 0 2.8rem;
}

.footer-card {
  border: 1px solid rgba(87, 242, 135, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(87, 242, 135, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(10, 28, 23, 0.98), rgba(5, 15, 12, 0.98));
  box-shadow: var(--shadow);
}

.footer-top {
  display: grid;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-nav a {
  text-decoration: none;
  padding: 0.72rem 0.92rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.footer-note,
.footer-meta {
  color: var(--muted);
  line-height: 1.72;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--green), var(--mint));
  color: #062014;
  font-size: 1.08rem;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(87, 242, 135, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-card,
  .content-panel,
  .utility-card,
  .legal-card,
  .footer-card {
    padding: 1.7rem;
  }

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

@media (min-width: 1024px) {
  .page-main {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
  }

  .hero-card,
  .content-panel,
  .utility-card,
  .legal-card,
  .footer-card {
    padding: 2rem;
  }

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

  .content-panel {
    padding-left: 2.3rem;
    padding-right: 2.3rem;
  }
}
