/* Raleigh Septic Repair design tokens v2026-11 (Pine & red clay) — Site Design Lab. Drop-in replacement for mu-plugins/rsr-assets/design-tokens.css. Every class from the WRB base is kept. No important-flag overrides. */

/* ---------- Fonts (self-hosted, latin): Zilla Slab 700 for headings (OFL, Google Fonts) + Source Sans 3 400/600/700 for body ---------- */
/* Root-relative font URLs so preload, @font-face, and LiteSpeed CSS combine share one cache key. */
@font-face{
  font-family:"Zilla Slab Fallback";
  src:local("Arial"), local("Helvetica Neue"), local("Liberation Sans"), local("Helvetica");
  size-adjust:91.75%;
  ascent-override:102.9%;
  descent-override:27.9%;
  line-gap-override:0%;
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Source Sans 3 Fallback";
  src:local("Arial"), local("Helvetica Neue"), local("Liberation Sans"), local("Helvetica");
  size-adjust:88.75%;
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Source Sans 3 Fallback";
  src:local("Arial"), local("Helvetica Neue"), local("Liberation Sans"), local("Helvetica");
  size-adjust:89.57%;
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Zilla Slab";
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url("/wp-content/mu-plugins/rsr-assets/fonts/zilla-slab-700.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Source Sans 3";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("/wp-content/mu-plugins/rsr-assets/fonts/source-sans-3-400.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Source Sans 3";
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url("/wp-content/mu-plugins/rsr-assets/fonts/source-sans-3-600.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Source Sans 3";
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url("/wp-content/mu-plugins/rsr-assets/fonts/source-sans-3-700.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Tokens ---------- */
:root{
  /* Color — "Pine & red clay". Contrast ratios are measured (WCAG 2.x relative luminance); see design-spec-and-fix-list.md §3. */
  --rsr-well:#17301F;          /* hero, footer band, headings, step numbers */
  --rsr-footer:#0F2216;
  --rsr-footer-text:#D2DCCF;   /* footer body text */
  --rsr-ink:#1C2620;           /* body text */
  --rsr-copper:#A63E1E;        /* primary CTA fill (name kept for compatibility) */
  --rsr-copper-700:#86311A;    /* CTA hover */
  --rsr-cta-ink:#FFFFFF;       /* text on the CTA fill — 6.31:1 */
  --rsr-cta-ring:#EBC97E;     /* outline that separates the CTA from dark bands */
  --rsr-teal:#256338;          /* in-body links */
  --rsr-teal-700:#1B4C2A;      /* link hover */
  --rsr-focus:#A63E1E;         /* focus ring on light surfaces */
  --rsr-focus-ring:rgba(166,62,30,.28);
  --rsr-accent:#A63E1E;        /* signature accent: header rule, h2 rule, tile cap */
  --rsr-accent-soft:#F1CDBE;   /* decorative only */
  --rsr-cream:#F7F4EB;         /* page background */
  --rsr-sand:#ECE5D3;          /* alt bands, chips */
  --rsr-paper:#FFFFFF;         /* cards, fields */
  --rsr-muted:#4E5A51;         /* secondary text */
  --rsr-line:#D3D0C2;          /* decorative rules only */
  --rsr-line-ui:#7C8479;       /* component borders */
  --rsr-field:#5F695F;         /* input borders */
  --rsr-error:#B42318;
  --rsr-success:#1F6B4A;
  --rsr-alert:#8A2B12;
  --rsr-copper-soft:#EBC97E;   /* light accent on dark bands: eyebrow, bullets, focus ring on dark */
  --rsr-hero-mid:#22442D;
  --rsr-hero-end:#2F5A3B;
  --rsr-hero-motif:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cg fill='%23fff' fill-opacity='.05'%3E%3Cpath d='M40 120 l18 60 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M120 96 l18 84 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M210 130 l18 50 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M300 88 l18 92 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M380 124 l18 56 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M470 104 l18 76 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M560 136 l18 44 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M650 92 l18 88 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M740 120 l18 60 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M830 100 l18 80 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M920 132 l18 48 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M1010 90 l18 90 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M1100 118 l18 62 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M1190 98 l18 82 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M1280 128 l18 52 h-12 v40 h-12 v-40 h-12z'/%3E%3Cpath d='M1370 104 l18 76 h-12 v40 h-12 v-40 h-12z'/%3E%3C/g%3E%3Cpath fill='%23fff' fill-opacity='.04' d='M0 196 Q360 176 720 192 T1440 188 V220 H0Z'/%3E%3C/svg%3E");

  /* Type */
  --rsr-font-h:"Zilla Slab","Zilla Slab Fallback",Rockwell,Georgia,serif;
  --rsr-font-b:"Source Sans 3","Source Sans 3 Fallback",system-ui,-apple-system,"Segoe UI",sans-serif;
  --rsr-fs-h1:clamp(1.9rem,1.45rem + 2.2vw,3rem);
  --rsr-fs-h1-mobile:1.75rem;
  --rsr-fs-h2:clamp(1.5rem,1.25rem + 1.1vw,2.1rem);
  --rsr-fs-h3:1.15rem;
  --rsr-fs-body:1.0625rem;     /* 17px */
  --rsr-fs-small:0.9375rem;    /* 15px */
  --rsr-fs-caption:0.875rem;   /* 14px — minimum */
  --rsr-fs-button:1.0625rem;
  --rsr-lh-body:1.55;
  --rsr-measure:68ch;
  --rsr-h-tracking:-0.005em;

  /* Space, shape, motion */
  --rsr-wrap:1120px;
  --rsr-gutter:16px;
  --rsr-radius:8px;
  --rsr-radius-lg:12px;
  --rsr-tap:48px;
  --rsr-shadow:0 8px 28px rgba(23,48,31,.14);
  --rsr-shadow-2:0 2px 4px rgba(23,48,31,.08),0 12px 28px rgba(23,48,31,.10);
  --rsr-motion-fast:120ms;
  --rsr-motion-base:200ms;
  --rsr-ease:cubic-bezier(.2,.8,.2,1);
  --rsr-header-h:64px;
  --rsr-sticky-h:56px;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body.rsr{
  margin:0;
  font-family:var(--rsr-font-b);
  font-size:var(--rsr-fs-body);
  font-weight:400;
  line-height:var(--rsr-lh-body);
  color:var(--rsr-ink);
  background:var(--rsr-cream);
  -webkit-font-smoothing:antialiased;
}
body.rsr.has-phone{padding-bottom:0}
@media(max-width:767.98px){
  body.rsr{padding-bottom:calc(var(--rsr-sticky-h) + env(safe-area-inset-bottom,0px))}
}
img{max-width:100%;height:auto;display:block}
body.rsr a{color:var(--rsr-teal);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
body.rsr a:hover{color:var(--rsr-teal-700)}
body.rsr h1,body.rsr h2,body.rsr h3,body.rsr h4,
body.rsr .entry-content h1,body.rsr .entry-content h2,body.rsr .entry-content h3,body.rsr .entry-content h4,
body.rsr .inside-article h1,body.rsr .inside-article h2,body.rsr .inside-article h3{
  font-family:var(--rsr-font-h);
  font-weight:700;
  line-height:1.15;
  color:var(--rsr-well);
  margin:0 0 .4em;
  letter-spacing:var(--rsr-h-tracking);
}
body.rsr h1,body.rsr .entry-content h1,body.rsr .inside-article h1{font-size:var(--rsr-fs-h1)}
body.rsr h2,body.rsr .entry-content h2{font-size:var(--rsr-fs-h2)}
body.rsr h3,body.rsr .entry-content h3{
  font-family:var(--rsr-font-b);font-weight:700;font-size:var(--rsr-fs-h3);line-height:1.3;letter-spacing:0
}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
.rsr-wrap{max-width:var(--rsr-wrap);margin:0 auto;padding:0 var(--rsr-gutter)}
.rsr-section{padding:48px 0}
.rsr-section--alt{background:var(--rsr-paper)}
.rsr-section--sand{background:var(--rsr-sand)}
.rsr-lede,.rsr-muted{color:var(--rsr-muted)}
.rsr-cite{font-size:var(--rsr-fs-caption);color:var(--rsr-muted);margin-top:8px}
.rsr-cite a{color:var(--rsr-teal)}

/* Skip link */
.rsr-skip{
  position:absolute;left:12px;top:-100px;
  background:var(--rsr-well);color:var(--rsr-paper);
  padding:10px 16px;border-radius:var(--rsr-radius);
  min-height:44px;min-width:44px;z-index:100;
  font-weight:700;text-decoration:none;
}
.rsr-skip:focus{top:12px;color:var(--rsr-paper)}

/* ---------- Buttons ---------- */
.rsr-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:var(--rsr-tap);padding:10px 18px;
  border-radius:var(--rsr-radius);border:2px solid transparent;
  font-family:var(--rsr-font-b);font-weight:700;font-size:var(--rsr-fs-button);
  line-height:1;text-decoration:none;cursor:pointer;
  transition:background-color var(--rsr-motion-fast) var(--rsr-ease),
              border-color var(--rsr-motion-fast) var(--rsr-ease),
              color var(--rsr-motion-fast) var(--rsr-ease),
              transform var(--rsr-motion-fast) var(--rsr-ease);
}
.rsr-btn:hover{text-decoration:none}
.rsr-btn--primary,
body.rsr .ff-btn-submit,
body.rsr button.ff-btn-submit,
body.rsr .fluentform .ff-btn-submit{
  background:var(--rsr-copper);color:var(--rsr-cta-ink);border-color:var(--rsr-copper);
}
.rsr-btn--primary:hover,
body.rsr .ff-btn-submit:hover{
  background:var(--rsr-copper-700);border-color:var(--rsr-copper-700);color:var(--rsr-cta-ink);
}
.rsr-btn--secondary{
  background:var(--rsr-paper);color:var(--rsr-well);border-color:var(--rsr-well);
}
.rsr-btn--secondary:hover{background:var(--rsr-cream);color:var(--rsr-well)}
.rsr-btn--ghost{
  background:transparent;color:var(--rsr-paper);border-color:rgba(255,255,255,.8);
}
.rsr-btn--ghost:hover{background:rgba(255,255,255,.1);color:var(--rsr-paper)}
.rsr-btn--block{width:100%}
.rsr-btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible{
  outline:3px solid var(--rsr-focus);
  outline-offset:2px;
}

/* On dark bands use the light accent ring (8.9:1 on --rsr-well) */
.rsr-hero a:focus-visible,.rsr-hero button:focus-visible,
.rsr-final a:focus-visible,.rsr-footer a:focus-visible,
.rsr-sticky a:focus-visible,.rsr-alert a:focus-visible,.rsr-topbar a:focus-visible{
  outline-color:var(--rsr-copper-soft);
}
.rsr-hero .rsr-card a:focus-visible,.rsr-hero .rsr-card button:focus-visible,
.rsr-hero .rsr-card input:focus-visible,.rsr-hero .rsr-card select:focus-visible{
  outline-color:var(--rsr-focus);
}

/* Fluent Forms Free: beat default blue without important flags by using body.rsr */
body.rsr .fluentform .ff-el-form-control,
body.rsr .fluentform input[type="text"],
body.rsr .fluentform input[type="email"],
body.rsr .fluentform input[type="tel"],
body.rsr .fluentform input[type="file"],
body.rsr .fluentform select,
body.rsr .fluentform textarea{
  width:100%;min-height:48px;padding:8px 12px;
  border:1.5px solid var(--rsr-field);border-radius:8px;
  font-size:16px;font-family:var(--rsr-font-b);color:var(--rsr-ink);
  background:var(--rsr-paper);line-height:1.4;
}
body.rsr .fluentform .ff-el-form-control:focus,
body.rsr .fluentform input:focus,
body.rsr .fluentform select:focus,
body.rsr .fluentform textarea:focus{
  border-color:var(--rsr-well);box-shadow:0 0 0 3px var(--rsr-focus-ring);
  outline:none;
}
body.rsr .fluentform .ff-el-is-error .ff-el-form-control,
body.rsr .fluentform input[aria-invalid="true"]{
  border-color:var(--rsr-error);border-width:2px;
}
body.rsr .fluentform .ff-el-help,
body.rsr .fluentform .error,
body.rsr .fluentform .text-danger{color:var(--rsr-error);font-size:var(--rsr-fs-caption);margin:4px 0 0}
body.rsr .fluentform label,
body.rsr .fluentform .ff-el-input--label label{
  display:block;font-size:13px;font-weight:600;color:var(--rsr-ink);margin:0 0 4px;
}

/* ---------- Header ---------- */
.rsr-topbar{display:none;background:var(--rsr-well);color:var(--rsr-paper);font-size:13px;padding:6px 0}
.rsr-topbar a{color:var(--rsr-paper);text-decoration:none;font-weight:700;display:inline-flex;align-items:center;min-height:28px}
.rsr-topbar .rsr-wrap{display:flex;justify-content:space-between;align-items:center;gap:12px}
.rsr-header{
  position:sticky;top:0;z-index:50;
  background:var(--rsr-paper);
  border-bottom:1px solid var(--rsr-line);
  box-shadow:0 3px 0 var(--rsr-accent); /* 3px signature rule; box-shadow so it adds no layout height */
}
.rsr-navrow{display:flex;align-items:center;gap:10px;min-height:56px}
.rsr-logo{
  display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--rsr-well);
  font-family:var(--rsr-font-h);font-weight:700;font-size:16px;line-height:1.15;
}
.rsr-logo:hover{color:var(--rsr-well);text-decoration:none}
.rsr-navrow .rsr-logo{margin-right:auto}
.rsr-mark{
  width:36px;height:36px;flex-shrink:0;border-radius:var(--rsr-radius);
  background:var(--rsr-well);display:grid;place-items:center;
}
.rsr-mark svg{width:22px;height:22px;display:block}
.rsr-logo-text{display:flex;flex-direction:column}
.rsr-logo-text small{font-family:var(--rsr-font-b);font-weight:600;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--rsr-teal)}
.rsr-navlinks{display:none;gap:4px 14px;align-items:center;flex-wrap:wrap}
.rsr-navlinks a{
  text-decoration:none;color:var(--rsr-ink);font-size:15px;font-weight:600;
  padding:8px 0;min-height:44px;display:inline-flex;align-items:center;
}
.rsr-navlinks a:hover{color:var(--rsr-teal-700)}
.rsr-nav-cta{display:none;gap:8px;margin-left:12px;flex-shrink:0}
.rsr-nav-cta .rsr-btn{min-height:44px;padding:8px 14px;font-size:15px}
.rsr-iconbtn{
  width:44px;height:44px;border-radius:999px;
  background:var(--rsr-copper);color:var(--rsr-cta-ink);
  display:inline-flex;align-items:center;justify-content:center;text-decoration:none;flex-shrink:0;
}
.rsr-iconbtn svg{display:block;width:20px;height:20px}
.rsr-iconbtn:hover{background:var(--rsr-copper-700);color:var(--rsr-cta-ink)}
.rsr-hamburger{
  width:44px;height:44px;border:0;background:transparent;color:var(--rsr-well);
  font-size:22px;cursor:pointer;flex-shrink:0;
}
/* Phone-only chrome: hidden until the site option rsr_phone is set and
   the theme adds body class "has-phone". Form-only launch = no Call UI. */
body.rsr:not(.has-phone) .rsr-phone-only{display:none}

/* ---------- Hero ---------- */
.rsr-hero{
  background:
    var(--rsr-hero-motif) bottom center/100% 160px no-repeat,
    linear-gradient(120deg,var(--rsr-well) 0%,var(--rsr-well) 42%,var(--rsr-hero-mid) 74%,var(--rsr-hero-end) 100%);
  color:var(--rsr-paper);
  padding:20px 0 24px;
}
.rsr-hero .rsr-wrap{display:grid;gap:16px}
.rsr-eyebrow{
  font-family:var(--rsr-font-b);font-size:12px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;color:var(--rsr-copper-soft);margin-bottom:8px;
}
.rsr-hero h1{color:var(--rsr-paper);margin-bottom:10px}
.rsr-hero p{color:rgba(255,255,255,.92);margin:0 0 12px;max-width:40rem}
.rsr-hero-ctas{display:grid;gap:8px;margin:0 0 12px}
.rsr-checks{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:rgba(255,255,255,.9);margin:0;padding:0;list-style:none}
.rsr-checks li{display:flex;align-items:center;gap:6px}
.rsr-checks li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--rsr-copper-soft);flex-shrink:0}

/* Quote / form card */
.rsr-card{
  background:var(--rsr-paper);color:var(--rsr-ink);
  border-radius:var(--rsr-radius-lg);padding:16px 16px 18px;
  box-shadow:var(--rsr-shadow);
}
.rsr-card h2,.rsr-card h3{color:var(--rsr-well);margin:0 0 4px;font-family:var(--rsr-font-b);font-weight:700}
.rsr-card .rsr-card-sub{font-size:13px;color:var(--rsr-muted);margin:0 0 10px}
.rsr-form label{display:block;font-size:13px;font-weight:600;margin:8px 0 4px;color:var(--rsr-ink)}
.rsr-form .rsr-opt{font-weight:500;color:var(--rsr-muted)}
.rsr-form input,
.rsr-form select,
.rsr-form textarea{
  width:100%;min-height:48px;padding:8px 12px;
  border:1.5px solid var(--rsr-field);border-radius:8px;
  font-size:16px;font-family:var(--rsr-font-b);color:var(--rsr-ink);background:var(--rsr-paper);
}
.rsr-form textarea{min-height:88px;resize:vertical}
.rsr-form input:focus,
.rsr-form select:focus,
.rsr-form textarea:focus{
  border-color:var(--rsr-well);box-shadow:0 0 0 3px var(--rsr-focus-ring);outline:none;
}
.rsr-form input[aria-invalid="true"],
.rsr-form select[aria-invalid="true"],
.rsr-form textarea[aria-invalid="true"]{
  border-color:var(--rsr-error);border-width:2px;
}
.rsr-field-error{color:var(--rsr-error);font-size:var(--rsr-fs-caption);margin:4px 0 0}
.rsr-fieldset{border:0;padding:0;margin:10px 0 0;min-width:0}
.rsr-fieldset legend{font-size:13px;font-weight:600;color:var(--rsr-ink);padding:0;margin:0 0 6px}
.rsr-radios{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.rsr-radios label{
  display:flex;align-items:center;gap:8px;min-height:44px;margin:0;
  font-weight:500;font-size:14px;padding:6px 10px;
  border:1.5px solid var(--rsr-line-ui);border-radius:8px;cursor:pointer;
}
.rsr-radios input{width:auto;min-height:0;accent-color:var(--rsr-copper)}
.rsr-form .rsr-fine{font-size:13px;color:var(--rsr-muted);margin:10px 0 0}
.rsr-form .rsr-fine a{color:var(--rsr-teal)}
.rsr-hp{position:absolute;left:-9999px;height:0;overflow:hidden} /* honeypot */

/* ---------- Tiles, steps, towns ---------- */
.rsr-grid{display:grid;gap:14px}
.rsr-tile{
  background:var(--rsr-paper);border:1px solid var(--rsr-line-ui);
  border-radius:var(--rsr-radius-lg);padding:18px;
  border-top:3px solid var(--rsr-accent);
}
.rsr-tile h3{margin:0 0 6px}
.rsr-tile p{color:var(--rsr-ink);margin:0 0 10px}
.rsr-tile a{font-weight:600;text-decoration:none;color:var(--rsr-teal)}
.rsr-tile a:hover{color:var(--rsr-teal-700);text-decoration:underline}
.rsr-steps{display:grid;gap:14px;counter-reset:rsr-s;margin:16px 0 0;padding:0;list-style:none}
.rsr-steps li{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start}
.rsr-steps li::before{
  counter-increment:rsr-s;content:counter(rsr-s);
  width:36px;height:36px;border-radius:50%;background:var(--rsr-well);color:var(--rsr-paper);
  box-shadow:0 0 0 3px var(--rsr-accent-soft);
  display:grid;place-items:center;font-family:var(--rsr-font-b);font-weight:700;font-size:14px;
}
.rsr-towns{display:grid;gap:10px;margin:16px 0 0;padding:0;list-style:none}
.rsr-towns a{
  display:block;background:var(--rsr-paper);border:1.5px solid var(--rsr-line-ui);
  border-radius:var(--rsr-radius);padding:14px 16px;text-decoration:none;color:var(--rsr-well);
  font-weight:600;min-height:48px;
}
.rsr-towns a:hover{border-color:var(--rsr-teal);color:var(--rsr-teal-700)}
.rsr-know{display:grid;gap:18px}
.rsr-know h3{margin:0 0 6px}
.rsr-sources{
  background:var(--rsr-sand);border-left:3px solid var(--rsr-teal);
  padding:12px 14px;border-radius:0 8px 8px 0;font-size:var(--rsr-fs-caption);color:var(--rsr-ink);
}

/* FAQ */
.rsr-faq{display:grid;gap:8px;margin-top:16px}
.rsr-faq details{
  background:var(--rsr-paper);border:1px solid var(--rsr-line-ui);border-radius:var(--rsr-radius);padding:0 16px;
}
.rsr-faq summary{
  font-weight:700;font-size:16px;color:var(--rsr-well);cursor:pointer;
  min-height:52px;display:flex;align-items:center;list-style:none;
}
.rsr-faq summary::-webkit-details-marker{display:none}
.rsr-faq summary::after{content:"+";margin-left:auto;font-weight:700;color:var(--rsr-teal);font-size:20px}
.rsr-faq details[open] summary::after{content:"–"}
.rsr-faq details p{padding:0 0 14px;color:var(--rsr-ink)}

/* Cost table (guide pages) */
.rsr-table-wrap{overflow-x:auto;margin:12px 0 16px;-webkit-overflow-scrolling:touch}
.rsr-table{width:100%;border-collapse:collapse;background:var(--rsr-paper);font-size:15px}
.rsr-table th,.rsr-table td{border:1px solid var(--rsr-line-ui);padding:10px 12px;text-align:left;vertical-align:top}
.rsr-table th{background:var(--rsr-well);color:var(--rsr-paper);font-weight:700}
.rsr-table td a{color:var(--rsr-teal)}
.rsr-table caption{text-align:left;font-size:var(--rsr-fs-caption);color:var(--rsr-muted);padding:0 0 8px;caption-side:bottom}
/* Small screens: each row becomes a labeled card (cells carry data-label) */
@media(max-width:599.98px){
  .rsr-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .rsr-table,.rsr-table tbody,.rsr-table tr,.rsr-table td{display:block;width:100%}
  .rsr-table tr{border:1px solid var(--rsr-line-ui);border-radius:10px;margin:0 0 10px;padding:10px 12px;background:var(--rsr-paper)}
  .rsr-table td{border:0;padding:2px 0}
  .rsr-table td::before{content:attr(data-label);display:block;font-size:13px;font-weight:600;color:var(--rsr-muted)}
  .rsr-table td:nth-child(2){font-size:18px}
  .rsr-table{background:transparent}
  .rsr-table caption{display:block;width:100%;padding:4px 0 0}
}

/* Example photo frame */
.rsr-figure{margin:0}
.rsr-figure-frame{
  background:linear-gradient(180deg,var(--rsr-sand),var(--rsr-line));
  border-radius:12px;min-height:180px;display:grid;place-items:center;
  color:var(--rsr-well);position:relative;overflow:hidden;
}
.rsr-figure-frame svg{width:min(180px,50%);height:auto}
.rsr-figcaption{
  font-size:var(--rsr-fs-caption);color:var(--rsr-muted);margin-top:8px;font-style:italic;
}

/* Trust / how-it-works (honest — no fake stars) */
.rsr-trust{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.rsr-trust li{
  background:var(--rsr-sand);color:var(--rsr-ink);font-size:var(--rsr-fs-small);font-weight:600;
  padding:8px 12px;border-radius:999px;min-height:36px;display:inline-flex;align-items:center;
}

/* Alert (emergency leak / gas) */
.rsr-alert{
  background:var(--rsr-alert);color:var(--rsr-paper);
  padding:16px 18px;border-radius:12px;margin:0 0 20px;
}
.rsr-alert h2,.rsr-alert h3{color:var(--rsr-paper);margin:0 0 6px}
.rsr-alert a{color:var(--rsr-paper);text-decoration:underline}

/* Breadcrumb */
.rsr-crumbs{font-size:var(--rsr-fs-caption);color:var(--rsr-muted);margin:0 0 12px}
.rsr-crumbs a{color:var(--rsr-teal)}
.rsr-crumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.rsr-crumbs li:not(:last-child)::after{content:"/";margin-left:6px;color:var(--rsr-muted)}

/* Mid / final CTA bands */
.rsr-midcta{
  background:var(--rsr-sand);border-radius:12px;padding:20px;display:grid;gap:12px;align-items:center;
}
.rsr-final{background:var(--rsr-well);color:var(--rsr-paper);padding:40px 0;text-align:center}
.rsr-final h2{color:var(--rsr-paper)}
.rsr-final p{color:rgba(255,255,255,.9);max-width:36rem;margin:0 auto 16px}
.rsr-final .rsr-btn{margin:4px}

/* Footer */
.rsr-footer{background:var(--rsr-footer);color:var(--rsr-footer-text);padding:32px 0 24px;font-size:14px}
.rsr-footer a{color:var(--rsr-paper)}
.rsr-footer strong{color:var(--rsr-paper)}
.rsr-footer-grid{display:grid;gap:20px}
.rsr-footer nav{display:flex;flex-wrap:wrap;gap:0 16px}
.rsr-footer nav a{display:inline-flex;align-items:center;min-height:44px}

/* Sticky mobile bar */
.rsr-sticky{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:60;
  border-top:1px solid var(--rsr-line);
}
.rsr-sticky a{
  flex:1;min-height:var(--rsr-sticky-h);display:flex;align-items:center;justify-content:center;
  text-decoration:none;font-weight:700;font-size:15px;
  padding-bottom:env(safe-area-inset-bottom,0px);
}
.rsr-sticky .rsr-sticky-quote{background:var(--rsr-copper);color:var(--rsr-cta-ink)}
.rsr-sticky .rsr-sticky-call{background:var(--rsr-well);color:var(--rsr-paper)}
.rsr-sticky{box-shadow:0 -6px 18px rgba(23,48,31,.18)}
body.rsr-typing .rsr-sticky{display:none} /* set by the mu-plugin while a form field has focus (on-screen keyboard) */

/* Quote page is narrower */
.rsr-page-quote .rsr-wrap--narrow{max-width:720px}

/* ---------- Breakpoints ---------- */
@media(max-width:767.98px){
  .rsr-hero{padding:12px 0 16px}
  .rsr-hero .rsr-wrap{display:flex;flex-direction:column;gap:12px}
  .rsr-hero-copy{display:contents}
  .rsr-hero .rsr-eyebrow{order:1;margin-bottom:0;font-size:11px}
  .rsr-hero h1{order:2}
  .rsr-hero-form{order:3}
  .rsr-hero-copy > p{order:4;margin:4px 0 0}
  .rsr-hero-ctas,.rsr-hero .rsr-checks{order:5}
  .rsr-hero h1{font-size:var(--rsr-fs-h1-mobile);margin-bottom:0}
  .rsr-hero p{font-size:15px}
  body.rsr .fluentform .ff-el-group,body.rsr .fluentform .ff-el-form-group{margin-bottom:10px}
  body.rsr .fluentform .ff-el-form-control,
  body.rsr .fluentform input[type="text"],
  body.rsr .fluentform input[type="email"],
  body.rsr .fluentform input[type="tel"],
  body.rsr .fluentform select{min-height:44px;padding:6px 10px}
  .rsr-hero .rsr-card{padding:12px 14px}
  .rsr-hero .rsr-card h2{margin-bottom:2px}
  .rsr-hero .rsr-card-sub{margin-bottom:8px}
  .rsr-hero .rsr-hero-ctas{display:none} /* sticky bar + header icon cover Call and Quote; keeps submit above the sticky bar */
  .rsr-checks{display:none} /* keep fold short so the form is visible */
  .rsr-card{padding:14px}
  .rsr-radios{grid-template-columns:1fr}
  .rsr-section{padding:36px 0}
  .rsr-sticky{display:flex}
  /* Quote page with a live phone: sticky shows Call only (the form is the page) */
  body.has-phone.rsr-page-quote .rsr-sticky-quote{display:none}
  /* Quote page, form-only: no sticky bar at all (it would just point at itself) */
  body.rsr-page-quote:not(.has-phone) .rsr-sticky{display:none}
  body.rsr-page-quote:not(.has-phone){padding-bottom:0}
  body.rsr h1,body.rsr .entry-content h1{font-size:var(--rsr-fs-h1-mobile)}
}
@media(min-width:768px){
  :root{--rsr-gutter:24px;--rsr-header-h:64px}
  .rsr-topbar{display:block}
  .rsr-iconbtn,.rsr-hamburger{display:none}
  .rsr-navlinks{display:flex;flex-wrap:nowrap;gap:4px 10px}
  .rsr-nav-cta{display:flex}
  .rsr-navrow{min-height:64px;flex-wrap:nowrap}
  .rsr-navlinks a{font-size:14px;white-space:nowrap}
  .rsr-nav-cta .rsr-btn{padding:8px 12px;font-size:14px;white-space:nowrap}
  .rsr-hero{padding:48px 0 56px}
  .rsr-hero .rsr-wrap{grid-template-columns:1.05fr .95fr;align-items:start;display:grid}
  .rsr-hero p{font-size:1.0625rem}
  .rsr-hero-ctas{grid-template-columns:1fr 1fr}
  body.rsr:not(.has-phone) .rsr-hero-ctas{grid-template-columns:minmax(0,22rem)}
  .rsr-card{padding:22px}
  .rsr-grid--2{grid-template-columns:1fr 1fr}
  .rsr-grid--3{grid-template-columns:repeat(3,1fr)}
  .rsr-grid--4{grid-template-columns:repeat(2,1fr)}
  .rsr-towns{grid-template-columns:repeat(2,1fr)}
  .rsr-know{grid-template-columns:1fr 1fr 1fr}
  .rsr-steps{grid-template-columns:1fr;max-width:40rem}
  .rsr-midcta{grid-template-columns:1fr auto}
  .rsr-footer-grid{grid-template-columns:2fr 1fr 1fr;gap:32px}
  .rsr-sticky{display:none}
  body.rsr{padding-bottom:0}
  .rsr-btn{min-height:52px;font-size:17px}
  .rsr-figure-frame{min-height:240px}
}
@media(min-width:1024px){
  .rsr-towns{grid-template-columns:repeat(3,1fr)}
  .rsr-grid--4{grid-template-columns:repeat(4,1fr)}
  .rsr-navlinks a{font-size:15px}
  .rsr-nav-cta .rsr-btn{font-size:15px;padding:8px 14px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none;transition:none}
}

/* Hide leftover GeneratePress chrome; our header/footer/nav replace it. */
body.rsr #site-navigation,
body.rsr .main-navigation,
body.rsr .gen-sidebar-nav,
body.rsr .menu-toggle,
body.rsr .mobile-menu-control-wrapper,
body.rsr #mobile-header,
body.rsr .inside-site-info,
body.rsr .footer-widgets,
body.rsr .site-info{display:none}

/* GeneratePress containment: undo boxed containers on full-bleed sections */
.rsr-hero,.rsr-final,.rsr-footer,.rsr-section--alt,.rsr-section--sand,.rsr-topbar,.rsr-header{
  width:100%;
}


/* --------------------------------------------------------------------------
   Specificity repairs so body.rsr a / h1 do not override component colors.
   No important flags. Mockup: paper text on copper/well/alert; logo and nav have
   no underline; hero H1 is paper on the dark band.
   -------------------------------------------------------------------------- */
body.rsr a.rsr-btn,
body.rsr .rsr-btn,
body.rsr .rsr-logo,
body.rsr .rsr-navlinks a,
body.rsr .rsr-iconbtn,
body.rsr .rsr-hamburger,
body.rsr .rsr-towns a,
body.rsr .rsr-tile a{text-decoration:none}

body.rsr .rsr-logo,
body.rsr .rsr-logo:hover{color:var(--rsr-well);text-decoration:none}
body.rsr .rsr-navlinks a,
body.rsr .rsr-navlinks a:hover{text-decoration:none}
body.rsr .rsr-navlinks a{color:var(--rsr-ink)}
body.rsr .rsr-navlinks a:hover{color:var(--rsr-teal-700)}

body.rsr a.rsr-btn--primary,
body.rsr .rsr-btn--primary,
body.rsr .ff-btn-submit,
body.rsr button.ff-btn-submit,
body.rsr .fluentform .ff-btn-submit,
body.rsr a.rsr-btn--primary:hover,
body.rsr .rsr-btn--primary:hover,
body.rsr .ff-btn-submit:hover{
  color:var(--rsr-cta-ink);
  background:var(--rsr-copper);
  border-color:var(--rsr-copper);
  text-decoration:none;
}
body.rsr a.rsr-btn--primary:hover,
body.rsr .rsr-btn--primary:hover,
body.rsr .ff-btn-submit:hover{
  background:var(--rsr-copper-700);
  border-color:var(--rsr-copper-700);
  color:var(--rsr-cta-ink);
}

body.rsr a.rsr-btn--secondary,
body.rsr .rsr-btn--secondary,
body.rsr a.rsr-btn--secondary:hover{
  color:var(--rsr-well);background:var(--rsr-paper);border-color:var(--rsr-well);text-decoration:none;
}
body.rsr a.rsr-btn--secondary:hover{background:var(--rsr-cream)}

body.rsr a.rsr-btn--ghost,
body.rsr .rsr-btn--ghost,
body.rsr a.rsr-btn--ghost:hover{
  color:var(--rsr-paper);background:transparent;border-color:rgba(255,255,255,.8);text-decoration:none;
}
body.rsr a.rsr-btn--ghost:hover{background:rgba(255,255,255,.1);color:var(--rsr-paper)}

body.rsr .rsr-hero h1,
body.rsr .rsr-hero .entry-content h1,
body.rsr .inside-article .rsr-hero h1{color:var(--rsr-paper)}
body.rsr .rsr-final h2,
body.rsr .rsr-alert h2,
body.rsr .rsr-alert h3{color:var(--rsr-paper)}

body.rsr .rsr-topbar a,
body.rsr .rsr-topbar a:hover{color:var(--rsr-paper);text-decoration:none}
body.rsr .rsr-footer a,
body.rsr .rsr-footer a:hover{color:var(--rsr-footer-text);text-decoration:underline}
body.rsr .rsr-sticky a,
body.rsr .rsr-sticky a:hover,
body.rsr .rsr-iconbtn,
body.rsr .rsr-iconbtn:hover{color:var(--rsr-cta-ink);text-decoration:none}
body.rsr .rsr-sticky a.rsr-sticky-call,
body.rsr .rsr-sticky a.rsr-sticky-call:hover{color:var(--rsr-paper)}
body.rsr .rsr-alert a,
body.rsr .rsr-alert a:hover{color:var(--rsr-copper-soft);text-decoration:underline}
body.rsr .rsr-final a.rsr-btn{color:var(--rsr-paper)}
body.rsr .rsr-final a.rsr-btn--primary,
body.rsr .rsr-final a.rsr-btn--primary:hover{color:var(--rsr-cta-ink)}

/* Hero fine print sits after the Fluent shortcode, not inside .rsr-form */
.rsr-hero-form{display:flex;flex-direction:column}
.rsr-hero-form .fluentform,.rsr-hero-form .ff-el-group{width:100%}
.rsr-hero-form .rsr-fine,
.rsr-form .rsr-fine{
  display:block;width:100%;align-self:stretch;box-sizing:border-box;
  font-size:13px;color:var(--rsr-muted);margin:12px 0 0;text-align:left;line-height:1.45
}
.rsr-hero-form .rsr-fine a,.rsr-form .rsr-fine a{color:var(--rsr-teal);text-decoration:underline}

/* Reserve the quote form's final height so Fluent CSS/JS cannot shift the page (CLS). */
@media(max-width:767.98px){
  body.rsr-page-quote #quote{min-height:1320px}
  body.rsr .rsr-hero-form{min-height:560px}
}
@media(min-width:768px){
  body.rsr-page-quote #quote{min-height:1360px}
  body.rsr .rsr-hero-form{min-height:620px}
}

/* ==========================================================================
   v2026-11 additions (Site Design Lab). New classes only; nothing above is
   overridden by selector games. No important-flag overrides.
   ========================================================================== */

/* Section heading signature rule */
body.rsr .rsr-section > .rsr-wrap > h2::after,
body.rsr .rsr-section > .rsr-split > div > h2:first-child::after,
body.rsr .rsr-page-hero h1::after{
  content:"";display:block;width:48px;height:3px;margin-top:10px;
  background:var(--rsr-accent);border-radius:2px;
}
body.rsr .rsr-hero h1::after{content:none}

/* Primary CTA on dark bands gets a separating ring where the fill is close to the band */
.rsr-hero .rsr-btn--primary,.rsr-final .rsr-btn--primary{box-shadow:0 0 0 2px var(--rsr-cta-ring)}

/* Service-page hero: H1 + quick answer + CTA beside a licensed example photo.
   Markup: <section class="rsr-section rsr-page-hero"><div class="rsr-wrap rsr-split"><div>…</div><figure class="rsr-photo rsr-photo--hero">…</figure></div></section> */
.rsr-page-hero{background:linear-gradient(180deg,var(--rsr-paper) 0%,var(--rsr-cream) 100%);border-bottom:1px solid var(--rsr-line)}
.rsr-split{display:grid;gap:20px;align-items:start}
@media(min-width:900px){
  .rsr-split{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:36px}
  .rsr-split--rev{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .rsr-split--rev > .rsr-photo{order:-1}
}

/* Licensed example photo. Always output width/height on <img> (CLS); aspect-ratio is the backup. */
.rsr-photo{margin:0}
.rsr-photo img{
  display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;
  border-radius:var(--rsr-radius-lg);background:var(--rsr-sand);
}
.rsr-photo figcaption{font-size:var(--rsr-fs-caption);color:var(--rsr-muted);margin-top:8px;line-height:1.4}
.rsr-section .rsr-photo{margin-top:20px}
.rsr-split .rsr-photo{margin-top:0}
.rsr-photo--hero img{box-shadow:var(--rsr-shadow-2)}

/* Phone-ready switch (no phone at launch): anything marked rsr-phone-only stays hidden
   until option rsr_phone holds a real 10-digit number and the mu-plugin adds body.has-phone
   (rule above, kept). rsr-form-only is the inverse, for copy such as "Use the form". */
body.rsr.has-phone .rsr-form-only{display:none}
@media(max-width:767.98px){
  body.rsr.has-phone .rsr-sticky a{flex:1 1 50%}
}

/* 44px tap targets (WCAG 2.5.8 AA is 24px; WRB standard is 44px) */
body.rsr .rsr-logo{min-height:44px}
body.rsr .rsr-tile > a{display:inline-flex;align-items:center;min-height:44px}
body.rsr .fluentform .ff-el-form-check{margin:0 0 4px}
body.rsr .fluentform .ff-el-form-check-label,
body.rsr .fluentform .ff-el-form-check label{
  display:flex;align-items:center;gap:10px;min-height:44px;margin:0;font-weight:500;font-size:15px;cursor:pointer;
}
body.rsr .fluentform .ff-el-form-check-input,
body.rsr .fluentform input[type="checkbox"],
body.rsr .fluentform input[type="radio"]{width:20px;height:20px;min-height:0;margin:0;flex-shrink:0;accent-color:var(--rsr-focus)}

/* Mobile home: the quote card must clear the sticky bar. With the reorder above the
   submit button bottom sits near 620px on a 390x844 screen (bar starts at 788px). */
@media(max-width:767.98px){
  body.rsr .rsr-hero-form .rsr-fine{margin-top:10px}
}
