:root {
  color-scheme: light;
  --ink: #1d2430;
  --muted: #586171;
  --line: #d9dee6;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --teal: #116b64;
  --teal-dark: #0d4f4a;
  --gold: #c5892f;
  --coral: #b94d3d;
  --blue: #2f5d91;
  --shadow: 0 20px 50px rgba(29, 36, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 156px;
  text-decoration: none;
}

.brand img {
  width: 180px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.site-nav .nav-cta {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal-dark);
}

.hero,
.fit-section,
.sample-section,
.deliverables,
.workflow,
.packages,
.risk,
.final-cta {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(90deg, rgba(17, 107, 100, 0.08), rgba(197, 137, 47, 0.08)),
    var(--paper);
}

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

.eyebrow {
  margin: 0 0 13px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.9rem, 8vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.25;
}

h4 {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-text {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.trust-note {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.snapshot-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
}

.snapshot-top strong {
  color: #f4cb76;
}

.hero-panel ul,
.fit-grid ul,
.sample-block ul,
.changed ul,
.package-card ul {
  margin: 0;
  padding-left: 20px;
}

.hero-panel li,
.fit-grid li,
.sample-block li,
.changed li,
.package-card li {
  margin: 9px 0;
}

.hero-panel ul {
  padding: 24px 30px 28px 42px;
}

.section-heading {
  max-width: 980px;
  margin-bottom: clamp(28px, 5vw, 46px);
}

.fit-section,
.deliverables,
.packages {
  background: var(--soft);
}

.fit-grid,
.deliverable-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
}

.fit-grid article,
.deliverable-grid article,
.package-card,
.sample-block,
.changed {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.fit-grid article {
  padding: 26px;
}

.fit-grid article:first-child {
  border-top: 5px solid var(--teal);
}

.fit-grid article:last-child {
  border-top: 5px solid var(--coral);
}

.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  max-width: 1240px;
}

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

.sample-block,
.changed {
  padding: 24px;
}

.sample-block.before {
  border-top: 5px solid var(--gold);
}

.sample-block.after {
  border-top: 5px solid var(--teal);
}

.sample-block p,
.changed li,
.sample-block li,
.package-card p,
.deliverable-grid p,
.risk p {
  color: var(--muted);
}

.changed {
  margin-top: 18px;
  border-left: 5px solid var(--blue);
}

.sample-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(29, 36, 48, 0.1);
}

.sample-figure img {
  width: 100%;
  height: auto;
}

.sample-figure figcaption {
  padding: 14px 16px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.deliverable-grid article {
  padding: 24px;
}

.deliverable-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.package-card {
  padding: 26px;
}

.package-card.featured {
  border-color: var(--teal);
  box-shadow: 0 18px 46px rgba(17, 107, 100, 0.16);
}

.package-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.package-head strong {
  color: var(--teal-dark);
  font-size: 1.8rem;
}

.risk {
  background: var(--ink);
  color: #ffffff;
}

.risk .eyebrow {
  color: #f4cb76;
}

.risk-copy {
  max-width: 980px;
}

.risk p {
  max-width: 900px;
  color: #d7dce4;
  font-size: 1.08rem;
}

.final-cta {
  background:
    linear-gradient(90deg, rgba(17, 107, 100, 0.1), rgba(47, 93, 145, 0.08)),
    #ffffff;
}

.final-cta h2 {
  max-width: 850px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero,
  .sample-layout {
    grid-template-columns: 1fr;
  }

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

  .steps li {
    min-height: 190px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .brand img {
    width: 164px;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    font-size: 0.9rem;
    white-space: normal;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
  }

  .site-nav .nav-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 2.82rem;
    line-height: 1.02;
  }

  .fit-grid,
  .before-after,
  .deliverable-grid,
  .steps,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
