:root {
  --ink: #10251f;
  --muted: #52615c;
  --paper: #f7f1e6;
  --paper-strong: #fffaf0;
  --line: rgba(16, 37, 31, 0.16);
  --green: #05864f;
  --green-dark: #07563b;
  --amber: #d79729;
  --red: #b74736;
  --blue: #286f9f;
  --header: rgba(255, 250, 240, 0.86);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 37, 31, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(16, 37, 31, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  font-family: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

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

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

main,
section,
.hero-content,
.hero-copy,
.hero-slider,
.section-heading,
.contact-copy,
.contact-form {
  min-width: 0;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  pointer-events: none;
}

.nav-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, 100%);
  min-height: 58px;
  margin: 0 auto;
  padding: 0.55rem 0.6rem 0.55rem 0.75rem;
  border: 1px solid rgba(16, 37, 31, 0.14);
  background: var(--header);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(16, 37, 31, 0.08);
}

.brand-lockup,
.site-menu,
.nav-link,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--green-dark);
  color: #f7f1e6;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.site-menu {
  gap: 0.3rem;
}

.nav-link,
.nav-cta {
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(16, 37, 31, 0.72);
}

.nav-link.active,
.nav-link:hover {
  background: rgba(5, 134, 79, 0.1);
  color: var(--green-dark);
}

.nav-cta {
  margin-left: 0.35rem;
  background: var(--ink);
  color: #fffaf0;
}

.mobile-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  padding: 0.65rem;
}

.mobile-menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  max-width: 26px;
  height: 2px;
  margin: 0;
  background: white;
}

.section-screen {
  min-height: 100vh;
  scroll-margin-top: 88px;
}

.hero-screen {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: 94vh;
  padding: clamp(6.5rem, 12vh, 9rem) clamp(1rem, 4vw, 3rem) 2.75rem;
  color: #fffaf0;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 28, 21, 0.86) 0%, rgba(6, 28, 21, 0.62) 42%, rgba(6, 28, 21, 0.16) 100%),
    linear-gradient(0deg, rgba(6, 28, 21, 0.82) 0%, rgba(6, 28, 21, 0.16) 44%, rgba(6, 28, 21, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.58fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
  padding-bottom: clamp(1rem, 2vw, 2rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-screen .eyebrow {
  color: #ffe0a3;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
}

.hero-lede {
  max-width: 670px;
  min-height: 6.25rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions,
.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 1.15rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #fffaf0;
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 250, 240, 0.52);
  color: #fffaf0;
}

.hero-slider {
  width: min(100%, 430px);
  justify-self: end;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 8px;
  padding: 1.15rem;
  background: rgba(8, 32, 25, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.slide-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffe0a3;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #1bd77d;
  box-shadow: 0 0 0 7px rgba(27, 215, 125, 0.16);
}

.hero-slider h2 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-slider p {
  min-height: 5.4rem;
  margin: 0;
  color: rgba(255, 250, 240, 0.76);
  line-height: 1.55;
}

.slide-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0;
}

.slide-metric-grid div {
  min-height: 84px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 6px;
  padding: 0.75rem;
  background: rgba(255, 250, 240, 0.08);
}

.slide-metric-grid span,
.slide-metric-grid small {
  display: block;
}

.slide-metric-grid span {
  font-size: 1.06rem;
  font-weight: 800;
}

.slide-metric-grid small {
  margin-top: 0.3rem;
  color: rgba(255, 250, 240, 0.62);
}

.slider-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.slide-control {
  min-height: 54px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.08);
  color: rgba(255, 250, 240, 0.76);
  padding: 0.55rem 0.65rem;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.slide-control span {
  display: block;
  color: #ffe0a3;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
}

.slide-control.active {
  background: #fffaf0;
  color: var(--ink);
}

.slide-control.active span {
  color: var(--red);
}

.hero-bottom-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: min(1180px, 100%);
  margin: 1.75rem auto 0;
}

.hero-bottom-strip span {
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 250, 240, 0.1);
  color: rgba(255, 250, 240, 0.86);
  font-size: 0.86rem;
  font-weight: 700;
}

.features-screen,
.pricing-screen,
.contact-screen {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5.5rem, 10vw, 8rem) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.feature-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.feature-lane {
  min-height: 430px;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-right: 1px solid var(--line);
}

.feature-lane:last-child {
  border-right: 0;
}

.lane-number {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.feature-lane h3,
.price-card h3,
.addon-panel h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.feature-lane p,
.plan-fit {
  margin: 1rem 0;
  color: var(--muted);
  line-height: 1.58;
}

.feature-lane ul,
.price-card ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.feature-lane li,
.price-card li {
  position: relative;
  padding-left: 1.1rem;
  color: #243a33;
  font-weight: 600;
}

.feature-lane li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.operations-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.operations-strip div {
  display: grid;
  gap: 0.35rem;
  min-height: 134px;
  padding: 1.2rem;
  background: #eaf5eb;
}

.operations-strip strong {
  color: var(--green-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.operations-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  background: var(--paper-strong);
}

.featured-plan {
  background: #0d2e24;
  color: #fffaf0;
  transform: translateY(-0.75rem);
  box-shadow: 0 26px 70px rgba(16, 37, 31, 0.18);
}

.featured-plan .plan-fit,
.featured-plan li {
  color: rgba(255, 250, 240, 0.78);
}

.featured-plan li::before {
  background: #ffe0a3;
}

.plan-role {
  width: fit-content;
  margin: 0 0 1.1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.38rem 0.65rem;
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-plan .plan-role {
  color: #ffe0a3;
}

.price {
  margin: 1.15rem 0 0.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
}

.price span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.featured-plan .price span {
  color: rgba(255, 250, 240, 0.62);
}

.addon-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.2fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: #f2e7d2;
}

.addon-panel .eyebrow {
  margin-bottom: 0.5rem;
}

.addon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.addon-list span,
.pilot-checklist span {
  border: 1px solid rgba(16, 37, 31, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 250, 240, 0.72);
  color: var(--ink);
  font-weight: 800;
}

.contact-screen {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.contact-copy {
  max-width: 650px;
}

.pilot-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.7rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: var(--paper-strong);
  box-shadow: 0 26px 70px rgba(16, 37, 31, 0.11);
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 37, 31, 0.18);
  border-radius: 6px;
  background: #fffef9;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-submit {
  background: var(--green-dark);
  color: #fffaf0;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.form-status.error {
  color: #a13232;
}

.form-status.success {
  color: #1d6b41;
}

.legal-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: -3.5rem auto 2.5rem;
  color: rgba(16, 37, 31, 0.56);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.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;
}

@media (max-width: 980px) {
  .hero-content,
  .contact-screen,
  .addon-panel {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    justify-self: start;
    width: min(100%, 620px);
  }

  .feature-board,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-lane:nth-child(2) {
    border-right: 0;
  }

  .feature-lane:nth-child(1),
  .feature-lane:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .operations-strip {
    grid-template-columns: 1fr;
  }

  .featured-plan {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.6rem;
  }

  .nav-shell {
    position: relative;
  }

  .brand-lockup span:last-child {
    max-width: 145px;
    white-space: normal;
    line-height: 1.05;
  }

  .brand-lockup {
    white-space: normal;
  }

  .brand-mark,
  .mobile-menu-button {
    flex: 0 0 auto;
  }

  .mobile-menu-button {
    display: inline-flex;
    z-index: 130;
  }

  .site-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    border: 1px solid rgba(16, 37, 31, 0.14);
    background: var(--paper-strong);
    box-shadow: 0 18px 45px rgba(16, 37, 31, 0.12);
  }

  .site-menu.open {
    display: flex;
  }

  .nav-link,
  .nav-cta {
    justify-content: flex-start;
    min-height: 44px;
    margin-left: 0;
  }

  .hero-screen {
    min-height: 94vh;
    padding: 6rem 1rem 1.5rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 28, 21, 0.84) 0%, rgba(6, 28, 21, 0.7) 45%, rgba(6, 28, 21, 0.9) 100%),
      rgba(6, 28, 21, 0.25);
  }

  .hero-content {
    width: calc(100vw - 2rem);
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 12.5vw, 3.65rem);
    line-height: 0.94;
    overflow-wrap: break-word;
  }

  .hero-screen .eyebrow {
    max-width: 27rem;
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .hero-lede {
    min-height: auto;
    font-size: 1.05rem;
    overflow-wrap: break-word;
  }

  .slider-controls,
  .slide-metric-grid,
  .feature-board,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    max-width: 100%;
    overflow: hidden;
  }

  .feature-lane {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-lane:last-child {
    border-bottom: 0;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .features-screen,
  .pricing-screen,
  .contact-screen {
    width: min(100% - 1rem, 1180px);
    padding: 5.25rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
