:root {
  color-scheme: light;
  --ink: #111827;
  --ink-soft: #344054;
  --muted: #667085;
  --canvas: #f7f9fc;
  --paper: #ffffff;
  --paper-soft: #f2f6f8;
  --line: #d9e2e7;
  --line-strong: #c7d3db;
  --dark: #08110f;
  --dark-soft: #101c19;
  --green: #18c783;
  --green-deep: #087a55;
  --green-soft: #e8f8f1;
  --amber: #b7791f;
  --teal: #0f8b8d;
  --shadow: 0 20px 64px rgba(16, 24, 40, 0.1);
  --shadow-soft: 0 10px 30px rgba(16, 24, 40, 0.07);
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 2%, rgba(24, 199, 131, 0.12), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 42%, #f3f7f9 100%);
}

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

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

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

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.96;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.16;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 17, 15, 0.94);
  box-shadow: 0 10px 34px rgba(16, 24, 40, 0.12);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(168px, 18vw, 226px);
  height: auto;
}

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

.site-nav a {
  min-height: 40px;
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  font-weight: 780;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.portal-link {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: min(820px, calc(100svh - 76px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 108px) 0 clamp(38px, 7vw, 78px);
  color: var(--ink);
}

.hero-bg {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--dark);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  max-width: 720px;
  padding: 0;
}

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

.eyebrow.dark {
  color: var(--green-deep);
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions,
.site-footer nav,
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.contact-form button,
.plan-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary,
.contact-form button,
.plan-card.featured a {
  border-color: #13b979;
  background: var(--green);
  color: #032416;
  box-shadow: 0 10px 22px rgba(24, 199, 131, 0.22);
}

.button.ghost,
.plan-card a {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.button.dark {
  background: var(--dark);
  color: #fff;
}

.hero-proof {
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.hero-proof div {
  flex: 1 1 190px;
  min-height: 116px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-size: 1.5rem;
}

.hero-proof span {
  color: var(--muted);
  font-weight: 720;
}

.section-pad {
  padding: clamp(70px, 8vw, 118px) max(20px, calc((100% - var(--max)) / 2));
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: end;
}

.intro h2 {
  margin: 0;
}

.intro-text {
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.outcomes article {
  min-height: 238px;
  padding: clamp(26px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.outcomes article:last-child {
  border-right: 0;
}

.line-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 900;
}

.outcomes p,
.service-item p,
.plan-card p,
.plan-card li,
.process p,
.portal-copy p {
  color: var(--muted);
}

.feature-band {
  width: min(var(--max), calc(100% - 40px));
  margin: clamp(48px, 7vw, 90px) auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 66px);
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.section-heading h2,
.section-heading p:last-child {
  margin-bottom: 0;
}

.section-heading p:last-child {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
}

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

.service-item,
.plan-card,
.process article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
}

.service-item {
  background: var(--paper-soft);
}

.service-item h3,
.plan-card h3,
.process h3 {
  margin-bottom: 10px;
}

.service-item p,
.plan-card p,
.process p {
  margin-bottom: 0;
}

.service-media {
  margin: 0;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-media img,
.portal-preview figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plans {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 0;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  box-shadow: var(--shadow-soft);
}

.plan-card.featured {
  border-color: rgba(24, 199, 131, 0.55);
  box-shadow: var(--shadow);
}

.plan-label {
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.plan-card a {
  margin-top: auto;
}

.process {
  margin-top: clamp(20px, 4vw, 48px);
  background: var(--dark);
  color: #fff;
}

.process .section-heading h2,
.process h3 {
  color: #fff;
}

.process .eyebrow {
  color: var(--green);
}

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

.process article {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}

.process span {
  display: block;
  margin-bottom: 50px;
  color: var(--green);
  font-weight: 900;
}

.process p {
  color: rgba(255, 255, 255, 0.68);
}

.portal-preview {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 0;
}

.portal-copy {
  max-width: 620px;
}

.portal-copy .button {
  margin-top: 12px;
}

.portal-preview figure {
  min-height: 500px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.contact {
  background: linear-gradient(180deg, transparent 0%, #edf5f1 100%);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact h2 {
  color: var(--ink);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 850;
}

.contact-form .full,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

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

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 88px);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer img {
  width: 210px;
  margin-bottom: 12px;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 780;
}

@media (max-width: 1040px) {
  .site-nav {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(8, 17, 15, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .hero,
  .intro,
  .section-heading,
  .service-layout,
  .portal-preview,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    grid-column: 1;
    grid-row: 2;
    min-height: 340px;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-proof {
    grid-row: 3;
  }

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

@media (max-width: 780px) {
  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand img {
    width: 174px;
  }

  .hero,
  .feature-band,
  .plans,
  .portal-preview,
  .outcomes {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-top: 46px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .contact-form button,
  .plan-card a {
    width: 100%;
  }

  .hero-proof,
  .outcomes,
  .plan-grid,
  .process-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-proof div,
  .outcomes article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof div:last-child,
  .outcomes article:last-child {
    border-bottom: 0;
  }

  .feature-band,
  .section-pad {
    padding: 54px 18px;
  }

  .intro,
  .contact,
  .process {
    padding-inline: 20px;
  }

  .service-media,
  .portal-preview figure {
    min-height: 320px;
  }

  .site-footer {
    flex-direction: column;
  }
}
