:root {
  --ink: #111827;
  --deep: #0f2430;
  --muted: #64717d;
  --line: #d7dee2;
  --soft: #f5f7f5;
  --surface: #ffffff;
  --teal: #0f766e;
  --blue: #245f86;
  --amber: #b76e2a;
  --green: #507c55;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

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

body.is-locked {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

body:not(.home-page) .site-header {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.brand-name {
  white-space: nowrap;
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 750;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a.is-active {
  color: var(--teal);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
}

.header-cta {
  font-size: 0.82rem;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(24px, calc((100vw - var(--max)) / 2)) 72px;
  color: #ffffff;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 19, 25, 0.9) 0%, rgba(9, 19, 25, 0.72) 36%, rgba(9, 19, 25, 0.22) 72%),
    linear-gradient(0deg, rgba(9, 19, 25, 0.72) 0%, rgba(9, 19, 25, 0.08) 44%);
}

.hero-content {
  max-width: 760px;
  padding-bottom: 22px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: #83d2c4;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
  line-height: 1.12;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.outcome-list span,
.timeline span,
.portal-top span,
.portal-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.geo-answer-section {
  background: #f7faf8;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--max);
  margin: 34px auto 0;
}

.answer-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 24px;
}

.answer-grid h3 {
  font-size: 1.1rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
}

.intro-section .section-heading::after {
  content: "The model creates a monthly management rhythm that is easier to renew than a one-off consulting project.";
  display: block;
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-section .section-heading {
  display: block;
  max-width: 880px;
}

.ste-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ste-card,
.timeline article,
.outcome-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ste-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 26px;
  border-top: 5px solid var(--blue);
}

.ste-card.accent-green {
  border-top-color: var(--green);
}

.ste-card.accent-amber {
  border-top-color: var(--amber);
}

.ste-card.accent-teal {
  border-top-color: var(--teal);
}

.step-number {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--muted);
  font-weight: 850;
}

.ste-card p,
.timeline p,
.split-copy p,
.portal-copy p {
  color: var(--muted);
}

.ste-card > p {
  min-height: 124px;
}

.ste-card ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding-left: 18px;
}

.ste-card .button {
  margin-top: auto;
}

.split-section,
.portal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.split-copy p,
.portal-copy p {
  max-width: 650px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.outcome-list {
  display: grid;
  gap: 12px;
}

.outcome-list article {
  padding: 22px;
}

.outcome-list strong {
  display: block;
  color: var(--deep);
  font-size: 1.04rem;
  line-height: 1.35;
}

.estimator-section {
  max-width: none;
  padding: 78px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--deep);
  color: #ffffff;
}

.estimator-section h2 {
  max-width: 720px;
}

.estimator {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 22px;
  margin-top: 30px;
}

.estimator-form,
.estimator-result,
.lead-form {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.estimator-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.estimator-result {
  padding: 24px;
}

.estimator-result span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.estimator-result strong {
  display: block;
  margin: 12px 0 6px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
}

.estimator-result p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.timeline article {
  min-height: 230px;
  padding: 22px;
}

.timeline article:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.timeline article:nth-child(3) {
  border-top: 4px solid var(--amber);
}

.timeline article:nth-child(4) {
  border-top: 4px solid var(--green);
}

.portal-section {
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  background: #eef2ef;
}

.portal-preview {
  border: 1px solid #cfd8d2;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portal-top {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.portal-top strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--line);
}

.portal-grid div {
  min-height: 130px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portal-grid div:nth-child(2n) {
  border-right: 0;
}

.portal-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.portal-grid strong {
  display: block;
  color: var(--deep);
  font-size: 2rem;
}

.portal-roadmap {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.portal-roadmap span {
  padding: 12px;
  border-left: 4px solid var(--line);
  background: var(--soft);
}

.portal-roadmap .is-live {
  border-left-color: var(--teal);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.62fr);
  gap: 48px;
  align-items: start;
  padding: 86px max(24px, calc((100vw - var(--max)) / 2));
  background: #1e3330;
  color: #ffffff;
}

.cta-section h2 {
  max-width: 760px;
}

.home-cta {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.home-cta h2,
.home-cta .copy-block p {
  max-width: 760px;
}

.home-cta .copy-block {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.home-cta .copy-block p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
}

.hidden-field {
  display: none;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green);
}

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

.page-hero {
  padding: 82px max(24px, calc((100vw - var(--max)) / 2)) 58px;
  border-bottom: 1px solid var(--line);
  background: #eef2ef;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  color: var(--deep);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.page-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.6fr);
  gap: 48px;
  align-items: start;
}

.copy-block p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.feature-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.feature-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.process-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.process-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--deep);
  color: #ffffff;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 76px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

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

  .section-heading,
  .split-section,
  .portal-section,
  .estimator,
  .cta-section,
  .two-column,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .intro-section .section-heading::after {
    max-width: 720px;
  }

  .estimator-form {
    grid-template-columns: 1fr;
  }

  .ste-card > p {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.78rem;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 88vh;
    padding: 142px 16px 132px;
  }

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

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(9, 19, 25, 0.92) 0%, rgba(9, 19, 25, 0.72) 64%, rgba(9, 19, 25, 0.32) 100%),
      linear-gradient(0deg, rgba(9, 19, 25, 0.76) 0%, rgba(9, 19, 25, 0.12) 50%);
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .ste-grid,
  .timeline,
  .process-list,
  .portal-grid,
  .answer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-section,
  .page-hero,
  .portal-section,
  .estimator-section,
  .cta-section {
    padding: 64px 16px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .ste-card,
  .timeline article {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 26px;
  }

  .portal-grid div,
  .portal-grid div:nth-child(2n),
  .portal-grid div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .portal-grid div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    display: grid;
    padding-inline: 16px;
  }
}
