:root {
  --ink: #101820;
  --soft-ink: #3c4a53;
  --muted: #66757f;
  --line: #d9e2e4;
  --panel: #ffffff;
  --band: #eef4f2;
  --dark: #071012;
  --dark-2: #0d191c;
  --green: #26c485;
  --green-dark: #087354;
  --blue: #3aa7ff;
  --amber: #e1a33f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8faf9;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(16px, 4vw, 48px);
  color: #f5fbf8;
  background: rgba(7, 16, 18, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 46px;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: rgba(245, 251, 248, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links a:hover,
.nav-links a.active,
.nav-item.active > .nav-trigger {
  color: #ffffff;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.74;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 180px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  color: #edf7f3;
  background: rgba(7, 16, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}

.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: rgba(237, 247, 243, 0.78);
  border-radius: 6px;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff;
  background: rgba(38, 196, 133, 0.16);
}

.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-action,
.primary-action,
.secondary-action,
.intake-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-action,
.secondary-action {
  color: #f7fbf9;
  border-color: rgba(255, 255, 255, 0.24);
}

.primary-action,
.intake-form button {
  color: #03170f;
  background: var(--green);
}

.primary-action:hover,
.intake-form button:hover {
  background: #35dc9a;
}

.dark-text {
  color: #03170f;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f8fbfa;
  background: var(--dark);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 16, 18, 0.98) 0%, rgba(7, 16, 18, 0.86) 38%, rgba(7, 16, 18, 0.12) 78%),
    linear-gradient(0deg, rgba(7, 16, 18, 0.9) 0%, rgba(7, 16, 18, 0.08) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 142px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1;
}

.hero-copy {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(248, 251, 250, 0.82);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
}

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

.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.signal-band {
  color: #edf7f3;
  background: #0b171a;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
}

.signal-grid div {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 24px;
  background: #0b171a;
}

.signal-grid strong {
  color: #ffffff;
  font-size: 17px;
}

.signal-grid span {
  color: rgba(237, 247, 243, 0.68);
  line-height: 1.5;
}

.section {
  padding: 90px 0;
}

.muted {
  background: var(--band);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.section-heading h2,
.split h2,
.intake-layout h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.split p,
.intake-layout p,
.page-hero p,
.content-section p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 17px;
  line-height: 1.7;
}

.cards {
  display: grid;
  gap: 16px;
}

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

.card,
.intake-form,
.routing-panel,
.material-list,
.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card {
  min-height: 250px;
  padding: 26px;
}

.featured-card {
  border-color: rgba(38, 196, 133, 0.58);
  box-shadow: 0 18px 50px rgba(7, 16, 18, 0.08);
}

.card-kicker {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.card h3,
.content-panel h3 {
  margin: 14px 0 10px;
  font-size: 23px;
  line-height: 1.2;
}

.card p,
.content-panel p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 15px;
  line-height: 1.65;
}

.card a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--green-dark);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 22px;
}

.material-list span,
.status-list span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--soft-ink);
  background: #f4f8f7;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.routing-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.routing-panel div {
  padding: 24px;
  background: #0d191c;
}

.routing-panel span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.routing-panel strong {
  display: block;
  margin-top: 8px;
  color: #f7fbf9;
  font-size: 18px;
  line-height: 1.4;
}

.note {
  margin-top: 20px !important;
  padding-left: 18px;
  color: var(--soft-ink) !important;
  border-left: 3px solid var(--green);
}

.intelligence-strip {
  color: #edf7f3;
  background: var(--dark-2);
}

.intelligence-strip .split p {
  color: rgba(237, 247, 243, 0.72);
}

.form-section {
  background: #f8faf9;
}

.intake-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.status-list,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.intake-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

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

.intake-form label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.intake-form textarea {
  padding-top: 12px;
  resize: vertical;
}

.intake-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-note.success {
  color: var(--green-dark);
  font-weight: 800;
}

.form-note.error {
  color: #a53d2b;
  font-weight: 800;
}

.form-consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 600 !important;
  line-height: 1.5;
}

.form-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-consent a,
.document-delivery a,
.legal-copy a,
.contact-card a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.document-delivery {
  margin: 0;
  padding: 14px 16px;
  color: var(--soft-ink);
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.55;
}

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

.intake-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.page-hero {
  padding: 140px 0 70px;
  color: #edf7f3;
  background:
    linear-gradient(120deg, rgba(7, 16, 18, 0.98), rgba(7, 16, 18, 0.84)),
    url("assets/voltcycle-materials-hero.jpg") center / cover;
}

.page-hero p {
  max-width: 820px;
  margin-top: 22px;
  color: rgba(237, 247, 243, 0.76);
}

.content-section {
  padding: 76px 0;
}

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

.content-panel {
  padding: 28px;
}

.content-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.content-panel li {
  position: relative;
  padding-left: 20px;
  color: var(--soft-ink);
  line-height: 1.55;
}

.content-panel li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.legal-layout {
  display: grid;
  gap: 18px;
  max-width: 900px;
}

.legal-section,
.contact-card {
  padding: clamp(24px, 4vw, 38px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(13, 25, 28, 0.06);
}

.legal-section h2,
.contact-card h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-section h3 {
  margin: 28px 0 10px;
}

.legal-section p,
.legal-section li,
.contact-card p {
  color: var(--soft-ink);
  line-height: 1.72;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.legal-meta {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 48px);
  color: rgba(237, 247, 243, 0.7);
  background: #071012;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.footer-brand {
  display: grid;
  gap: 5px;
}

.footer-brand strong {
  color: #f5fbf8;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    order: 4;
    flex: 1 0 100%;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links > a,
  .nav-trigger,
  .nav-menu a {
    padding: 12px 4px;
  }

  .nav-item {
    display: grid;
  }

  .nav-trigger::after {
    display: none;
  }

  .nav-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 4px 18px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .section-heading,
  .split,
  .reverse,
  .intake-layout {
    grid-template-columns: 1fr;
  }

  .three,
  .signal-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand {
    height: 40px;
  }

  .brand-logo {
    height: 31px;
    max-width: 170px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding: 124px 0 52px;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 66px 0;
  }

  .material-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .intake-form button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
