@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-tight-700.woff2") format("woff2");
}

:root {
  --bg: #06100C;
  --bg-elevated: rgba(13, 27, 21, 0.72);
  --bg-elevated-hover: rgba(18, 36, 28, 0.85);
  --text: #F0F4F2;
  --text-muted: #9DB2A8;
  --accent: #3EE8A5;
  --accent-dim: rgba(62, 232, 165, 0.14);
  --accent-border: rgba(62, 232, 165, 0.35);
  --border: rgba(240, 244, 242, 0.11);
  --border-strong: rgba(240, 244, 242, 0.2);

  --font-heading: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(240, 244, 242, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240, 244, 242, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

p {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.88;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  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 {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.border-top {
  border-top: 1px solid var(--border);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 16, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.79em;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name {
  line-height: 1;
}

.brand-mark {
  width: 1.325em;
  height: 1.325em;
  flex-shrink: 0;
  display: block;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 500;
}

.nav-list a:not(.btn):hover {
  color: var(--text);
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  text-align: center;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #5AF0B5;
  opacity: 1;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(240, 244, 242, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(240, 244, 242, 0.09);
  border-color: rgba(240, 244, 242, 0.35);
  opacity: 1;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(88px, 13vw, 152px) 0 clamp(80px, 11vw, 136px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 130vw);
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(62, 232, 165, 0.16) 0%, rgba(62, 232, 165, 0.03) 48%, transparent 72%);
  animation: glowDrift 14s ease-in-out infinite alternate;
}

.topo-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(62, 232, 165, 0.13);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 35%, transparent 100%);
}

.topo-lines {
  animation: topoFloat 18s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.method-pill {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Sections */
.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 600;
}

.section-lead {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

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

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated-hover);
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* Pillars */
.card-pillar {
  border-top: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.pillar-lead {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 1.05rem !important;
  line-height: 1.5;
}

.pillar-body {
  font-size: 0.94rem !important;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Coverage */
.coverage-text {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Form */
.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.form-copy {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.form-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.optional {
  color: var(--text-muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(6, 16, 12, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(157, 178, 168, 0.75);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62, 232, 165, 0.16);
}

.field textarea {
  resize: vertical;
  min-height: 104px;
}

.form-actions {
  margin-top: 4px;
}

/* Footer */
.site-footer {
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.79em;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-sep {
  opacity: 0.4;
}

/* Scroll Reveal */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes glowDrift {
  from {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  to {
    transform: translateX(-50%) translateY(18px) scale(1.06);
  }
}

@keyframes topoFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-14px);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .js-enabled .nav-toggle {
    display: inline-flex;
  }

  html:not(.js-enabled) .nav-list li:not(:last-child) {
    display: none;
  }

  html:not(.js-enabled) .nav-list .btn {
    width: auto;
  }

  .js-enabled .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(6, 16, 12, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }

  .js-enabled .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-list .btn {
    width: 100%;
  }

  .steps-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Honeypot, small print, footer contact */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.small {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-contact {
  padding-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
