:root {
  --navy: #10243f;
  --navy-deep: #07172b;
  --ink: #26354a;
  --muted: #687383;
  --line: #e7dfd2;
  --cream: #f8f5ef;
  --paper: #fffefa;
  --gold: #c89a45;
  --gold-dark: #9d6d1f;
  --gold-soft: #f3e4c4;
  --sage: #dfe7df;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 4%, rgba(200, 154, 69, 0.14), transparent 28rem),
    linear-gradient(180deg, #fffefa 0, var(--cream) 34rem);
  color: var(--ink);
}

a { color: inherit; }

.site-header,
.site-footer,
.guide-shell,
.hub-shell,
.download-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(16, 36, 63, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.button,
.site-nav .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 9px;
  padding: 0 18px;
  background: var(--navy);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 36, 63, 0.14);
}

.button:hover { background: var(--navy-deep); }

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 50px;
  align-items: end;
  padding: 90px 0 62px;
}

.hub-hero h1,
.article-hero h1,
.download-card h1 {
  margin: 0;
  max-width: 850px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hub-hero p,
.article-deck,
.download-card > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-note {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.55;
}

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

.guide-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  background: rgba(255, 254, 250, 0.92);
  box-shadow: 0 20px 50px rgba(16, 36, 63, 0.06);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.guide-card:nth-child(3n + 2) { background: rgba(243, 228, 196, 0.45); }
.guide-card:nth-child(3n + 3) { background: rgba(223, 231, 223, 0.54); }

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(16, 36, 63, 0.1);
}

.guide-card .number {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.guide-card h2 {
  margin: 54px 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.guide-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.guide-card .read-more {
  margin-top: auto;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.article-hero {
  max-width: 920px;
  padding: 74px 0 50px;
}

.article-hero h1 { font-size: clamp(44px, 6.4vw, 76px); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 300px);
  gap: 64px;
  align-items: start;
  padding: 22px 0 96px;
}

.article-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.78;
}

.article-body h2 {
  margin: 58px 0 16px;
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.article-body h3 {
  margin: 34px 0 10px;
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 21px;
  line-height: 1.3;
}

.article-body p { margin: 0 0 22px; }

.trust-hero { max-width: 980px; }

.trust-hero .article-deck { max-width: 850px; }

.trust-layout { grid-template-columns: minmax(0, 760px) minmax(240px, 300px); }

.trust-body > section:first-child h2 { margin-top: 0; }

.trust-body a {
  color: var(--navy);
  font-weight: 750;
}

.trust-metadata {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  background: rgba(255, 254, 250, 0.9);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.trust-metadata dl { margin: 0; }

.trust-metadata dl div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 0.65fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.trust-metadata dl div:first-child { border-top: 0; }

.trust-metadata dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.trust-metadata dd {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 750;
}

.article-body ul,
.article-body ol {
  margin: 0 0 28px;
  padding-left: 26px;
}

.article-body li { margin: 0 0 11px; }

.article-body strong { color: var(--navy); }

.callout {
  margin: 38px 0;
  border: 1px solid #dfc99f;
  border-radius: 12px;
  padding: 26px 28px;
  background: var(--gold-soft);
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.checklist {
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 34px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
}

.article-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.aside-card,
.article-cta {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  background: rgba(255, 254, 250, 0.94);
  box-shadow: 0 16px 40px rgba(16, 36, 63, 0.06);
}

.aside-card h2,
.article-cta h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.aside-card p,
.article-cta p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.aside-card a:not(.button) {
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.article-cta {
  margin-top: 58px;
  border-color: var(--navy);
  padding: 30px;
  background: var(--navy);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.article-cta h2 { color: #fff; }
.article-cta p { color: rgba(255, 255, 255, 0.76); }
.article-cta .button { border-color: #fff; background: #fff; color: var(--navy); }

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 38px 0 56px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer p { max-width: 460px; margin: 12px 0 0; }

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

.footer-links a { text-decoration: none; }

.download-shell {
  display: grid;
  min-height: calc(100vh - 88px);
  place-items: center;
  padding: 60px 0 100px;
}

.download-card {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(32px, 7vw, 70px);
  background: var(--paper);
  text-align: center;
  box-shadow: 0 26px 70px rgba(16, 36, 63, 0.1);
}

.download-card h1 { font-size: clamp(42px, 6vw, 68px); }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 820px) {
  .site-header { align-items: flex-start; padding: 18px 0; }
  .site-nav a:not(.button) { display: none; }
  .hub-hero,
  .article-layout { grid-template-columns: 1fr; }
  .hub-hero { gap: 30px; padding-top: 58px; }
  .guide-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .guide-shell,
  .hub-shell,
  .download-shell { width: min(100% - 28px, 1160px); }
  .site-nav .button { min-height: 42px; padding-inline: 13px; }
  .guide-card { min-height: 0; padding: 24px; }
  .guide-card h2 { margin-top: 34px; }
  .article-hero { padding-top: 50px; }
  .article-body { font-size: 18px; }
  .trust-metadata { padding: 20px; }
  .trust-metadata dl div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .guide-card { transition: none; }
}
