:root {
  --ink: #071b47;
  --ink-2: #0c285f;
  --blue: #0754b8;
  --blue-dark: #063f91;
  --mist: #eef6ff;
  --mist-2: #f7fbff;
  --white: #ffffff;
  --gold: #e8ae20;
  --text: #17294a;
  --muted: #536786;
  --line: #ccdbef;
  --line-soft: #e3ebf5;
  --shadow: 0 24px 70px rgba(7, 27, 71, 0.1);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: 1400px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.home-page { overflow-x: hidden; }

img { max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

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

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  width: min(100%, var(--page));
  min-height: 118px;
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 340px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.brand-copy { display: grid; gap: 5px; }

.brand-copy strong {
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.025em;
}

.brand-copy strong span {
  display: block;
  margin-top: 7px;
  color: #7293c5;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.brand-copy small {
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 32px);
  white-space: nowrap;
}

.site-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover { color: var(--blue); }

.site-nav .nav-action {
  padding: 14px 19px;
  border-radius: 7px;
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(6, 63, 145, 0.16);
}

.site-nav .nav-action:hover { color: var(--white); background: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 800 15px/1 var(--sans);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before { position: absolute; top: -7px; }
.nav-toggle-lines::after { position: absolute; top: 7px; }

.hero-section {
  width: min(100%, 1536px);
  min-height: 770px;
  margin: 0 auto;
  padding-left: max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(570px, 1.35fr);
  align-items: center;
  gap: 10px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 56px 0 92px;
}

.hero-copy h1,
.section-heading h2,
.ai-plan-copy h2,
.boundaries-section > h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(58px, 5.6vw, 88px);
  line-height: 0.99;
}

.gold-dot { color: var(--gold); }

.hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--text);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.5;
}

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

.button {
  min-height: 58px;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 800 16px/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: 0 13px 30px rgba(6, 63, 145, 0.16);
}

.button-primary:hover { background: var(--ink); }

.button-secondary {
  border-color: var(--blue-dark);
  background: var(--white);
  color: var(--blue-dark);
}

.button-secondary:hover { background: var(--mist); }

.boundary-line {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-visual img {
  width: 112%;
  max-width: none;
  height: auto;
  margin-left: -12%;
  display: block;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 13%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 13%, #000 100%);
}

.confidence-rail {
  width: min(calc(100% - (var(--gutter) * 2)), calc(var(--page) - (var(--gutter) * 2)));
  margin: -28px auto 0;
  padding: 23px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(7, 27, 71, 0.06);
}

.confidence-rail p {
  margin: 0;
  padding: 5px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.confidence-rail p:last-child { border-right: 0; }

.rail-mark {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.path-section,
.services-section {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 130px var(--gutter);
}

.section-heading h2,
.ai-plan-copy h2,
.boundaries-section > h2 {
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.08;
}

.section-heading > p {
  max-width: 720px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.path-steps {
  position: relative;
  margin: 70px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
  list-style: none;
}

.path-steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 6%;
  right: 6%;
  z-index: 0;
  height: 2px;
  background: repeating-linear-gradient(to right, #9eb9df 0 10px, transparent 10px 18px);
}

.path-steps li {
  position: relative;
  z-index: 1;
  padding-right: 18px;
}

.step-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 7px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 19px;
  font-weight: 900;
  box-sizing: content-box;
}

.path-steps h3 {
  margin: 25px 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
}

.path-steps p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.ai-plan-section {
  width: min(calc(100% - (var(--gutter) * 2)), calc(var(--page) - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  border-radius: 12px;
  background: linear-gradient(108deg, var(--mist) 0%, var(--mist-2) 64%, var(--white) 100%);
  overflow: hidden;
}

.plain-label {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 850;
}

.ai-plan-copy > p:not(.plain-label) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 18px;
}

.ai-plan-copy .button { margin-top: 30px; }

.plan-notes {
  max-width: 650px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.plan-notes li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.plan-notes li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.plan-preview {
  position: relative;
  min-height: 510px;
  padding: 70px 52px 40px;
  border: 10px solid var(--ink-2);
  border-radius: 8px 8px 18px 18px;
  background: var(--white);
  box-shadow: 22px 24px 0 #dce9f9, var(--shadow);
  transform: rotate(-2deg);
}

.plan-clip {
  position: absolute;
  top: -27px;
  left: 50%;
  width: 126px;
  height: 46px;
  border: 7px solid #9f8a64;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #d3c29f;
  transform: translateX(-50%);
}

.plan-preview-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  text-align: center;
}

.plan-preview-subtitle {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-lines { display: grid; gap: 8px; }
.preview-lines span { height: 2px; background: var(--line-soft); }
.preview-lines span:last-child { width: 72%; }

.plan-preview ol {
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.plan-preview li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 14px;
}

.plan-preview li span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.services-section { padding-top: 150px; }

.pricing-rail {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.pricing-item {
  min-height: 335px;
  padding: clamp(28px, 3.5vw, 52px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.pricing-item:last-child { border-right: 0; }

.pricing-item .price {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.pricing-item h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.22;
}

.pricing-item > p:not(.price) {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.text-link {
  width: fit-content;
  margin-top: auto;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--gold);
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.boundaries-section {
  width: min(calc(100% - (var(--gutter) * 2)), calc(var(--page) - (var(--gutter) * 2)));
  margin: 0 auto 120px;
  padding: clamp(48px, 6vw, 82px);
  border-radius: 12px;
  background: var(--mist);
  text-align: center;
}

.boundaries-section > h2 {
  max-width: 1030px;
  margin: 0 auto;
}

.boundary-columns {
  max-width: 1000px;
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: left;
}

.boundary-column {
  padding: 10px 44px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.boundary-column + .boundary-column { border-left: 1px solid var(--line); }

.boundary-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.boundary-column h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
}

.boundary-column p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.boundaries-section > .button { margin-top: 42px; }

.site-footer {
  padding: 54px var(--gutter) 30px;
  background: var(--ink);
  color: var(--white);
}

.footer-main,
.footer-bottom {
  width: min(100%, calc(var(--page) - (var(--gutter) * 2)));
  margin: 0 auto;
}

.footer-main {
  padding-bottom: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.08;
  text-decoration: none;
}

.footer-brand img { filter: brightness(0) invert(1); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 32px;
}

.footer-nav a {
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  color: #c7d5ea;
  font-size: 12px;
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: #f0bd37; text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(232, 174, 32, 0.75);
  outline-offset: 3px;
}

/* Supporting pages: preserve their content while aligning the shared brand shell. */
body.interior-page {
  color: var(--text) !important;
  background: var(--white) !important;
  font-family: var(--sans) !important;
}

body.interior-page > .page {
  max-width: var(--page) !important;
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
}

body.interior-page header {
  min-height: 112px;
  margin-bottom: 64px !important;
  padding: 18px 0 !important;
  align-items: center !important;
  border-bottom: 1px solid var(--line-soft);
}

body.interior-page .brand {
  min-width: 300px !important;
  gap: 12px !important;
}

body.interior-page .logo-mark {
  width: 54px !important;
  height: 54px !important;
}

body.interior-page .brand-title {
  color: var(--ink) !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

body.interior-page .brand-title span {
  color: #7293c5 !important;
  font-size: 20px !important;
  letter-spacing: 0.22em !important;
}

body.interior-page nav { gap: 18px !important; }

body.interior-page nav a {
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

body.interior-page nav a.top-btn,
body.interior-page a.button,
body.interior-page a.paybtn,
body.interior-page button[type="submit"] {
  border-radius: 7px !important;
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  font-family: var(--sans) !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 24px rgba(6, 63, 145, 0.14) !important;
}

body.interior-page h1,
body.interior-page h2,
body.interior-page h3 {
  color: var(--ink) !important;
}

body.interior-page h1,
body.interior-page h2 {
  font-family: var(--serif) !important;
  letter-spacing: -0.025em !important;
}

body.interior-page h1 {
  font-size: clamp(44px, 5vw, 68px) !important;
  line-height: 1.05 !important;
}

body.interior-page .card,
body.interior-page .cta-panel,
body.interior-page .paycard,
body.interior-page .q,
body.interior-page .faq-item {
  border-color: var(--line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.interior-page .disclaimer {
  background: var(--ink) !important;
  color: #dbe6f5 !important;
  border-top: 0 !important;
}

body.interior-page .disclaimer a { color: #f0bd37 !important; }

body.interior-page .footer-small { color: #dbe6f5 !important; }

@media (max-width: 1180px) {
  .header-inner { gap: 22px; }
  .brand { min-width: 290px; }
  .brand-copy small { display: none; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .hero-section {
    min-height: 680px;
    grid-template-columns: minmax(390px, 0.85fr) minmax(500px, 1.15fr);
  }
  .hero-visual img { width: 120%; }
}

@media (max-width: 980px) {
  .header-inner { min-height: 92px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px var(--gutter) 28px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(7, 27, 71, 0.08);
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .site-nav .nav-action { margin-top: 14px; padding: 16px 18px; border: 0; text-align: center; }
  .hero-section {
    min-height: 0;
    padding: 50px var(--gutter) 70px;
    grid-template-columns: 1fr;
  }
  .hero-copy { padding: 10px 0 0; }
  .hero-copy h1 { max-width: 760px; }
  .hero-visual { max-height: 640px; }
  .hero-visual img {
    width: 100%;
    margin: -10% 0 -7%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  }
  .confidence-rail { margin-top: 0; grid-template-columns: 1fr; }
  .confidence-rail p { border-right: 0; border-bottom: 1px solid var(--line); }
  .confidence-rail p:last-child { border-bottom: 0; }
  .path-steps { grid-template-columns: 1fr; gap: 28px; }
  .path-steps::before { top: 24px; bottom: 24px; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, #9eb9df 0 10px, transparent 10px 18px); }
  .path-steps li { min-height: 82px; padding-left: 85px; }
  .step-number { position: absolute; left: -7px; top: -7px; }
  .path-steps h3 { margin-top: 0; }
  .ai-plan-section { grid-template-columns: 1fr; }
  .plan-preview { width: min(100%, 520px); margin: 20px auto 0; }
  .pricing-rail { grid-template-columns: 1fr; }
  .pricing-item { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pricing-item:last-child { border-bottom: 0; }
  .boundary-columns { grid-template-columns: 1fr; }
  .boundary-column + .boundary-column { margin-top: 28px; padding-top: 34px; border-left: 0; border-top: 1px solid var(--line); }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
  .footer-bottom { grid-template-columns: 1fr; gap: 8px; }
  body.interior-page header { position: relative; align-items: flex-start !important; flex-direction: column !important; }
}

@media (max-width: 650px) {
  .header-inner { padding-top: 14px; padding-bottom: 14px; }
  .brand { min-width: 0; gap: 10px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy strong span { margin-top: 5px; font-size: 16px; letter-spacing: 0.18em; }
  .nav-toggle span:last-child { display: none; }
  .hero-section { padding-top: 34px; }
  .hero-copy h1 { font-size: clamp(46px, 14vw, 64px); }
  .hero-lead { font-size: 19px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { margin-left: -12%; margin-right: -12%; }
  .hero-visual img { width: 125%; max-width: none; margin-left: -7%; }
  .confidence-rail { width: calc(100% - 40px); padding: 14px 18px; }
  .confidence-rail p { padding: 13px 4px; }
  .path-section,
  .services-section { padding-top: 92px; padding-bottom: 92px; }
  .section-heading h2,
  .ai-plan-copy h2,
  .boundaries-section > h2 { font-size: 40px; }
  .ai-plan-section,
  .boundaries-section { width: calc(100% - 40px); padding: 36px 24px; }
  .ai-plan-copy h2 { font-size: 39px; }
  .plan-preview { min-height: 450px; padding: 60px 28px 30px; border-width: 8px; box-shadow: 12px 14px 0 #dce9f9; }
  .plan-preview-title { font-size: 22px; }
  .pricing-item { padding: 34px 26px; }
  .boundaries-section { margin-bottom: 76px; }
  .boundary-column { padding-left: 0; padding-right: 0; gap: 15px; }
  .boundary-icon { width: 38px; height: 38px; }
  .site-footer { padding-top: 42px; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  body.interior-page > .page { padding-left: 18px !important; padding-right: 18px !important; }
  body.interior-page .brand { min-width: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
