:root {
  --ink: #13201f;
  --muted: #5c6d6b;
  --paper: #fbfcf8;
  --white: #ffffff;
  --line: #dbe7e2;
  --soft: #edf8f3;
  --teal: #0b6b68;
  --teal-dark: #064e4b;
  --mint: #bdebdc;
  --gold: #f4b94d;
  --coral: #df6a4d;
  --blue: #2f6fa3;
  --shadow: 0 24px 80px rgba(13, 46, 44, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(244, 185, 77, 0.2), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(189, 235, 220, 0.46), transparent 32%),
    linear-gradient(180deg, #fbfcf8 0%, #f5fbf7 48%, #eef7f2 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open { overflow: hidden; }

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

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

button,
input,
textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.visually-hidden,
.skip-link {
  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:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 252, 248, 0.9);
  border-bottom: 1px solid rgba(219, 231, 226, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 172px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover { color: var(--teal-dark); }

.nav-toggle { display: none; }

.button,
.nav-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.button.primary,
.nav-cta {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 16px 34px rgba(11, 107, 104, 0.25);
}

.button.primary:hover,
.button.primary:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
}

.button.ghost,
.login-link {
  color: var(--teal-dark);
  background: transparent;
  border-color: rgba(11, 107, 104, 0.22);
}

.login-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(11, 107, 104, 0.22);
  border-radius: 999px;
}

.button.ghost:hover,
.button.ghost:focus-visible,
.login-link:hover,
.login-link:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible,
.nav-links .login-link:hover,
.nav-links .login-link:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  opacity: 1;
}

.hero {
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 82px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 700px;
  color: #405452;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-row li {
  padding: 10px 13px;
  color: var(--teal-dark);
  background: rgba(237, 248, 243, 0.92);
  border: 1px solid #d1ebe2;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  align-items: end;
}

.hero-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.dashboard-card {
  position: absolute;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 231, 226, 0.86);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 44px rgba(13, 46, 44, 0.14);
}

.dashboard-card span,
.dashboard-card small { color: var(--muted); font-weight: 700; }

.dashboard-card strong {
  display: block;
  margin: 4px 0;
  color: var(--teal-dark);
  font-size: 2.2rem;
}

.dashboard-card-main { left: -28px; bottom: 58px; width: 230px; }
.dashboard-card-secondary { right: -18px; top: 78px; width: 190px; }

.proof-strip,
.metric-band {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.proof-strip div,
.metric-band div {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 14px 36px rgba(13, 46, 44, 0.08);
}

.proof-strip strong,
.metric-band strong { display: block; margin-bottom: 6px; }
.proof-strip span,
.metric-band span { color: var(--muted); }

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p,
.timeline-copy p,
.contact-copy p { color: var(--muted); font-size: 1.06rem; }

.pain-grid,
.feature-grid,
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid { grid-template-columns: repeat(4, 1fr); }

.pain-grid article,
.feature-card,
.roles-grid article,
.faq-list details {
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 14px 36px rgba(13, 46, 44, 0.07);
}

.pain-grid span,
.feature-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 15px;
  font-weight: 900;
}

.pain-grid p,
.feature-card p,
.roles-grid p,
.faq-list p { color: var(--muted); margin-bottom: 0; }

.timeline-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: start;
  gap: 56px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  padding: 0 0 30px 62px;
  border-left: 2px solid #c8e6da;
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -22px;
  top: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline span { display: block; margin-bottom: 6px; font-weight: 900; }
.timeline p { color: var(--muted); margin-bottom: 0; }

.metric-band {
  grid-template-columns: repeat(4, 1fr);
  padding-top: 96px;
}

.metric-band div {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: 0;
}

.metric-band span {
  display: block;
  color: var(--mint);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 3rem;
  font-weight: 750;
  line-height: 1;
}

.metric-band strong { color: var(--white); }

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p { margin-top: 14px; }

.contact-section {
  width: min(1160px, calc(100% - 40px));
  margin: 104px auto 0;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 185, 77, 0.24), transparent 28%),
    linear-gradient(135deg, #093f3e, #0b6b68);
  border-radius: 36px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-copy .eyebrow { color: var(--gold); }
.contact-copy p { color: #d8eeea; }
.contact-note { padding: 18px; background: rgba(255, 255, 255, 0.1); border-radius: 20px; }

.contact-form {
  padding: 24px;
  background: var(--white);
  border-radius: 28px;
  color: var(--ink);
}

.field-group { margin-bottom: 16px; }
.field-group label { display: block; margin-bottom: 8px; font-weight: 900; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field-group input,
.field-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f8fbf8;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.field-group textarea { resize: vertical; }
.form-button { width: 100%; border: 0; }
.form-note { min-height: 26px; margin: 14px 0 0; color: var(--teal-dark); font-weight: 800; }
.form-note.error { color: #b53324; }

.footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer div { display: grid; gap: 4px; }
.footer strong { color: var(--ink); }
.footer a { font-weight: 900; color: var(--teal-dark); }

@media (max-width: 980px) {
  .nav-toggle {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    gap: 5px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  .nav-toggle span[aria-hidden="true"] {
    width: 22px;
    height: 2px;
    background: var(--teal-dark);
  }

  .nav-links {
    position: fixed;
    inset: 76px 20px auto 20px;
    display: none;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

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

  .hero,
  .timeline-section,
  .faq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 56px; gap: 40px; }
  .hero-visual { min-height: auto; }
  .hero-visual img { height: 420px; }
  .dashboard-card-main { left: 14px; bottom: 22px; }
  .dashboard-card-secondary { right: 14px; top: 22px; }
  .feature-grid,
  .metric-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav,
  .hero,
  .section,
  .proof-strip,
  .metric-band,
  .contact-section,
  .footer { width: min(100% - 28px, 1160px); }

  h1 { font-size: clamp(3rem, 17vw, 4.8rem); }
  .proof-strip,
  .pain-grid,
  .feature-grid,
  .roles-grid,
  .metric-band { grid-template-columns: 1fr; }
  .section { padding-top: 76px; }
  .contact-section { padding: 24px; border-radius: 28px; }
  .hero-visual img { height: 360px; border-radius: 26px; }
  .dashboard-card { position: static; margin-top: -54px; width: auto; }
  .dashboard-card-secondary { margin-top: 12px; }
  .timeline li { padding-left: 44px; }
  .footer { flex-direction: column; }
}

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