:root {
  --ink: #122536;
  --muted: #526474;
  --navy: #0c2d48;
  --navy-2: #174b68;
  --teal: #087f83;
  --teal-dark: #07676a;
  --aqua: #dff2ef;
  --cream: #f7f5ef;
  --white: #ffffff;
  --line: #d9e1e5;
  --warning: #9f3f2f;
  --warning-bg: #fff0ec;
  --shadow: 0 18px 45px rgba(12, 45, 72, 0.11);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #f1a95b; outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--white);
  color: var(--navy);
  padding: .7rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.prototype-bar {
  background: #081f32;
  color: #dceaf1;
  text-align: center;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .42rem 1rem;
}
.site-header {
  background: rgba(247, 245, 239, .96);
  border-bottom: 1px solid rgba(12, 45, 72, .12);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 78px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -.035em;
}
.brand-mark {
  width: 34px;
  height: 38px;
  flex: 0 0 auto;
}
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a {
  color: #284759;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem .72rem;
  border-radius: 10px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--aqua); color: var(--navy); }
.nav-links .nav-cta { background: var(--teal); color: white; margin-left: .35rem; }
.nav-links .nav-cta:hover, .nav-links .nav-cta[aria-current="page"] { background: var(--teal-dark); color: white; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 10px;
  padding: .55rem .75rem;
  font-weight: 750;
}

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 790px); margin-inline: auto; }
.section { padding: 84px 0; }
.section-sm { padding: 54px 0; }
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--navy); line-height: 1.14; margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
h1 { font-size: clamp(2.55rem, 6vw, 5.2rem); max-width: 13ch; margin-bottom: 1.3rem; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.22rem; margin-bottom: .55rem; }
p { margin: 0 0 1.15rem; }
.lead { color: #344f61; font-size: clamp(1.12rem, 2.2vw, 1.35rem); line-height: 1.58; max-width: 65ch; }
.muted { color: var(--muted); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 22%, rgba(72, 184, 179, .22), transparent 26%),
    linear-gradient(145deg, #f7f5ef 35%, #e8f3f1 100%);
  padding: 96px 0 88px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 800px;
  right: -18px;
  bottom: 10px;
  background: url("liberty-real-contour.png") center bottom / contain no-repeat;
  opacity: .16;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 0;
  border-radius: 12px;
  padding: .86rem 1.15rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--teal); color: white; box-shadow: 0 8px 22px rgba(8, 127, 131, .22); }
.button-primary:hover { background: var(--teal-dark); color: white; }
.button-secondary { background: var(--white); color: var(--navy); border: 1px solid #cbd8dd; }
.button-secondary:hover { border-color: var(--teal); color: var(--navy); }
.button[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.trust-panel {
  background: var(--white);
  border: 1px solid rgba(12,45,72,.1);
  border-radius: 26px;
  padding: 1.7rem;
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.trust-item { display: grid; grid-template-columns: 42px 1fr; gap: .85rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.trust-item:last-child { border-bottom: 0; }
.icon-disc { width: 42px; height: 42px; border-radius: 50%; background: var(--aqua); display: grid; place-items: center; color: var(--teal-dark); font-weight: 900; }
.trust-item p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }

@media (min-width: 901px) {
  .trust-panel { transform: translateY(125px); }
}

.route-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.route-grid { grid-template-columns: repeat(2, 1fr); }
.route-card, .card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 8px 26px rgba(12,45,72,.055);
}
.route-card { min-height: 265px; display: flex; flex-direction: column; }
.route-card.urgent { border-top: 5px solid #d86a52; }
.route-card.prevent { border-top: 5px solid var(--teal); }
.route-number { color: var(--teal-dark); font-weight: 900; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.route-card p { color: var(--muted); }
.text-link { margin-top: auto; font-weight: 850; text-decoration-thickness: 2px; }
.card p:last-child, .route-card p:last-child { margin-bottom: 0; }
.card-icon { color: var(--teal-dark); font-size: 1.35rem; font-weight: 900; margin-bottom: .8rem; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(145deg, #eaf4f2, #f7f5ef 70%);
  padding: 70px 0 58px;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 410px;
  height: 540px;
  right: max(-120px, calc((100vw - 1180px) / 2 - 150px));
  bottom: -205px;
  background: url("liberty-real-contour.png") center bottom / contain no-repeat;
  opacity: .105;
  pointer-events: none;
}
.page-hero--protect::after {
  width: 500px;
  height: 650px;
  bottom: -245px;
}
.page-hero--emphasis::after {
  width: 485px;
  height: 635px;
  bottom: -240px;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); max-width: 17ch; }
.breadcrumb { display: flex; gap: .55rem; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--muted); }
.content-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 112px; border-left: 3px solid var(--aqua); padding-left: 1rem; }
.toc strong { display: block; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: .32rem 0; font-size: .9rem; line-height: 1.35; }
.toc a:hover { color: var(--teal-dark); }
.article { min-width: 0; }
.article section { scroll-margin-top: 115px; margin-bottom: 4rem; }
.article h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
.article h3 { margin-top: 2rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin-bottom: .55rem; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.15rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: white; font-weight: 900; }
.step p:last-child { margin-bottom: 0; }
.callout {
  border-left: 5px solid var(--teal);
  background: var(--aqua);
  border-radius: 0 14px 14px 0;
  padding: 1.25rem 1.4rem;
  margin: 1.7rem 0;
}
.callout.warning { border-color: var(--warning); background: var(--warning-bg); }
.callout p:last-child { margin-bottom: 0; }
.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--navy);
  border-left: 4px solid var(--teal);
  padding-left: 1.3rem;
  margin: 1.7rem 0;
}
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 50%; background: var(--aqua); color: var(--teal-dark); font-size: .8rem; font-weight: 950; }
.link-list { display: grid; gap: .75rem; margin: 1.3rem 0; }
.resource-link { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .95rem 1.05rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 750; }
.resource-link span { color: var(--muted); font-size: .84rem; font-weight: 600; }

.story-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.portrait { position: sticky; top: 112px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 24%; border-radius: 24px; box-shadow: var(--shadow); }
.portrait figcaption { color: var(--muted); font-size: .88rem; margin-top: .85rem; }
.story-copy p:first-of-type::first-letter { float: left; font-family: Georgia, serif; font-size: 4rem; line-height: .78; padding-right: .5rem; color: var(--teal-dark); }

.form-shell { background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.form-intro { padding: 2rem; background: #eef7f5; border-bottom: 1px solid var(--line); }
.form-section { padding: 2rem; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.form-section h2 { font-family: inherit; font-size: 1.35rem; letter-spacing: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label, fieldset legend { font-weight: 760; color: var(--navy); }
.field small { color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  border: 1px solid #b9c7ce;
  border-radius: 10px;
  background: #fbfcfc;
  padding: .76rem .82rem;
  color: var(--ink);
}
textarea { min-height: 155px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem 1rem; margin-top: .65rem; }
.choice { display: flex; gap: .55rem; align-items: flex-start; color: #334c5c; }
.choice input { margin-top: .35rem; accent-color: var(--teal); }
.form-actions { padding: 1.7rem 2rem 2rem; }
.form-status { margin-top: .8rem; color: var(--warning); font-weight: 700; }
.form-status.error { color: #9f2f24; }
.form-actions .cf-turnstile { margin-bottom: 1.15rem; min-height: 65px; }
.form-actions button:disabled { cursor: wait; opacity: .65; }

.site-footer { background: var(--navy); color: #dce8ed; padding: 62px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 50px; }
.site-footer h2, .site-footer h3 { color: white; font-family: inherit; }
.site-footer h2 { font-size: 1.35rem; }
.site-footer h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer p { color: #b8ccd5; font-size: .9rem; }
.site-footer a { color: #edf7f7; }
.footer-links a { display: block; margin: .42rem 0; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.2rem; margin-top: 2.7rem; font-size: .78rem; color: #aec3cc; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--cream); padding: 1rem 24px 1.3rem; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(12,45,72,.1); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: .72rem; }
  .nav-links .nav-cta { margin-left: 0; margin-top: .25rem; text-align: center; }
  .hero-grid, .story-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 68px; }
  .hero::after { width: 600px; height: 790px; right: -86px; bottom: 8px; opacity: .13; }
  .trust-panel { max-width: 620px; }
  .route-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; gap: 34px; }
  .toc { position: static; border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 1.2rem; display: flex; gap: .5rem 1rem; flex-wrap: wrap; }
  .toc strong { width: 100%; }
  .toc a { padding: .2rem 0; }
  .portrait { position: static; max-width: 450px; }
  .page-hero::after { width: 360px; height: 500px; right: -55px; bottom: -205px; opacity: .09; }
  .page-hero--protect::after { width: 430px; height: 560px; right: -115px; bottom: -220px; }
  .page-hero--emphasis::after { width: 425px; height: 555px; right: -105px; bottom: -220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 62px 0; }
  .hero { padding: 58px 0 64px; }
  .hero::after { width: 500px; height: 720px; right: -92px; bottom: 8px; opacity: .115; }
  .hero-grid { gap: 42px; }
  h1 { font-size: 2.65rem; }
  .route-grid, .card-grid, .field-grid, .choice-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 0; }
  .page-hero { padding: 52px 0 44px; }
  .page-hero::after { width: 300px; height: 430px; right: -100px; bottom: -190px; opacity: .075; }
  .page-hero--protect::after { width: 340px; height: 470px; right: -125px; bottom: -195px; }
  .page-hero--emphasis::after { width: 335px; height: 465px; right: -120px; bottom: -195px; }
  .step { grid-template-columns: 42px 1fr; gap: .8rem; }
  .step-num { width: 36px; height: 36px; }
  .form-intro, .form-section, .form-actions { padding: 1.35rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: .45rem; }
}

@media print {
  .prototype-bar, .site-header, .site-footer, .toc, .hero-actions { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  .section, .section-sm, .page-hero { padding: 24px 0; }
  .content-layout, .story-grid { display: block; }
  .article section { break-inside: avoid; margin-bottom: 1.5rem; }
  a { color: black; }
}
