:root {
  --ink: #101310;
  --ink-2: #1d211d;
  --paper: #f4f0e8;
  --paper-2: #e8e2d7;
  --muted: #756f63;
  --line: rgba(16, 19, 16, 0.14);
  --line-dark: rgba(244, 240, 232, 0.16);
  --teal: #78c6b6;
  --amber: #d8a64a;
  --white: #fffaf1;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(16, 19, 16, 0.58);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.site-header.scrolled,
.page-main + .site-footer ~ .site-header {
  background: rgba(16, 19, 16, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  max-width: 178px;
  font-weight: 750;
  letter-spacing: 0;
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 160px !important;
  max-width: 160px !important;
  height: 46px !important;
  max-height: 46px !important;
  object-fit: contain;
  padding: 6px 10px;
  background: var(--white);
  border: 1px solid rgba(255, 250, 241, 0.52);
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: rgba(255, 250, 241, 0.78);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255, 250, 241, 0.08);
}

.site-nav .nav-cta {
  color: var(--ink);
  background: var(--white);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  color: var(--ink);
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 19, 16, 0.92) 0%, rgba(16, 19, 16, 0.72) 42%, rgba(16, 19, 16, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 19, 16, 0.7) 0%, rgba(16, 19, 16, 0) 44%);
}

.hero-content {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 150px clamp(18px, 4vw, 30px) 88px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 770px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 102px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.5vw, 58px);
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.8);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
}

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

.button.ghost {
  color: var(--white);
  border-color: var(--line-dark);
  background: rgba(255, 250, 241, 0.08);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.signal-strip div {
  min-height: 134px;
  padding: 28px clamp(18px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.signal-strip span,
.text-stack,
.feature-card p,
.service-grid p,
.detail-grid p,
.spec-list span,
.product-stack p,
.timeline p,
.privacy-grid p,
.contact-aside p,
.page-hero p {
  color: var(--muted);
}

.credential-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  color: var(--white);
  background: var(--line);
}

.credential-strip span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px clamp(18px, 3vw, 34px);
  background: var(--ink-2);
  color: rgba(255, 250, 241, 0.8);
  font-size: 14px;
  font-weight: 720;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(66px, 9vw, 116px) clamp(18px, 4vw, 30px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: start;
}

.text-stack {
  font-size: 19px;
}

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

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

.feature-card,
.service-grid article,
.detail-grid article,
.privacy-grid article,
.contact-aside,
.contact-form,
.jotform-card {
  min-height: 250px;
  padding: 26px;
  background: rgba(255, 250, 241, 0.54);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
}

.mini-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--teal);
  border-radius: 99px;
  transform: translateY(-50%);
}

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

.detail-grid article:first-child {
  background: var(--ink);
  color: var(--white);
}

.detail-grid article:first-child h2 {
  font-size: clamp(28px, 3.5vw, 44px);
}

.spec-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  width: min(calc(100% - 36px), var(--max));
  margin-bottom: 80px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.spec-panel h2 {
  font-size: clamp(30px, 4vw, 50px);
}

.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.spec-list p {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.spec-list strong {
  color: var(--white);
}

.spec-list span {
  color: rgba(255, 250, 241, 0.7);
}

.card-index,
.product-stack span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
  margin-bottom: 58px;
  color: var(--ink);
  background: var(--paper-2);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 780;
}

.dark-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 42px;
  padding-left: max(clamp(18px, 4vw, 56px), calc((100vw - var(--max)) / 2 + 30px));
  padding-right: max(clamp(18px, 4vw, 56px), calc((100vw - var(--max)) / 2 + 30px));
  color: var(--white);
  background: var(--ink);
}

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

.band-copy p {
  color: rgba(255, 250, 241, 0.72);
  font-size: 19px;
}

.metric-row {
  display: grid;
  gap: 12px;
}

.metric-row div {
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.05);
}

.metric-row strong {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.metric-row span {
  color: rgba(255, 250, 241, 0.68);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.rows a {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.rows span {
  color: var(--muted);
}

.rows strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.page-main {
  padding-top: 74px;
}

.page-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(88px, 12vw, 150px) clamp(18px, 4vw, 30px) clamp(50px, 8vw, 86px);
}

.page-hero.compact {
  max-width: 980px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(44px, 7vw, 86px);
}

.page-hero p {
  max-width: 720px;
  font-size: 19px;
}

.muted-panel {
  width: min(calc(100% - 36px), var(--max));
  margin-bottom: 80px;
  background: var(--paper-2);
  border-radius: var(--radius);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.product-stack {
  display: grid;
  gap: 14px;
  padding-top: 20px;
}

.product-stack article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.product-stack span,
.timeline span {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 0;
  padding-top: 20px;
}

.timeline div {
  display: grid;
  grid-template-columns: 72px minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 16px;
  padding-top: 20px;
}

.jotform-card {
  min-height: 840px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
}

.jotform-card iframe {
  display: block;
  width: 100%;
  min-height: 840px;
  border: 0;
}

.contact-form {
  min-height: auto;
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 740;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  resize: vertical;
  padding: 13px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(120, 198, 182, 0.24);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-aside {
  min-height: auto;
  background: var(--ink);
  color: var(--white);
}

.contact-aside p {
  color: rgba(255, 250, 241, 0.7);
}

.aside-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}

.aside-line span {
  color: rgba(255, 250, 241, 0.66);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 44px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.site-footer p {
  margin: 12px 0 0;
  color: rgba(255, 250, 241, 0.66);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.site-footer nav a {
  color: rgba(255, 250, 241, 0.72);
  font-weight: 650;
}

@media (max-width: 820px) {
  .site-header {
    height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(16, 19, 16, 0.96);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
  }

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

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 58px;
  }

  .signal-strip,
  .credential-strip,
  .split,
  .feature-grid,
  .service-grid,
  .detail-grid,
  .spec-panel,
  .privacy-grid,
  .dark-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .feature-card,
  .service-grid article,
  .detail-grid article,
  .privacy-grid article {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 34px;
  }

  .dark-band {
    padding-left: clamp(18px, 4vw, 30px);
    padding-right: clamp(18px, 4vw, 30px);
  }

  .rows a,
  .product-stack article,
  .timeline div,
  .spec-list p {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-main {
    padding-top: 66px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 19, 16, 0.9), rgba(16, 19, 16, 0.62)),
      linear-gradient(0deg, rgba(16, 19, 16, 0.82), rgba(16, 19, 16, 0.2));
  }

  .hero-image {
    object-position: 62% center;
  }

  .button {
    width: 100%;
  }

  .page-hero h1,
  .hero-content h1 {
    overflow-wrap: break-word;
  }
}
