/*
 * Rain Guard Roofs — Storm Shield visual system
 * Presentation-only layer. Existing content, routes, schema and behavior stay intact.
 */

:root {
  --rg-charcoal: #373f48;
  --rg-charcoal-deep: #252c34;
  --rg-tan: #cb9d81;
  --rg-tan-dark: #7f5039;
  --rg-cream: #f5f6f6;
  --rg-paper: #ffffff;
  --rg-ink: #252b31;
  --rg-muted: #687178;
  --rg-line: #d9d9d4;
  --rg-topbar-height: 34px;
  --rg-header-height: 70px;
  --color-fruit-salad: #a26f53;
  --color-fruit-salad-dark: #7f5039;
}

html {
  scroll-behavior: smooth;
  background: var(--rg-cream);
}

body {
  background: var(--rg-cream);
  color: var(--rg-ink);
  font-family: var(--font-family-second);
  font-weight: 400;
  line-height: 1.7;
}

::selection {
  background: var(--rg-tan);
  color: var(--rg-charcoal-deep);
}

a {
  color: var(--rg-tan-dark);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #7f5039;
}

:focus-visible {
  outline: 3px solid rgba(203, 157, 129, 0.55) !important;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-weight: 650;
  letter-spacing: -0.025em;
}

p,
li {
  color: inherit;
}

.rg-topbar {
  position: fixed;
  z-index: 8;
  inset: 0 0 auto;
  height: var(--rg-topbar-height);
  background: var(--rg-charcoal-deep);
  color: #dfe4e6;
  font-family: var(--font-family-second);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: var(--rg-topbar-height);
  text-transform: uppercase;
}

.rg-topbar__inner {
  display: flex;
  justify-content: space-between;
}

.header {
  top: var(--rg-topbar-height);
  min-height: var(--rg-header-height);
  padding: 10px 0;
  border-bottom: 1px solid var(--rg-line);
  background: rgba(245, 246, 246, 0.97);
  box-shadow: none;
}

.header__inner {
  min-height: 50px;
}

.logo,
.logo svg {
  width: 174px;
  height: 43px;
}

.logo__tm {
  color: var(--rg-charcoal);
}

.header .link-with-icon {
  color: var(--rg-charcoal);
  font-family: var(--font-family-second);
  font-size: 0.78rem;
  font-weight: 700;
}

.header .link-with-icon svg {
  fill: var(--rg-tan-dark);
}

.burger-button {
  z-index: 9;
  top: var(--rg-topbar-height);
  height: var(--rg-header-height);
  background: var(--rg-charcoal);
}

.burger-button__text {
  font-weight: 700;
  letter-spacing: 0.1em;
}

.menu {
  top: var(--rg-topbar-height);
  height: calc(100% - var(--rg-topbar-height));
  background: var(--rg-charcoal);
}

.menu__main {
  background: var(--rg-charcoal);
}

.nav-link {
  position: relative;
  font-family: var(--font-family-main);
  font-weight: 600;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--rg-tan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--rg-paper);
}

.main {
  margin-top: calc(var(--rg-topbar-height) + var(--rg-header-height));
  overflow: clip;
}

.breadcrumb-nav {
  margin-top: calc(var(--rg-topbar-height) + var(--rg-header-height));
  padding-top: 18px;
  padding-bottom: 12px;
  background: #eceeed;
  border-bottom: 1px solid var(--rg-line);
}

.breadcrumb-nav + .main {
  margin-top: 0;
}

.breadcrumb-nav a,
.breadcrumb-nav li {
  color: var(--rg-muted);
  font-family: var(--font-family-second);
  font-size: 12px;
}

.breadcrumb-nav [aria-current="page"] {
  color: var(--rg-charcoal);
}

.container {
  max-width: 1370px;
}

.section {
  position: relative;
  padding-top: clamp(62px, 7vw, 110px);
  padding-bottom: clamp(62px, 7vw, 110px);
}

.section:nth-child(even):not(.footer) {
  border-top: 1px solid rgba(55, 63, 72, 0.06);
  border-bottom: 1px solid rgba(55, 63, 72, 0.06);
}

.section > .container > .hm:first-child,
.section > .container > .content-width > .hm:first-child,
.inner-title > .hm:first-child {
  max-width: 850px;
}

.section > .container > .hm:first-child::before,
.section > .container > .content-width > .hm:first-child::before,
.inner-title > .hm:first-child::before {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 18px;
  content: "";
  background: var(--rg-tan);
}

.bg-black-haze {
  background: var(--rg-cream);
}

.bg-bright-gray {
  background: var(--rg-charcoal);
}

.bg-bright-gray.flow-black {
  color: #d5dadd;
}

.flow-black h1,
.flow-black h2,
.flow-black h3,
.flow-black h4,
.flow-black h5,
.flow-black .h1,
.flow-black .h2,
.flow-black .h3,
.flow-black .h4,
.flow-black .h5 {
  color: var(--rg-paper);
}

.bg-white {
  background: var(--rg-paper);
}

.main > .section:first-child:not(.page-header) {
  background: var(--rg-charcoal);
  color: #d5dadd;
}

.main > .section:first-child:not(.page-header) h1,
.main > .section:first-child:not(.page-header) h2,
.main > .section:first-child:not(.page-header) h3,
.main > .section:first-child:not(.page-header) h4 {
  color: var(--rg-paper);
}

.main > .section:first-child:not(.page-header) a:not(.button) {
  color: var(--rg-paper);
  text-decoration: underline;
}

.main > .section:first-child:not(.page-header) .grid-two--layout {
  align-items: center;
}

.main > .section:first-child:not(.page-header) h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 6vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.main > .section:first-child:not(.page-header) .pm {
  max-width: 650px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}

.hero-image,
.main > .section:first-child:not(.page-header) .image {
  position: relative;
  min-height: 360px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 24px 24px 0 -23px var(--rg-tan);
  filter: saturate(0.82) contrast(1.04);
}

.page-header {
  min-height: 330px;
  padding-top: 150px;
  background-color: var(--rg-charcoal);
  background-blend-mode: multiply;
}

.page-header::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(37, 44, 52, 0.92), rgba(37, 44, 52, 0.3));
}

.page-header__title {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto -42px;
  padding: 30px 38px;
  border-left: 3px solid var(--rg-tan);
  background: var(--rg-paper);
  box-shadow: 0 20px 50px rgba(24, 30, 35, 0.12);
}

.page-header__title h1,
.page-header__title .h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.button {
  min-height: 52px;
  padding: 15px 22px;
  border: 1px solid var(--rg-tan);
  border-radius: 0;
  background: var(--rg-tan);
  color: var(--rg-charcoal-deep);
  font-family: var(--font-family-second);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.button:hover,
.button:focus-visible {
  border-color: #ddb39c;
  background: #ddb39c;
  color: var(--rg-charcoal-deep);
}

.button--white {
  border-color: var(--rg-paper);
  background: transparent;
  color: var(--rg-paper);
}

.button--white:hover,
.button--white:focus-visible {
  border-color: var(--rg-tan);
  background: var(--rg-tan);
  color: var(--rg-charcoal-deep);
}

.box {
  border-radius: 0;
}

.brill-card,
.grid-three > li > .box,
.grid-four > .box,
.grid-two > .box {
  min-height: 100%;
  border: 1px solid var(--rg-line);
  background: var(--rg-paper);
  color: var(--rg-muted);
  box-shadow: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.brill-card:hover,
.grid-three > li > .box:hover,
.grid-four > .box:hover,
.grid-two > .box:hover {
  border-color: var(--rg-tan);
  box-shadow: 0 18px 44px rgba(37, 44, 52, 0.08);
  transform: translateY(-4px);
}

.brill-card h3,
.brill-card h4,
.grid-three > li > .box h3,
.grid-four > .box h3,
.grid-two > .box h3 {
  color: var(--rg-charcoal);
}

.brill-card__svg {
  fill: var(--rg-tan-dark);
}

.bg-bright-gray .brill-card,
.bg-bright-gray .grid-three > li > .box,
.bg-bright-gray .grid-four > .box,
.bg-bright-gray .grid-two > .box {
  border-color: #59636c;
  background: var(--rg-charcoal-deep);
  color: #c7ced1;
}

.bg-bright-gray .brill-card h3,
.bg-bright-gray .grid-three > li > .box h3,
.bg-bright-gray .grid-four > .box h3,
.bg-bright-gray .grid-two > .box h3 {
  color: var(--rg-paper);
}

.banner,
.bannerok,
.side-card,
.insurance,
.testimonial-card,
.map-card {
  border-radius: 0;
  box-shadow: none;
}

.banner::before,
.banner::after,
.bannerok::before,
.bannerok::after,
.side-card::before,
.side-card::after,
.section--print-bg::after {
  opacity: 0.28;
}

.banner__main,
.bannerok__main,
.side-card__main,
.insurance__main,
.map__card,
.map-card,
.a-btn,
.a-panel__inner {
  border: 1px solid var(--rg-line);
  background: var(--rg-paper);
}

.a-btn {
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-weight: 600;
}

.a-btn:hover {
  border-color: var(--rg-tan);
}

.chevron span {
  background: var(--rg-tan-dark);
}

.input,
.cf__input,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  min-height: 44px;
  border: 1px solid #b9c0c1;
  border-radius: 0;
  background: var(--rg-paper);
  color: var(--rg-ink);
}

.input:focus,
.cf__input:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--rg-tan-dark);
  box-shadow: 0 0 0 3px rgba(203, 157, 129, 0.2);
}

.action-banner {
  max-width: 760px;
  padding: 34px;
  border: 1px solid var(--rg-tan);
  background: var(--rg-charcoal-deep);
  text-align: left;
}

.action-banner h4 {
  color: var(--rg-paper);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.action-banner p {
  color: #c7ced1;
}

.action-banner:hover {
  background: var(--rg-tan);
}

.action-banner:hover h4,
.action-banner:hover p {
  color: var(--rg-charcoal-deep);
}

.footer {
  padding-top: 78px;
  padding-bottom: 28px;
  border-top: 5px solid var(--rg-tan);
  background: var(--rg-charcoal-deep);
  color: #c7ced1;
}

.footer .squere {
  border: 1px solid #4d5861;
  background: transparent;
  color: #c7ced1;
}

.footer .squere h4 {
  color: var(--rg-paper);
}

.footer .squere a {
  color: #e6eaec;
}

.footer .squere a:hover,
.footer .squere a:focus-visible {
  color: var(--rg-paper);
  text-decoration: underline;
}

.footer .squere__row:first-child {
  border-bottom-color: #4d5861;
}

.footer .link-with-icon svg {
  fill: var(--rg-tan);
}

.footer .social-link {
  background: transparent;
  border: 1px solid var(--rg-tan);
}

.footer .social-link:hover {
  background: var(--rg-tan);
}

.float-banner {
  z-index: 10;
  border-top: 1px solid var(--rg-charcoal);
  background: var(--rg-tan);
}

.float-banner__close {
  width: 44px;
  height: 44px;
  background: var(--rg-charcoal);
  border-color: var(--rg-charcoal);
}

.rg-static-page input[type="checkbox"] {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

@media (min-width: 1492px) {
  :root {
    --rg-header-height: 82px;
  }

  .header {
    padding: 0;
  }

  .header__inner {
    min-height: var(--rg-header-height);
  }

  .menu {
    top: auto;
    height: auto;
    background: transparent;
  }

  .menu__main {
    padding: 0;
    background: transparent;
  }

  .nav-list {
    gap: clamp(13px, 1.3vw, 24px);
  }

  .nav-link {
    color: var(--rg-charcoal);
    font-family: var(--font-family-second);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link.active {
    color: var(--rg-tan-dark);
  }

  .header__item {
    border-right-color: var(--rg-tan);
  }
}

@media (max-width: 1491px) {
  .menu .nav-link {
    display: inline-block;
    padding: 4px 0;
    color: var(--rg-paper);
  }

  .menu .nav-link:hover,
  .menu .nav-link:focus-visible,
  .menu .nav-link.active {
    color: var(--rg-paper);
  }
}

@media (max-width: 824px) {
  :root {
    --rg-header-height: 62px;
  }

  .rg-topbar__inner {
    justify-content: center;
  }

  .rg-topbar__inner span:first-child {
    display: none;
  }

  .header {
    padding: 7px 0;
  }

  .header__inner {
    min-height: 48px;
  }

  .logo,
  .logo svg {
    width: 150px;
    height: 37px;
  }

  .burger-button {
    right: 22px;
  }

  .page-header {
    min-height: 270px;
    padding-top: 115px;
  }

  .page-header__title {
    margin-bottom: -34px;
    padding: 25px 24px;
  }

  .main > .section:first-child:not(.page-header) h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-image,
  .main > .section:first-child:not(.page-header) .image {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.rg-static-page {
  margin: 0;
  background: var(--rg-cream);
}

.rg-static-page .rg-static-header {
  padding: 24px clamp(22px, 6vw, 80px);
  border-bottom: 1px solid var(--rg-line);
  background: var(--rg-paper);
}

.rg-static-page .rg-static-brand {
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-size: 1.35rem;
  font-weight: 700;
}

.rg-static-page .rg-static-main {
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) 0;
}

.rg-static-page .rg-static-panel {
  padding: clamp(28px, 5vw, 56px);
  border-top: 4px solid var(--rg-tan);
  background: var(--rg-paper);
}

.rg-static-page h1 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.02;
}

.rg-static-page h2 {
  margin: 42px 0 12px;
}

.rg-static-page form {
  margin-bottom: 70px;
}

.rg-static-page table,
.rg-static-page tbody,
.rg-static-page tr,
.rg-static-page td {
  display: block;
  width: 100%;
}

.rg-static-page td {
  padding: 5px 0;
}

.rg-static-page input:not([type="checkbox"]),
.rg-static-page textarea {
  width: 100%;
  padding: 14px;
}

.rg-static-page textarea {
  min-height: 150px;
}

.rg-static-page input[type="submit"] {
  width: auto;
  padding: 15px 22px;
  border: 1px solid var(--rg-tan);
  background: var(--rg-tan);
  color: var(--rg-charcoal-deep);
  font-family: var(--font-family-second);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rg-static-page input[type="checkbox"] {
  margin-right: 8px;
}

/* === RG components ===
 *
 * Pattern reference — copy these shapes instead of creating page-specific
 * component CSS. All new component classes use the rg- prefix.
 *
 * Text:
 *   .rg-reading                     prose wrapper; caps readable measure
 *   .rg-eyebrow                     short uppercase label before a heading
 *   .rg-section-header              header wrapper: eyebrow, h2, and deck
 *   .rg-section-header__deck        optional one-line section introduction
 *   .rg-list                        <ul>/<ol> with visible dash markers
 *   .rg-list--check                <ul>; optional li SVG .rg-list__icon uses #svg-check
 *   .rg-list--num                  <ol> with numbered tan markers
 *   .rg-pull-quote                 <blockquote> for a verified quotation
 *   .rg-spec-row                   <dl> of .rg-spec-row__item pairs
 *   .rg-spec-row__item             <div> containing dt and dd
 *
 * Data and content blocks:
 *   .rg-table-wrap                 wrapper around one .rg-table; enables touch scroll
 *   .rg-table                     <table> with thead/tbody; add .rg-table__numeric to numeric cells
 *   .rg-table__note                <p> immediately above a table
 *   .rg-note / .rg-tip / .rg-warn  <aside> callout; optional .rg-note__icon SVG
 *   .rg-step-list                  <ol>; each li has .rg-step-list__marker and __body
 *   .rg-stat-row                   row of .rg-stat items
 *   .rg-stat                      one proof or fact item with __value and __label
 *   .rg-comparison                 two or more .rg-comparison__item contrasts
 *   .rg-card                       reusable card body; works inside existing grid-* layouts
 *   .rg-figure                     <figure> with image and optional __caption
 *   .rg-cta-band                   full-width conversion band with __content and __actions
 *   .rg-mobile-call                optional fixed mobile phone action with __icon and __label
 *
 * Existing contracts intentionally restyled here:
 *   .grid-two / .grid-three / .grid-four, .button / .button--white,
 *   .accordion / .a-container / .a-btn / .chevron / .a-panel, and
 *   .breadcrumb-nav. Accordion behavior remains the page-owned .active toggle.
 */

/* Reading measure and section headers */
.rg-reading {
  width: min(68ch, 100%);
}

.rg-reading > :last-child,
.rg-section-header > :last-child {
  margin-bottom: 0;
}

.rg-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--rg-tan-dark);
  font-family: var(--font-family-second);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.rg-section-header {
  max-width: 780px;
  margin-bottom: 28px;
}

.rg-section-header h2,
.rg-section-header h3 {
  margin-bottom: 12px;
}

.rg-section-header__deck {
  max-width: 68ch;
  color: var(--rg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.flow-black .rg-eyebrow,
.bg-bright-gray .rg-eyebrow {
  color: var(--rg-paper);
}

.flow-black .rg-section-header__deck,
.bg-bright-gray .rg-section-header__deck {
  color: #d5dadd;
}

/* Lists: typography.css removes native markers globally, so these selectors
 * deliberately restore a visible marker for every supported variant. */
.rg-list,
.rg-list--check,
.rg-list--num {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.rg-list > li,
.rg-list--check > li,
.rg-list--num > li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 24px;
  line-height: 1.6;
}

.rg-list > li:last-child,
.rg-list--check > li:last-child,
.rg-list--num > li:last-child {
  margin-bottom: 0;
}

.rg-list > li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 12px;
  height: 2px;
  content: "";
  background: var(--rg-tan-dark);
}

.rg-list--check > li {
  padding-left: 30px;
}

.rg-list--check > li::before {
  position: absolute;
  top: 0;
  left: 2px;
  color: var(--rg-tan-dark);
  content: "✓";
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.rg-list--check .rg-list__icon {
  position: absolute;
  z-index: 1;
  top: 0.18em;
  left: 0;
  width: 18px;
  height: 18px;
  padding: 1px;
  background: inherit;
  fill: var(--rg-tan-dark);
}

.rg-list--check > li:has(> .rg-list__icon)::before {
  content: none;
}

.rg-list--num {
  counter-reset: rg-list;
}

.rg-list--num > li {
  counter-increment: rg-list;
  padding-left: 36px;
}

.rg-list--num > li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  width: 26px;
  color: var(--rg-tan-dark);
  content: counter(rg-list, decimal-leading-zero);
  font-family: var(--font-family-main);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.rg-list--compact {
  margin-bottom: 0;
}

/* Pull quotes and definition/spec rows */
.rg-pull-quote {
  max-width: 68ch;
  margin: 32px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--rg-tan);
  background: var(--rg-cream);
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.rg-pull-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--rg-muted);
  font-family: var(--font-family-second);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rg-spec-row {
  margin: 24px 0;
  border-top: 1px solid var(--rg-line);
}

.rg-spec-row__item {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.5fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rg-line);
}

.rg-spec-row dt {
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-weight: 700;
}

.rg-spec-row dd {
  margin: 0;
  color: var(--rg-muted);
}

/* Tables */
.rg-table-wrap {
  position: relative;
  max-width: 100%;
  margin: 28px 0 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--rg-tan-dark) var(--rg-cream);
  scrollbar-width: thin;
}

.rg-table-wrap::after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(55, 63, 72, 0.2));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.rg-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--rg-paper);
  color: var(--rg-ink);
  font-size: 0.92rem;
  line-height: 1.5;
}

.rg-table__note {
  margin: 0 0 10px;
  color: var(--rg-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.rg-table th {
  padding: 14px 16px;
  border: 1px solid var(--rg-charcoal);
  border-right-color: rgba(255, 255, 255, 0.25);
  background: var(--rg-charcoal);
  color: var(--rg-paper);
  font-family: var(--font-family-second);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
  vertical-align: bottom;
}

.rg-table th:last-child {
  border-right-color: var(--rg-charcoal);
}

.rg-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rg-line);
  color: var(--rg-ink);
  vertical-align: top;
}

.rg-table tbody tr:nth-child(even) td {
  background: var(--rg-cream);
}

.rg-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 2px;
}

.rg-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 2px;
}

.rg-table .rg-table__numeric,
.rg-table [data-type="numeric"],
.rg-table [data-type="cost"] {
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* Notes and callouts */
.rg-note,
.rg-tip,
.rg-warn {
  position: relative;
  margin: 28px 0;
  padding: 20px 24px;
  border: 1px solid var(--rg-line);
  border-left: 4px solid var(--rg-charcoal);
  border-radius: 14px;
  background: var(--rg-cream);
  color: var(--rg-ink);
}

.rg-tip {
  border-left-color: var(--rg-tan-dark);
}

.rg-warn {
  border-left-color: var(--rg-charcoal-deep);
  background: #eceeed;
}

.rg-note > :last-child,
.rg-tip > :last-child,
.rg-warn > :last-child {
  margin-bottom: 0;
}

.rg-note__title,
.rg-tip__title,
.rg-warn__title {
  margin-bottom: 6px;
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-weight: 700;
}

.rg-note__icon,
.rg-tip__icon,
.rg-warn__icon {
  float: left;
  width: 20px;
  height: 20px;
  margin: 1px 10px 4px 0;
  fill: var(--rg-tan-dark);
}

/* Accordion contract: only presentation changes here. The existing
 * page-owned click handlers still add/remove .active on .a-container. */
.accordion {
  max-width: 900px;
}

.accordion .a-container {
  margin-bottom: 12px;
}

.accordion .a-container:last-child {
  margin-bottom: 0;
}

.accordion .a-btn {
  display: flex;
  align-items: center;
  min-height: 64px;
  margin: 0;
  padding: 18px 22px 18px 60px;
  border: 1px solid var(--rg-line);
  border-radius: 10px;
  background: var(--rg-paper);
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-size: 1.08rem;
  line-height: 1.35;
  text-align: left;
}

.accordion .a-btn:hover,
.accordion .a-btn:focus-visible {
  border-color: var(--rg-tan-dark);
}

.accordion .a-container.active .a-btn {
  border-color: var(--rg-tan-dark);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.accordion .a-panel__inner {
  padding: 20px 24px;
  border: 1px solid var(--rg-line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: var(--rg-paper);
}

.accordion .a-panel__inner p {
  max-width: 68ch;
}

.accordion .chevron {
  top: 50%;
  left: 22px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
}

.accordion .chevron span {
  background: var(--rg-tan-dark);
}

/* Steps, stats, comparisons */
.rg-step-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  counter-reset: rg-step;
}

.rg-step-list > li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  counter-increment: rg-step;
}

.rg-step-list__marker {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--rg-tan-dark);
  border-radius: 50%;
  background: var(--rg-paper);
  color: var(--rg-tan-dark);
  font-family: var(--font-family-main);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.rg-step-list__marker::before {
  content: counter(rg-step, decimal-leading-zero);
}

.rg-step-list__body > :last-child {
  margin-bottom: 0;
}

.rg-step-list__body h3,
.rg-step-list__body h4 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.rg-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  border: 1px solid var(--rg-line);
  background: var(--rg-line);
}

.rg-stat {
  min-width: 0;
  padding: 22px 20px;
  background: var(--rg-paper);
}

.rg-stat__value {
  display: block;
  margin-bottom: 4px;
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.05;
}

.rg-stat__label {
  display: block;
  color: var(--rg-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.rg-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.rg-comparison__item {
  padding: 24px;
  border: 1px solid var(--rg-line);
  border-top: 4px solid var(--rg-tan-dark);
  background: var(--rg-paper);
}

.rg-comparison__item--accent {
  border-top-color: var(--rg-charcoal);
}

.rg-comparison__item > :last-child {
  margin-bottom: 0;
}

.rg-comparison__label {
  margin-bottom: 8px;
  color: var(--rg-tan-dark);
  font-family: var(--font-family-second);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Cards and grids. Existing grid-* classes remain the layout contract. */
.rg-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--rg-line);
  border-radius: 14px;
  background: var(--rg-paper);
  color: var(--rg-muted);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.rg-card:hover,
.rg-card:focus-within {
  border-color: var(--rg-tan);
  box-shadow: 0 14px 30px rgba(37, 44, 52, 0.09);
  transform: translateY(-2px);
}

.rg-card > :last-child {
  margin-bottom: 0;
}

.grid-two > .rg-card,
.grid-three > li > .rg-card,
.grid-four > .rg-card {
  min-height: 100%;
}

/* Image and caption */
.rg-figure {
  margin: 28px 0;
}

.rg-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.rg-figure__caption {
  margin-top: 10px;
  color: var(--rg-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* CTA band */
.rg-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px clamp(24px, 5vw, 56px);
  border-top: 4px solid var(--rg-tan);
  border-radius: 14px;
  background: var(--rg-charcoal);
  color: #d5dadd;
}

.rg-cta-band__content {
  max-width: 68ch;
}

.rg-cta-band h2,
.rg-cta-band h3 {
  margin-bottom: 8px;
  color: var(--rg-paper);
}

.rg-cta-band p {
  margin-bottom: 0;
}

.rg-cta-band__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

/* Button intents: primary (.rg-button), secondary, quiet, and phone action. */
.rg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid var(--rg-tan-dark);
  border-radius: 2px;
  background: var(--rg-tan-dark);
  color: var(--rg-paper);
  font-family: var(--font-family-second);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rg-button:hover,
.rg-button:focus-visible {
  border-color: var(--rg-charcoal-deep);
  background: var(--rg-charcoal-deep);
  color: var(--rg-paper);
}

.rg-button--secondary {
  border-color: var(--rg-charcoal);
  background: transparent;
  color: var(--rg-charcoal);
}

.rg-button--secondary:hover,
.rg-button--secondary:focus-visible {
  border-color: var(--rg-charcoal);
  background: var(--rg-charcoal);
  color: var(--rg-paper);
}

.rg-button--quiet {
  padding-right: 8px;
  padding-left: 8px;
  border-color: transparent;
  background: transparent;
  color: var(--rg-tan-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.rg-button--quiet:hover,
.rg-button--quiet:focus-visible {
  border-color: transparent;
  background: transparent;
  color: var(--rg-charcoal-deep);
}

.rg-button--phone {
  gap: 8px;
}

.rg-button--phone::before {
  content: "☎";
  font-size: 1rem;
  line-height: 1;
}

.rg-button--phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Existing button names remain backward-compatible. New work should use
 * .rg-button and one of its modifiers above. */
.button {
  min-width: 44px;
  min-height: 44px;
}

.button--white {
  border-color: var(--rg-paper);
  background: transparent;
  color: var(--rg-paper);
}

/* Breadcrumb shell */
.breadcrumb-nav {
  padding-top: 16px;
  padding-bottom: 14px;
  background: var(--rg-cream);
}

.breadcrumb-nav ol {
  gap: 4px 0;
}

.breadcrumb-nav li {
  font-size: 0.76rem;
  line-height: 1.45;
}

.breadcrumb-nav li + li::before {
  margin: 0 9px;
  color: var(--rg-tan-dark);
  content: "›";
  font-size: 1rem;
}

.breadcrumb-nav a {
  color: var(--rg-muted);
}

.breadcrumb-nav a:hover,
.breadcrumb-nav a:focus-visible {
  color: var(--rg-charcoal);
}

/* Optional fixed call action. Pages that do not include it are unaffected. */
.rg-mobile-call {
  display: none;
}

/* Dark-surface composition. Components with their own paper/cream surface
 * keep dark text; unboxed text and controls switch to high-contrast paper. */
.bg-bright-gray a:not(.button):not(.rg-button),
.flow-black a:not(.button):not(.rg-button),
.rg-cta-band a:not(.button):not(.rg-button) {
  color: var(--rg-paper);
}

.bg-bright-gray .rg-list,
.bg-bright-gray .rg-list--check,
.bg-bright-gray .rg-list--num,
.bg-bright-gray .rg-spec-row,
.bg-bright-gray .rg-figure__caption {
  color: #d5dadd;
}

.bg-bright-gray .rg-list > li::before,
.flow-black .rg-list > li::before {
  background-color: var(--rg-paper);
}

.bg-bright-gray .rg-list--check > li::before,
.flow-black .rg-list--check > li::before,
.bg-bright-gray .rg-list--num > li::before,
.flow-black .rg-list--num > li::before {
  color: var(--rg-paper);
}

.bg-bright-gray .rg-list__icon,
.flow-black .rg-list__icon {
  background: transparent;
  fill: var(--rg-paper);
}

.bg-bright-gray .rg-spec-row,
.flow-black .rg-spec-row {
  border-top-color: rgba(255, 255, 255, 0.24);
}

.bg-bright-gray .rg-spec-row__item,
.flow-black .rg-spec-row__item {
  border-bottom-color: rgba(255, 255, 255, 0.24);
}

.bg-bright-gray .rg-spec-row dt,
.flow-black .rg-spec-row dt {
  color: var(--rg-paper);
}

.bg-bright-gray .rg-spec-row dd,
.flow-black .rg-spec-row dd,
.bg-bright-gray .rg-figure__caption,
.flow-black .rg-figure__caption {
  color: #d5dadd;
}

.bg-bright-gray .rg-button--secondary,
.flow-black .rg-button--secondary,
.rg-cta-band .rg-button--secondary {
  border-color: var(--rg-paper);
  color: var(--rg-paper);
}

.bg-bright-gray .rg-button--secondary:hover,
.bg-bright-gray .rg-button--secondary:focus-visible,
.flow-black .rg-button--secondary:hover,
.flow-black .rg-button--secondary:focus-visible,
.rg-cta-band .rg-button--secondary:hover,
.rg-cta-band .rg-button--secondary:focus-visible {
  border-color: var(--rg-paper);
  background: var(--rg-paper);
  color: var(--rg-charcoal-deep);
}

.bg-bright-gray .rg-button--quiet,
.flow-black .rg-button--quiet,
.rg-cta-band .rg-button--quiet {
  color: var(--rg-paper);
}

.bg-bright-gray .rg-button--quiet:hover,
.bg-bright-gray .rg-button--quiet:focus-visible,
.flow-black .rg-button--quiet:hover,
.flow-black .rg-button--quiet:focus-visible,
.rg-cta-band .rg-button--quiet:hover,
.rg-cta-band .rg-button--quiet:focus-visible {
  color: var(--rg-paper);
}

/* Paper/cream components nested in a dark section retain their own
 * high-contrast dark-text treatment. */
.bg-bright-gray .rg-card a,
.flow-black .rg-card a,
.bg-bright-gray .rg-note a,
.flow-black .rg-note a,
.bg-bright-gray .rg-tip a,
.flow-black .rg-tip a,
.bg-bright-gray .rg-warn a,
.flow-black .rg-warn a,
.bg-bright-gray .rg-comparison__item a,
.flow-black .rg-comparison__item a,
.bg-bright-gray .rg-table a,
.flow-black .rg-table a {
  color: var(--rg-tan-dark);
}

@media (max-width: 700px) {
  .rg-table-wrap::after {
    opacity: 1;
  }

  .rg-comparison {
    grid-template-columns: 1fr;
  }

  .rg-cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .rg-cta-band__actions {
    width: 100%;
  }

  .rg-cta-band__actions .rg-button {
    flex: 1 1 180px;
  }

  .rg-mobile-call {
    position: fixed;
    z-index: 7;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 16px;
    border: 1px solid var(--rg-tan);
    border-radius: 4px;
    background: var(--rg-charcoal-deep);
    box-shadow: 0 10px 26px rgba(37, 44, 52, 0.24);
    color: var(--rg-paper);
    font-family: var(--font-family-second);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
  }

  .rg-mobile-call:hover,
  .rg-mobile-call:focus-visible {
    background: var(--rg-tan-dark);
    color: var(--rg-paper);
  }

  .rg-mobile-call__icon {
    width: 17px;
    height: 17px;
    fill: currentColor;
  }
}

@media (min-width: 700px) {
  .rg-stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 825px) {
  .rg-list > li,
  .rg-list--check > li {
    padding-left: 28px;
  }

  .rg-list--check > li {
    padding-left: 34px;
  }

  .rg-spec-row__item {
    grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.5fr);
  }

  .rg-step-list {
    gap: 20px;
  }

  .rg-step-list > li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
  }

  .rg-step-list__marker {
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-card,
  .rg-button,
  .rg-table-wrap::after {
    transition: none;
  }
}

/* Project proof gallery: an honest, reusable renderer for populated records. */
.rg-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rg-project-grid__item {
  min-width: 0;
  margin: 0;
}

.rg-project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
}

.rg-project-card h3 {
  margin: 0;
}

.rg-project-card__media {
  order: -1;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  background: var(--rg-cream);
}

.rg-project-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rg-project-card .fz-small,
.rg-project-card .rg-figure__caption {
  margin: 0;
}

.project-filters {
  margin-bottom: 32px;
}

.project-filters .pm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.project-filter__label {
  flex-basis: 100%;
  color: var(--rg-charcoal);
}

.project-filter {
  min-height: 44px;
  padding: 10px 14px;
  border-color: var(--rg-line);
  background: var(--rg-paper);
  color: var(--rg-charcoal);
}

.project-filter.is-active,
.project-filter[aria-pressed="true"] {
  border-color: var(--rg-charcoal);
  background: var(--rg-charcoal);
  color: var(--rg-paper);
}

.rg-project-card,
.rg-project-card__media img {
  transition: transform 0.25s ease;
}

.rg-project-card:hover,
.rg-project-card:focus-within {
  transform: translateY(-4px);
}

/* Reviews: a quiet proof grid that stays honest when optional fields are absent. */
.rg-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rg-review-grid__item {
  min-width: 0;
  margin: 0;
}

.rg-review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border-top: 3px solid var(--rg-tan);
}

.rg-review-card__rating {
  margin: 0;
  color: var(--rg-tan-dark);
  font-family: var(--font-family-second);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rg-review-card__quote {
  flex: 1;
  margin: 0;
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
  line-height: 1.5;
}

.rg-review-card__quote p {
  margin: 0;
}

.rg-review-card__quote-full {
  display: none;
}

.rg-review-card__expand {
  margin-top: 12px;
  margin-left: -8px;
}

.rg-review-card__attribution {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--rg-line);
  color: var(--rg-muted);
  font-family: var(--font-family-second);
  font-size: 0.76rem;
  line-height: 1.5;
}

.rg-review-card__attribution span,
.rg-review-card__attribution time {
  position: relative;
}

.rg-review-card__attribution > * + *::before {
  margin-right: 14px;
  color: var(--rg-tan);
  content: "·";
}

.rg-cta-band-section {
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(44px, 6vw, 76px);
}

.rg-cta-band .rg-button--secondary {
  border-color: var(--rg-tan);
  color: var(--rg-paper);
}

.rg-cta-band .rg-button--secondary:hover,
.rg-cta-band .rg-button--secondary:focus-visible {
  border-color: var(--rg-tan);
  background: var(--rg-tan);
  color: var(--rg-charcoal-deep);
}

@media (max-width: 700px) {
  .rg-cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-project-card,
  .rg-project-card__media img {
    transition: none;
  }
}

/* === RG article layout ===
 *
 * Future static post contract:
 * .rg-article-hero contains .rg-article-hero__inner, optional .rg-eyebrow or
 * .rg-article-hero__badge, one h1, .rg-article-hero__deck, and .rg-article-meta.
 * .rg-article-shell contains optional .rg-article-toc, one .rg-article-body,
 * and optional side rails. Add .rg-list to every future article ul/ol because
 * the site's global list reset removes native markers. Use .rg-article-takeaways, .rg-article-faq
 * (.rg-article-faq__row), .rg-article-cta, .rg-article-author,
 * .rg-article-tags, .rg-article-related, .rg-article-bottom-cta, and
 * .rg-article-back for the corresponding reusable post sections.
 */
.rg-article-hero {
  position: relative;
  overflow: clip;
  padding: clamp(68px, 9vw, 128px) 0 clamp(54px, 7vw, 92px);
  background: var(--rg-charcoal);
  color: #d5dadd;
}

.rg-article-hero__inner,
.rg-article-hero-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.rg-article-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--rg-paper);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.04;
}

.rg-article-hero__badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--rg-tan);
  color: var(--rg-paper);
  font-family: var(--font-family-second);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rg-article-hero__eyebrow {
  color: var(--rg-tan);
}

.rg-article-hero__deck {
  max-width: 720px;
  margin: 0 0 24px;
  color: #d5dadd;
  font-size: 1.08rem;
  line-height: 1.65;
}

.rg-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  color: #d5dadd;
  font-family: var(--font-family-second);
  font-size: .78rem;
}

.rg-article-hero__meta {
  color: #d5dadd;
}

.rg-article-meta strong {
  color: var(--rg-paper);
  font-weight: 700;
}

.rg-article-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 720px) 180px;
  gap: clamp(28px, 4vw, 56px);
  justify-content: center;
  width: min(1380px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(50px, 7vw, 84px) 0;
}

.rg-article-toc {
  position: sticky;
  top: 24px;
  align-self: start;
}

.rg-article-toc__label {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--rg-tan-dark);
  color: var(--rg-tan-dark);
  font-family: var(--font-family-second);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rg-article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rg-article-toc;
}

.rg-article-toc li {
  counter-increment: rg-article-toc;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--rg-line);
  font-size: .86rem;
  line-height: 1.4;
}

.rg-article-toc li::before {
  margin-right: 9px;
  color: var(--rg-tan-dark);
  content: counter(rg-article-toc, decimal-leading-zero);
  font-family: var(--font-family-main);
  font-weight: 700;
}

.rg-article-toc a {
  color: var(--rg-ink);
  text-decoration: none;
}

.rg-article-body {
  min-width: 0;
  color: var(--rg-ink);
  font-size: 1.05rem;
  line-height: 1.74;
}

.rg-article-body p {
  margin: 0 0 1.4em;
}

.rg-article-body h2,
.rg-article-body h3,
.rg-article-body h4 {
  scroll-margin-top: 28px;
  color: var(--rg-charcoal);
}

.rg-article-body h2 {
  margin: 2.2em 0 .7em;
  font-size: 1.95rem;
  line-height: 1.15;
}

.rg-article-body h3 {
  margin: 1.8em 0 .5em;
  font-size: 1.3rem;
  line-height: 1.25;
}

.rg-article-body a {
  color: var(--rg-tan-dark);
  text-decoration-color: var(--rg-tan);
  text-decoration-thickness: 2px;
}

.rg-article-body ul,
.rg-article-body ol {
  margin: 0 0 1.4em;
  padding-left: 24px;
  list-style-position: outside;
}

.rg-article-body ul {
  list-style-type: disc;
}

.rg-article-body ol {
  list-style-type: decimal;
}

.rg-article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.rg-article-body li::marker {
  color: var(--rg-tan-dark);
}

.rg-article-takeaways {
  margin: 0 0 40px;
  padding: 26px 30px;
  border-left: 4px solid var(--rg-tan-dark);
  background: #eceeed;
}

.rg-article-takeaways h2,
.rg-article-takeaways h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.rg-article-takeaways ul {
  margin: 0;
  padding-left: 20px;
}

.rg-article-takeaways li::marker {
  color: var(--rg-tan-dark);
}

.rg-article-faq {
  margin: 0 0 30px;
}

.rg-article-faq__row {
  padding: 22px 0;
  border-bottom: 1px solid var(--rg-line);
}

.rg-article-faq__row:first-child {
  border-top: 1px solid var(--rg-line);
}

.rg-article-faq__row h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.rg-article-faq__row p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.65;
}

.rg-article-cta {
  margin: 36px 0;
  padding: 28px;
  border: 1px solid var(--rg-line);
  background: var(--rg-cream);
  text-align: center;
}

.rg-article-cta h2,
.rg-article-cta h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.rg-article-cta p {
  margin: 0 0 18px;
}

.rg-article-author {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  padding: 22px;
  border: 1px solid var(--rg-line);
  background: var(--rg-paper);
}

.rg-article-author__avatar {
  display: grid;
  flex: 0 0 58px;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--rg-charcoal);
  color: var(--rg-paper);
  font-family: var(--font-family-main);
  font-size: 1.3rem;
}

.rg-article-author__name {
  margin: 0;
  color: var(--rg-charcoal);
  font-weight: 700;
}

.rg-article-author__bio {
  margin: 3px 0 0;
  color: var(--rg-muted);
  font-size: .88rem;
  line-height: 1.5;
}

.rg-article-tags {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--rg-line);
  color: var(--rg-muted);
  font-size: .82rem;
}

.rg-article-tags a {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 4px 11px;
  border: 1px solid var(--rg-line);
  color: var(--rg-muted);
  text-decoration: none;
}

.rg-article-related {
  padding: clamp(48px, 6vw, 76px) 0;
  background: #eceeed;
}

.rg-article-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.rg-article-related__card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--rg-line);
  border-radius: 14px;
  background: var(--rg-paper);
  color: var(--rg-ink);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease;
}

.rg-article-related__card:hover,
.rg-article-related__card:focus-visible {
  border-color: var(--rg-tan-dark);
  color: var(--rg-ink);
  transform: translateY(-3px);
}

.rg-article-related__card h3 {
  margin: 8px 0;
  color: var(--rg-charcoal);
  font-size: 1.18rem;
}

.rg-article-related__card p {
  margin: 0;
  color: var(--rg-muted);
  font-size: .9rem;
  line-height: 1.55;
}

.rg-article-bottom-cta {
  padding: clamp(48px, 6vw, 76px) 24px;
  background: var(--rg-charcoal-deep);
  color: #d5dadd;
  text-align: center;
}

.rg-article-bottom-cta h2 {
  margin: 0 0 12px;
  color: var(--rg-paper);
}

.rg-article-bottom-cta p {
  margin: 0 auto 24px;
  max-width: 680px;
}

.rg-article-back {
  padding: 30px 24px;
  text-align: center;
}

.rg-article-back a {
  color: var(--rg-tan-dark);
  font-weight: 700;
  text-decoration: none;
}

.rg-blog-empty-hero .rg-section-header__deck {
  max-width: 620px;
  color: #d5dadd;
}

.rg-blog-empty-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border-top: 4px solid var(--rg-tan);
}

.rg-blog-empty-card h2 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.rg-blog-empty-card p {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--rg-muted);
}

.rg-blog-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1100px) {
  .rg-article-shell {
    grid-template-columns: minmax(0, 720px);
  }

  .rg-article-toc {
    display: none;
  }
}

@media (max-width: 600px) {
  .rg-article-hero__inner,
  .rg-article-hero-inner,
  .rg-article-shell {
    width: min(100% - 44px, 720px);
  }

  .rg-article-author {
    align-items: flex-start;
  }

  .rg-blog-empty-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rg-blog-empty-actions .rg-button {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-article-related__card {
    transition: none;
  }
}

/* === Grouped legacy modernization ===
 * Presentation-only shells. Markup, content and page-owned behavior remain
 * intentionally untouched; selectors are scoped to the verified route groups.
 */
.rg-city-editorial,
.rg-legacy-city-page,
.rg-legacy-hub-page,
.rg-utility-page,
.rg-booking-utility-page {
  overflow-x: clip;
}

.rg-legacy-city-page .container,
.rg-legacy-hub-page .container {
  width: min(100% - 44px, 1240px);
}

.rg-legacy-city-page .intro {
  position: relative;
  background: var(--rg-charcoal-deep);
  color: #d5dadd;
}

.rg-legacy-city-page .intro__inner {
  min-height: clamp(430px, 55vw, 680px);
}

.rg-legacy-city-page .intro__bg-1 {
  background: var(--rg-charcoal-deep);
}

.rg-legacy-city-page .intro__bg-2 {
  filter: saturate(0.78) contrast(1.04);
}

.rg-legacy-city-page .intro__inner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(37, 44, 52, 0.88) 0%, rgba(37, 44, 52, 0.2) 68%, rgba(37, 44, 52, 0.1) 100%);
  pointer-events: none;
}

.rg-legacy-city-page .intro .container {
  position: relative;
  z-index: 1;
}

.rg-legacy-city-page .intro .box {
  margin-top: clamp(34px, 7vw, 76px);
  margin-bottom: clamp(34px, 7vw, 76px);
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--rg-tan);
  border-left: 5px solid var(--rg-tan);
  border-radius: 0;
  background: rgba(37, 44, 52, 0.94);
  box-shadow: 18px 18px 0 rgba(203, 157, 129, 0.18);
}

.rg-legacy-city-page .intro .box h1 {
  max-width: 16ch;
  margin-bottom: 26px;
  color: var(--rg-paper);
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.04;
}

.rg-legacy-city-page .intro .button {
  background: var(--rg-tan);
}

.rg-legacy-city-page .section {
  padding-top: clamp(58px, 7vw, 104px);
  padding-bottom: clamp(58px, 7vw, 104px);
}

.rg-legacy-city-page .section-header-card,
.rg-legacy-city-page .box,
.rg-legacy-city-page .banner__main,
.rg-legacy-city-page .insurance__main {
  border-radius: 0;
}

.rg-legacy-city-page .section-header-card {
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid var(--rg-tan);
  border-left: 5px solid var(--rg-tan);
  background: var(--rg-paper);
  color: var(--rg-muted);
  box-shadow: 12px 12px 0 rgba(203, 157, 129, 0.14);
}

.rg-legacy-city-page .section-header-card h2,
.rg-legacy-city-page .section-header-card h3 {
  color: var(--rg-charcoal);
}

.rg-legacy-city-page p,
.rg-legacy-city-page .a-panel__inner {
  max-width: 68ch;
}

.rg-legacy-city-page .section-header-card p {
  color: var(--rg-muted);
}

.rg-legacy-city-page .grid-two--layout {
  align-items: center;
  gap: clamp(28px, 5vw, 82px);
}

.rg-legacy-city-page img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--rg-line);
  border-radius: 0;
  box-shadow: 14px 14px 0 rgba(203, 157, 129, 0.16);
}

.rg-legacy-city-page .grid-two--layout > div:first-child img,
.rg-legacy-city-page .grid-two--layout > div:last-child img {
  width: 100%;
}

.rg-legacy-city-page .banner {
  height: 100%;
  border-top: 3px solid var(--rg-tan);
}

.rg-legacy-city-page .banner__header {
  min-height: 190px;
  filter: saturate(0.8);
}

.rg-legacy-city-page .banner__main {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--rg-line);
  border-top: 0;
  background: var(--rg-paper);
}

.rg-legacy-city-page .banner__main p {
  color: var(--rg-muted);
}

.rg-legacy-city-page .fl-banner {
  border-top: 1px solid rgba(203, 157, 129, 0.42);
  border-bottom: 1px solid rgba(203, 157, 129, 0.42);
}

.rg-legacy-city-page .fl-banner__main {
  max-width: 68ch;
  padding: clamp(28px, 5vw, 60px) 0;
}

.rg-legacy-city-page .fl-banner__main h3 {
  color: var(--rg-paper);
}

.rg-legacy-city-page .fl-banner__main p {
  color: #d5dadd;
}

.rg-legacy-city-page .fl-banner .button--white {
  border-color: var(--rg-tan);
  color: var(--rg-paper);
}

.rg-legacy-city-page .fl-banner .button--white:hover,
.rg-legacy-city-page .fl-banner .button--white:focus-visible {
  color: var(--rg-charcoal-deep);
}

.rg-legacy-city-page .insurance {
  border-top: 3px solid var(--rg-tan);
}

.rg-legacy-city-page .insurance__main {
  padding: clamp(24px, 3vw, 42px);
}

.rg-legacy-city-page .insurance__main p {
  color: var(--rg-muted);
}

.rg-legacy-city-page .banner-list {
  gap: 22px;
}

.rg-legacy-city-page .banner-list__item {
  min-width: 0;
}

.rg-legacy-city-page .a-panel ul,
.rg-legacy-city-page .a-panel li {
  list-style: revert;
}

.rg-legacy-city-page .a-panel ul {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

.rg-legacy-city-page .a-panel li {
  margin-bottom: 0.5rem;
  padding-left: 0.2rem;
}

.rg-legacy-city-page .a-panel__inner > li {
  display: list-item;
  margin-left: 1.4rem;
  padding-left: 0.2rem;
  list-style: disc;
}

.rg-legacy-city-page .accordion {
  max-width: 900px;
}

.rg-legacy-city-page .accordion .a-container {
  margin-bottom: 12px;
}

.rg-legacy-city-page .accordion .a-btn {
  min-height: 62px;
  border: 1px solid var(--rg-line);
  border-radius: 0;
  background: var(--rg-paper);
  color: var(--rg-charcoal);
}

.rg-legacy-city-page .accordion .a-container.active .a-btn {
  border-color: var(--rg-tan-dark);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.rg-legacy-city-page .accordion .a-panel__inner {
  border: 1px solid var(--rg-line);
  border-top: 0;
  border-radius: 0;
  background: var(--rg-paper);
}

@media (max-width: 767px) {
  .rg-legacy-city-page .container {
    width: min(100% - 32px, 1240px);
  }

  .rg-legacy-city-page .intro .box {
    margin-top: 28px;
    margin-bottom: 28px;
    box-shadow: 8px 8px 0 rgba(203, 157, 129, 0.16);
  }

  .rg-legacy-city-page .intro__inner::after {
    background: linear-gradient(180deg, rgba(37, 44, 52, 0.32), rgba(37, 44, 52, 0.76));
  }

  .rg-legacy-city-page .grid-two--layout {
    gap: 34px;
  }

  .rg-legacy-city-page .banner__header {
    min-height: 150px;
  }

  .rg-legacy-city-page .banner__main,
  .rg-legacy-city-page .section-header-card {
    padding: 24px;
  }

  .rg-legacy-city-page .fl-banner__main {
    padding: 34px 0;
  }
}

/* === Legacy family finish ===
 * The PHP city and hub templates intentionally keep their original content
 * contracts. This layer gives those contracts one editorial rhythm instead
 * of asking each page to carry a bespoke layout. */
.rg-legacy-city-page,
.rg-legacy-hub-page,
.rg-materials-page {
  --rg-content-gutter: clamp(16px, 4vw, 52px);
}

.rg-home-service-areas__grid {
  align-items: start;
}

.rg-home-service-areas__grid > .rg-card {
  min-height: 0;
  padding: clamp(22px, 3vw, 32px);
}

.rg-home-service-areas__grid > .rg-card h3 {
  margin-top: 0;
}

.rg-legacy-city-page .intro,
.rg-city-editorial .intro,
.rg-legacy-hub-page .page-header,
.rg-materials-page .rg-materials-hero {
  isolation: isolate;
}

.rg-legacy-city-page .intro .line--box {
  width: min(720px, 100%);
}

.rg-legacy-city-page .section:nth-of-type(3) {
  background: var(--rg-paper);
}

.rg-legacy-city-page .section:nth-of-type(4) {
  background: var(--rg-cream);
}

.rg-legacy-city-page .inner-title,
.rg-legacy-city-page .section-header-card,
.rg-legacy-city-page .accordion {
  width: min(100%, 980px);
  margin-right: auto;
  margin-left: auto;
}

.rg-legacy-city-page .inner-title h2,
.rg-legacy-city-page .hm > h2 {
  margin-bottom: 16px;
}

.rg-legacy-city-page .section-header-card h2,
.rg-legacy-city-page .grid-two--layout h2,
.rg-legacy-city-page .inner-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.rg-legacy-city-page .section-header-card h2::before,
.rg-legacy-city-page .inner-title h2::before,
.rg-legacy-city-page .hm > h2::before {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 16px;
  content: "";
  background: var(--rg-tan);
}

.rg-legacy-city-page .grid-two--layout > div {
  min-width: 0;
}

.rg-legacy-city-page .grid-two--layout > div:last-child img,
.rg-legacy-city-page .grid-two--layout > div:first-child img {
  aspect-ratio: 644 / 483;
  object-fit: cover;
}

.rg-legacy-city-page .banner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.rg-legacy-city-page .banner-list__item {
  display: flex;
}

.rg-legacy-city-page .banner {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.rg-legacy-city-page .banner__main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.rg-legacy-city-page .banner__main p:last-child {
  margin-top: auto;
  padding-top: 10px;
}

.rg-legacy-city-page .fl-banner {
  position: relative;
  overflow: hidden;
}

.rg-legacy-city-page .fl-banner + .fl-banner {
  margin-top: 1px;
}

.rg-legacy-city-page .fl-banner__bg {
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rg-legacy-city-page .fl-banner:hover .fl-banner__bg {
  opacity: 0.86;
  transform: scale(1.025);
}

.rg-legacy-city-page .fl-banner__inner {
  position: relative;
  z-index: 1;
}

.rg-legacy-city-page .accordion .a-btn {
  cursor: pointer;
  width: 100%;
}

.rg-legacy-hub-page .section--after-page-header {
  background: var(--rg-cream);
}

.rg-legacy-hub-page .section--after-page-header > .container > .inner-title:first-child {
  max-width: 780px;
  margin-bottom: clamp(34px, 5vw, 68px);
  padding-left: 4px;
  border-left: 3px solid var(--rg-tan);
}

.rg-legacy-hub-page .section--after-page-header > .container > .inner-title:first-child p {
  margin-bottom: 0;
  padding-left: clamp(18px, 3vw, 32px);
}

.rg-legacy-hub-page .insurance-wrapper {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

.rg-legacy-hub-page .insurance {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.rg-legacy-hub-page .insurance__step {
  margin: 0;
  padding-top: 24px;
  color: var(--rg-tan-dark);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.rg-legacy-hub-page .insurance__card {
  min-width: 0;
  border-top: 3px solid var(--rg-tan);
  background: var(--rg-paper);
}

.rg-legacy-hub-page .simple-banner {
  border-left: 3px solid var(--rg-tan);
}

.rg-legacy-hub-page .simple-banner__main {
  background: var(--rg-paper);
}

.rg-materials-page .rg-materials-hero h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 0.98;
}

.rg-materials-page .rg-materials-hero .image {
  display: block;
  width: 100%;
  max-height: 300px;
  margin-bottom: 28px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.rg-materials-page .rg-materials-hero .pm {
  max-width: 70ch;
  color: #d5dadd;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.rg-materials-page .grid-three {
  align-items: stretch;
}

.rg-materials-page .rg-card {
  height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border-top: 3px solid var(--rg-tan);
}

.rg-materials-page .rg-reading > h2 {
  margin-top: clamp(34px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--rg-line);
}

.rg-materials-page .rg-reading > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.rg-materials-page .rg-table-wrap {
  margin-top: 16px;
}

@media (max-width: 767px) {
  .rg-legacy-city-page .banner-list {
    grid-template-columns: 1fr;
  }

  .rg-legacy-city-page .grid-two--layout > div:first-child img,
  .rg-legacy-city-page .grid-two--layout > div:last-child img {
    aspect-ratio: 16 / 10;
  }

  .rg-legacy-hub-page .insurance {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rg-legacy-hub-page .insurance__step {
    padding-top: 0;
  }

  .rg-materials-page .rg-materials-hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.7rem);
  }

  .rg-materials-page .rg-table-wrap {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }
}

.rg-legacy-hub-page .page-header {
  min-height: 310px;
}

.rg-legacy-hub-page .section--after-page-header > .container {
  display: flow-root;
}

.rg-legacy-hub-page .inner-title,
.rg-legacy-hub-page .content-width {
  max-width: 68ch;
}

.rg-legacy-hub-page .bannerok,
.rg-legacy-hub-page .map-card,
.rg-legacy-hub-page .simple-banner,
.rg-legacy-hub-page .insurance-wrapper {
  margin-bottom: clamp(28px, 4vw, 58px);
}

.rg-legacy-hub-page .bannerok,
.rg-legacy-hub-page .map-card {
  border: 1px solid var(--rg-line);
  border-radius: 14px;
  overflow: hidden;
}

.rg-legacy-hub-page .bannerok__main,
.rg-legacy-hub-page .map-card__header {
  padding: clamp(24px, 4vw, 48px);
}

.rg-legacy-hub-page .inline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.rg-utility-page .section--after-page-header > .container,
.rg-utility-page > .section > .container {
  width: min(100% - 44px, 820px);
}

.rg-utility-page .section--after-page-header > .container {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--rg-line);
  background: var(--rg-paper);
}

.rg-utility-page .rg-utility-actions,
.rg-utility-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.rg-utility-page .rg-utility-search {
  display: grid;
  gap: 12px;
  max-width: 660px;
  margin: 28px 0 52px;
}

.rg-utility-page .rg-utility-search label {
  color: var(--rg-charcoal);
  font-family: var(--font-family-main);
  font-weight: 700;
}

.rg-utility-page .rg-utility-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
}

.rg-utility-page .rg-list {
  margin-bottom: 34px;
}

.rg-utility-page .rg-utility-card {
  margin-top: 34px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--rg-line);
  background: var(--rg-cream);
}

.rg-utility-page .rg-utility-card h2 {
  margin-top: 0;
}

.rg-booking-utility-page > .section {
  min-height: 520px;
}

.rg-booking-utility-page iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}

.rg-booking-utility-page .rg-booking-panel {
  width: min(100%, 800px);
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  background: var(--rg-paper);
  box-shadow: 0 10px 28px rgba(37, 44, 52, 0.08);
}

.rg-booking-utility-page .rg-booking-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--rg-line);
  background: var(--rg-paper);
}

.rg-booking-utility-page .rg-booking-switcher__link {
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 16px 18px;
  color: var(--rg-charcoal);
  font-family: var(--font-family-second);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rg-booking-utility-page .rg-booking-switcher__link + .rg-booking-switcher__link {
  border-left: 1px solid var(--rg-line);
}

.rg-booking-utility-page .rg-booking-switcher__link:hover,
.rg-booking-utility-page .rg-booking-switcher__link:focus-visible {
  background: var(--rg-cream);
  color: var(--rg-tan-dark);
}

.rg-booking-utility-page .rg-booking-switcher__link--active {
  background: var(--rg-charcoal);
  color: var(--rg-paper);
}

.rg-booking-utility-page .rg-booking-switcher__link--active:hover,
.rg-booking-utility-page .rg-booking-switcher__link--active:focus-visible {
  background: var(--rg-charcoal-deep);
  color: var(--rg-paper);
}

.rg-booking-utility-page .rg-booking-panel .ghl-wrapper {
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .rg-legacy-hub-page .inline-list {
    grid-template-columns: 1fr;
  }

  .rg-utility-page .section--after-page-header > .container,
  .rg-utility-page > .section > .container {
    width: min(100% - 32px, 820px);
    padding-right: 18px;
    padding-left: 18px;
  }

  .rg-utility-page .rg-utility-actions,
  .rg-utility-page .rg-utility-actions .button {
    width: 100%;
  }

  .rg-booking-utility-page .rg-booking-panel {
    margin-top: 24px;
    border-radius: 8px;
  }

  .rg-booking-utility-page .rg-booking-switcher__link {
    min-height: 62px;
    padding: 12px 10px;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
  }
}
