:root {
  --navy-950: #061323;
  --navy-900: #0a1c31;
  --navy-800: #102b49;
  --navy-700: #173d63;
  --silver-500: #8d9bab;
  --silver-300: #c5ced8;
  --silver-200: #dce2e8;
  --silver-100: #eef2f5;
  --white: #ffffff;
  --ink: #17202a;
  --muted: #5f6d7a;
  --accent: #b8c4d0;
  --success: #1d7a62;
  --warning: #b87a18;
  --shadow-sm: 0 10px 30px rgba(6, 19, 35, 0.08);
  --shadow-lg: 0 24px 70px rgba(6, 19, 35, 0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --container: 1180px;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(23, 61, 99, 0.35);
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--navy-700);
}

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

h1,
h2,
h3,
h4 {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.75rem, 8vw, 5.8rem);
}

h2 {
  font-size: clamp(2.05rem, 5vw, 3.8rem);
}

h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}

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

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

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-dark {
  color: var(--white);
  background: var(--navy-950);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: var(--silver-300);
}

.section-silver {
  background: var(--silver-100);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--navy-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-dark .eyebrow {
  color: var(--silver-300);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading p {
  max-width: 660px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered p {
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 206, 216, 0.7);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950));
  border: 1px solid rgba(197, 206, 216, 0.7);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 18px rgba(6, 19, 35, 0.2);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  letter-spacing: 0.015em;
}

.brand-tagline {
  margin-top: 4px;
  color: var(--silver-500);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--navy-950);
  background: transparent;
  border: 1px solid var(--silver-200);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 79px 0 auto;
  max-height: calc(100vh - 79px);
  padding: 22px 20px 28px;
  overflow-y: auto;
  background: var(--white);
  border-bottom: 1px solid var(--silver-200);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity var(--transition), transform var(--transition);
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.nav-link {
  display: block;
  padding: 12px 10px;
  color: var(--navy-900);
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--navy-700);
}

.nav-link[aria-current="page"] {
  background: var(--silver-100);
  border-radius: var(--radius-sm);
}

.nav-cta {
  margin-top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  color: var(--white);
  background: var(--navy-800);
  border: 1px solid var(--navy-800);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1;
  text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  background: var(--navy-950);
  border-color: var(--navy-950);
  box-shadow: 0 12px 24px rgba(6, 19, 35, 0.16);
  transform: translateY(-2px);
}

.btn-light {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.btn-light:hover {
  color: var(--white);
  background: transparent;
  border-color: var(--silver-300);
}

.btn-outline {
  color: var(--navy-900);
  background: transparent;
  border-color: var(--silver-300);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--navy-950);
  border-color: var(--navy-950);
}

.btn-ghost-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-light:hover {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-700);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 78px));
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 22%, rgba(141, 155, 171, 0.22), transparent 30%),
    linear-gradient(130deg, var(--navy-950) 0%, var(--navy-900) 52%, #15385a 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -310px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,0.025), 0 0 0 160px rgba(255,255,255,0.018);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(780px, calc(100vh - 78px));
  align-items: center;
  gap: 46px;
  padding: 72px 0 76px;
}

.hero-copy {
  min-width: 0;
  max-width: 850px;
}

.hero-panel {
  min-width: 0;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 span {
  color: var(--silver-300);
}

.hero .eyebrow {
  color: var(--silver-300);
}

.hero-copy > p {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--silver-200);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

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

.hero-proof {
  display: grid;
  gap: 12px;
  margin-top: 44px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--silver-200);
  font-size: 0.86rem;
  font-weight: 700;
}

.proof-dot {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-950);
  background: var(--silver-300);
  border-radius: 50%;
  font-size: 0.73rem;
}

.hero-panel {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-lg);
}

.hero-panel-label {
  display: block;
  margin-bottom: 18px;
  color: var(--silver-300);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: 1.8rem;
}

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

.hero-panel li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--silver-200);
}

.hero-panel li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 9px;
  background: var(--silver-300);
  border-radius: 50%;
  content: "";
}

.page-hero {
  position: relative;
  padding: 94px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 30%, rgba(141, 155, 171, 0.18), transparent 28%),
    linear-gradient(130deg, var(--navy-950), var(--navy-800));
}

.page-hero::after {
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.65rem, 7vw, 5.2rem);
}

.page-hero p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--silver-200);
  font-size: 1.12rem;
}

.page-hero .eyebrow {
  color: var(--silver-300);
}

.breadcrumb {
  margin-bottom: 28px;
  color: var(--silver-300);
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--white);
}

/* Content grids and cards */
.logo-strip {
  padding: 22px 0;
  border-bottom: 1px solid var(--silver-200);
  background: var(--white);
}

.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 30px;
  color: var(--silver-500);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.logo-strip-title {
  width: 100%;
  color: var(--navy-900);
  letter-spacing: 0.04em;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-2,
.card-grid-3,
.card-grid-4 {
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(6, 19, 35, 0.03);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  border-color: var(--silver-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--navy-700);
  background: var(--silver-100);
  border: 1px solid var(--silver-200);
  border-radius: 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
}

.service-number {
  display: block;
  margin-bottom: 28px;
  color: var(--silver-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.card-list,
.check-list,
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.card-list {
  display: grid;
  gap: 8px;
}

.card-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--navy-700);
  border-radius: 50%;
  content: "";
}

.split {
  display: grid;
  align-items: center;
  gap: 48px;
}

.split-content h2 {
  margin-bottom: 20px;
}

.split-content > p {
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 13px;
  margin-top: 26px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
  place-items: center;
  color: var(--white);
  background: var(--navy-700);
  border-radius: 50%;
  content: "✓";
  font-size: 0.7rem;
}

.visual-panel {
  position: relative;
  min-height: 440px;
  padding: 34px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), transparent 50%),
    var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.visual-panel::before,
.visual-panel::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  content: "";
}

.visual-panel::before {
  right: -180px;
  bottom: -180px;
  width: 500px;
  height: 500px;
}

.visual-panel::after {
  right: -90px;
  bottom: -90px;
  width: 320px;
  height: 320px;
}

.visual-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: 370px;
  flex-direction: column;
  justify-content: space-between;
}

.visual-panel h3 {
  max-width: 390px;
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.visual-kicker {
  color: var(--silver-300);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.stat {
  padding: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.stat span {
  color: var(--silver-300);
  font-size: 0.75rem;
  font-weight: 700;
}

.process-grid {
  display: grid;
  gap: 0;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 0 0 34px 52px;
  counter-increment: process;
}

.process-step:not(:last-child)::before {
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 18px;
  width: 1px;
  background: var(--silver-300);
  content: "";
}

.process-step::after {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 50%;
  content: counter(process, decimal-leading-zero);
  font-size: 0.69rem;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.process-step p {
  max-width: 600px;
  margin-bottom: 0;
}

.quote-block {
  padding: 34px;
  background: var(--silver-100);
  border-left: 4px solid var(--navy-700);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quote-block blockquote {
  margin: 0 0 20px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.35;
}

.quote-block cite {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 750;
}

.founder-credential {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.founder-credential strong {
  display: block;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
}

.founder-credential span {
  display: block;
  margin-top: 4px;
  color: var(--navy-700);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founder-credential p {
  margin: 0;
}

.credibility-grid {
  display: grid;
  gap: 12px;
}

.credibility-item {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 13px;
  padding: 17px 18px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-sm);
  font-weight: 750;
}

.credibility-item::before {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--navy-700);
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
}

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

.provider-card {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 16px;
  color: var(--silver-500);
  background: var(--white);
  border: 1px dashed var(--silver-300);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.scenario-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.scenario-fieldset legend {
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.scenario-option {
  position: relative;
}

.scenario-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.scenario-option label {
  display: grid;
  min-height: 66px;
  place-items: center;
  color: var(--navy-800);
  background: var(--silver-100);
  border: 1px solid var(--silver-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.scenario-option input:checked + label {
  color: var(--white);
  background: var(--navy-800);
  border-color: var(--navy-800);
  transform: translateY(-2px);
}

.scenario-option input:focus-visible + label {
  outline: 3px solid rgba(23, 61, 99, 0.35);
  outline-offset: 3px;
}

.scheduler-placeholder {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 30px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(140deg, var(--navy-950), var(--navy-700));
  border-radius: var(--radius-md);
}

.scheduler-placeholder h3 {
  margin-bottom: 8px;
  color: var(--white);
}

.scheduler-placeholder p {
  margin-bottom: 0;
  color: var(--silver-300);
}

.local-link-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
}

.local-link-card .market-label {
  color: var(--silver-500);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Calculator */
.calculator-shell {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.calculator-inputs,
.calculator-results {
  padding: 32px;
}

.calculator-results {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(197,206,216,0.18), transparent 30%),
    var(--navy-950);
}

.calculator-results p {
  color: var(--silver-300);
}

.calculator-results h3 {
  color: var(--white);
}

.result-value {
  display: block;
  margin: 6px 0 2px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
}

.result-label {
  color: var(--silver-300);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.result-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 26px 0;
}

.result-mini {
  padding: 17px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
}

.result-mini strong {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
}

.result-mini span {
  color: var(--silver-300);
  font-size: 0.72rem;
}

.disclaimer {
  margin-bottom: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}

/* Forms */
.form-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-card h2,
.form-card h3 {
  margin-bottom: 10px;
}

.form-card > p {
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.field legend {
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
}

.field label .optional {
  color: var(--silver-500);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--silver-300);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(23, 61, 99, 0.1);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #a73c3c;
}

.field-error {
  min-height: 1em;
  color: #9c2f2f;
  font-size: 0.73rem;
  line-height: 1.2;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.form-status {
  display: none;
  padding: 13px 15px;
  color: #135f4c;
  background: #e8f5f1;
  border: 1px solid #b5ded2;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #842727;
  background: #fbecec;
  border-color: #e8bcbc;
}

.contact-layout {
  display: grid;
  gap: 34px;
}

.contact-details {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-card {
  padding: 24px;
  background: var(--silver-100);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
}

.contact-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--silver-500);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
  color: var(--navy-900);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: var(--navy-700);
}

.schedule-strip {
  display: grid;
  gap: 20px;
  padding: 30px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-md);
}

.schedule-strip h3 {
  margin-bottom: 6px;
  color: var(--white);
}

.schedule-strip p {
  margin-bottom: 0;
  color: var(--silver-300);
}

/* CTAs and footer */
.cta-panel {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 42px 30px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 25%, rgba(197,206,216,0.2), transparent 28%),
    linear-gradient(130deg, var(--navy-950), var(--navy-700));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--white);
}

.cta-panel p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--silver-200);
}

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

.site-footer {
  color: var(--silver-300);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  gap: 42px;
  padding: 68px 0 52px;
}

.site-footer .brand-name {
  color: var(--white);
}

.footer-brand p {
  max-width: 390px;
  margin: 22px 0;
  color: var(--silver-300);
}

.footer-contact {
  display: grid;
  gap: 7px;
  color: var(--silver-300);
  font-size: 0.88rem;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-nav h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.footer-nav a {
  color: var(--silver-300);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(197,206,216,0.16);
  color: var(--silver-500);
  font-size: 0.75rem;
}

.service-area-line {
  color: var(--silver-500);
}

/* Utilities and motion */
.accent-line {
  width: 48px;
  height: 2px;
  margin: 22px 0;
  background: var(--silver-300);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 12px;
  color: var(--navy-800);
  background: var(--silver-100);
  border: 1px solid var(--silver-200);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
}

.notice {
  padding: 18px 20px;
  color: var(--navy-900);
  background: #f8f4ea;
  border: 1px solid #e8dbc1;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .container,
  .narrow {
    width: min(calc(100% - 64px), var(--container));
  }

  .hero-proof {
    grid-template-columns: repeat(3, max-content);
    gap: 22px;
  }

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

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

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

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

  .schedule-strip {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .cta-panel {
    padding: 54px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 820px) {
  .section {
    padding: 116px 0;
  }

  .section-sm {
    padding: 78px 0;
  }

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

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
  }

  .split.reverse .visual-panel {
    order: -1;
  }

  .calculator-shell {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .calculator-inputs,
  .calculator-results {
    padding: 48px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 48px;
  }

  .cta-panel {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-main {
    grid-template-columns: 1.5fr 0.7fr 0.7fr;
  }
}

@media (min-width: 1040px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .nav-link {
    position: relative;
    padding: 30px 12px 27px;
    font-size: 0.82rem;
  }

  .nav-link::after {
    position: absolute;
    right: 12px;
    bottom: 20px;
    left: 12px;
    height: 2px;
    background: var(--navy-700);
    content: "";
    transform: scaleX(0);
    transition: transform var(--transition);
  }

  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav-link[aria-current="page"] {
    background: transparent;
    border-radius: 0;
  }

  .nav-cta {
    margin: 0 0 0 10px;
  }

  .nav-cta .btn {
    min-height: 43px;
    padding: 11px 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.65fr);
  }

  .hero h1 {
    font-size: clamp(4rem, 6.1vw, 5.8rem);
  }

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

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

  .process-step {
    padding: 56px 22px 0 0;
  }

  .process-step::after {
    top: 0;
  }

  .process-step:not(:last-child)::before {
    top: 18px;
    right: 0;
    bottom: auto;
    left: 45px;
    width: calc(100% - 34px);
    height: 1px;
  }
}

@media (max-width: 600px) {
  .brand-tagline {
    display: none;
  }

  .brand {
    min-width: 0;
  }

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

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

  .hero-grid {
    overflow: hidden;
  }

  .result-row,
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
