:root {
  --bg: #080b0d;
  --panel: #111820;
  --panel-2: #17222c;
  --paper: #f7f8f4;
  --text: #f8faf8;
  --ink: #0c1420;
  --muted: #b9c4c4;
  --line: rgba(255, 255, 255, .14);
  --green: #68bd2d;
  --green-dark: #0d632a;
  --yellow: #ffc928;
  --red: #d72820;
  --blue: #13304f;
  --shadow: 0 22px 60px rgba(0, 0, 0, .28);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

a {
  color: inherit;
}

.app-shell {
  min-height: 100svh;
}

.site-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 248px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px 18px;
  background: rgba(8, 11, 13, .94);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-main {
  min-width: 0;
  margin-left: 248px;
}

.brand {
  display: grid;
  gap: 14px;
  align-items: center;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 6px;
}

.brand span {
  font-size: 18px;
  line-height: 1.12;
}

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main-nav a,
.nav-cta,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a {
  justify-content: flex-start;
  color: var(--muted);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
}

.nav-cta,
.button.primary {
  color: #091006;
  background: var(--yellow);
}

.nav-cta {
  margin-top: auto;
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .08);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  padding: clamp(54px, 7vw, 94px) clamp(20px, 5vw, 76px) 42px;
  background:
    radial-gradient(circle at 72% 30%, rgba(104, 189, 45, .22), transparent 32%),
    linear-gradient(120deg, #080b0d 0%, #102016 54%, #080b0d 100%);
}

.hero-copy {
  max-width: 760px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 8vw, 96px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.lead {
  max-width: 680px;
  color: #d9e1dc;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-media {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-media img {
  width: min(100%, 560px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 76px);
}

.paper {
  color: var(--ink);
  background: var(--paper);
}

.dark-band {
  background: linear-gradient(180deg, #10161c, #080b0d);
}

.green-band {
  background: linear-gradient(135deg, #0a3219, #157431);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 184px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(12, 20, 32, .1);
  box-shadow: 0 12px 28px rgba(12, 20, 32, .08);
}

.dark-card {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric {
  padding: 20px;
  border-radius: 8px;
  color: #101006;
  background: var(--yellow);
}

.metric strong {
  display: block;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(12, 20, 32, .12);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
  background: #fff;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(12, 20, 32, .12);
}

th {
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  text-transform: uppercase;
}

.form-panel {
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
  color: #233142;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(12, 20, 32, .22);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  font: 600 15px/1.3 Inter, system-ui, sans-serif;
  background: #fff;
}

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

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.download-link {
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 76px);
  color: var(--muted);
  background: #050708;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

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

.notice {
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(104, 189, 45, .15);
  border: 1px solid rgba(104, 189, 45, .35);
}

@media (max-width: 860px) {
  .site-sidebar {
    position: sticky;
    top: 0;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-main {
    margin-left: 0;
  }

  .brand {
    grid-template-columns: auto 1fr;
    gap: 8px;
    min-width: 150px;
  }

  .brand-mark {
    width: 34px;
    height: 26px;
  }

  .brand span {
    font-size: 12px;
  }

  .main-nav {
    flex-direction: row;
    flex: 1 0 auto;
  }

  .nav-cta {
    margin-top: 0;
  }

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

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-media {
    min-height: 0;
  }

  .cards,
  .metric-grid,
  .downloads {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .nav-cta {
    padding-inline: 12px;
  }

  .main-nav a {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 13px;
  }
}
