/* ============================================================
   LEMR Systems — marketing site stylesheet
   Brand: clinical blue + teal accent, Poppins headings, Inter body
   ============================================================ */

:root {
  --primary: #1f6fc9;
  --primary-dark: #15528f;
  --primary-soft: #e8f1fb;
  --accent: #2ba89c;
  --accent-dark: #1d8479;
  --ink: #0f2440;
  --ink-soft: #4a5a70;
  --ink-faint: #5e6d85;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-deep: #0d2444;
  --bg-deep-2: #112e57;
  --border: #e2e8f2;
  --border-strong: #cdd8e8;
  --critical: #d7443e;
  --stable: #2ba89c;
  --attention: #e08a1e;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(15, 36, 64, 0.07), 0 1px 2px rgba(15, 36, 64, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 36, 64, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 36, 64, 0.16);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

/* keep anchored sections clear of the sticky header */
:target { scroll-margin-top: 92px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

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

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.27rem; }
h4 { font-size: 1.05rem; }

p { color: var(--ink-soft); }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* visible keyboard focus */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* skip-to-content link */
.skip-link {
  position: absolute;
  left: 8px;
  top: -64px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  z-index: 300;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 8px; color: #fff; }
main:focus { outline: none; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 800px; }

section { padding: 84px 0; }

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

.section-dark {
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  color: #dbe6f5;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: #aebfd6; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: #5fc7bd; }

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.08rem; margin-top: 14px; }

.lead { font-size: 1.16rem; color: var(--ink-soft); }

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 111, 201, 0.32);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 8px 24px rgba(31, 111, 201, 0.4); }

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-dark); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--primary); }

.btn-lg { padding: 16px 32px; font-size: 1.04rem; }

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}
.btn-light:hover { background: #eef4fb; color: var(--primary-dark); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:not(.btn):hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 96px;
  background:
    radial-gradient(circle at 82% 8%, rgba(43, 168, 156, 0.14), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(31, 111, 201, 0.12), transparent 40%),
    var(--bg-soft);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--stable);
}

/* hero visual: stylized app panel */
.hero-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.hero-panel-bar i {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--border-strong);
  display: inline-block;
}
.hero-panel-bar i:nth-child(1) { background: #f0625a; }
.hero-panel-bar i:nth-child(2) { background: #f4bd4f; }
.hero-panel-bar i:nth-child(3) { background: #5dc466; }
.hero-panel-bar span {
  margin-left: 8px; font-size: 0.78rem; color: var(--ink-faint); font-weight: 500;
}
.hero-panel-body { padding: 20px; display: grid; gap: 14px; }
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.panel-row-main { display: flex; align-items: center; gap: 12px; }
.panel-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.panel-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.panel-sub { font-size: 0.77rem; color: var(--ink-faint); }
.tag {
  font-size: 0.71rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.tag-stable { background: rgba(43, 168, 156, 0.14); color: var(--accent-dark); }
.tag-attention { background: rgba(224, 138, 30, 0.15); color: #b06a10; }
.tag-info { background: var(--primary-soft); color: var(--primary-dark); }

/* ---------- Logos / trust strip ---------- */
.trust {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.trust p {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
}
.trust-row span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-row svg { color: var(--accent); flex-shrink: 0; }

/* ---------- Stats ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.section-dark .stat-num { color: #5fc7bd; }
.stat-label { font-size: 0.94rem; color: var(--ink-soft); margin-top: 4px; }
.section-dark .stat-label { color: #aebfd6; }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon.teal { background: rgba(43, 168, 156, 0.13); color: var(--accent-dark); }
.feature-card h3,
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: 0.96rem; }

/* ---------- Split / alternating content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split + .split { margin-top: 72px; }
.split.reverse .split-media { order: 2; }
.split h2 { margin-bottom: 16px; }
.split ul { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.split ul li {
  display: flex;
  gap: 11px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.split ul li svg { flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.split ul li strong { color: var(--ink); font-weight: 600; }

.split-media {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 22px;
}

/* mini list rows used in media panels */
.media-list { display: grid; gap: 10px; }
.media-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.media-row .mr-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.media-row .mr-text { flex: 1; min-width: 0; }
.media-row .mr-text strong { font-size: 0.9rem; color: var(--ink); display: block; }
.media-row .mr-text span { font-size: 0.78rem; color: var(--ink-faint); }

/* ---------- Audience cards ---------- */
.audience-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
}
.audience-card .ac-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.audience-card .ac-badge {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary); color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: 0.93rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
}
.price-card h3 { font-size: 1.3rem; }
.price-card .price-desc { font-size: 0.9rem; min-height: 44px; margin-top: 4px; }
.price-amount {
  font-family: 'Poppins', sans-serif;
  margin: 18px 0 4px;
}
.price-amount .amount { font-size: 2.7rem; font-weight: 700; color: var(--ink); }
.price-amount .per { font-size: 0.92rem; color: var(--ink-faint); font-weight: 500; }
.price-meta { font-size: 0.84rem; color: var(--ink-faint); margin-bottom: 22px; }
.price-card .btn { width: 100%; }
.price-features {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 11px;
}
.price-features li {
  display: flex; gap: 10px;
  font-size: 0.92rem; color: var(--ink-soft);
}
.price-features li svg { flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.price-features .muted { color: var(--ink-faint); }
.price-features .muted svg { color: var(--border-strong); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 18px; font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 60%, var(--accent-dark) 130%);
  border-radius: 22px;
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 540px; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(circle at 88% 0%, rgba(43, 168, 156, 0.13), transparent 45%),
    var(--bg-soft);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero .container { max-width: 820px; text-align: center; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 1.1rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
  padding-top: 8px;
}
.prose h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 7px; color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; }
.prose .updated {
  font-size: 0.9rem;
  color: var(--ink-faint);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.callout {
  background: var(--primary-soft);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}
.callout p { margin-bottom: 0; font-size: 0.95rem; }
.toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 30px;
}
.toc strong { display: block; margin-bottom: 8px; font-size: 0.95rem; }
.toc ol { margin: 0 0 0 20px; }
.toc li { font-size: 0.93rem; margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.form-row { margin-bottom: 18px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-row label .req { color: var(--critical); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  color: var(--ink);
  padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 111, 201, 0.13);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.82rem; color: var(--ink-faint); margin-top: 5px; }
.form-note {
  font-size: 0.84rem;
  color: var(--ink-faint);
  margin-top: 14px;
  text-align: center;
}
.form-success {
  display: none;
  background: rgba(43, 168, 156, 0.1);
  border: 1px solid rgba(43, 168, 156, 0.35);
  color: var(--accent-dark);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

/* checkbox group */
.check-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.check-item input { width: auto; }

/* ---------- Contact tiles ---------- */
.contact-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  text-align: center;
}
.contact-tile .ct-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.contact-tile h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-tile p { font-size: 0.92rem; margin-bottom: 8px; }
.contact-tile a { font-weight: 600; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: #9fb2cc;
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand small { color: #7e92b0; }
.footer-brand p { font-size: 0.9rem; color: #8ea1bd; max-width: 280px; }
.footer-contact {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #8ea1bd;
  margin-top: 16px;
}
.footer-contact a { color: #9fb2cc; }
.footer-contact a:hover { color: #fff; }
.footer-parent {
  font-size: 0.9rem;
  color: #8ea1bd;
  margin-top: 14px;
}
.footer-parent strong { color: #cdd8e8; font-weight: 600; }
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: #9fb2cc; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.84rem;
  color: #7e92b0;
}
.footer-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-disclaimer {
  font-size: 0.78rem;
  color: #8497b0;
  margin-top: 18px;
  line-height: 1.6;
}

/* back-to-top button (injected by script.js) */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.18s ease;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--primary-dark); }

/* form field error state */
.form-row .error-text {
  display: none;
  color: var(--critical);
  font-size: 0.8rem;
  margin-top: 5px;
}
.form-row.invalid .error-text { display: block; }
.form-row.invalid input,
.form-row.invalid select,
.form-row.invalid textarea {
  border-color: var(--critical);
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); margin: 0; }

.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 0.78rem;
}
.store-badge:hover { color: #fff; background: #0a1c33; }
.store-badge .sb-big { font-size: 1.02rem; font-weight: 600; line-height: 1.1; }
.store-badge .sb-small { font-size: 0.66rem; opacity: 0.8; line-height: 1; }

.note-inline {
  font-size: 0.88rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  section { padding: 64px 0; }
  .nav-links, .nav-actions .btn-show-desk { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 11px 0; font-size: 1rem; }
  .nav-links.open .btn { display: flex; width: 100%; margin-top: 8px; padding: 13px 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .lead { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .check-group { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 24px; }
  .form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-band .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
