/* ==========================================================================
   FollowMe Forward — design system
   Corporate / professional. White surfaces, black text, #EF5341 accent.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #ef5341;
  --brand-dark: #d33f2e;
  --brand-darker: #b23223;
  --brand-tint: #fff1ef;
  --brand-tint-2: #ffe4e0;

  /* Neutrals */
  --ink: #16181d;
  --ink-2: #3d434e;
  --ink-3: #646c7a;
  --line: #e3e6eb;
  --line-2: #eff1f4;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #f1f3f6;
  --footer-bg: #1b1e24;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Shape */
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.06), 0 1px 3px rgba(22, 24, 29, 0.05);
  --shadow: 0 4px 6px -1px rgba(22, 24, 29, 0.07), 0 2px 4px -2px rgba(22, 24, 29, 0.05);
  --shadow-lg: 0 12px 24px -8px rgba(22, 24, 29, 0.14), 0 4px 8px -4px rgba(22, 24, 29, 0.08);

  /* Layout */
  --container: 1140px;
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--brand-darker); text-decoration: underline; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 700; }
sup { font-size: 0.68em; vertical-align: super; line-height: 0; color: var(--ink-3); }
hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.section--alt { background: var(--surface-2); }
.section--line { border-top: 1px solid var(--line); }

.section-head {
  max-width: 740px;
  margin: 0 auto clamp(2.25rem, 4vw, 3.25rem);
  text-align: center;
}
.section-head p {
  font-size: 1.0625rem;
  color: var(--ink-2);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--ink-2);
  line-height: 1.7;
}

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, transform 0.08s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand-dark);
}
.btn-outline:hover { background: var(--brand-tint); color: var(--brand-darker); }

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); background: #fff; }

.btn-on-dark {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn-on-dark:hover { background: var(--surface-3); border-color: var(--surface-3); color: var(--ink); }

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

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand:hover { text-decoration: none; }

/* Primary nav */
.nav { display: flex; align-items: center; gap: 0.25rem; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li { margin: 0; position: relative; }

.nav-link {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  white-space: nowrap;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.nav-link:hover { color: var(--ink); background: var(--surface-3); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--brand-dark); }

.nav-link.has-sub::after {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}
.nav-link.has-sub[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }

.subnav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  display: none;
}
.subnav[data-open="true"] { display: block; }
.subnav li { margin: 0; }

.subnav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
}
.subnav a:hover { background: var(--surface-3); color: var(--ink); text-decoration: none; }
.subnav a[aria-current="page"] { color: var(--brand-dark); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 0.625rem; margin-left: 0.5rem; }
.nav-cta .btn { padding: 0.55rem 1.1rem; font-size: 0.875rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(1100px 500px at 78% -5%, var(--brand-tint) 0%, rgba(255, 241, 239, 0) 62%),
    linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { margin-bottom: 1.75rem; max-width: 36em; }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.6rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin: 0;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--brand-tint-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23d33f2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* Hero illustration */
.hero-visual { position: relative; }

.call-flow {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
}
.call-flow-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.8rem 0;
  position: relative;
}
.flow-step + .flow-step { border-top: 1px dashed var(--line); }

.flow-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--ink-3);
}
.flow-step--active .flow-icon { background: var(--brand); color: #fff; }
.flow-step--active .flow-label { color: var(--ink); font-weight: 600; }

.flow-body { min-width: 0; }
.flow-label { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.4; }
.flow-meta { font-size: 0.8125rem; color: var(--ink-3); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--brand-tint-2); box-shadow: var(--shadow); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--ink-2); font-size: 0.9375rem; }
.card .card-foot { margin-top: auto; padding-top: 1.1rem; }

.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.card-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin-bottom: 0.4rem;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.stat-value {
  display: block;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1.1;
}
.stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  align-items: start;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.plan:hover { box-shadow: var(--shadow); }

.plan--featured {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.875rem;
}
.plan--featured .plan-name { color: var(--brand-dark); }

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}
.plan-currency { font-size: 1.4rem; font-weight: 700; margin-top: 0.45rem; color: var(--ink-2); }
.plan-amount {
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.plan-period { font-size: 0.9375rem; color: var(--ink-3); margin-top: 1.25rem; font-weight: 500; }

.plan-tagline {
  font-size: 0.875rem;
  color: var(--ink-2);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-2);
  min-height: 3.6em;
}

.plan-features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.plan-features li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--brand-tint-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23d33f2e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E")
    center / 10px 10px no-repeat;
}

.plan-note {
  font-size: 0.8125rem;
  color: var(--ink-3);
  background: var(--surface-2);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 1.5rem;
}

.plan-cta { margin-top: auto; }

.footnotes {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.7;
}
.footnotes ol { padding-left: 1.4rem; margin: 0; }
.footnotes li { margin-bottom: 0.5rem; }

/* ---------- Feature list (Features page) ---------- */
.feature-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line-2);
}
.feature-item:last-child { border-bottom: none; }

.feature-item h3 { margin-bottom: 0.4rem; font-size: 1.125rem; }
.feature-item p { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 0.65rem; }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.tag--all { background: var(--brand-tint); color: var(--brand-darker); border-color: var(--brand-tint-2); }

/* ---------- Steps (How it works) ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.step-num {
  counter-increment: step;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.0625rem;
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: 0.35rem; font-size: 1.0625rem; }
.step p { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 0; }

/* ---------- Prose (legal pages) ---------- */
.prose { font-size: 0.9688rem; color: var(--ink-2); line-height: 1.8; }
.prose h2 {
  font-size: 1.1875rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.0625rem; margin-top: 1.75rem; margin-bottom: 0.5rem; color: var(--ink); }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose a { text-decoration: underline; }
.prose blockquote { margin: 0 0 1.5rem; padding: 0; border: none; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6rem 0.75rem; text-align: left; }
.prose th { background: var(--surface-2); font-weight: 600; color: var(--ink); }

.page-head {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
}
.page-head h1 { margin-bottom: 0.5rem; }
.page-head p { color: var(--ink-2); margin-bottom: 0; font-size: 1.0625rem; max-width: 46em; }

.doc-meta {
  font-size: 0.8125rem;
  color: var(--ink-3);
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field .req { color: var(--brand); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(239, 83, 65, 0.15);
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }

.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--brand-darker);
  font-weight: 500;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--brand); }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
  border: 1px solid;
}
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.alert-error { background: var(--brand-tint); border-color: var(--brand-tint-2); color: var(--brand-darker); }
.alert strong { display: block; margin-bottom: 0.2rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.contact-panel h2 { font-size: 1.125rem; margin-bottom: 1.1rem; }

.phone-list { list-style: none; padding: 0; margin: 0; }
.phone-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.phone-list li:last-child { border-bottom: none; }
.phone-list .label { font-size: 0.875rem; color: var(--ink-3); font-weight: 500; }
.phone-list a { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }

.panel-divider { border-top: 1px solid var(--line); margin: 1.4rem 0; }

/* ---------- Number directory ---------- */
.directory {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.directory-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.search-field { position: relative; flex: 1 1 280px; max-width: 420px; }
.search-field input {
  width: 100%;
  padding: 0.65rem 0.9rem 0.65rem 2.4rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.search-field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(239, 83, 65, 0.15);
}
.search-field::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23646c7a' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5L14 14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
}

.quick-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  padding: 0.35rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  text-align: left;
  padding: 0.7rem 1.25rem;
  background: var(--surface-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; color: var(--ink); }
.data-table .empty { text-align: center; padding: 3rem 1.25rem; color: var(--ink-3); }

.directory-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.875rem;
  color: var(--ink-3);
}
.pager { display: flex; gap: 0.4rem; align-items: center; }
.pager button {
  padding: 0.4rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: 7px;
  cursor: pointer;
}
.pager button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-dark); }
.pager button:disabled { opacity: 0.45; cursor: default; }

.noscript-note {
  padding: 1rem 1.25rem;
  background: var(--brand-tint);
  color: var(--brand-darker);
  font-size: 0.9375rem;
}

/* ---------- Embedded third-party form ---------- */
.embed-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  min-height: 420px;
}
.embed-frame iframe { width: 100%; border: none; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.0625rem;
  max-width: 46em;
  margin: 0 auto 1.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(3rem, 5vw, 4rem) 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img { height: 34px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: rgba(255, 255, 255, 0.6); }

.site-footer h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.55rem; }
.footer-list a, .site-footer a { color: rgba(255, 255, 255, 0.72); }
.footer-list a:hover, .site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-phone {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.footer-phone .label { color: rgba(255, 255, 255, 0.5); font-size: 0.8125rem; }
.footer-phone a { white-space: nowrap; font-variant-numeric: tabular-nums; }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- Error pages ---------- */
.error-page {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 0;
}
.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem 1.75rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 0.8rem 0.5rem; font-size: 0.9375rem; border-radius: 8px; }
  .nav-link.has-sub { display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .nav-link.has-sub::after { margin-left: auto; }

  .subnav {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 0 0 0.5rem 0.75rem;
    padding: 0.25rem 0 0.25rem 0.5rem;
    min-width: 0;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .nav-cta .btn { width: 100%; padding: 0.75rem 1.1rem; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .feature-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .step { grid-template-columns: 1fr; gap: 0.75rem; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .directory-bar { flex-direction: column; align-items: stretch; }
  .search-field { max-width: none; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .btn-row, .directory-bar, .directory-foot { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
}
