:root {
  --navy: #061f3d;
  --navy-2: #102b4f;
  --navy-3: #183b66;
  --ink: #121a27;
  --muted: #5c6675;
  --line: #e3ded2;
  --bg: #f5f3ee;
  --soft: #fbfaf7;
  --card: #ffffff;
  --gold: #c99a2e;
  --gold-2: #e4c16d;
  --brass-soft: #f2e5c5;
  --blue-soft: #edf2f7;
  --success: #1f7a64;
  --shadow: 0 22px 70px rgba(6, 31, 61, 0.14), 0 6px 18px rgba(6, 31, 61, 0.07);
  --shadow-small: 0 1px 2px rgba(6, 31, 61, 0.05), 0 8px 24px rgba(6, 31, 61, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 30px;
}

.site-header {
  background: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(6, 31, 61, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

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

.brand-crest {
  align-items: center;
  background: var(--navy);
  border: 1px solid rgba(201, 154, 46, 0.58);
  box-shadow: 0 12px 34px rgba(6, 31, 61, 0.16);
  color: var(--gold-2);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 44px;
}

.brand-name,
.brand-subline {
  display: block;
}

.brand-name {
  color: var(--navy);
  font-size: 18px;
  font-weight: 820;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-subline {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.btn-nav {
  background: var(--navy);
  color: white !important;
  padding: 10px 16px;
}

.mobile-nav-toggle { display: none; }

.hero {
  color: white;
  min-height: 760px;
  overflow: hidden;
  padding: 92px 0 84px;
  position: relative;
}

.hero::before {
  background:
    radial-gradient(circle at 64% 22%, rgba(201, 154, 46, 0.32) 0%, rgba(201, 154, 46, 0) 28%),
    linear-gradient(90deg, rgba(6, 31, 61, 0.98) 0%, rgba(6, 31, 61, 0.9) 42%, rgba(6, 31, 61, 0.5) 100%),
    url("brand/workspace.jpg") center right / cover no-repeat;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  opacity: 0.18;
  position: absolute;
  z-index: -1;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: 1.12fr 0.88fr;
}

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

.hero h1,
.section-head h2,
.diagnostic-grid h2,
.portal-grid h2,
.stripe-grid h2,
.contact-grid h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(48px, 6.4vw, 86px);
  font-weight: 720;
  margin-bottom: 26px;
  max-width: 820px;
}

.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.55;
  max-width: 730px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn-primary,
.btn-secondary {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  gap: 10px;
}

.btn-primary:hover {
  background: var(--gold-2);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--navy);
}

.btn-secondary.dark {
  border-color: rgba(6, 31, 61, 0.24);
  color: var(--navy);
}

.btn-secondary.dark:hover {
  background: var(--navy);
  color: white;
}

.btn-primary.full {
  width: 100%;
}

.hero-proof {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  max-width: 850px;
}

.hero-proof span {
  border-left: 2px solid var(--gold);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  padding: 8px 0 8px 12px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 30px;
}

.hero-card-top {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.hero-card-top span,
.signal-grid span,
.hero-lane span,
.support-card span,
.portal-card span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.hero-card-top strong {
  color: var(--navy);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-lane {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 42px 1fr;
  padding: 24px 0;
  text-decoration: none;
}

.hero-lane:hover strong {
  color: var(--gold);
}

.hero-lane strong {
  color: var(--navy);
  display: block;
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero-lane p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.signal-strip {
  background: var(--navy);
  color: white;
  padding: 0;
}

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

.signal-grid div {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 138px;
  padding: 30px;
}

.signal-grid strong {
  display: block;
  font-size: 19px;
  line-height: 1.25;
}

section {
  padding: 90px 0;
}

#services,
#diagnostic,
#formation,
#itin,
#nonprofit,
#contact {
  scroll-margin-top: 96px;
}

.section-head {
  display: grid;
  gap: 34px;
  grid-template-columns: 0.95fr 1.05fr;
  margin-bottom: 48px;
}

.section-head h2,
.diagnostic-grid h2,
.canada-grid h2,
.portal-grid h2,
.stripe-grid h2,
.contact-grid h2 {
  color: var(--navy);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 720;
}

.section-head p,
.diagnostic-grid p,
.canada-grid p,
.portal-grid p,
.stripe-grid p,
.contact-grid p {
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
}

.canada-section {
  background: var(--soft);
}

.canada-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: 1.1fr 0.9fr;
}

.canada-card {
  background: var(--navy);
  box-shadow: var(--shadow);
  color: white;
  min-height: 330px;
  padding: 36px;
}

.canada-card span {
  color: var(--gold-2);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.canada-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 20px;
}

.canada-card p {
  color: rgba(255, 255, 255, 0.76);
}

.canada-pathways {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.canada-pathways a {
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  min-height: 52px;
  padding: 13px 15px;
  text-decoration: none;
}

.canada-pathways a:hover {
  border-color: rgba(201, 154, 46, 0.58);
  box-shadow: var(--shadow-small);
}

.services-section {
  background: var(--bg);
}

.service-board {
  background: var(--card);
  box-shadow: var(--shadow);
}

.service-tabs {
  background: var(--soft);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.service-tab {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  min-height: 70px;
}

.service-tab.active,
.service-tab:hover {
  background: var(--gold);
  color: var(--navy);
}

.service-panel {
  display: none;
  gap: 48px;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 390px;
  padding: 48px;
}

.service-panel.active {
  display: grid;
}

.card-kicker {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.service-panel h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 18px;
}

.service-panel p {
  color: var(--muted);
  font-size: 18px;
}

.inline-link {
  color: var(--navy);
  display: inline-block;
  font-weight: 900;
  margin-top: 24px;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.panel-list {
  align-self: stretch;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
  padding: 30px;
}

.panel-list li {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 750;
  padding: 17px 0 17px 28px;
  position: relative;
}

.panel-list li:first-child {
  border-top: 0;
}

.panel-list li::before {
  background: var(--gold);
  content: "";
  height: 8px;
  left: 4px;
  position: absolute;
  top: 26px;
  width: 8px;
}

.diagnostic-section {
  background: var(--soft);
}

.diagnostic-grid,
.portal-grid,
.stripe-grid,
.contact-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: 0.9fr 1.1fr;
}

.diagnostic-card {
  background: var(--navy);
  box-shadow: var(--shadow);
  color: white;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 0.45fr;
  padding: 22px;
}

.diagnostic-options {
  display: grid;
  gap: 10px;
}

.diagnostic-options button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  min-height: 54px;
  padding: 14px 16px;
  text-align: left;
}

.diagnostic-options button.active {
  background: var(--gold);
  color: var(--navy);
}

.diagnostic-result {
  background: white;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.diagnostic-result span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.diagnostic-result strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 80px;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 12px 0;
}

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

.workflow-section {
  background: var(--bg);
}

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

.workflow-step {
  background: white;
  border: 1px solid var(--line);
  min-height: 260px;
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.workflow-step:hover {
  border-color: rgba(201, 154, 46, 0.48);
  box-shadow: var(--shadow-small);
  transform: translateY(-3px);
}

.workflow-step span {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
  margin-bottom: 54px;
}

.workflow-step h3 {
  color: var(--navy);
  font-size: 21px;
  margin-bottom: 10px;
}

.workflow-step p {
  color: var(--muted);
  font-size: 15px;
}

.guides-section {
  background: var(--soft);
}

.guides-grid {
  align-items: stretch;
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr 0.82fr;
}

.guides-grid h2,
.blog-hero h1,
.article-shell h1 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 20px;
}

.guides-grid p,
.blog-hero p,
.article-intro {
  color: var(--muted);
  font-size: 19px;
  max-width: 780px;
}

.guides-card {
  background: var(--navy);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: 34px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.guides-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.guides-card span,
.blog-card span,
.article-meta {
  color: var(--gold-2);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.guides-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.guides-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.blog-page,
.article-page {
  background: var(--bg);
}

.blog-hero {
  background:
    linear-gradient(90deg, rgba(6, 31, 61, 0.94), rgba(16, 43, 79, 0.78)),
    url("brand/documents.jpg") center / cover no-repeat;
  color: white;
  padding: 86px 0;
}

.blog-hero h1,
.blog-hero p {
  color: white;
}

.blog-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.blog-list {
  padding: 54px 0 96px;
}

.blog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  background: white;
  border: 1px solid var(--line);
  min-height: 285px;
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-card:hover {
  border-color: rgba(201, 154, 46, 0.48);
  box-shadow: var(--shadow-small);
  transform: translateY(-3px);
}

.blog-card h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.blog-card h2 a {
  text-decoration: none;
}

.blog-card p {
  color: var(--muted);
  font-size: 15px;
}

.article-page {
  padding: 66px 0 96px;
}

.article-shell {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-small);
  margin: 0 auto;
  max-width: 920px;
  padding: clamp(28px, 5vw, 62px);
}

.back-link {
  color: var(--navy);
  display: inline-block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 28px;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.article-meta {
  color: var(--gold);
}

.article-shell h1 {
  font-size: clamp(40px, 5.8vw, 72px);
  max-width: 840px;
}

.article-intro {
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  padding-bottom: 30px;
}

.article-shell section {
  padding: 0;
}

.article-shell h2 {
  color: var(--navy);
  font-size: 27px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 34px 0 12px;
}

.article-shell p,
.article-shell li {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 14px;
}

.reference-box,
.article-cta {
  background: var(--bg);
  border: 1px solid var(--line);
  margin-top: 34px;
  padding: 26px;
}

.reference-box ul {
  list-style: none;
}

.reference-box a {
  color: var(--navy);
  font-weight: 850;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.article-cta .btn-primary {
  margin-top: 10px;
}

.article-disclaimer {
  border-top: 1px solid var(--line);
  font-size: 14px !important;
  margin-top: 30px;
  padding-top: 22px;
}

.landing-page {
  background: var(--bg);
}

.landing-hero {
  background:
    radial-gradient(circle at 76% 22%, rgba(201, 154, 46, 0.22), transparent 30%),
    linear-gradient(118deg, rgba(6, 31, 61, 0.98), rgba(16, 43, 79, 0.84) 58%, rgba(245, 243, 238, 0.15)),
    url("brand/documents.jpg") center / cover no-repeat;
  color: white;
  padding: 92px 0 82px;
}

.landing-hero-grid {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr 0.42fr;
}

.landing-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 22px;
  max-width: 860px;
}

.landing-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  max-width: 760px;
}

.landing-summary {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(201, 154, 46, 0.28);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 28px;
}

.landing-summary span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.landing-summary strong {
  color: var(--navy);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 14px;
}

.landing-summary p {
  color: var(--muted);
  font-size: 16px;
}

.landing-cards {
  padding: 58px 0;
}

.landing-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.landing-card {
  background: white;
  border: 1px solid var(--line);
  min-height: 230px;
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.landing-card:hover {
  border-color: rgba(201, 154, 46, 0.48);
  box-shadow: var(--shadow-small);
  transform: translateY(-3px);
}

.landing-card h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.landing-card p {
  color: var(--muted);
  font-size: 15px;
}

.landing-band {
  background: var(--navy);
  color: white;
  padding: 64px 0;
}

.landing-band-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.landing-band-grid div {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
}

.landing-band-grid strong {
  color: var(--gold-2);
  display: block;
  font-size: 15px;
  margin-bottom: 10px;
}

.landing-band-grid p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}

.landing-links {
  background: var(--soft);
  padding: 56px 0;
}

.section-minihead {
  margin-bottom: 22px;
}

.section-minihead span,
.landing-link-card span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-minihead h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.landing-link-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.landing-link-card {
  background: white;
  border: 1px solid var(--line);
  min-height: 150px;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.landing-link-card:hover {
  border-color: rgba(201, 154, 46, 0.48);
  box-shadow: var(--shadow-small);
  transform: translateY(-3px);
}

.landing-link-card strong {
  color: var(--navy);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.portal-section {
  background:
    linear-gradient(90deg, rgba(6, 31, 61, 0.92), rgba(6, 31, 61, 0.8)),
    url("brand/formation-meeting.jpg") center / cover no-repeat;
  color: white;
}

.portal-grid h2,
.portal-grid p {
  color: white;
}

.portal-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.portal-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 34px;
}

.portal-card p {
  color: var(--muted);
  font-size: 18px;
}

.stripe-section {
  background: white;
}

.stripe-list {
  display: grid;
  gap: 14px;
}

.stripe-list div {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
}

.stripe-list strong,
.stripe-list span {
  display: block;
}

.stripe-list strong {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 7px;
}

.stripe-list span {
  color: var(--muted);
}

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

.contact-grid {
  grid-template-columns: 1fr 0.78fr;
}

.contact-card {
  background: white;
  box-shadow: var(--shadow);
  padding: 32px;
}

.contact-line {
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  display: block;
  font-size: 23px;
  font-weight: 900;
  padding: 16px 0;
  text-decoration: none;
}

.contact-card p {
  color: var(--muted);
  margin: 22px 0 28px;
}

.site-footer {
  background: var(--navy);
  color: white;
  padding: 34px 0;
}

.legal-page {
  background: var(--bg);
  min-height: calc(100vh - 78px);
  padding: 84px 0;
}

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

.legal-page h1 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 28px;
}

.legal-page h2 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
  margin: 36px 0 10px;
}

.legal-page p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr auto 1fr;
}

.footer-inner strong {
  display: block;
  font-size: 17px;
}

.footer-inner p,
.footer-inner span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: white;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    color: var(--navy);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
  }

  .mobile-nav-toggle svg {
    height: 22px;
    width: 22px;
  }

  .site-nav {
    background: white;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 72px;
    width: min(310px, calc(100vw - 40px));
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 60px 0;
  }

  .hero-grid,
  .section-head,
  .diagnostic-grid,
  .canada-grid,
  .landing-hero-grid,
  .landing-band-grid,
  .portal-grid,
  .stripe-grid,
  .contact-grid,
  .guides-grid,
  .service-panel.active,
  .diagnostic-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-proof,
  .signal-grid,
  .workflow-grid,
  .landing-card-grid,
  .landing-link-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 20px;
  }

  .brand-subline {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-proof,
  .signal-grid,
  .canada-pathways,
  .service-tabs,
  .workflow-grid,
  .landing-card-grid,
  .landing-link-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .service-panel,
  .service-panel.active {
    padding: 28px;
  }

  .hero-card,
  .contact-card,
  .portal-card {
    padding: 24px;
  }

  section {
    padding: 64px 0;
  }
}
