/* =====================================================
   NADMAA TECHNOLOGIES
   Clean · Minimal · Premium  — 2026
   Brand: White · Deep navy · Orange #f97316
===================================================== */

/* ── Design tokens ─────────────────────────────── */
:root {
  /* Surfaces */
  --bg:         #ffffff;
  --bg-subtle:  #f8f9fb;
  --bg-warm:    #fff7ed;

  /* Panels */
  --panel:       #ffffff;
  --panel-soft:  #ffffff;
  --panel-strong:#ffffff;

  /* Borders */
  --line:        #e4e6ec;
  --line-strong: #cdd0da;

  /* Text */
  --text:   #0f1623;
  --muted:  #687080;

  /* Accent — orange brand */
  --accent:        #f97316;
  --accent-light:  #fb923c;
  --accent-strong: #ea580c;
  --soft:          #f97316;
  --signal:        #ea580c;

  /* Danger */
  --danger: #dc2626;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,22,35,0.06);
  --shadow-sm: 0 2px 8px rgba(15,22,35,0.07), 0 1px 2px rgba(15,22,35,0.04);
  --shadow:    0 8px 24px rgba(15,22,35,0.08), 0 2px 6px rgba(15,22,35,0.04);
  --shadow-lg: 0 20px 48px rgba(15,22,35,0.1), 0 6px 16px rgba(15,22,35,0.05);

  /* Radii */
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --max: 1240px;
}

/* ── Reset ──────────────────────────────────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  line-height: 1.6;
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

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

button, input, select, textarea { font: inherit; }

/* ── Site shell ─────────────────────────────────── */
.site-shell {
  position: relative;
  overflow: clip;
}

/* Ambient — very soft warm wash, not distracting */
.ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.ambient.one {
  top: -30vh;
  left: -20vw;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.05), transparent 65%);
  filter: blur(60px);
}

.ambient.two {
  top: 50vh;
  right: -25vw;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.04), transparent 65%);
  filter: blur(80px);
}

.grid-glow { display: none; }

.topbar,
main,
footer {
  position: relative;
  z-index: 1;
}

.nav-panel { z-index: 100; }

/* ── Topbar ─────────────────────────────────────── */
.topbar {
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex: none;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-copy strong {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-inline {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-inline a,
.subnav a {
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--muted);
  transition: color 130ms ease, background 130ms ease;
}

.nav-inline a:hover,
.nav-inline a:focus-visible,
.subnav a:hover,
.subnav a:focus-visible {
  color: var(--text);
  background: var(--bg-subtle);
}

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

/* ── Buttons ────────────────────────────────────── */
.button,
.nav-trigger {
  border: 0;
  border-radius: 10px;
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 130ms ease, box-shadow 130ms ease, background 130ms ease;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible,
.nav-trigger:hover,
.nav-trigger:focus-visible {
  transform: translateY(-1px);
}

.button.primary,
.nav-trigger {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(249,115,22,0.3), 0 1px 0 rgba(255,255,255,0.15) inset;
  font-weight: 700;
}

.button.primary:hover,
.nav-trigger:hover {
  background: var(--accent-strong);
  box-shadow: 0 4px 16px rgba(249,115,22,0.35), 0 1px 0 rgba(255,255,255,0.15) inset;
}

.button.secondary {
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--line);
}

.button.secondary:hover {
  background: #f1f3f7;
  border-color: var(--line-strong);
}

.button.ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.button.ghost:hover {
  background: var(--bg-subtle);
  border-color: var(--line-strong);
}

/* ── Nav panel ──────────────────────────────────── */
.nav-panel {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(15, 22, 35, 0.4);
  backdrop-filter: blur(8px);
  padding: 16px;
}

.nav-panel.open { display: block; }

.nav-panel-inner {
  width: min(100%, 1120px);
  min-height: calc(100vh - 32px);
  margin: 0 auto;
  padding: 32px 36px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.nav-panel-head,
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-close {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--muted);
  cursor: pointer;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 130ms ease, background 130ms ease;
}

.nav-close:hover {
  color: var(--text);
  background: #eff1f5;
}

/* ── Shared grid ────────────────────────────────── */
.nav-panel-grid,
.footer-grid,
.metrics-grid,
.services-grid,
.signal-grid,
.story-grid,
.resource-grid,
.detail-grid,
.form-layout,
.proof-grid,
.process-grid,
.page-split,
.comparison-grid,
.faq-grid,
.cta-band,
.hero-layout {
  display: grid;
  gap: 20px;
}

.nav-panel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  gap: 28px;
}

/* ── Cards ──────────────────────────────────────── */
.nav-cluster,
.panel,
.metric-card,
.service-card,
.signal-card,
.story-card,
.resource-card,
.detail-card,
.proof-card,
.process-card,
.faq-card,
.form-card,
.visual-card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
}

.nav-cluster,
.metric-card,
.service-card,
.signal-card,
.story-card,
.resource-card,
.detail-card,
.proof-card,
.process-card,
.faq-card,
.form-card,
.visual-card,
.cta-card {
  padding: 24px;
}

/* ── Eyebrow ────────────────────────────────────── */
.eyebrow,
.nav-label {
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  font-size: 0.68rem;
  font-weight: 700;
}

/* ── Nav cluster ────────────────────────────────── */
.nav-cluster a {
  display: block;
  padding: 11px 0;
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  transition: color 130ms ease, padding-left 130ms ease;
}

.nav-cluster a:last-child { border-bottom: 0; }

.nav-cluster a:hover {
  color: var(--text);
  padding-left: 6px;
}

/* ── Main ───────────────────────────────────────── */
main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section { padding: 96px 0; }

/* ── Hero ───────────────────────────────────────── */
.hero-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  padding-top: 64px;
  gap: 56px;
}

/* ── Headings ───────────────────────────────────── */
.hero-copy h1,
.section-head h2,
.page-lead h1,
.cta-copy h2,
.contact-block h2 {
  margin: 8px 0 20px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-copy h1,
.page-lead h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 800;
}

.section-head h2,
.cta-copy h2,
.contact-block h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 800;
}

/* Serif italic accent — kept from Instrument Serif for editorial premium touch */
.serif {
  display: block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ── Body copy ──────────────────────────────────── */
.lede,
.intro,
.section-head p,
.service-card p,
.metric-card p,
.signal-card p,
.story-card p,
.resource-card p,
.detail-card p,
.proof-card p,
.process-card p,
.faq-card p,
.form-note,
.contact-note,
.footer-copy p,
label span,
.field-hint {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy .lede {
  max-width: 56ch;
  font-size: 1.06rem;
}

.page-lead .lede {
  max-width: 56ch;
  font-size: 1.01rem;
}

/* ── Action rows ────────────────────────────────── */
.hero-actions,
.page-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ── Pills ──────────────────────────────────────── */
.hero-chips,
.tag-row,
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.tag,
.proof-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ── Hero aside card ────────────────────────────── */
.hero-aside,
.page-hero-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Top orange accent line */
.hero-aside::before,
.page-hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 40%, var(--accent-light) 65%, transparent);
  pointer-events: none;
}

.hero-aside-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-aside-head .eyebrow { margin: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  background: rgba(249, 115, 22, 0.07);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ── Hero list items ────────────────────────────── */
.hero-list {
  display: grid;
  gap: 8px;
}

.hero-list-item,
.page-hero-metric,
.hero-kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.hero-list-item { padding: 16px 18px; }

.hero-item-label,
.page-hero-metric span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-list-item strong,
.page-hero-metric strong,
.page-hero-note strong,
.hero-kpi strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
  font-weight: 600;
}

.hero-list-item p,
.page-hero-metric p,
.page-hero-note p,
.hero-kpi span {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.875rem;
}

.hero-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.hero-note p { margin: 0; }

/* ── Hero facts ─────────────────────────────────── */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.hero-fact {
  padding: 0 0 0 16px;
  border-left: 2px solid rgba(249, 115, 22, 0.25);
}

.hero-fact strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.hero-fact span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* ── Section stripe backgrounds ─────────────────── */
.buyer-section,
.resources-section {
  background: var(--bg-subtle);
  margin: 0 calc(-1 * (100vw - min(calc(100vw - 32px), var(--max))) / 2);
  padding-left: calc((100vw - min(calc(100vw - 32px), var(--max))) / 2);
  padding-right: calc((100vw - min(calc(100vw - 32px), var(--max))) / 2);
}

.buyer-section::before,
.services-section::before,
.resources-section::before,
.forms-section::before { display: none; }

/* ── Page hero ──────────────────────────────────── */
.page-hero { padding: 48px 0 20px; }

/* ── Section head ───────────────────────────────── */
.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head p {
  max-width: 60ch;
  font-size: 1rem;
}

/* ── Buyer section ──────────────────────────────── */
.buyer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.buyer-spotlight {
  padding: 0 48px 0 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.buyer-spotlight-label,
.why-proof-label {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.buyer-spotlight h3,
.why-proof strong {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  line-height: 1.07;
  letter-spacing: -0.04em;
  color: var(--text);
  font-weight: 700;
}

.buyer-spotlight p,
.why-proof p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Premium card ───────────────────────────────── */
.premium-card {
  background: var(--bg);
  border-color: var(--line);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.premium-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.minimal-panel {
  padding: 24px;
  border-radius: 16px;
}

.buyer-spotlight.minimal-panel {
  padding: 0 48px 0 0;
  border-radius: 0;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Why section ────────────────────────────────── */
.why-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.why-proof {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

/* ── Metrics ────────────────────────────────────── */
.metrics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card strong,
.process-card strong,
.proof-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ── Buyer / signal rows ────────────────────────── */
.buyer-list { display: grid; gap: 0; }

.buyer-item,
.signal-row,
.contact-path {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.buyer-item:first-child,
.signal-row:first-child,
.contact-path:first-child { padding-top: 0; }

.buyer-item:last-child,
.signal-row:last-child,
.contact-path:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.buyer-item strong,
.signal-row h3,
.contact-path strong {
  display: block;
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}

.buyer-item p,
.signal-row p,
.contact-path p { margin: 0; }

/* ── Signal list ────────────────────────────────── */
.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* ── Services ───────────────────────────────────── */
.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  background: var(--bg);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

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

.services-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 28px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.service-row:hover { background: var(--bg-subtle); }

.service-row-index {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-top: 4px;
}

.service-row-body h3 {
  margin: 0 0 10px;
  font-size: 1.36rem;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.032em;
  color: var(--text);
}

.service-row-body p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-card h3,
.signal-card h3,
.story-card h3,
.resource-card h3,
.detail-card h3,
.proof-card h3,
.faq-card h3 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.28;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 130ms ease, gap 130ms ease;
}

.service-link:hover {
  color: var(--accent-strong);
  gap: 8px;
}

.service-row-meta {
  display: grid;
  gap: 12px;
  align-content: start;
}

.service-row-meta span {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.service-row-meta .service-link { margin-top: 0; }

/* ── Grid templates ─────────────────────────────── */
.signal-grid,
.story-grid,
.resource-grid,
.proof-grid,
.comparison-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid,
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ── Process cards ──────────────────────────────── */
.refined-grid { gap: 16px; }
.premium-process-grid { gap: 16px; }

.premium-process-grid .process-card {
  position: relative;
  padding: 24px;
  background: var(--bg);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.premium-process-grid .process-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.premium-process-grid .process-card::after { display: none; }

.process-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--accent);
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(249,115,22,0.3);
}

/* ── Page split ─────────────────────────────────── */
.page-split {
  grid-template-columns: 1.03fr 0.97fr;
  align-items: stretch;
  gap: 40px;
}

.page-lead { padding-top: 12px; }

.page-hero-card {
  display: grid;
  gap: 14px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-hero-metric { padding: 18px; }

.page-hero-note {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

/* ── Subnav ─────────────────────────────────────── */
.subnav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  margin-top: 8px;
}

/* ── Comparison ─────────────────────────────────── */
.comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comparison-grid .detail-card { min-height: 100%; }

/* ── Forms ──────────────────────────────────────── */
.form-layout {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 40px;
}

.form-card {
  background: var(--bg-subtle);
  border-color: var(--line);
}

.lead-form { display: grid; gap: 16px; }

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

label { display: grid; gap: 7px; }

label span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  padding: 11px 14px;
  outline: 0;
  transition: border-color 130ms ease, box-shadow 130ms ease;
  font-size: 0.9rem;
}

input::placeholder,
textarea::placeholder {
  color: #aab0bc;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

textarea {
  min-height: 144px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Contact block ──────────────────────────────── */
.contact-block {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.contact-paths {
  display: grid;
  gap: 0;
  margin-top: 22px;
}

/* ── Resource cards ─────────────────────────────── */
.premium-resource-grid .resource-card {
  position: relative;
  min-height: 100%;
  padding-top: 48px;
  background: var(--bg);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.premium-resource-grid .resource-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.premium-resource-grid .resource-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 36px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── CTA band ───────────────────────────────────── */
.cta-band {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 48px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
}

.cta-copy p { max-width: 580px; }

/* ── Footer ─────────────────────────────────────── */
.footer-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 0 0 36px;
}

.footer-panel {
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--bg-subtle);
}

.footer-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr 0.9fr;
  margin-top: 28px;
}

.footer-copy h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--text);
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-links a { transition: color 130ms ease; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ── Scroll reveal ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 1080px ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-layout,
  .page-split,
  .buyer-grid,
  .why-layout,
  .form-layout,
  .cta-band,
  .metrics-grid,
  .detail-grid,
  .process-grid,
  .signal-grid,
  .story-grid,
  .resource-grid,
  .proof-grid,
  .comparison-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-facts,
  .page-hero-grid,
  .signal-list {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid { grid-template-columns: 1fr; }

  .hero-layout,
  .page-split,
  .form-layout,
  .cta-band {
    align-items: start;
  }
}

/* ── 840px ──────────────────────────────────────── */
@media (max-width: 840px) {
  .topbar {
    flex-wrap: wrap;
    border-radius: 16px;
    align-items: flex-start;
  }

  .nav-inline {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 6px 0;
  }

  .nav-panel-grid,
  .hero-layout,
  .page-split,
  .buyer-grid,
  .why-layout,
  .metrics-grid,
  .signal-grid,
  .story-grid,
  .resource-grid,
  .detail-grid,
  .proof-grid,
  .process-grid,
  .comparison-grid,
  .faq-grid,
  .form-layout,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .nav-panel-inner,
  .hero-aside,
  .page-hero-card,
  .contact-block,
  .footer-panel {
    padding: 22px;
  }

  .field-grid { grid-template-columns: 1fr; }

  .hero-facts,
  .page-hero-grid,
  .signal-list {
    grid-template-columns: 1fr;
  }

  .buyer-section,
  .resources-section {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .buyer-spotlight {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-row-index { padding-top: 0; }

  .cta-band { padding: 28px; }
}

/* ── 560px ──────────────────────────────────────── */
@media (max-width: 560px) {
  main,
  .topbar,
  .footer-shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .section { padding: 56px 0; }

  .hero-copy h1,
  .page-lead h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .button,
  .nav-trigger { width: 100%; }

  .hero-actions,
  .page-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
