:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: #ded8cd;
  --navy: #183b62;
  --gold: #c49b42;
  --sage: #6f8376;
  --danger-soft: #fff5e7;
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header,
.hero,
.notice-strip,
.layout,
.checklist,
.consultation,
.faq,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--navy);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 54px 0;
}

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

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5.8vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.button,
.lead-form button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 0 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover,
.lead-form button:hover {
  transform: translateY(-1px);
  background: #fff;
  color: var(--navy);
}

.button.secondary {
  background: transparent;
  color: var(--navy);
}

.button.secondary:hover {
  background: var(--navy);
  color: #fff;
}

.trust-note {
  max-width: 680px;
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.notice-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.notice-strip div {
  padding: 22px;
  background: var(--surface);
}

.notice-strip span {
  color: var(--navy);
  font-weight: 800;
}

.notice-strip p {
  margin: 6px 0 0;
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  padding: clamp(56px, 8vw, 96px) 0;
}

.sidebar,
.article-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(23, 32, 51, 0.06);
}

.sidebar {
  position: sticky;
  top: 18px;
  align-self: start;
  padding: 24px;
}

.sidebar h2 {
  margin-top: 0;
}

.sidebar ul,
.clean-list {
  padding-left: 19px;
  color: var(--muted);
}

.sidebar li + li,
.clean-list li + li {
  margin-top: 10px;
}

.article-card {
  padding: clamp(24px, 5vw, 54px);
}

.article-card h2,
.section-heading h2,
.consultation h2,
.faq h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
}

.article-card h2:not(:first-of-type) {
  margin-top: 40px;
}

.article-meta {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-card p {
  color: #3e4656;
  font-size: 1.05rem;
}

.info-box {
  margin-top: 34px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid #efd7a6;
  background: var(--danger-soft);
  color: #51402b;
}

.checklist,
.consultation,
.faq {
  padding: clamp(52px, 7vw, 86px) 0;
  border-top: 1px solid var(--line);
}

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

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

.document-grid article {
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.document-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.document-grid h3 {
  margin: 0 0 10px;
  line-height: 1.18;
}

.document-grid p {
  margin: 0;
  color: var(--muted);
}

.consultation {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.consultation-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cfc8bb;
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: 1rem Arial, Helvetica, sans-serif;
}

.lead-form textarea {
  resize: vertical;
  min-height: 132px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(24, 59, 98, 0.16);
  border-color: var(--navy);
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.checkbox a {
  color: var(--navy);
  font-weight: 800;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--sage);
  font-weight: 800;
}

.faq details {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 800;
}

.faq details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.content-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 7vw, 78px) 0;
}

.content-page h1 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.content-page section {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.content-page h2 {
  margin-top: 0;
}

@media (max-width: 940px) {
  .hero,
  .layout,
  .consultation {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    order: -1;
  }

  .sidebar {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    gap: 8px 16px;
  }

  .notice-strip,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
