:root {
  color-scheme: light;
  --ink: #102033;
  --ink-2: #1f3448;
  --paper: #fffaf2;
  --white: #ffffff;
  --mist: #edf8f5;
  --sky: #e8f4f8;
  --line: #d8e3e8;
  --muted: #627386;
  --aqua: #25bfe6;
  --teal: #1f9f83;
  --mint: #dff8ef;
  --coral: #f07862;
  --gold: #e5b84e;
  --shadow: 0 24px 80px rgba(16, 32, 51, 0.16);
  --radius: 8px;
}

* {
  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.5;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 32, 51, 0.1);
  background: rgba(255, 250, 242, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 48px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--aqua);
  font-size: 0.95rem;
}

.brand-text {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.site-nav a,
.footer-grid a {
  color: var(--ink-2);
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-grid a:hover {
  color: var(--teal);
}

.header-cta,
.btn,
.mobile-action-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.header-cta,
.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.18);
}

.header-cta:hover,
.btn-primary:hover {
  background: #193553;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(560px, calc(100svh - 150px), 690px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(9, 18, 31, 0.9) 0%, rgba(9, 18, 31, 0.7) 43%, rgba(9, 18, 31, 0.18) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-compact {
  min-height: clamp(470px, calc(100svh - 170px), 560px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 88px 0 56px;
  color: var(--white);
}

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

.hero .eyebrow,
.contact-band .eyebrow {
  color: #8ff0d5;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(2.55rem, 5.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-compact h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.trust-grid div {
  padding: 22px 20px;
  border-left: 1px solid var(--line);
}

.trust-grid div:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-size: 0.95rem;
}

.trust-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--mist);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.section-heading p,
.split p,
.article-layout p,
.legal-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.problem-section {
  background: linear-gradient(135deg, var(--paper), var(--sky));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(16, 32, 51, 0.08);
}

.service-card a {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--mist);
}

.service-card div {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card span,
.resource-card span {
  color: var(--teal);
  font-weight: 900;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.process-section {
  background: var(--ink);
  color: var(--white);
}

.process-section .eyebrow,
.process-section .section-heading p {
  color: #8ff0d5;
}

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

.steps-grid article,
.proof-list div,
.outcome-grid article,
.values-grid article,
.lead-form,
.article-layout aside {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}

.steps-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.steps-grid span,
.outcome-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 950;
}

.steps-grid p {
  color: rgba(255, 255, 255, 0.74);
}

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

.proof-list div {
  display: grid;
  gap: 6px;
}

.proof-list span {
  color: var(--muted);
}

.resources-section {
  background: var(--sky);
}

.resource-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(16, 32, 51, 0.1);
  color: inherit;
  text-decoration: none;
}

.resource-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}

.contact-band {
  background: var(--ink);
  color: var(--white);
}

.contact-band .split p,
.contact-band .check-list {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(31, 159, 131, 0.16);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.lead-form .full,
.lead-form button,
.lead-form .form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9d8df;
  border-radius: 7px;
  background: #f9fcfd;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 191, 230, 0.25);
  border-color: var(--aqua);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.outcome-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.outcome-grid article p,
.values-grid article p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 54px;
  align-items: start;
}

.article-layout article {
  max-width: 760px;
}

.article-layout h2,
.legal-copy h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.article-layout h2:not(:first-child),
.legal-copy h2:not(:first-child) {
  margin-top: 42px;
}

.article-layout aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 20px;
}

.legal-copy {
  max-width: 840px;
}

.site-footer {
  background: #f0eadf;
  border-top: 1px solid #dacfc0;
  padding: 56px 0 88px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.7fr));
  gap: 40px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-grid p {
  max-width: 390px;
  color: var(--muted);
}

.footer-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-email {
  display: inline-flex;
  margin-top: 4px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #dacfc0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    min-height: 44px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .header-cta {
    display: none;
  }

  .trust-grid,
  .steps-grid,
  .outcome-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split,
  .faq-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-layout aside {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 78px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-mark {
    width: 44px;
    height: 34px;
  }

  .hero,
  .hero-compact {
    min-height: 620px;
    background-image:
      linear-gradient(90deg, rgba(9, 18, 31, 0.94) 0%, rgba(9, 18, 31, 0.82) 56%, rgba(9, 18, 31, 0.55) 100%),
      var(--hero-image);
    background-position: center;
  }

  .hero-content {
    padding: 92px 0 58px;
  }

  h1,
  .hero-compact h1 {
    font-size: clamp(2.3rem, 12vw, 3.3rem);
  }

  .lead {
    font-size: 1.02rem;
  }

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

  .btn,
  .header-cta,
  .mobile-action-bar a {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .trust-grid,
  .service-grid,
  .steps-grid,
  .outcome-grid,
  .values-grid,
  .lead-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .lead-form {
    padding: 18px;
  }

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

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 250, 242, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar a {
    min-height: 50px;
  }

  .mobile-action-bar a:first-child {
    background: var(--ink);
    color: var(--white);
  }

  .mobile-action-bar a:last-child {
    background: var(--mint);
    color: var(--ink);
  }
}
