/* ═══════════════════════════════════════════
   LegalTranscribie — Marketing pages (Services, Pricing, Legal)
   ═══════════════════════════════════════════ */

.page-marketing .site-footer { margin-top: 0; }

.mkt-page {
  background: var(--slate-50);
}

.mkt-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(34, 197, 94, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--slate-100);
}

.mkt-hero--dark {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(34, 197, 94, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(34, 197, 94, 0.08) 0%, transparent 45%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #14532d 100%);
  border-bottom: none;
  color: #fff;
}

.mkt-hero--dark .mkt-breadcrumb {
  color: rgba(255, 255, 255, 0.55);
}

.mkt-hero--dark .mkt-hero__lead,
.mkt-hero--dark .mkt-breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}

.mkt-hero--dark .mkt-breadcrumb a:hover {
  color: #fff;
}

.mkt-hero--dark .mkt-breadcrumb span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.4);
}

.mkt-hero--dark .mkt-breadcrumb span:last-child {
  color: #fff;
}

.mkt-hero--dark .mkt-hero__eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #bbf7d0;
}

.mkt-hero--dark .btn--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.mkt-hero--dark .btn--outline-light:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.mkt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-500);
}

.mkt-breadcrumb a {
  color: var(--green-700);
  text-decoration: none;
}

.mkt-breadcrumb a:hover { text-decoration: underline; }

.mkt-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.mkt-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.mkt-hero:not(.mkt-hero--dark) h1 {
  color: var(--slate-900);
}

/* Dark hero overrides — must follow base .mkt-hero h1 (same specificity otherwise wins by source order) */
.mkt-hero.mkt-hero--dark h1 {
  color: #ffffff;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.mkt-hero__lead {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  line-height: 1.65;
  color: var(--slate-500);
  max-width: 52ch;
  margin: 0;
}

.mkt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.mkt-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.mkt-section--white { background: #fff; }
.mkt-section--gray { background: var(--slate-50); }

.mkt-section__header {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.mkt-section__header--left {
  margin-left: 0;
  text-align: left;
}

.mkt-section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-600);
  margin-bottom: 0.625rem;
}

.mkt-section__header h2 {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin: 0 0 0.75rem;
}

.mkt-section__header p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate-500);
}

/* Service cards */
.mkt-grid {
  display: grid;
  gap: 1.25rem;
}

.mkt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mkt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mkt-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.mkt-card:hover {
  border-color: #86efac;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.mkt-card--featured {
  border-color: var(--green-500);
  box-shadow: 0 0 0 1px var(--green-400), 0 8px 24px rgba(22, 163, 74, 0.1);
}

.mkt-card--dark {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border-color: #475569;
  color: #fff;
}

.mkt-card--dark:hover {
  border-color: #86efac;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
  transform: translateY(-3px);
}

.mkt-card--elevated {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
}

.mkt-card--dark p { color: rgba(255, 255, 255, 0.82); }
.mkt-card--dark h3 { color: #fff; }

/* Image + copy feature card (legal confidentiality panel) */
.mkt-media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
  background: #0f172a;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mkt-media-card:hover {
  transform: translateY(-3px);
  border-color: #86efac;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.4);
}

.mkt-media-card__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 14rem;
  overflow: hidden;
}

.mkt-media-card__media picture,
.mkt-media-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mkt-media-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.97) 100%);
  pointer-events: none;
}

.mkt-media-card__body {
  position: relative;
  z-index: 1;
  margin-top: -4.5rem;
  padding: 0 1.75rem 1.75rem;
  color: #fff;
}

.mkt-media-card__body .mkt-card__icon {
  margin-bottom: 1rem;
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.25);
}

.mkt-media-card__body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.mkt-media-card__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.9);
}

.mkt-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--green-600);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.mkt-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
  color: var(--green-700);
  margin-bottom: 1.125rem;
}

.mkt-card--dark .mkt-card__icon {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.mkt-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin: 0 0 0.5rem;
}

.mkt-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-500);
}

.mkt-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-card__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.45;
}

.mkt-card--dark .mkt-card__list li {
  color: rgba(255, 255, 255, 0.78);
}

.mkt-card--dark .mkt-card__list li::before {
  background: #86efac;
}

.mkt-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.mkt-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
}

.mkt-card__link:hover { text-decoration: underline; }

/* Pricing */
.mkt-rate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mkt-rate-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.mkt-rate-card--primary {
  border-color: var(--green-400);
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 120px);
}

.mkt-rate-card__label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  margin-bottom: 0.5rem;
}

.mkt-rate-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.mkt-rate-card__amount {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--slate-900);
  line-height: 1;
}

.mkt-rate-card__unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-500);
}

.mkt-rate-card__desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.55;
}

.mkt-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mkt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.mkt-table th,
.mkt-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
}

.mkt-table th {
  background: var(--slate-50);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}

.mkt-table tr:last-child td { border-bottom: none; }

.mkt-table td:last-child,
.mkt-table th:last-child { text-align: right; }

.mkt-table__money {
  font-weight: 700;
  color: var(--slate-900);
  font-variant-numeric: tabular-nums;
}

.mkt-table__highlight {
  color: var(--green-700);
}

/* Process steps */
.mkt-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: mktstep;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mkt-process__step {
  counter-increment: mktstep;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.mkt-process__step::before {
  content: counter(mktstep);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.mkt-process__step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--slate-900);
}

.mkt-process__step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--slate-500);
}

/* Format pills */
.mkt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.mkt-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-600);
  background: #fff;
  border: 1px solid var(--slate-200);
  padding: 0.45rem 0.875rem;
  border-radius: 999px;
}

/* Feature row */
.mkt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.mkt-panel {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  height: 100%;
}

.mkt-panel .mkt-section__header {
  margin-bottom: 0.5rem;
}

.mkt-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.5;
}

.mkt-checklist--panel li:first-child {
  padding-top: 0.25rem;
}

.mkt-checklist li:last-child { border-bottom: none; }

.mkt-checklist li strong {
  color: var(--slate-900);
}

.mkt-checklist__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 800;
}

/* CTA */
.mkt-cta {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(5, 150, 105, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.mkt-cta__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.18),
    0 2px 8px rgba(15, 23, 42, 0.06);
}

.mkt-cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mkt-cta__media picture,
.mkt-cta__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.mkt-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(6, 78, 59, 0.94) 0%,
      rgba(5, 120, 85, 0.88) 42%,
      rgba(4, 120, 87, 0.72) 68%,
      rgba(15, 23, 42, 0.55) 100%
    ),
    radial-gradient(ellipse 60% 70% at 90% 20%, rgba(16, 185, 129, 0.28) 0%, transparent 55%);
}

.mkt-cta__content {
  position: relative;
  z-index: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 36rem;
}

.mkt-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mkt-cta__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.25);
}

.mkt-cta__content h2 {
  margin: 0;
  font-size: clamp(1.625rem, 3.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
}

.mkt-cta__lead {
  margin: 0;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40ch;
  line-height: 1.55;
}

.mkt-cta__points {
  list-style: none;
  margin: 0.25rem 0 0.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.mkt-cta__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 600;
}

.mkt-cta__points li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #86efac;
  flex-shrink: 0;
}

.mkt-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.mkt-cta__primary {
  background: #fff !important;
  color: var(--green-800) !important;
  border-color: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  min-height: 3rem;
}

.mkt-cta__primary:hover {
  background: #f0fdf4 !important;
  color: var(--green-900) !important;
  border-color: #f0fdf4 !important;
  transform: translateY(-1px);
}

.mkt-cta__ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  min-height: 3rem;
  backdrop-filter: blur(4px);
}

.mkt-cta__ghost:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.mkt-faq {
  display: grid;
  gap: 0.875rem;
}

.mkt-faq__item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 1.25rem 1.375rem;
}

.mkt-faq__item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

.mkt-faq__item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-500);
}

/* ── Legal documents (Terms, Privacy) ── */
.page-legal-doc .site-footer { margin-top: 0; }

.mkt-legal-hero {
  padding: clamp(2.5rem, 6vw, 3.75rem) 0 clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(34, 197, 94, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(34, 197, 94, 0.07) 0%, transparent 45%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 52%, #14532d 100%);
  color: #fff;
}

.mkt-legal-hero__inner {
  max-width: 760px;
}

.mkt-breadcrumb--light {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.25rem;
}

.mkt-breadcrumb--light a {
  color: rgba(255, 255, 255, 0.82);
}

.mkt-breadcrumb--light a:hover {
  color: #fff;
}

.mkt-breadcrumb--light span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.35);
}

.mkt-breadcrumb--light span:last-child {
  color: #fff;
}

.mkt-legal-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #bbf7d0;
}

.mkt-legal-hero h1 {
  margin: 0 0 0.875rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
}

.mkt-legal-hero__lead {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.mkt-legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.mkt-legal-hero__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mkt-legal-hero__meta-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.mkt-legal-hero__meta-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.mkt-legal-hero__meta-link {
  color: #86efac;
  text-decoration: none;
}

.mkt-legal-hero__meta-link:hover {
  color: #bbf7d0;
  text-decoration: underline;
}

.mkt-legal-body {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.mkt-legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.mkt-legal-toc__panel {
  position: sticky;
  top: 1.25rem;
  padding: 1.125rem 1rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(15, 23, 42, 0.05);
}

.mkt-legal-toc__title {
  margin: 0 0 0.75rem;
  padding: 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.mkt-legal-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.mkt-legal-toc__list li {
  counter-increment: toc;
}

.mkt-legal-toc__list a {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--slate-600);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.mkt-legal-toc__list a:hover {
  background: var(--green-50);
  color: var(--green-800);
}

.mkt-legal-doc {
  color: var(--slate-700);
  font-size: 0.96875rem;
  line-height: 1.72;
}

.mkt-legal-page .mkt-legal-doc {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 32px rgba(15, 23, 42, 0.06);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.mkt-legal-doc__intro {
  margin-bottom: 0.5rem;
  padding: 1.125rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--green-50) 0%, #fff 100%);
  border: 1px solid #bbf7d0;
}

.mkt-legal-doc__intro p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-700);
}

.mkt-legal-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--slate-100);
  scroll-margin-top: 1.25rem;
}

.mkt-legal-section--last {
  border-bottom: none;
  padding-bottom: 0.5rem;
}

.mkt-legal-section h2 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.875rem;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  line-height: 1.3;
}

.mkt-legal-section__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
  border-radius: 8px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.8125rem;
  font-weight: 800;
}

.mkt-legal-section p {
  margin: 0 0 1rem;
}

.mkt-legal-section p:last-child {
  margin-bottom: 0;
}

.mkt-legal-section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.mkt-legal-section li {
  margin-bottom: 0.45rem;
}

.mkt-legal-section li::marker {
  color: var(--green-600);
}

.mkt-legal-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-800);
}

.mkt-legal-section h3:first-of-type {
  margin-top: 0.25rem;
}

.mkt-legal-notice {
  margin: 0 0 1rem;
  padding: 1rem 1.125rem;
  border-radius: 10px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 3px solid var(--slate-400);
}

.mkt-legal-notice p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--slate-600);
}

.mkt-legal-notice--positive {
  background: var(--green-50);
  border-color: #bbf7d0;
  border-left-color: var(--green-600);
}

.mkt-legal-notice--positive p {
  color: var(--green-800);
}

.mkt-legal-doc a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: none;
}

.mkt-legal-doc a:hover {
  color: var(--green-800);
  text-decoration: underline;
}

.mkt-legal-doc__footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.mkt-legal-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.375rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #065f46 0%, #059669 55%, #10b981 100%);
  color: #fff;
}

.mkt-legal-contact__copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #fff;
}

.mkt-legal-contact__copy p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.mkt-legal-contact .btn--primary {
  background: #fff;
  color: var(--green-800);
  border-color: #fff;
  white-space: nowrap;
}

.mkt-legal-contact .btn--primary:hover {
  background: #f0fdf4;
  border-color: #f0fdf4;
  color: var(--green-900);
}

.mkt-legal-doc__related {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-500);
  text-align: center;
}

.mkt-legal-doc__related a {
  color: var(--green-700);
}

/* Legacy compact hero (privacy page until updated) */
.mkt-hero--compact {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(1.5rem, 4vw, 2rem);
}

.mkt-hero--compact h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.mkt-hero--compact .mkt-hero__lead {
  max-width: 52ch;
  margin: 0;
}

.mkt-legal-doc__updated {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-500);
}

.mkt-section--white > .container > .mkt-legal-doc {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.mkt-section--white > .container > .mkt-legal-doc > p:first-child {
  font-size: 1.0625rem;
  color: var(--slate-600);
}

.mkt-section--white > .container > .mkt-legal-doc > h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.mkt-section--white > .container > .mkt-legal-doc > h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
}

.mkt-section--white > .container > .mkt-legal-doc > p {
  margin: 0 0 1rem;
}

.mkt-section--white > .container > .mkt-legal-doc > ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.mkt-section--white > .container > .mkt-legal-doc > ul > li {
  margin-bottom: 0.4rem;
}

@media (max-width: 960px) {
  .mkt-legal-layout {
    grid-template-columns: 1fr;
  }

  .mkt-legal-toc__panel {
    position: static;
  }

  .mkt-legal-toc__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 0.75rem;
  }

  .mkt-grid--3,
  .mkt-process,
  .mkt-rate-grid,
  .mkt-split {
    grid-template-columns: 1fr 1fr;
  }

  .mkt-process { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .mkt-legal-toc__list {
    grid-template-columns: 1fr;
  }

  .mkt-legal-contact {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .mkt-legal-contact .btn--primary {
    width: 100%;
    justify-content: center;
  }

  .mkt-grid--3,
  .mkt-grid--2,
  .mkt-rate-grid,
  .mkt-split,
  .mkt-process {
    grid-template-columns: 1fr;
  }

  .mkt-media-card__media {
    min-height: 11rem;
  }

  .mkt-cta__card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mkt-cta__content {
    max-width: none;
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .mkt-cta__media::after {
    background:
      linear-gradient(
        180deg,
        rgba(6, 78, 59, 0.94) 0%,
        rgba(5, 120, 85, 0.9) 55%,
        rgba(4, 120, 87, 0.88) 100%
      );
  }

  .mkt-cta__lead {
    max-width: none;
  }

  .mkt-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mkt-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .mkt-cta__points {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Cost estimator ── */
.estimator {
  max-width: 1100px;
  margin: 0 auto;
}

.estimator__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.estimator__form,
.estimator__summary {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.estimator__form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.estimator__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.estimator__fieldset legend {
  padding: 0;
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.estimator__row + .estimator__row {
  margin-top: 1.15rem;
}

.estimator__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
}

.estimator__hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.45;
}

.estimator__stepper {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  gap: 0.5rem;
  align-items: center;
  max-width: 18rem;
}

.estimator__step {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-800);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.estimator__step:hover {
  background: var(--green-50);
  border-color: #86efac;
  color: var(--green-800);
}

.estimator__input {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  color: var(--slate-900);
  background: #fff;
}

.estimator__input:focus {
  outline: 2px solid var(--green-600);
  outline-offset: 1px;
  border-color: transparent;
}

.estimator__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.estimator__choices--stack {
  grid-template-columns: 1fr;
}

.estimator__choice {
  display: block;
  cursor: pointer;
}

.estimator__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.estimator__choice-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: var(--slate-50);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.estimator__choice-card strong {
  color: var(--slate-900);
  font-size: 0.975rem;
}

.estimator__choice-card span {
  color: var(--slate-500);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.estimator__choice-card em {
  margin-top: 0.35rem;
  font-style: normal;
  font-weight: 800;
  color: var(--green-700);
  font-size: 0.875rem;
}

.estimator__choice-card--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.estimator__choice-card--row > span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.estimator__choice input:checked + .estimator__choice-card {
  background: #fff;
  border-color: var(--green-600);
  box-shadow: 0 0 0 1px var(--green-600), 0 8px 20px rgba(5, 150, 105, 0.12);
}

.estimator__choice input:focus-visible + .estimator__choice-card {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}

.estimator__summary {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.5rem;
  background:
    linear-gradient(180deg, #0f172a 0%, #14532d 100%);
  border: 0;
  color: #fff;
}

.estimator__summary-head h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
}

.estimator__summary-note {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.estimator__total {
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #86efac;
}

.estimator__breakdown {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.estimator__breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
}

.estimator__breakdown dt {
  color: rgba(255, 255, 255, 0.65);
}

.estimator__breakdown dd {
  margin: 0;
  font-weight: 700;
  color: #fff;
  text-align: right;
}

.estimator__cta {
  background: #fff !important;
  color: var(--green-800) !important;
  border-color: #fff !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.estimator__cta:hover {
  background: #f0fdf4 !important;
  color: var(--green-900) !important;
}

.estimator__fineprint {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
  .estimator__grid {
    grid-template-columns: 1fr;
  }

  .estimator__summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 560px) {
  .estimator__form {
    padding: 1.15rem;
  }

  .estimator__choices {
    grid-template-columns: 1fr;
  }

  .estimator__stepper {
    max-width: none;
  }
}

/* ── Contact page ── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-panel,
.contact-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.contact-panel {
  padding: 1.75rem;
}

.contact-panel__head {
  margin-bottom: 1.5rem;
}

.contact-panel__head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.contact-panel__head p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.5;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  position: relative;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.25rem 1.35rem;
}

.contact-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
}

.contact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.5;
}

.contact-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--green-700);
  word-break: break-all;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-panel {
    padding: 1.25rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}
