:root {
  --blue: #05264f;
  --blue-2: #0b3a6a;
  --gold: #c9973e;
  --gold-soft: #f6ead0;
  --green: #3f665b;
  --green-soft: #e8f1ee;
  --wine: #8a4550;
  --wine-soft: #f4e8ea;
  --paper: #fbf7ef;
  --white: #ffffff;
  --ink: #142233;
  --muted: #667382;
  --line: #e1d8c9;
  --line-blue: rgba(255, 255, 255, 0.18);
  --shadow: 0 20px 46px rgba(5, 38, 79, 0.12);
  --shadow-strong: 0 30px 76px rgba(5, 38, 79, 0.18);
  --radius: 8px;
  --container: min(1180px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 60px;
  line-height: 1.03;
}

h2 {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1.09;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.18;
}

p {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid rgba(201, 151, 62, 0.7);
  outline-offset: 3px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 300;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--blue);
  font-weight: 850;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 42px);
  border-bottom: 1px solid var(--line-blue);
  background: rgba(5, 38, 79, 0.98);
  color: var(--white);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(5, 38, 79, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 252px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  color: var(--gold);
  font-weight: 900;
}

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

.brand-copy strong {
  color: var(--white);
  font-size: 18px;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 760;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 760;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.nav-cta,
.header-cta {
  color: var(--gold) !important;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(201, 151, 62, 0.7);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 14px;
  font-weight: 850;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  background: var(--white);
}

.hero {
  padding: 72px 0 74px;
  background:
    linear-gradient(135deg, rgba(5, 38, 79, 0.96), rgba(9, 49, 88, 0.9)),
    var(--blue);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

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

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 860;
  text-align: center;
}

.button-primary {
  background: var(--gold);
  color: var(--blue);
  box-shadow: 0 14px 28px rgba(201, 151, 62, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-points {
  display: grid;
  gap: 9px;
  max-width: 760px;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
}

.hero-points li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-photo,
.content-photo {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.hero-photo img,
.content-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.hero-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(5, 38, 79, 0.82);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero-photo figcaption span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.trust-grid article {
  display: grid;
  gap: 8px;
  padding: 24px 20px;
  border-left: 1px solid var(--line);
}

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

.trust-grid span,
.marker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.trust-grid strong {
  color: var(--blue);
  line-height: 1.28;
}

.section {
  padding: 82px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.section-heading p,
.section-lead,
.section-copy p {
  color: var(--muted);
}

.intro-grid,
.check-layout,
.split-grid,
.realism-layout,
.process-layout,
.faq-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.intro-section,
.life-section,
.document-section {
  background: var(--white);
}

.quiet-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quiet-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 22px;
}

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

.pathway-grid article,
.life-grid article,
.compass-grid a,
.check-panel,
.calculation-box,
.contact-form,
.contact-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.pathway-grid article,
.life-grid article,
.compass-grid a {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
}

.pathway-grid article:nth-child(2),
.pathway-grid article:nth-child(5),
.life-grid article:nth-child(2),
.compass-grid a:nth-child(2) {
  background: var(--green-soft);
}

.pathway-grid article:nth-child(3),
.pathway-grid article:nth-child(6),
.life-grid article:nth-child(4),
.compass-grid a:nth-child(3) {
  background: var(--wine-soft);
}

.pathway-grid p,
.life-grid p,
.compass-grid span {
  color: var(--muted);
}

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

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

.life-grid article > span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.question-section,
.realism-section,
.process-section {
  background: linear-gradient(180deg, var(--paper), #f8f1e4);
}

.check-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.check-panel button {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 720;
  text-align: left;
}

.check-panel button[aria-pressed="true"] {
  border-color: rgba(201, 151, 62, 0.8);
  background: var(--gold-soft);
  color: var(--blue);
}

.check-result {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
}

.check-result span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.check-result p {
  color: rgba(255, 255, 255, 0.82);
}

.split-grid.reverse {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.content-photo {
  min-height: 430px;
  border-color: var(--line);
}

.signal-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.signal-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.signal-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
}

.signal-list p {
  color: var(--muted);
}

.calculation-box {
  display: grid;
  padding: 20px;
}

.calc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.calc-row:last-child {
  border-bottom: 0;
}

.calc-row span {
  color: var(--muted);
}

.calc-row strong {
  color: var(--blue);
}

.calc-row.result {
  margin-top: 6px;
  padding: 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green-soft);
}

.compass-section {
  background: var(--blue);
  color: var(--white);
}

.compass-section h2 {
  color: var(--white);
}

.compass-section .section-heading p {
  color: var(--gold);
}

.compass-grid a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: none;
}

.compass-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.step-flow li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.step-flow span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
}

.step-flow strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
}

.step-flow p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.faq-section {
  background: var(--paper);
}

.accordion {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: var(--white);
  color: var(--blue);
  font-weight: 850;
  text-align: left;
}

.faq-item button::after {
  float: right;
  color: var(--gold);
  content: "+";
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-item div {
  padding: 0 20px 18px;
  color: var(--muted);
}

.contact-section {
  background: var(--blue);
  color: var(--white);
}

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

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-note {
  margin-top: 24px;
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.contact-note strong {
  color: var(--gold);
}

.contact-person {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.contact-person strong {
  color: var(--white);
}

.contact-person a {
  color: var(--gold);
  font-weight: 820;
}

.contact-form {
  padding: 22px;
  background: var(--white);
  color: var(--ink);
}

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

.form-grid label {
  display: grid;
  gap: 6px;
  color: var(--blue);
  font-weight: 800;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

small,
.form-error {
  color: var(--wine);
  font-size: 13px;
  font-weight: 760;
}

.privacy {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-weight: 650;
}

.privacy input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.privacy a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error,
.form-status {
  margin: 12px 0 0;
}

.form-status {
  color: var(--green);
  font-size: 14px;
  font-weight: 780;
}

.contact-form .button {
  width: 100%;
  margin-top: 16px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer strong {
  color: var(--blue);
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--blue);
  font-weight: 760;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-grid h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.legal-grid p {
  color: var(--muted);
  font-size: 14px;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 110;
  transform: translateY(calc(100% + 32px));
  transition: transform 180ms ease;
}

body.show-sticky .sticky-cta {
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }

  .main-nav {
    gap: 13px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-grid,
  .intro-grid,
  .check-layout,
  .split-grid,
  .split-grid.reverse,
  .realism-layout,
  .process-layout,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .content-photo {
    min-height: 390px;
  }

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

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

@media (max-width: 860px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    display: none;
    height: calc(100dvh - 70px);
    align-content: start;
    justify-content: stretch;
    padding: 18px;
    background: var(--blue);
  }

  body.nav-open .main-nav {
    display: grid;
  }

  .main-nav a {
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
  }

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

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 34px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 54px 0 62px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 32px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    display: none;
  }

  h1 {
    font-size: 37px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .sticky-cta {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .hero-photo,
  .content-photo {
    min-height: 300px;
  }

  .trust-grid,
  .pathway-grid,
  .life-grid,
  .compass-grid,
  .step-flow,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .calc-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

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