:root {
  --blue: #05264f;
  --blue-2: #0b3a6a;
  --gold: #c9973e;
  --gold-soft: #f5ead2;
  --green: #486b60;
  --green-soft: #e8f0ed;
  --wine: #854653;
  --paper: #fbf8f0;
  --soft: #f1f5f7;
  --white: #ffffff;
  --ink: #142233;
  --muted: #647284;
  --line: #e2d9cb;
  --line-blue: rgba(255, 255, 255, 0.18);
  --shadow: 0 20px 50px rgba(5, 38, 79, 0.12);
  --shadow-strong: 0 28px 72px 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, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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);
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.05rem, 4vw, 3.35rem);
  line-height: 1.03;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

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

:focus-visible {
  outline: 3px solid rgba(201, 151, 62, 0.72);
  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: 500;
  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-inline: 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.24);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  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 {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 760;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  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,
.main-nav a.is-active {
  color: var(--white);
}

.main-nav a.is-active {
  box-shadow: inset 0 -3px 0 var(--gold);
}

.nav-cta {
  color: var(--gold);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  max-width: 100%;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.header-cta,
.button-primary {
  background: var(--gold);
  color: var(--blue);
}

.button-primary {
  box-shadow: 0 18px 42px rgba(201, 151, 62, 0.24);
}

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 62px) 0 46px;
  background:
    linear-gradient(125deg, rgba(5, 38, 79, 0.98) 0%, rgba(9, 54, 96, 0.96) 54%, rgba(55, 84, 98, 0.9) 100%),
    var(--blue);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 151, 62, 0.72), transparent);
}

.hero-grid,
.intro-layout,
.question-layout,
.split-grid,
.check-layout,
.inheritance-layout,
.contrast-grid,
.realism-layout,
.faq-layout,
.contact-layout,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.hero-grid {
  align-items: center;
}

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

.hero-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

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

.hero-points {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin: 20px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  list-style: none;
}

.hero-trust {
  margin-top: 18px;
  color: var(--gold-soft);
  font-weight: 850;
}

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

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

.hero-photo,
.content-photo,
.contact-photo {
  margin: 0;
}

.hero-photo {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  background: rgba(255, 255, 255, 0.08);
}

.hero-photo img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.hero-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(5, 38, 79, 0.9);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(5, 38, 79, 0.28);
}

.hero-photo figcaption span {
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-photo figcaption strong {
  line-height: 1.2;
}

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

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-grid article {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

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

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

.section {
  padding: clamp(64px, 9vw, 108px) 0;
}

.intro-section,
.check-section,
.faq-section {
  background: var(--white);
}

.question-section,
.process-section {
  background: var(--soft);
}

.forms-section,
.inheritance-section {
  background: var(--paper);
}

.section-copy {
  max-width: 640px;
}

.section-copy p:not(.eyebrow),
.section-heading p {
  font-size: 1.02rem;
}

.motive-grid,
.question-list,
.signal-list,
.inheritance-cards,
.term-list {
  display: grid;
  gap: 16px;
}

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

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

.motive-grid article,
.route-grid article,
.signal-list article,
.inheritance-cards article,
.term-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(5, 38, 79, 0.06);
}

.intro-section .motive-grid article,
.faq-section .faq-item,
.term-list article {
  background: var(--paper);
}

.question-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.question-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--gold);
  font-weight: 900;
}

.question-list strong {
  color: var(--blue);
  line-height: 1.3;
}

.content-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.signal-list {
  margin-top: 28px;
}

.signal-list article,
.term-list article {
  display: grid;
  gap: 5px;
}

.signal-list strong,
.term-list strong {
  color: var(--blue);
}

.inheritance-cards article:nth-child(2) {
  border-color: rgba(201, 151, 62, 0.52);
  background: var(--gold-soft);
}

.check-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.check-panel button[aria-pressed="true"] {
  border-color: rgba(201, 151, 62, 0.85);
  background: var(--gold-soft);
  box-shadow: inset 4px 0 0 var(--gold);
}

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

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

.check-result strong {
  font-size: 1.18rem;
  line-height: 1.22;
}

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

.contrast-section {
  background: var(--blue);
}

.contrast-section h2,
.contrast-section .eyebrow {
  color: var(--white);
}

.contrast-section .eyebrow {
  color: var(--gold);
}

.contrast-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contrast-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

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

.timeline li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(5, 38, 79, 0.06);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--gold);
  font-weight: 900;
}

.realism-section {
  background: var(--white);
}

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

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

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  position: relative;
  width: 100%;
  min-height: 64px;
  padding: 18px 56px 18px 20px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 850;
  text-align: left;
}

.faq-icon::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 900;
}

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

.faq-item div {
  padding: 0 20px 20px;
}

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

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

.contact-section .eyebrow {
  color: var(--gold);
}

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

.contact-photo {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.contact-photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.awz-contact-card {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

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

.awz-contact-card a {
  color: var(--white);
  font-weight: 850;
}

.awz-contact-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

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

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

.form-row label,
.checkbox-row {
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 850;
}

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

.form-row textarea {
  resize: vertical;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.checkbox-row input {
  margin-top: 4px;
}

.checkbox-row a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.field-error,
.form-error {
  min-height: 20px;
  color: var(--wine);
  font-size: 0.9rem;
  font-weight: 760;
}

.form-status {
  min-height: 20px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 760;
}

.form-submit {
  width: 100%;
  border: 0;
}

.site-footer {
  padding: 42px 0 92px;
  background: #031b39;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.6fr 1fr;
  gap: 34px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

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

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
}

.legal-links {
  margin-top: 14px;
}

.legal-page {
  min-height: 100vh;
  padding: 70px 0;
  background: var(--paper);
}

.legal-page h1 {
  color: var(--blue);
}

.legal-page .container {
  max-width: 820px;
}

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

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 200;
  display: none;
  transform: translateX(-50%);
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(5, 38, 79, 0.22);
  white-space: nowrap;
}

body.show-sticky .sticky-cta {
  display: block;
}

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

  .main-nav {
    gap: 12px;
  }

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

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

  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--blue);
    box-shadow: 0 24px 54px rgba(5, 38, 79, 0.28);
  }

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

  .main-nav a {
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav a.is-active {
    box-shadow: none;
    color: var(--gold);
  }

  .hero-grid,
  .intro-layout,
  .question-layout,
  .split-grid,
  .check-layout,
  .inheritance-layout,
  .contrast-grid,
  .realism-layout,
  .faq-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-photo {
    display: none;
  }

  .motive-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .footer-grid {
    gap: 24px;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 28px, 560px);
  }

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

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

  .hero-actions {
    display: grid;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .hero-photo figcaption {
    position: static;
    margin: 0;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .hero-photo img {
    border-radius: var(--radius) var(--radius) 0 0;
  }

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

  .question-list article,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .question-list span,
  .timeline span {
    width: 48px;
    height: 48px;
  }

  .sticky-cta {
    left: 14px;
    right: 14px;
    transform: none;
  }

  .sticky-cta a {
    width: 100%;
  }
}

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

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