/* ===========================================================
   Klerum — Loan Review Intelligence
   Static stylesheet (vanilla CSS port of the Next.js/Tailwind site)
   Brand palette from Color Guide.txt
   =========================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #032a64;
  --navy-dark: #021e4b;
  --navy-900: #021838;
  --navy-800: #021e4b;
  --navy-700: #032a64;
  --navy-600: #0f3c7d;
  --navy-500: #1f4f97;
  --navy-200: #a3bfe0;
  --navy-100: #d3e0f1;
  --navy-50: #eef3fa;

  --teal: #11b8ae;
  --teal-bright: #21cfc0;
  --teal-700: #0c7a73;
  --teal-600: #0e9a91;
  --teal-500: #11b8ae;
  --teal-400: #21cfc0;
  --teal-100: #c4f2ee;
  --teal-50: #e7faf8;

  --slate: #51626f;
  --canvas: #f4f4f4;
  --white: #ffffff;

  --container: 1180px;
  --shadow-card: 0 1px 2px rgba(3, 42, 100, 0.04), 0 8px 24px rgba(3, 42, 100, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(3, 42, 100, 0.06), 0 16px 40px rgba(3, 42, 100, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--slate);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 1 auto;
}

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--teal-600); }

::selection {
  background-color: rgba(17, 184, 174, 0.22);
  color: var(--navy-dark);
}

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

/* ---------- Layout ---------- */
.container-x {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .container-x { padding: 0 2rem; }
}

.section {
  padding: 4rem 0;
}
@media (min-width: 640px) { .section { padding: 5rem 0; } }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }
.section--tint { background-color: var(--canvas); }

/* Hero backdrops */
.hero-grid {
  background-image:
    radial-gradient(circle at 20% 0%, rgba(17, 184, 174, 0.10), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(3, 42, 100, 0.08), transparent 40%);
}
.dot-grid {
  background-image: radial-gradient(rgba(3, 42, 100, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--navy-50);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 3.5rem; width: auto; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-700);
}
.nav-link:hover { color: var(--teal-700); }
.nav-link svg { height: 1rem; width: 1rem; flex-shrink: 0; }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }
.nav-link svg { transition: transform 0.15s ease; }

.nav-item { position: relative; }
.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 16rem;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-card {
  border-radius: 0.75rem;
  border: 1px solid var(--navy-50);
  background: var(--white);
  padding: 0.375rem;
  box-shadow: var(--shadow-card-hover);
}
.dropdown-card a {
  display: block;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy-700);
  text-decoration: none;
  white-space: nowrap;
}
.dropdown-card a:hover {
  background-color: var(--canvas);
  color: var(--teal-700);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--navy-50);
  background: var(--white);
}
.mobile-menu[hidden] { display: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
}
.mobile-nav a {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-700);
}
.mobile-nav a.m-strong { font-weight: 600; color: var(--navy); }
.mobile-nav a.m-sub { padding-left: 1.5rem; color: var(--navy-700); font-weight: 400; }
.mobile-nav .m-divider { height: 1px; background: var(--navy-50); margin: 0.5rem 0; }
.mobile-nav .btn-primary { margin-top: 0.25rem; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn,
.btn-primary,
.btn-accent,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.875rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-primary {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover {
  background-color: var(--navy-600);
  color: var(--white);
  box-shadow: var(--shadow-card-hover);
}
.btn-accent {
  background-color: var(--teal-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-card);
}
.btn-accent:hover {
  background-color: var(--teal-400);
  color: var(--navy-900);
  box-shadow: var(--shadow-card-hover);
}
.btn-ghost {
  border-color: var(--navy-100);
  background: var(--white);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--teal-bright); color: var(--teal-700); }
.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-700);
}
.btn-link:hover { color: var(--teal-600); }
.btn-link svg { height: 1rem; width: 1rem; transition: transform 0.2s ease; }
.btn-link:hover svg { transform: translateX(2px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Eyebrow / Section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  height: 1px;
  width: 1.5rem;
  background: var(--teal-500);
}

.section-heading { max-width: 42rem; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 600;
}
@media (min-width: 640px) { .section-heading h2 { font-size: 2.25rem; } }
.section-heading .intro {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- Typography helpers ---------- */
.prose-body { font-size: 1rem; line-height: 1.7; color: var(--slate); }
.prose-body + .prose-body { margin-top: 1.25rem; }
.muted { color: rgba(81, 98, 111, 0.8); }
.text-sm { font-size: 0.875rem; }
.measure { max-width: 48rem; }
.measure-narrow { max-width: 42rem; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-cards { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .grid-2-lg { grid-template-columns: repeat(2, 1fr); }
  .grid-3-sm { grid-template-columns: repeat(3, 1fr); }
}
.items-center { align-items: center; }
.items-start { align-items: start; }
@media (min-width: 1024px) {
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
  .split.start { align-items: start; }
  .order-1 { order: 1; }
  .order-2 { order: 2; }
}

/* ---------- Cards ---------- */
.card {
  border-radius: 1.25rem;
  border: 1px solid var(--navy-50);
  background: var(--white);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}
.card-hover { /* same as card, with hover lift */
  border-radius: 1.25rem;
  border: 1px solid var(--navy-50);
  background: var(--white);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card-hover:hover {
  transform: translateY(-2px);
  border-color: var(--teal-100);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.875rem;
  background: var(--teal-50);
  color: var(--teal-700);
  flex: none;
}
.feature-icon svg { height: 1.5rem; width: 1.5rem; }

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
}
.card-hover h2.card-title { font-size: 1.25rem; }
.card .card-body,
.card-hover .card-body { margin-top: 0.5rem; }
.card-hover .card-body { flex: 1 1 auto; }
.feature-icon + .card-title,
.feature-icon + h2,
.feature-icon + h3 { margin-top: 1.25rem; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 0.75rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.75rem; }
.checklist .check {
  margin-top: 0.125rem;
  display: inline-flex;
  height: 1.25rem;
  width: 1.25rem;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.checklist .check svg { height: 0.875rem; width: 0.875rem; }
.checklist span.txt { color: var(--slate); }

/* ---------- Stats ---------- */
.stat-value {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--navy);
}
@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }
.stat-label { margin-top: 0.25rem; font-size: 0.875rem; color: var(--slate); }

/* ---------- Screenshot placeholder ---------- */
.screenshot .frame {
  width: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid var(--navy-100);
  background: var(--canvas);
  aspect-ratio: 16 / 10;
}
.screenshot .frame.ratio-43 { aspect-ratio: 4 / 3; }
.screenshot .frame.ratio-1611 { aspect-ratio: 16 / 11; }
.screenshot .frame.has-image { aspect-ratio: auto; background: #0a0f1c; }
.screenshot .frame.has-image img { display: block; width: 100%; height: auto; }
.screenshot.shot-showcase { max-width: 1040px; margin-left: auto; margin-right: auto; }
.screenshot.shot-showcase .frame.has-image { box-shadow: var(--shadow-card-hover); }
.screenshot.shot-showcase figcaption { max-width: 44rem; margin: 0.9rem auto 0; text-align: center; }
.screenshot.shot-hero { max-width: 1120px; width: 100%; }
.screenshot .inner {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}
.screenshot .badge {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
  color: var(--teal-600);
}
.screenshot .badge svg { height: 1.25rem; width: 1.25rem; }
.screenshot .label { font-size: 0.875rem; font-weight: 500; color: var(--navy-600); }
.screenshot .sub { font-size: 0.75rem; color: rgba(81, 98, 111, 0.7); }
.screenshot figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(81, 98, 111, 0.8); }

/* ---------- Engagement profile modal (UI mock) ---------- */
.screenshot .frame.has-ui {
  aspect-ratio: auto;
  background: radial-gradient(120% 120% at 20% -10%, #11203b 0%, #0a1224 55%, #070d1a 100%);
  border-color: #1c2c4a;
  padding: 1.75rem;
  display: flex;
}
.profile-modal {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(120, 150, 200, 0.16);
  background: linear-gradient(180deg, #0f1830 0%, #0c1426 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #e8eefb;
  font-size: 0.9rem;
  overflow: hidden;
}
.profile-modal .pm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 1.3rem;
  border-bottom: 1px solid rgba(120, 150, 200, 0.12);
}
.profile-modal .pm-head h4 { margin: 0; font-size: 1.05rem; font-weight: 600; color: #fff; }
.profile-modal .pm-close {
  border: 0; background: none; color: #7e93b5; cursor: default;
  font-size: 1.25rem; line-height: 1; padding: 0;
}
.profile-modal .pm-body { padding: 1.3rem; display: grid; gap: 1.15rem; }
.profile-modal .pm-field { display: grid; gap: 0.45rem; }
.profile-modal .pm-label { font-size: 0.78rem; font-weight: 500; color: #9fb1cf; }
.profile-modal .pm-label .req { color: #ff5a6a; margin-left: 2px; }
.profile-modal .pm-input {
  border-radius: 0.55rem;
  border: 1px solid rgba(120, 150, 200, 0.22);
  background: #0a1122;
  padding: 0.6rem 0.75rem;
  color: #eef3ff;
  font: inherit;
}
.profile-modal .pm-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.profile-modal .pm-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.4rem;
}
.profile-modal .pm-check { display: flex; align-items: center; gap: 0.55rem; color: #d6e0f2; }
.profile-modal .pm-box {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.05rem;
  width: 1.05rem;
  border-radius: 0.28rem;
  background: linear-gradient(160deg, var(--teal-bright) 0%, #1aa6e8 100%);
  color: #04223a;
}
.profile-modal .pm-box svg { height: 0.7rem; width: 0.7rem; }
.profile-modal .pm-divider { height: 1px; background: rgba(120, 150, 200, 0.12); }
.profile-modal .pm-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 1.05rem 1.3rem;
  border-top: 1px solid rgba(120, 150, 200, 0.12);
}
.profile-modal .pm-btn {
  border-radius: 0.55rem;
  padding: 0.55rem 1.15rem;
  font-weight: 600;
  font-size: 0.88rem;
}
.profile-modal .pm-btn.ghost { background: #18233c; color: #cdd9ef; border: 1px solid rgba(120, 150, 200, 0.2); }
.profile-modal .pm-btn.save { background: linear-gradient(160deg, #2bc7df 0%, #1f8be8 100%); color: #fff; border: 0; }
@media (max-width: 600px) {
  .profile-modal .pm-grid4 { grid-template-columns: repeat(2, 1fr); }
  .profile-modal .pm-checks { grid-template-columns: 1fr; }
}

/* ---------- Numbered steps ---------- */
.steps { display: grid; gap: 2rem; }
.step { display: flex; gap: 1.25rem; }
.step .num { font-size: 0.875rem; font-weight: 600; color: var(--teal-600); flex: none; }
.step h3 { font-size: 1.125rem; font-weight: 600; color: var(--navy); }
.step p { margin-top: 0.375rem; }

/* ---------- Chips (mono field tags) ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.chip {
  border-radius: 0.5rem;
  border: 1px solid var(--navy-100);
  background: var(--white);
  padding: 0.375rem 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  color: var(--navy-700);
}

/* ---------- Pill list (resources topics) ---------- */
.pill-list { list-style: none; display: grid; gap: 0.75rem; }
.pill-list li {
  border-radius: 0.875rem;
  border: 1px solid var(--navy-50);
  background: var(--white);
  padding: 1rem 1.25rem;
  color: var(--navy-700);
  box-shadow: var(--shadow-card);
}

/* ---------- Definition list (frameworks) ---------- */
.def-list { display: grid; gap: 1.25rem; }
.def-list .row { display: flex; gap: 1rem; }
.def-list dt { width: 7rem; flex: none; font-weight: 600; color: var(--navy); }
.def-list dd { color: var(--slate); }

/* ---------- Panel (callout card) ---------- */
.panel {
  margin: 0 auto;
  max-width: 48rem;
  border-radius: 1.25rem;
  border: 1px solid var(--navy-100);
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.panel h2 { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.panel p { margin-top: 0.75rem; }

/* ---------- Hero (home + page hero) ---------- */
.page-hero {
  border-bottom: 1px solid var(--navy-50);
  background: var(--white);
}
.page-hero .inner { padding: 4rem 0; max-width: 48rem; }
@media (min-width: 640px) { .page-hero .inner { padding: 5rem 0; } }
.page-hero h1 {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.08;
}
@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
.page-hero .intro {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate);
}
@media (min-width: 640px) { .page-hero .intro { font-size: 1.25rem; } }
.page-hero .btn-row { margin-top: 2rem; }

.home-hero { border-bottom: 1px solid var(--navy-50); }
.home-hero .inner {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
@media (min-width: 640px) { .home-hero .inner { padding: 5rem 0; } }
@media (min-width: 1024px) {
  .home-hero .inner { grid-template-columns: 0.88fr 1.12fr; padding: 6rem 0; }
}
.home-hero .inner.stacked { grid-template-columns: 1fr; justify-items: center; }
.home-hero .inner.stacked .lead { max-width: 44rem; }
.home-hero h1 {
  margin-top: 1.25rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.08;
}
@media (min-width: 640px) { .home-hero h1 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .home-hero h1 { font-size: 3rem; } }
.home-hero .lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate);
}
@media (min-width: 640px) { .home-hero .lead { font-size: 1.25rem; } }
.home-hero .fine { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(81, 98, 111, 0.8); }

/* Trust strip */
.trust-strip { border-bottom: 1px solid var(--navy-50); background: var(--white); }
.trust-strip .inner {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}
@media (min-width: 640px) { .trust-strip .inner { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--white); padding: 4rem 0; }
@media (min-width: 640px) { .cta-band { padding: 5rem 0; } }
.cta-band .band {
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--navy);
  padding: 3rem 2rem;
  text-align: center;
}
@media (min-width: 640px) { .cta-band .band { padding: 4rem 3rem; } }
.cta-band h2 {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--white);
}
@media (min-width: 640px) { .cta-band h2 { font-size: 2.25rem; } }
.cta-band p {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--navy-100);
}
.cta-band .btn-row { margin-top: 2rem; justify-content: center; }

/* ---------- Forms (demo) ---------- */
.form-card {
  border-radius: 1.25rem;
  border: 1px solid var(--navy-100);
  background: var(--white);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.form-card h2 { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.form-card .form-sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--slate); }
.field-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: block; }
.field span { font-size: 0.875rem; font-weight: 500; color: var(--navy); }
.field input,
.field textarea {
  margin-top: 0.375rem;
  width: 100%;
  border-radius: 0.875rem;
  border: 1px solid var(--navy-100);
  background: var(--white);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--navy-800);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px var(--teal-100);
}
.field-full { display: block; margin-top: 1rem; }
.form-card .btn-primary { margin-top: 1.5rem; width: 100%; }
.form-note { margin-top: 0.75rem; text-align: center; font-size: 0.75rem; color: rgba(81, 98, 111, 0.7); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.info-box {
  margin-top: 2rem;
  border-radius: 0.875rem;
  border: 1px solid var(--navy-50);
  background: var(--canvas);
  padding: 1.25rem;
  font-size: 0.875rem;
  color: var(--slate);
}
.info-box a { font-weight: 600; color: var(--teal-700); }

/* Pricing top card */
.price-card {
  margin: 0 auto;
  max-width: 36rem;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid var(--navy-100);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.price-card .head { background: var(--navy); padding: 2rem; text-align: center; }
.price-card .head h2 { font-size: 1.5rem; font-weight: 600; color: var(--white); }
.price-card .head p { margin: 0.5rem auto 0; max-width: 28rem; color: var(--navy-100); }
.price-card .body { padding: 2rem; }

/* Resource tag */
.res-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal-700); }

/* legal placeholder note */
.legal-note {
  border-radius: 0.875rem;
  border: 1px solid var(--navy-50);
  background: var(--canvas);
  padding: 1.25rem;
  font-size: 0.875rem;
}

/* 404 */
.notfound {
  display: flex;
  min-height: 60vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  text-align: center;
}
.notfound h1 { margin-top: 1rem; font-size: 2.25rem; font-weight: 600; }
@media (min-width: 640px) { .notfound h1 { font-size: 3rem; } }
.notfound p { margin-top: 1rem; max-width: 28rem; font-size: 1.125rem; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--navy-50);
  background: var(--canvas);
}
.site-footer .container-x { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.footer-brand { max-width: 20rem; }
.footer-logo { height: 3rem; width: auto; }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: var(--slate); }
.footer-brand .btn-primary { margin-top: 1.5rem; }
.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.footer-col ul { list-style: none; margin-top: 1rem; display: grid; gap: 0.75rem; }
.footer-col a { font-size: 0.875rem; color: var(--navy-700); }
.footer-col a:hover { color: var(--teal-700); }
.footer-bottom {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--navy-100);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--slate);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; align-items: center; }
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.footer-legal a { color: var(--slate); }
.footer-legal a:hover { color: var(--teal-700); }

/* ---------- Small-screen polish ---------- */
@media (max-width: 480px) {
  .container-x { padding: 0 1.25rem; }
  h1, h2 { overflow-wrap: break-word; }
  .home-hero h1 { font-size: 1.6rem; line-height: 1.18; }
  .page-hero h1 { font-size: 1.6rem; line-height: 1.18; }
  .cta-band h2 { font-size: 1.55rem; }
  .section-heading h2 { font-size: 1.55rem; }
  .btn-row { width: 100%; }
  .btn-row .btn-primary,
  .btn-row .btn-ghost,
  .btn-row .btn-accent,
  .btn-row .btn-outline { flex: 1 1 auto; }
}
