:root {
  --bg: #101418;
  --surface: #14191F;
  --surface-2: #1C2530;
  --line: #26313E;
  --text: #E8EBEE;
  --muted: #A6AFB8;
  --quiet: #6E7883;
  --lime: #B7F04C;
  --cyan: #2FE0C0;
  --blue: #7FD4FF;
  --violet: #C79BFF;
  --amber: #FFB86B;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --radius-lg: 14px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
}

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

a:hover {
  color: var(--lime);
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(47, 224, 192, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  background: var(--lime);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--surface-2);
  background: rgba(16, 20, 24, 0.92);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.16s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.secondary-nav {
  position: sticky;
  top: 81px;
  z-index: 90;
  background: rgba(20, 25, 31, 0.95);
  border-bottom: 1px solid var(--surface-2);
  backdrop-filter: blur(10px);
}

.secondary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.secondary-title {
  flex: 0 0 auto;
  padding: 14px 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 750;
  font-size: 14px;
  white-space: nowrap;
}

.secondary-links {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 14px;
  font-weight: 600;
}

.secondary-links::-webkit-scrollbar {
  display: none;
}

.secondary-links a {
  flex: 0 0 auto;
  color: var(--muted);
  padding: 14px 12px;
  border-bottom: 2px solid transparent;
}

.secondary-links a:hover {
  color: var(--text);
  border-bottom-color: var(--lime);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--bg);
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn:hover {
  background: var(--cyan);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  border-color: #3A4756;
  color: var(--text);
}

.btn.secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
}

.btn.link {
  min-height: 0;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--cyan);
}

.btn.link:hover {
  color: var(--lime);
  background: transparent;
}

main {
  overflow: clip;
}

.section {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 56px);
}

.section.tight {
  padding-block: clamp(42px, 6vw, 72px);
}

.section.band {
  background: var(--surface);
  border-top: 1px solid var(--surface-2);
  border-bottom: 1px solid var(--surface-2);
}

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

.narrow {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 10px;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 44px);
  font-weight: 780;
}

h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 750;
}

p {
  margin: 0;
}

.lead {
  max-width: 66ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.accent-lime {
  color: var(--lime);
}

.accent-cyan {
  color: var(--cyan);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero.simple {
  min-height: auto;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 20, 24, 0.97), rgba(16, 20, 24, 0.86) 42%, rgba(16, 20, 24, 0.36));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 32%;
  background: linear-gradient(0deg, var(--bg), rgba(16, 20, 24, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 56px);
}

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

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 14px;
}

.hero-metrics span {
  border-left: 2px solid var(--lime);
  padding-left: 12px;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.split.start {
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.card:hover {
  border-color: rgba(47, 224, 192, 0.76);
  transform: translateY(-2px);
}

.card.dark {
  background: var(--bg);
}

.card .meta {
  color: var(--quiet);
  font-size: 14px;
  margin-bottom: 6px;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.card img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.soft-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 58% 42% 47% 53% / 48% 55% 45% 52%;
  border: 1px solid rgba(232, 235, 238, 0.14);
}

.framed-image {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 8px;
  box-shadow: var(--shadow);
}

.framed-image img {
  width: 100%;
  height: auto;
}

.steps {
  display: grid;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--surface-2);
}

.step:last-child {
  border-bottom: 1px solid var(--surface-2);
}

.step-num {
  color: var(--lime);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.downloads {
  margin-top: 36px;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  border-top: 3px solid var(--lime);
}

.download-card:nth-child(2n) {
  border-top-color: var(--cyan);
}

.download-card:nth-child(3n) {
  border-top-color: var(--blue);
}

.download-card span {
  margin-top: auto;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

details {
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  list-style: none;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 750;
  font-size: 18px;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin-top: 12px;
  color: var(--muted);
}

.stat {
  border-left: 3px solid var(--lime);
  padding-left: 18px;
}

.stat strong {
  display: block;
  color: var(--lime);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1;
}

.stat:nth-child(2) {
  border-left-color: var(--cyan);
}

.stat:nth-child(2) strong {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
}

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

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

.field label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  padding: 13px 15px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #f87171;
}

.field textarea {
  resize: vertical;
}

.field-error {
  min-height: 18px;
  color: #f87171;
  font-size: 13px;
  line-height: 1.35;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.check input {
  margin-top: 5px;
  accent-color: var(--lime);
}

.form-alert {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-alert.is-visible {
  display: block;
}

.form-alert.is-success {
  border-color: rgba(183, 240, 76, 0.7);
  background: rgba(183, 240, 76, 0.1);
  color: var(--text);
}

.form-alert.is-sending {
  border-color: rgba(47, 224, 192, 0.65);
  background: rgba(47, 224, 192, 0.1);
  color: var(--text);
}

.form-alert.is-error {
  border-color: rgba(248, 113, 113, 0.75);
  background: rgba(248, 113, 113, 0.1);
  color: var(--text);
}

.contact-form.is-sending {
  opacity: 0.82;
}

.contact-form.is-sending button[type="submit"] {
  cursor: wait;
}

.site-footer {
  border-top: 1px solid var(--surface-2);
  color: var(--quiet);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 56px);
  font-size: 14px;
}

.footer-inner img {
  height: 30px;
  width: auto;
}

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

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

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(16, 20, 24, 0.78);
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  width: min(100%, 760px);
  max-height: min(720px, 90vh);
  overflow: auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.modal-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.modal-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

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

.legal-content {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-content h2 {
  margin-top: 14px;
  font-size: 22px;
}

.legal-content p {
  margin: 0;
}

.legal-data {
  display: grid;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 10px;
  padding: 22px 24px;
  font-size: 15px;
}

.legal-data strong {
  color: var(--text);
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 14px;
    font-size: 14px;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 81px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 22px;
    background: rgba(16, 20, 24, 0.98);
    border-bottom: 1px solid var(--surface-2);
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
  }

  .desktop-cta {
    display: none;
  }

  .secondary-nav {
    top: 71px;
  }

  .secondary-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding-bottom: 8px;
  }

  .secondary-title {
    padding: 12px 0 2px;
  }

  .secondary-links {
    width: 100%;
  }

  .split,
  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background: rgba(16, 20, 24, 0.84);
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 14px 20px;
  }

  .brand img {
    height: 38px;
  }

  .main-nav {
    top: 67px;
  }

  .secondary-nav {
    top: 67px;
  }

  .hero-content {
    padding-block: 64px;
  }

  .hero-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .step {
    grid-template-columns: 44px 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
