/* ============================================================
   9AM Technology — Build it. Automate it. Keep it working.
   Design system
   ============================================================ */

:root {
  /* Palette: ink, teal (brand/hero), paper, white, amber (accent) */
  --ink: #16211f;
  --ink-soft: #3c4744;
  --muted: #6d7b76;
  --line: #e4e1d7;
  --paper: #f5f4ee;
  --white: #ffffff;
  --teal: #3b5b5e;
  --teal-deep: #2c4649;
  --teal-tint: #e9efee;
  --accent: #d98a3d;
  --accent-soft: #f4e2cd;
  --ok: #4f8a6b;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(22, 33, 31, 0.06), 0 1px 3px rgba(22, 33, 31, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(22, 33, 31, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(22, 33, 31, 0.32);

  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

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

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

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 16px;
}

.section {
  padding-block: 92px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--accent);
  color: #241503;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #e59a4d;
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: #24322f;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-on-teal {
  background: var(--white);
  color: var(--teal-deep);
  border-color: var(--white);
}

.btn-on-teal:hover {
  background: var(--paper);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(245, 244, 238, 0.85);
  font-size: 13px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
}

.topbar strong {
  color: var(--accent);
  font-weight: 600;
}

.topbar a {
  color: rgba(245, 244, 238, 0.85);
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: var(--white);
}

.topbar-links {
  display: flex;
  gap: 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 238, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand .mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand .mark svg {
  width: 20px;
  height: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav .btn-primary {
  color: #241503;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-secondary {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.header-secondary:hover {
  color: var(--ink);
}

/* The inline nav CTA only appears inside the mobile dropdown */
.nav-cta-mobile {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

/* ---------- Hero ---------- */
.hero {
  background: var(--teal);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px,
      transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 78%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: 84px;
}

.hero .eyebrow {
  color: var(--accent-soft);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.02;
}

.hero-body {
  margin-top: 22px;
  font-size: 19px;
  color: rgba(245, 244, 238, 0.86);
  max-width: 30ch;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Hero visual: system status module */
.status-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}

.status-card .sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.status-card .sc-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 9px;
}

.pill {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(79, 138, 107, 0.25);
  color: #bfe6cf;
  border: 1px solid rgba(120, 200, 155, 0.4);
}

.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.sc-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sc-row .label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(245, 244, 238, 0.9);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.dot.ok {
  background: #6fd39b;
  box-shadow: 0 0 0 4px rgba(111, 211, 155, 0.18);
}

.dot.warn {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 138, 61, 0.18);
}

.sc-row .val {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.sc-row .val.muted {
  color: rgba(245, 244, 238, 0.6);
}

/* ---------- Category quick links ---------- */
.quicklinks {
  background: var(--teal-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quicklinks .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
  justify-content: center;
  padding-block: 18px;
}

.quicklinks a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 244, 238, 0.72);
  transition: color 0.2s ease;
}

.quicklinks a:hover {
  color: var(--white);
}

/* ---------- Feature strip ---------- */
.features {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-block: 56px;
}

.feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.feature .ficon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--teal-tint);
  color: var(--teal);
}

.feature .ficon svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  font-size: 17px;
}

.feature p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 24ch;
}

/* ---------- Services (Build/Automate/Monitor) ---------- */
.services {
  background: var(--paper);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  justify-content: center;
  gap: 26px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.svc-visual {
  height: 168px;
  position: relative;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.svc-visual .tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.svc-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.09) 1px,
      transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
}

.svc-build .svc-visual {
  background: linear-gradient(135deg, #3b5b5e, #557c7a);
}

.svc-automate .svc-visual {
  background: linear-gradient(135deg, #2c4649, #3b5b5e);
}

.svc-monitor .svc-visual {
  background: linear-gradient(135deg, #b9722e, #d98a3d);
}

.svc-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 42px;
  color: rgba(255, 255, 255, 0.22);
  z-index: 2;
}

.svc-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.svc-body h3 {
  font-size: 22px;
}

.svc-promise {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--teal);
  font-size: 15px;
}

.svc-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.svc-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.svc-link {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: gap 0.2s ease;
}

.svc-link:hover {
  gap: 12px;
}

.svc-link svg {
  width: 17px;
  height: 17px;
}

/* ---------- Credibility ---------- */
.credibility {
  background: var(--ink);
  color: var(--paper);
}

.cred-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.credibility .eyebrow {
  color: var(--accent);
}

.credibility h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
}

.credibility p {
  margin-top: 20px;
  color: rgba(245, 244, 238, 0.8);
  font-size: 17.5px;
}

.cred-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cred-tags span {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(245, 244, 238, 0.9);
}

.cred-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cred-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
}

.cred-stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.cred-stat .desc {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(245, 244, 238, 0.72);
}

/* ---------- Monitoring callout ---------- */
.monitor-callout {
  background: var(--teal-tint);
}

.mc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.monitor-callout .eyebrow {
  color: var(--accent);
}

.monitor-callout h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--teal-deep);
}

.monitor-callout .lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-soft);
}

.mc-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.mc-examples span {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--teal-deep);
  padding: 7px 13px;
  border-radius: 8px;
}

.mc-cta {
  margin-top: 30px;
}

/* monitoring check list visual */
.check-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-md);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 11px;
}

.check-item+.check-item {
  border-top: 1px solid var(--line);
}

.check-item .ci-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
}

.ci-ok {
  background: rgba(79, 138, 107, 0.12);
  color: var(--ok);
}

.ci-warn {
  background: var(--accent-soft);
  color: #a5642a;
}

.check-item .ci-icon svg {
  width: 20px;
  height: 20px;
}

.check-item .ci-text strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  display: block;
}

.check-item .ci-text span {
  font-size: 13.5px;
  color: var(--muted);
}

.check-item .ci-meta {
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- How it works ---------- */
.how {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  position: relative;
}

.step .snum {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.step h3 {
  margin-top: 12px;
  font-size: 22px;
}

.step p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ---------- Outcomes ---------- */
.outcomes {
  background: var(--paper);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  justify-content: center;
  gap: 22px;
}

.outcome {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 28px;
}

.outcome .metric {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.outcome p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Contact / final CTA ---------- */
.contact {
  background: var(--ink);
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.contact .eyebrow {
  color: var(--accent);
}

.contact h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
}

.contact .lead {
  margin-top: 20px;
  color: rgba(245, 244, 238, 0.8);
  font-size: 17.5px;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 244, 238, 0.88);
  font-size: 15.5px;
}

.contact-points svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: none;
}

/* form card */
.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.cform {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.field label {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.field label .req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(59, 91, 94, 0.14);
  background: var(--white);
}

.field .error-message {
  color: #b4482f;
  font-size: 13px;
  min-height: 0;
}

/* visually-hidden honeypot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  padding-block: 16px;
  font-size: 16px;
}

.btn-submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(79, 138, 107, 0.12);
  color: #2f6a4c;
  border: 1px solid rgba(79, 138, 107, 0.35);
}

.form-status.error {
  background: #fbeae5;
  color: #b4482f;
  border: 1px solid #e6c3b8;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(245, 244, 238, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 60px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p {
  margin-top: 16px;
  max-width: 30ch;
  color: rgba(245, 244, 238, 0.62);
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  color: rgba(245, 244, 238, 0.7);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(245, 244, 238, 0.55);
  font-size: 13.5px;
}

/* ---------- Sub-page hero (monitoring) ---------- */
.page-hero {
  background: var(--teal);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px,
      transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 80% 20%, #000, transparent 75%);
}

.page-hero .container {
  position: relative;
  padding-block: 82px;
  max-width: 780px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
}

.page-hero .lead {
  margin-top: 22px;
  font-size: 19px;
  color: rgba(245, 244, 238, 0.86);
  max-width: 52ch;
}

.page-hero .hero-actions {
  margin-top: 32px;
}

/* pricing tiers */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
  justify-content: center;
  gap: 20px;
}

.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.tier.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.tier .tier-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
}

.tier .tier-name .badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #241503;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

.tier .tier-desc {
  font-size: 14.5px;
  color: var(--muted);
  min-height: 44px;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier ul li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.tier ul li svg {
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  color: var(--ok);
}

.tier-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tier-price-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tier-price-amount {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.tier-price-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

/* Package pricing callout */
.package-price {
  margin-top: 48px;
  text-align: center;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 560px;
  margin-inline: auto;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.price-main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 48px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.price-unit {
  font-size: 20px;
  font-weight: 500;
  color: var(--muted);
}

.price-divider {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--muted);
  font-weight: 400;
}

.price-setup {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink-soft);
}

.price-includes {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  max-width: 44ch;
  margin-inline: auto;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 60px;
  }

  .hero-body {
    max-width: 46ch;
  }

  .cred-grid,
  .mc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .svc-grid,
  .steps,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {

  .main-nav,
  .header-cta .btn,
  .header-secondary {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .main-nav.open .nav-cta-mobile {
    display: inline-flex;
  }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 22px;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open a {
    padding: 10px 0;
    font-size: 17px;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open .btn-primary {
    display: inline-flex;
    margin-top: 10px;
    border-bottom: none;
  }

  .topbar .container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 6px 16px;
  }

  .topbar-links {
    gap: 14px;
  }

  .section {
    padding-block: 64px;
  }

  .section-head h2 {
    font-size: clamp(24px, 5vw, 32px);
  }

  .page-hero .container {
    padding-block: 52px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-hero .lead {
    font-size: 17px;
  }

  .page-hero .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .field-row {
    grid-template-columns: 1fr;
  }

  .cred-stats {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px;
  }

  .check-item {
    flex-wrap: wrap;
    gap: 10px;
  }

  .check-item .ci-meta {
    margin-left: 0;
    width: 100%;
    padding-left: 54px;
  }

  .cred-tags {
    gap: 8px;
  }

  .cred-tags span {
    font-size: 12px;
    padding: 6px 11px;
  }

  .mc-examples {
    gap: 7px;
  }

  .mc-examples span {
    font-size: 12px;
    padding: 6px 11px;
  }
}

@media (max-width: 480px) {
  .topbar {
    font-size: 12px;
  }

  .features .grid {
    grid-template-columns: 1fr;
  }

  .tiers {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .page-hero .container {
    padding-block: 42px;
  }

  .page-hero h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .page-hero .lead {
    font-size: 16px;
  }

  .section {
    padding-block: 52px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .step {
    padding: 22px;
  }

  .outcome {
    padding: 22px;
  }

  .tier {
    padding: 22px 18px;
  }

  .form-card {
    padding: 18px;
  }

  .contact-points li {
    font-size: 14.5px;
  }
}