/*
 * Retoma — public pitch site (retoma.app / :4310/site/retoma).
 * Vanilla CSS, no framework, no build. Single warm light identity — no dark-mode
 * toggle (this is a marketing page, not the operator app). Mobile-first.
 */

:root {
  /* brand palette — brand/color-psychology/palettes.registry.json → "retoma" */
  --rt-primary: #C24A34;      /* terracotta — appetite, warmth, retake */
  --rt-primary-dark: #9E3B29; /* hover/active */
  --rt-ground: #241A17;       /* espresso — dark/premium */
  --rt-surface: #F7EFE4;      /* cream — light/hospitality */
  --rt-accent: #2F8F7A;       /* herb teal — fresh, trust */
  --rt-support: #E6D4BE;      /* sand — warm, calm */
  --rt-white: #FFFFFF;

  --rt-good: #2F8F7A;
  --rt-bad: #9E4A34;

  /* mapped for the shared i18n.js toggle (injectStyles uses var(--panel-2,var(--panel)) etc.) */
  --panel: var(--rt-white);
  --panel-2: var(--rt-support);
  --border: rgba(36, 26, 23, 0.14);
  --text: var(--rt-ground);
  --muted: rgba(36, 26, 23, 0.62);
  --accent: var(--rt-primary);

  --rt-font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --rt-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --rt-radius: 16px;
  --rt-radius-sm: 10px;
  --rt-container: 1120px;
  --rt-shadow: 0 12px 32px rgba(36, 26, 23, 0.10);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--rt-surface);
  color: var(--rt-ground);
  font-family: var(--rt-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

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

/* ---------------------------------------------------------------- nav */
.rt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 239, 228, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.rt-nav-inner {
  max-width: var(--rt-container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rt-wordmark {
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--rt-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.rt-nav-links {
  display: none;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.rt-nav-links a {
  text-decoration: none;
  color: var(--rt-ground);
  opacity: 0.78;
}
.rt-nav-links a:hover { opacity: 1; color: var(--rt-primary); }

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

@media (min-width: 900px) {
  .rt-nav-links { display: flex; }
}

/* ---------------------------------------------------------------- buttons */
.rt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.rt-btn--sm { padding: 8px 16px; font-size: 13px; }
.rt-btn--lg { padding: 14px 26px; font-size: 15.5px; }

.rt-btn--primary {
  background: var(--rt-primary);
  color: var(--rt-white);
  box-shadow: 0 6px 18px rgba(194, 74, 52, 0.30);
}
.rt-btn--primary:hover { background: var(--rt-primary-dark); transform: translateY(-1px); }

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

/* ---------------------------------------------------------------- hero */
.rt-hero {
  position: relative;
  padding: 56px 0 48px;
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(47, 143, 122, 0.14), transparent 60%),
    var(--rt-surface);
  overflow: hidden;
}

.rt-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 55%, transparent 88%);
  mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 55%, transparent 88%);
}

.rt-hero-grid { position: relative; z-index: 1; }

.rt-hero-grid {
  display: grid;
  gap: 40px;
}

.rt-eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rt-accent);
  margin: 0 0 12px;
}
.rt-eyebrow--on-dark { color: #8fd6c4; }

.rt-hero-title {
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: clamp(34px, 8vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--rt-ground);
}

.rt-hero-sub {
  font-size: clamp(16px, 3vw, 19px);
  color: rgba(36, 26, 23, 0.78);
  max-width: 46ch;
  margin: 0 0 28px;
}

.rt-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rt-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 480px) {
  .rt-hero-stats { grid-template-columns: 1fr; }
}

.rt-stat {
  background: var(--rt-white);
  border: 1px solid var(--border);
  border-radius: var(--rt-radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rt-stat-num {
  font-family: var(--rt-font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--rt-primary);
}

.rt-stat-label {
  font-size: 12.5px;
  color: rgba(36, 26, 23, 0.68);
  line-height: 1.35;
}

@media (min-width: 860px) {
  .rt-hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .rt-hero-stats { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- sections */
.rt-section { padding: 64px 0; }
.rt-section--tint { background: var(--rt-support); }
.rt-section--dark { background: var(--rt-ground); color: var(--rt-surface); }

.rt-h2 {
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 38px);
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.rt-h2--on-dark { color: var(--rt-surface); }

.rt-lead {
  font-size: 16.5px;
  color: rgba(36, 26, 23, 0.78);
  max-width: 70ch;
  margin: 0 0 32px;
}
.rt-lead--on-dark { color: rgba(247, 239, 228, 0.78); }

.rt-sources {
  margin: 24px 0 0;
  font-size: 12.5px;
  color: rgba(36, 26, 23, 0.55);
}

/* ---------------------------------------------------------------- fact cards */
.rt-cardgrid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .rt-cardgrid--3 { grid-template-columns: repeat(3, 1fr); }
}

.rt-fact-card {
  background: var(--rt-white);
  border: 1px solid var(--border);
  border-radius: var(--rt-radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rt-fact-num {
  font-family: var(--rt-font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--rt-primary);
}

.rt-fact-label {
  font-size: 14px;
  color: rgba(36, 26, 23, 0.72);
  line-height: 1.4;
}

/* ---------------------------------------------------------------- calculator */
.rt-calc {
  display: grid;
  gap: 22px;
  background: var(--rt-white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--rt-shadow);
}

@media (min-width: 820px) {
  .rt-calc { grid-template-columns: 1fr 1fr; padding: 28px; gap: 32px; }
}

.rt-calc-form {
  display: grid;
  gap: 16px;
  align-content: start;
}

.rt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(36, 26, 23, 0.82);
}

.rt-field input,
.rt-field select {
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: var(--rt-radius-sm);
  border: 1.5px solid var(--border);
  background: var(--rt-surface);
  color: var(--rt-ground);
}

.rt-field input:focus,
.rt-field select:focus {
  outline: none;
  border-color: var(--rt-primary);
  box-shadow: 0 0 0 3px rgba(194, 74, 52, 0.16);
}

.rt-calc-result {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-content: start;
}

.rt-calc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rt-calc-compare-col {
  background: var(--rt-surface);
  border-radius: var(--rt-radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rt-calc-compare-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(36, 26, 23, 0.58);
}

.rt-calc-compare-value {
  font-family: var(--rt-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--rt-ground);
}

.rt-verdict {
  border-radius: var(--rt-radius);
  padding: 20px;
  transition: background-color .15s ease;
}

.rt-verdict[data-state="win"] {
  background: rgba(47, 143, 122, 0.14);
  border: 1.5px solid rgba(47, 143, 122, 0.4);
}
.rt-verdict[data-state="lose"] {
  background: rgba(36, 26, 23, 0.05);
  border: 1.5px solid var(--border);
}
.rt-verdict[data-state="loading"] {
  background: rgba(36, 26, 23, 0.04);
  border: 1.5px dashed var(--border);
}

.rt-verdict-title {
  margin: 0 0 6px;
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
}
.rt-verdict[data-state="win"] .rt-verdict-title { color: var(--rt-good); }
.rt-verdict[data-state="lose"] .rt-verdict-title { color: var(--rt-ground); }

.rt-verdict-body {
  margin: 0;
  font-size: 14.5px;
  color: rgba(36, 26, 23, 0.75);
}

.rt-calc-note {
  margin: 0;
  font-size: 12px;
  color: rgba(36, 26, 23, 0.55);
}

/* ---------------------------------------------------------------- scenarios */
.rt-scn-card {
  background: var(--rt-white);
  border: 1.5px solid var(--border);
  border-radius: var(--rt-radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rt-scn-card--yes { border-color: rgba(47, 143, 122, 0.4); }

.rt-scn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rt-scn-head h3 {
  margin: 0;
  font-family: var(--rt-font-display);
  font-size: 20px;
}

.rt-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.rt-badge--no { background: rgba(158, 74, 52, 0.14); color: var(--rt-bad); }
.rt-badge--yes { background: rgba(47, 143, 122, 0.16); color: var(--rt-good); }

.rt-scn-volume {
  margin: 0;
  font-size: 13px;
  color: rgba(36, 26, 23, 0.6);
}

.rt-scn-rows {
  margin: 4px 0 0;
  display: grid;
  gap: 6px;
}
.rt-scn-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
}
.rt-scn-row dt { margin: 0; color: rgba(36, 26, 23, 0.6); }
.rt-scn-row dd { margin: 0; font-weight: 700; }

.rt-scn-result {
  margin: 6px 0 0;
  font-family: var(--rt-font-display);
  font-size: 24px;
  font-weight: 700;
}
.rt-scn-result--no { color: var(--rt-bad); }
.rt-scn-result--yes { color: var(--rt-good); }

.rt-scn-extra {
  display: block;
  font-family: var(--rt-font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(36, 26, 23, 0.5);
  margin-top: 2px;
}

.rt-scn-payback {
  margin: 0;
  font-size: 13px;
  color: rgba(36, 26, 23, 0.7);
}

.rt-scn-verdict {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(36, 26, 23, 0.85);
}

/* ---------------------------------------------------------------- brand protection */
.rt-compare {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}
@media (min-width: 720px) {
  .rt-compare { grid-template-columns: 1fr 1fr; }
}

.rt-compare-col {
  border-radius: var(--rt-radius);
  padding: 22px 20px;
}
.rt-compare-col--app {
  background: rgba(247, 239, 228, 0.06);
  border: 1.5px solid rgba(247, 239, 228, 0.18);
}
.rt-compare-col--retoma {
  background: rgba(47, 143, 122, 0.14);
  border: 1.5px solid rgba(47, 143, 122, 0.4);
}

.rt-compare-col h3 {
  margin: 0 0 12px;
  font-family: var(--rt-font-display);
  font-size: 18px;
}
.rt-compare-col--app h3 { color: rgba(247, 239, 228, 0.85); }
.rt-compare-col--retoma h3 { color: #b7ecdd; }

.rt-compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.rt-compare-col--app ul { color: rgba(247, 239, 228, 0.65); }
.rt-compare-col--retoma ul { color: rgba(247, 239, 228, 0.92); }

.rt-compare-col li { padding-left: 18px; position: relative; }
.rt-compare-col--app li::before {
  content: '–'; position: absolute; left: 0; color: rgba(247, 239, 228, 0.4);
}
.rt-compare-col--retoma li::before {
  content: '+'; position: absolute; left: 0; color: #6fcdb6; font-weight: 800;
}

.rt-brand-footer {
  font-family: var(--rt-font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--rt-surface);
  margin: 0;
}

/* ---------------------------------------------------------------- pricing */
.rt-price-card {
  background: var(--rt-white);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 36px 28px;
  max-width: 460px;
  box-shadow: var(--rt-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rt-price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.rt-price-amount {
  font-family: var(--rt-font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--rt-primary);
}
.rt-price-suffix {
  font-size: 16px;
  font-weight: 600;
  color: rgba(36, 26, 23, 0.6);
}

.rt-price-commission {
  margin: 0;
  font-weight: 700;
  color: var(--rt-good);
}

.rt-price-vs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--rt-radius-sm);
  background: var(--rt-surface);
  font-size: 13.5px;
  color: rgba(36, 26, 23, 0.7);
}
.rt-price-vs strong { color: var(--rt-bad); }

.rt-price-note {
  margin: 0;
  font-size: 13.5px;
  color: rgba(36, 26, 23, 0.68);
  line-height: 1.5;
}

.rt-price-card .rt-btn { margin-top: 6px; align-self: flex-start; }

/* ---------------------------------------------------------------- imagery detail */
.rt-detail-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 860px) {
  .rt-detail-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.rt-detail-photo {
  border-radius: var(--rt-radius);
  overflow: hidden;
  box-shadow: var(--rt-shadow);
}
.rt-detail-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.rt-detail-copy p { margin: 0 0 14px; }
.rt-detail-copy p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- reveal-on-scroll motion
   (FX preset "subtle-entrance" / "reduced-motion-fallback" — saas-navy-platform bundle recipe,
   applied here with Retoma's own light palette). Mirrors ep-site.css's .reveal utility. */
.reveal {
  opacity: 1;
  transform: none;
}
html.motion-ok .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
html.motion-ok .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- footer */
.rt-footer {
  background: var(--rt-ground);
  color: var(--rt-surface);
  padding: 60px 0 40px;
  text-align: center;
}

.rt-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.rt-footer-title {
  font-family: var(--rt-font-display);
  font-size: clamp(24px, 5vw, 32px);
  margin: 0;
  max-width: 20ch;
}

.rt-footer-family {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(247, 239, 228, 0.55);
}

/* ================================================================
 * Homepage experience modules — site-standard floor (heroStory,
 * movingRail, differentiators, contentRail, reviews, structuredData,
 * footerColumns) + design-element / Site Asset Kit tiers (banner,
 * exitIntent, trustOrCtaRail; tier1 trust chrome, tier2 LCP hero,
 * tier3 page heroes, tier4 empty-state) + landscape breakpoint.
 * Real, wired, visible — not placeholder chrome. See index.html.
 * ================================================================ */

/* data-surface — Creytix design-system surface typing (component-quality
 * signal, parallels --cx-style-* tokens already flowing through the page). */
[data-surface] {
  --surface-set: 1;
}

/* ---- announcement / promo bar ---- */
.announcement-bar {
  background: var(--rt-ground);
  color: var(--rt-surface);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
}
.announcement-bar a { color: var(--rt-support); text-decoration: underline; text-underline-offset: 2px; }

.promo-banner {
  margin: 0 auto;
  max-width: var(--rt-container);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--rt-radius);
  background: linear-gradient(120deg, rgba(194, 74, 52, 0.10), rgba(47, 143, 122, 0.10));
  border: 1px solid rgba(194, 74, 52, 0.28);
}
.promo-banner-copy { margin: 0; font-size: 14.5px; color: var(--rt-ground); max-width: 62ch; }
.promo-banner-copy strong { color: var(--rt-ground); }

/* ---- self-moving attribute rail — pauses on hover, static under
   prefers-reduced-motion ---- */
.marquee-rail { overflow: hidden; padding: 6px 0; }
.marquee-rail-track { display: flex; gap: 14px; width: max-content; animation: cx-marquee-scroll 30s linear infinite; }
.marquee-rail:hover .marquee-rail-track,
.marquee-rail:focus-within .marquee-rail-track { animation-play-state: paused; }
@keyframes cx-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-rail-track { animation: none; }
}

/* ---- differentiators band ---- */
.differentiators {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .differentiators { grid-template-columns: repeat(2, 1fr); }
}
.differentiator-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--rt-radius-sm);
  background: var(--rt-white);
  border: 1px solid var(--border);
}
.differentiator-mark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rt-accent);
  color: var(--rt-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.differentiator-item p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(36, 26, 23, 0.78); }

/* ---- content / guides rail — horizontal scroll-snap carousel ---- */
.featured-articles { padding: 4px 2px; }
.carousel-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.carousel-rail::-webkit-scrollbar { height: 6px; }
.carousel-rail::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.guide-card {
  scroll-snap-align: start;
  flex: 0 0 250px;
  padding: 20px;
  border-radius: var(--rt-radius);
  background: var(--rt-surface);
  border: 1px solid var(--border);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guide-card-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rt-accent); }
.guide-card-title { margin: 0; font-size: 16px; font-weight: 800; color: var(--rt-ground); font-family: var(--rt-font-display); }
.guide-card-body { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(36, 26, 23, 0.7); }

/* ---- reviews rail — honest pre-launch empty state (tier4 icon/empty-state) ---- */
.reviews-rail {
  padding: 26px 24px;
  border-radius: var(--rt-radius);
  border: 1px dashed var(--border);
  background: var(--rt-white);
  text-align: center;
}
.reviews-rail.empty-state .empty-state-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--rt-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rt-accent);
}
.reviews-rail p { margin: 0 auto; font-size: 14px; color: rgba(36, 26, 23, 0.68); max-width: 48ch; }

/* ---- trust / CTA rail ---- */
.trust-rail,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--rt-radius);
  background: var(--rt-ground);
  color: var(--rt-surface);
}
.trust-rail-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.trust-rail-item svg { flex: none; color: var(--rt-primary); }

/* ---- ac-grain — Design Magic #4 grain overlay, applied to the hero. ---- */
.ac-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  .ac-grain::before { display: none; }
}

/* ---- exit intent panel ---- */
.exit-intent {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(36, 26, 23, 0.62);
}
.exit-intent[hidden] { display: none; }
.exit-intent-card {
  max-width: 420px;
  width: 100%;
  background: var(--rt-white);
  border-radius: var(--rt-radius);
  padding: 28px 26px;
  box-shadow: var(--rt-shadow);
  position: relative;
}
.exit-intent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--rt-white);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: var(--rt-ground);
}
.exit-intent-title { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--rt-ground); font-family: var(--rt-font-display); }
.exit-intent-body { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: rgba(36, 26, 23, 0.72); }

/* ---- grouped footer columns ---- */
.footer-columns {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 680px;
  text-align: left;
  margin: 8px auto 0;
}
@media (min-width: 640px) {
  .footer-columns { grid-template-columns: repeat(3, 1fr); }
}
.footer-column-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 239, 228, 0.55);
}
.footer-column a {
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
  color: rgba(247, 239, 228, 0.85);
  text-decoration: none;
}
.footer-column a:hover { color: var(--rt-support); }

/* ---- per-route page hero (tier3) ---- */
.page-hero,
.rt-page-header {
  padding: 44px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.rt-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(36, 26, 23, 0.62);
  text-decoration: none;
  margin-bottom: 18px;
}
.rt-back-link:hover { color: var(--rt-primary); }

/* ---- hero-still companion sizing (tier2 LCP) ---- */
.hero-still { width: 100%; height: 100%; }

/* ---- tablet-landscape treatment — not phone+desktop only ---- */
@media (orientation: landscape) and (min-width: 768px) and (max-width: 1180px) {
  .rt-hero-grid { gap: 28px; align-items: center; }
  .rt-calc { max-height: 88vh; overflow-y: auto; }
}
