/* Refrakt shared design system — used by subpages */

:root {
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --grey-700: #4a4a4a;
  --grey-600: #6b6b6b;
  --grey-400: #9a9a9a;
  --grey-200: #e6e6e6;
  --grey-100: #f2f2f2;
  --white: #ffffff;
  /* Lower-saturation palette (board request 2026-07-02): muted, editorial warm tones.
     Text/link accents use --link-accent(-strong) below, so contrast is unaffected. */
  --cream: #faf7f4;
  --pink-50: #f7f2f1;
  --pink-100: #efe6e5;
  --pink-200: #e3d4d3;
  --pink-300: #d3b7b8;
  --orange-300: #e3b696;
  --orange-400: #cf8a5f;
  --orange-500: #c8703f;
  --gradient: linear-gradient(135deg, #efe6e5 0%, #ecdccb 50%, #cf8a5f 100%);
  --gradient-soft: linear-gradient(180deg, #f7f2f1 0%, #faf5ef 100%);

  /* Spacing scale (REF-16 design-spec §A — additive) */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px; --space-6: 40px;  --space-7: 64px;  --space-8: 96px;

  /* Shadow scale — soft, warm-neutral, never harsh black */
  --shadow-sm: 0 1px 2px rgba(20,20,20,0.04), 0 2px 6px rgba(20,20,20,0.04);
  --shadow-md: 0 4px 12px rgba(20,20,20,0.06), 0 12px 28px rgba(20,20,20,0.06);
  --shadow-lg: 0 8px 24px rgba(20,20,20,0.08), 0 24px 60px rgba(20,20,20,0.08);

  /* Grain texture motif */
  --grain: 0.045;        /* default opacity for sections/cards */
  --grain-strong: 0.07;  /* hero / editorial moments */

  /* Accessible accent for TEXT/LINKS (WCAG 1.4.3 AA fix — see REF-17 Designer note).
     --orange-500 (#f76a2a) is ~3.0:1 on white — fine for large display, gradients,
     1px rules and fills, but fails AA 4.5:1 as normal-size text. This darker burnt
     orange measures ~4.8:1 on white / ~4.6:1 on cream while staying on-brand.
     Use for inline links + small accent labels; keep --orange-500 for non-text uses. */
  --link-accent: #c44a16;

  /* Stronger burnt orange for small accent TEXT on GRAINED surfaces (REF-19 QA fix).
     --link-accent (#c44a16) is ~4.8:1 on white but the grain overlay lowers the
     effective card bg to ~#f4f4f4, dropping it to ~4.4:1 — marginally under AA 4.5:1
     for the 10px/400 card labels. This measures ~4.7:1 on the grained card bg. */
  --link-accent-strong: #bf4413;
}

/* GRAIN MOTIF (REF-16 design-spec §A — additive overlay, never a color change) */
.rf-grain { position: relative; isolation: isolate; }
.rf-grain::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; border-radius: inherit;
  opacity: var(--grain);
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.rf-grain > * { position: relative; z-index: 1; }
.rf-grain--strong::after { opacity: var(--grain-strong); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 200;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* NAV (shared) */
.rf-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 40px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.rf-nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.rf-logo {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
}
.rf-logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient);
}
.rf-logo-mark {
  height: 34px; width: auto; display: block;
}
.rf-nav-links { display: flex; gap: 40px; font-size: 13px; font-weight: 300; color: var(--grey-600); }
.rf-nav-links a:hover { color: var(--black); }
.rf-nav-cta {
  font-size: 13px; font-weight: 400;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: all .25s;
  color: var(--ink);
}
.rf-nav-cta:hover { background: var(--ink); color: var(--white); }

/* PAGE HERO (subpages) */
.rf-page-hero {
  padding: 160px 40px 80px;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}
.rf-page-hero-inner {
  max-width: 880px; margin: 0 auto;
  text-align: center;
}
.rf-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 24px;
}
.rf-eyebrow-line { width: 28px; height: 1px; background: var(--orange-400); }
.rf-page-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 20px;
}
.rf-page-hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--pink-300), var(--orange-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rf-page-hero .rf-lede {
  font-size: 18px; font-weight: 300;
  color: var(--grey-600);
  max-width: 640px; margin: 0 auto;
}

/* SECTION primitives */
.rf-section { padding: 100px 40px; }
.rf-section.alt { background: var(--cream); }
.rf-section-inner { max-width: 1080px; margin: 0 auto; }
.rf-section-inner.narrow { max-width: 760px; }

.rf-h2 {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 20px;
}
.rf-h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--pink-300), var(--orange-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rf-h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.rf-p {
  font-size: 16px; font-weight: 300;
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.rf-p strong { color: var(--ink); font-weight: 400; }

/* PROC CARD — simulation/procedure card (REF-16 design-spec §B3) */
.rf-proc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.rf-proc-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.rf-proc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-200);
}
.rf-proc-card .rf-eyebrow { margin-bottom: 16px; }
.rf-proc-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.rf-proc-desc {
  font-size: 14px; font-weight: 300;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: 22px;
}
.rf-proc-meta {
  display: flex; flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--grey-100);
}
.rf-proc-line-label {
  display: block;
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 7px;
}
.rf-proc-line-label.can { color: var(--link-accent-strong); }
.rf-proc-line-label.cant { color: var(--grey-600); }
.rf-proc-line-label.params { color: var(--grey-600); }
.rf-proc-meta ul { list-style: none; }
.rf-proc-meta li {
  position: relative;
  font-size: 13px; font-weight: 300;
  color: var(--grey-700);
  line-height: 1.5;
  padding-left: 16px;
  margin-bottom: 4px;
}
.rf-proc-meta li::before {
  content: ''; position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--pink-300);
}
.rf-proc-line.cant li::before { background: var(--grey-200); }
.rf-proc-params {
  font-size: 13px; font-weight: 300;
  color: var(--grey-600);
  line-height: 1.5;
}

/* DISCLAIMER BAND — honest, non-promotional reassurance strip */
.rf-disclaimer {
  background: var(--cream);
  border: 1px solid var(--grey-200);
  border-radius: 18px;
  padding: 32px 36px;
  display: flex; align-items: center; gap: 22px;
  box-shadow: var(--shadow-sm);
}
.rf-disclaimer-mark {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-soft);
  border: 1px solid var(--pink-200);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic; font-weight: 300;
  font-size: 22px;
  color: var(--link-accent);
}
.rf-disclaimer p {
  font-size: 15px; font-weight: 300;
  color: var(--grey-700);
  line-height: 1.6;
}
.rf-disclaimer p strong {
  font-weight: 400;
  color: var(--ink);
}

/* STAT BAND — credibility metric row (REF-16 design-spec §B1).
   Equal columns on desktop (auto-fit fills 3 or 4 stats edge-to-edge),
   2-col on mobile via the responsive override below. */
.rf-stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-6);
  max-width: 1080px;
  margin: 0 auto;
}
.rf-stat {
  text-align: center;
}
.rf-stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--black);
}
.rf-stat-num em {
  font-style: italic;
  background: linear-gradient(135deg, var(--pink-300), var(--orange-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rf-stat-label {
  margin-top: var(--space-3);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-600);
}

/* FAQ — native <details> accordion (REF-16 design-spec §B2).
   Contract: <div.rf-faq-group> > <div.rf-faq-group-title> + <details.rf-faq>
   ( <summary> with <svg.rf-faq-chevron> + <div.rf-faq-answer> ).
   Keyboard- and screen-reader-operable for free via native <details>. */
.rf-faq-group { margin-bottom: var(--space-8); }
.rf-faq-group:last-of-type { margin-bottom: 0; }
.rf-faq-group-title {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-3);
}
.rf-faq { border-top: 1px solid var(--grey-200); }
.rf-faq summary {
  list-style: none;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  cursor: pointer;
  border-bottom: 1px solid var(--grey-200);
  font-size: 17px; font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
  min-height: 44px;
}
.rf-faq summary::-webkit-details-marker { display: none; }
.rf-faq summary:focus-visible {
  outline: 2px solid var(--orange-400);
  outline-offset: 3px;
  border-radius: 4px;
}
.rf-faq summary:hover { color: var(--black); }
.rf-faq-chevron {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  color: var(--grey-400);
  transition: transform .25s ease, color .25s ease;
}
.rf-faq[open] .rf-faq-chevron { transform: rotate(180deg); color: var(--orange-400); }
.rf-faq[open] summary { border-bottom-color: transparent; }
.rf-faq-answer {
  padding: 0 0 var(--space-5);
  border-bottom: 1px solid var(--grey-200);
}
.rf-faq-answer p {
  font-size: 15px; font-weight: 300;
  color: var(--grey-600);
  line-height: 1.6;
  max-width: 64ch;
  margin-bottom: 12px;
}
.rf-faq-answer p:last-child { margin-bottom: 0; }
.rf-faq-answer a {
  color: var(--link-accent);
  text-decoration: underline; text-underline-offset: 2px;
}
.rf-faq-answer a:hover { color: var(--black); }

/* GALLERY ITEM — synthetic before/after tile (REF-16 design-spec §B4).
   The design system owns the tile shell + the mandatory "Synthetic example"
   badge; the before/after split + caption are laid out per-page (gal-* helpers)
   so each gallery can compose its own media. Use with `rf-grain`. */
.rf-gallery-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.rf-gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rf-gallery-item[hidden] { display: none; }

/* Mandatory synthetic badge — required on every tile (no real faces). */
.rf-synthetic-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 5px 10px; border-radius: 999px;
}
.rf-synthetic-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gradient);
}

/* TRUST BAND — reassurance strip (REF-16 design-spec §B5) */
.rf-trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1080px;
  margin: 0 auto;
}
.rf-trust-point {
  display: flex; flex-direction: column;
  gap: var(--space-2);
}
.rf-trust-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink-50);
  border: 1px solid var(--pink-200);
  color: var(--link-accent);
  margin-bottom: var(--space-2);
}
.rf-trust-icon svg { width: 19px; height: 19px; }
.rf-trust-point h4 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.rf-trust-point p {
  font-size: 13px; font-weight: 300;
  color: var(--grey-600);
  line-height: 1.6;
}
.rf-trust-point a {
  color: var(--link-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rf-trust-point a:hover { color: var(--black); }

/* QUOTE FEATURE — full-bleed editorial pull-quote (REF-16 design-spec §B6) */
.rf-quote-feature {
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border-radius: 28px;
  background: var(--gradient-soft);
}
.rf-quote-feature blockquote,
.rf-quote-text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 200;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 900px;
  margin: 0 auto;
}
.rf-quote-feature em {
  background: linear-gradient(135deg, var(--pink-300), var(--orange-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rf-quote-cite {
  display: block;
  margin-top: var(--space-5);
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-600);
}

/* Reduced-motion: keep grain static, drop accordion/card motion */
@media (prefers-reduced-motion: reduce) {
  .rf-faq-chevron { transition: none; }
  .rf-proc-card { transition: none; }
  .rf-gallery-item { transition: none; }
  .rf-gallery-item:hover { transform: none; }
}

/* BUTTONS */
.rf-btn-primary {
  display: inline-block;
  padding: 15px 28px;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.01em;
  transition: transform .2s, box-shadow .2s;
}
.rf-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(247,106,42,0.5); }
.rf-btn-ghost {
  display: inline-block;
  padding: 15px 24px;
  font-size: 14px; font-weight: 300;
  color: var(--grey-600);
}
.rf-btn-ghost:hover { color: var(--black); }

/* FORM */
.rf-form-card {
  background: rgba(255, 250, 247, 0.6);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 30px 60px -28px rgba(247, 106, 42, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.04);
}
.rf-form-section {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 32px;
  margin-top: 32px;
}
.rf-form-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.rf-form-section-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}
.rf-form-section-desc {
  font-size: 13px; font-weight: 300;
  color: var(--grey-600);
  margin-bottom: 22px;
}
.rf-field {
  display: flex; flex-direction: column;
  margin-bottom: 18px;
}
.rf-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.rf-field label,
.rf-field-row label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 8px;
}
.rf-field label .req,
.rf-field-row label .req { color: var(--link-accent); }
.rf-input, .rf-select, .rf-textarea {
  font-family: inherit;
  font-size: 15px; font-weight: 300;
  color: var(--ink);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.rf-input:focus, .rf-select:focus, .rf-textarea:focus {
  outline: none;
  border-color: var(--orange-400);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.15);
}
.rf-textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.rf-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 18px;
}
.rf-check {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.rf-check:hover { border-color: var(--orange-300); background: rgba(255,255,255,0.75); }
.rf-check input { margin-top: 3px; accent-color: var(--orange-500); }
.rf-check-text { font-size: 13px; font-weight: 300; color: var(--ink); line-height: 1.4; }
.rf-check input:checked + .rf-check-text { color: var(--ink); font-weight: 400; }
.rf-form-actions {
  display: flex; justify-content: flex-end; gap: 14px;
  margin-top: 32px;
}

/* FOOTER (shared) */
.rf-footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: 60px 40px 40px;
  font-size: 13px; font-weight: 300;
}
.rf-foot-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.rf-foot-inner .rf-logo { color: var(--white); }
.rf-foot-inner .rf-logo .rf-logo-dot { background: var(--gradient); }
.rf-foot-links { display: flex; gap: 36px; }
.rf-foot-links a { color: inherit; }
.rf-foot-links a:hover { color: var(--white); }
.rf-foot-fine {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 1280px; margin-left: auto; margin-right: auto;
  font-size: 11px; color: rgba(255,255,255,0.3);
  text-align: center; letter-spacing: 0.05em;
}
.rf-foot-mini-link {
  font-size: 11px; color: rgba(255,255,255,0.5);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; background: none; border: none;
  font-family: inherit;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 1000;
  background: rgba(20, 20, 22, 0.92);
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  animation: cookieSlideUp .35s ease-out;
}
.cookie-banner.show { display: block; }
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px; align-items: center;
}
.cookie-text strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 4px;
}
.cookie-text p {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  max-width: 680px;
}
.cookie-text a { color: var(--orange-300); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-btn {
  font-size: 13px; font-weight: 400;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.ck-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.18);
}
.ck-btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.ck-btn-primary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
}
.ck-btn-primary:hover { background: var(--orange-300); border-color: var(--orange-300); color: var(--black); }

/* COOKIE PREFS MODAL */
.cookie-prefs {
  position: fixed; inset: 0;
  z-index: 1100;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.cookie-prefs.show { display: flex; }
.cookie-prefs-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cookie-prefs-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 520px; width: 100%;
  padding: 36px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
  max-height: 90vh; overflow-y: auto;
}
.cookie-prefs-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 26px;
  color: var(--black);
  margin-bottom: 8px;
}
.cp-desc {
  font-size: 14px; font-weight: 300;
  color: var(--grey-600);
  margin-bottom: 28px;
}
.cp-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.cp-row-text strong {
  display: block;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.cp-row-text p {
  font-size: 12px; font-weight: 300;
  color: var(--grey-600); line-height: 1.5;
}
.cp-toggle {
  position: relative;
  width: 40px; height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cp-toggle input {
  position: absolute; opacity: 0;
  width: 100%; height: 100%;
  cursor: pointer;
  margin: 0;
}
.cp-slider {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
  transition: background .2s;
}
.cp-slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cp-toggle input:checked + .cp-slider { background: var(--orange-400); }
.cp-toggle input:checked + .cp-slider::before { transform: translateX(18px); }
.cp-toggle.disabled .cp-slider { background: var(--orange-300); opacity: 0.65; }
.cp-toggle.disabled input { cursor: not-allowed; }
.cp-actions {
  display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 28px;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .rf-proc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .rf-proc-grid { grid-template-columns: 1fr; }
  .rf-trust-band { grid-template-columns: 1fr; gap: var(--space-5); }
  .rf-stat-band { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-5); }
  .rf-quote-feature { padding: var(--space-7) var(--space-5); }
  .rf-disclaimer { flex-direction: column; align-items: flex-start; text-align: left; padding: 26px 24px; }
  .rf-nav { padding: 16px 20px; }
  .rf-nav-links { display: none; }
  .rf-page-hero { padding: 130px 20px 60px; }
  .rf-section { padding: 70px 20px; }
  .rf-form-card { padding: 28px 22px; }
  .rf-field-row, .rf-checks { grid-template-columns: 1fr; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-inner { grid-template-columns: 1fr; gap: 14px; }
  .cookie-actions { justify-content: stretch; }
  .ck-btn { flex: 1; text-align: center; padding: 10px 12px; }
  .rf-foot-inner { flex-direction: column; text-align: center; }
  .rf-foot-links { flex-wrap: wrap; justify-content: center; }
}

/* ANALYSIS INDEX (SEO cluster grid) */
.rf-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-4);
}
.rf-analysis-card {
  display: block;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid rgba(10,10,10,0.07);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.rf-analysis-card:hover { border-color: var(--orange-400); transform: translateY(-2px); }
.rf-analysis-card h3 { font-family: 'Fraunces', serif; font-weight: 300; font-size: 17px; color: var(--black); margin: 0 0 6px; }
.rf-analysis-card p { font-size: 12.5px; font-weight: 300; line-height: 1.5; color: var(--grey-600); margin: 0; }
.rf-analysis-card .rf-analysis-more { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-500); }
