:root {
  --ink: #183248;
  --muted: #5d7080;
  --paper: #f7fbff;
  --surface: #ffffff;
  --soft: #eaf7ff;
  --sky-soft: #a1d2fa;
  --sky: #58aef6;
  --blue: #067ee1;
  --deep-blue: #3552c8;
  --teal: #299ebf;
  --aqua: #33c2ff;
  --seafoam: #a4ffbb;
  --blue-gradient: linear-gradient(135deg, #bfe2ff 0 50%, #33c2ff 50% 100%);
  --accent-gradient: linear-gradient(135deg, #bfe2ff 0 50%, #33c2ff 50% 100%);
  --seafoam-gradient: linear-gradient(135deg, #ffffff 0 50%, #a4ffbb 50% 100%);
  --line: #cfe8fb;
  --shadow: 0 24px 70px rgba(6, 126, 225, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 315px;
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  white-space: nowrap;
}

.script-word {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: var(--ink);
  font-family: Allura, "Brush Script MT", cursive;
  font-size: 3.55rem;
  line-height: 0.72;
  letter-spacing: 0;
}

.script-word::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0.28em;
  top: 50%;
  width: 2.35em;
  height: 2.35em;
  background: radial-gradient(circle, rgba(164, 255, 187, 0.56), rgba(191, 226, 255, 0.42) 48%, rgba(191, 226, 255, 0) 72%);
  border-radius: 50%;
  transform: translateY(-48%);
}

.system-word {
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-size: 1.04rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.compact .script-word {
  font-size: 2.35rem;
}

.compact .system-word {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a,
.header-action {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.header-action {
  padding: 10px 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--surface);
}

.header-action:hover {
  border-color: var(--teal);
  background: var(--soft);
}

.hero h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

.hero h1,
h2 {
  font-family: Lora, Georgia, serif;
  font-weight: 600;
}

.hero h1 {
  max-width: 820px;
  font-size: 5.4rem;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: #0b2d46;
  background: var(--accent-gradient);
}

.button.primary:hover {
  filter: saturate(1.08) brightness(0.98);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

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

.top-photo {
  padding: 0;
  background: var(--soft);
}

.top-photo img {
  display: block;
  width: 100%;
  height: clamp(300px, 44vh, 560px);
  object-fit: cover;
  object-position: center center;
}

.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 44rem;
  height: 44rem;
  right: -14rem;
  top: -12rem;
  background: radial-gradient(circle, rgba(51, 194, 255, 0.16), rgba(164, 255, 187, 0.18) 34%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-portrait {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(360px, 100%);
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 9%;
  z-index: -1;
  background: radial-gradient(circle, rgba(164, 255, 187, 0.34), rgba(191, 226, 255, 0.34) 48%, transparent 72%);
  border-radius: 50%;
  transform: translate(-8%, 5%) scale(1.15);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 42px rgba(6, 126, 225, 0.16));
}

section,
footer {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
}

.section-grid h2,
.section-heading h2,
.contact-band h2 {
  font-size: 3.1rem;
}

.copy-stack p,
.section-grid p,
.pricing-grid p,
.service-list p,
.focus-grid p,
.contact-band p,
.notice {
  color: var(--muted);
}

.copy-stack p:first-child {
  margin-top: 0;
}

.credentials-block {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.credentials-block h3 {
  margin: 0 0 12px;
  color: var(--deep-blue);
  font-size: 1rem;
}

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

.credentials-block li {
  color: var(--muted);
}

.credentials-block strong,
.credentials-block span {
  display: block;
}

.credentials-block strong {
  color: var(--ink);
}

.full-band {
  background: var(--surface);
}

.full-band.muted {
  background: var(--soft);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.service-list,
.pricing-grid,
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-list article,
.pricing-grid article,
.focus-grid article {
  min-height: 236px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--surface);
}

.service-list span,
.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: #0b2d46;
  background: var(--seafoam-gradient);
  border-radius: 50%;
  font-weight: 800;
}

.service-list h3,
.pricing-grid h3,
.focus-grid h3 {
  font-size: 1.18rem;
}

.approach-card {
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pill-list,
.insurance-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.pill-list li,
.insurance-list li {
  padding: 10px 13px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.insurance-list {
  display: grid;
  grid-template-columns: 1fr;
}

.insurance-list li {
  border-radius: 8px;
  background: var(--surface);
}

.price {
  margin: 22px 0 12px;
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
}

.notice {
  max-width: 900px;
  margin: 28px 0 0;
  font-size: 0.94rem;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  margin: 0;
}

.steps p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.steps .portal-actions {
  display: grid;
  grid-template-columns: repeat(2, 280px);
  justify-content: start;
  gap: 12px;
  width: auto;
}

.steps .portal-actions .button {
  width: 100%;
  min-width: 0;
  max-width: 280px;
}

.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  color: var(--surface);
  background: #183248;
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-band > div:first-child {
  max-width: 760px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 30px;
  padding-bottom: 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    justify-self: start;
    width: min(300px, 74vw);
  }

  .brand {
    min-width: 300px;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .section-grid,
  .service-list,
  .pricing-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 4.25rem;
  }

  .section-grid h2,
  .section-heading h2,
  .contact-band h2 {
    font-size: 2.65rem;
  }

  .section-heading,
  .contact-band,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .wordmark {
    gap: 8px;
  }

  .compact .script-word {
    font-size: 1.85rem;
  }

  .compact .system-word {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 72vh;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 1.06rem;
  }

  .section-grid h2,
  .section-heading h2,
  .contact-band h2 {
    font-size: 2.08rem;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .steps .portal-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .steps .portal-actions .button {
    max-width: none;
  }

  .button {
    width: 100%;
  }
}
