.rf-page {
  --rf-paper: #f4f0ea;
  --rf-paper-2: #e9e3d8;
  --rf-ink: #231f1d;
  --rf-muted: #5b5753;
  --rf-slate: #3a4a52;
  --rf-slate-soft: #dde3e5;
  --rf-brick: #8f3d2a;
  --rf-brick-soft: #efd9d1;
  --rf-patina-soft: #dce8e2;
  --rf-patina: #4c7a6a;
  --rf-gold: #dfc48c;
  --rf-night: #1d2428;
  --rf-rule: #d6cfc2;
  color: var(--rf-ink);
  background: var(--rf-paper);
  font-family: "DM Sans Variable", sans-serif;
  overflow: clip;
}
.rf-page *,
.rf-page *::before,
.rf-page *::after {
  box-sizing: border-box;
}
.rf-page ::selection {
  color: #fff;
  background: var(--rf-slate);
}
.rf-page a {
  text-underline-offset: 0.25em;
}
.rf-page a:focus-visible,
.rf-page summary:focus-visible {
  outline: 2px solid var(--rf-slate);
  outline-offset: 4px;
}
.rf-page .rf-close a:focus-visible {
  outline-color: var(--rf-gold);
}
.rf-page [id] {
  scroll-margin-top: 112px;
}
.rf-wrap {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding-inline: clamp(22px, 5vw, 72px);
}
:where(.rf-page) :is(h1, h2, h3, p, figure, ol, ul) {
  margin: 0;
}
.rf-page h1,
.rf-page h2,
.rf-page h3 {
  font-family: "Cormorant Garamond Variable", Georgia, serif;
  font-weight: 500;
  text-wrap: balance;
}
.rf-page h2 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
:where(.rf-page) p {
  line-height: 1.65;
}
.rf-page {
  font-variant-numeric: lining-nums;
}

/* Hero */
.rf-hero {
  padding: 124px 0 76px;
  background: var(--rf-paper);
  border-bottom: 1px solid var(--rf-rule);
}
.rf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}
.rf-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.6rem, 5.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.rf-hero h1 .h1-kicker {
  color: var(--rf-brick);
  max-width: 40ch;
  opacity: 1;
}
.rf-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rf-slate);
}
.rf-lede {
  margin-top: 34px;
  max-width: 58ch;
  font-size: 1.2rem;
}
.rf-price {
  margin-top: 22px;
  font-size: 1.05rem;
  font-weight: 600;
}
.rf-setup {
  margin-top: 4px;
  color: var(--rf-brick);
  font-weight: 600;
}
.rf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 28px;
}
.rf-button {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 24px;
  background: var(--rf-ink);
  color: var(--rf-paper);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.rf-button:hover {
  background: var(--rf-slate);
}
.rf-button-light {
  background: var(--rf-gold);
  color: var(--rf-night);
}
.rf-button-light:hover {
  background: #f3dca9;
}
.rf-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--rf-ink);
}
.rf-text-link-light {
  color: var(--rf-gold);
}
.rf-hero .ns-trustline {
  margin-top: 30px;
}

/* Jump nav */
.rf-jump {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 240, 234, 0.96);
  border-bottom: 1px solid var(--rf-rule);
}
.rf-jump .rf-wrap {
  display: flex;
  gap: 4px 26px;
  overflow-x: auto;
  padding-block: 4px;
  scrollbar-width: thin;
}
.rf-jump a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rf-muted);
  text-decoration: none;
}
.rf-jump a:hover {
  color: var(--rf-ink);
  text-decoration: underline;
}

/* Sections */
.rf-section {
  padding: clamp(64px, 8vw, 112px) 0;
}
.rf-heading {
  max-width: 62ch;
}
.rf-heading p {
  margin-top: 20px;
  font-size: 1.08rem;
}
.rf-tie {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--rf-muted);
}
.rf-tie a,
.rf-note a,
.rf-source a {
  color: var(--rf-slate);
  font-weight: 600;
}
.rf-source {
  margin-top: 36px;
  font-size: 0.9rem;
  color: var(--rf-muted);
  max-width: 100ch;
}

/* Plans */

/* FAQ */
.rf-faq {
  background: var(--rf-paper-2);
}
.rf-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.rf-faq-grid > div:first-child p {
  margin-top: 16px;
  color: var(--rf-muted);
}
.rf-faq-list details {
  border-top: 1px solid var(--rf-rule);
}
.rf-faq-list details:last-child {
  border-bottom: 1px solid var(--rf-rule);
}
.rf-faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 64px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.08rem;
}
.rf-faq-list summary::-webkit-details-marker {
  display: none;
}
.rf-faq-list summary span {
  flex: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--rf-slate);
  transition: transform 0.2s;
}
.rf-faq-list details[open] summary span {
  transform: rotate(45deg);
}
.rf-faq-list details p {
  padding: 0 0 22px;
  max-width: 70ch;
  color: var(--rf-muted);
}

/* Close */
.rf-close {
  background: var(--rf-night);
  color: #eef1f3;
  padding: clamp(64px, 8vw, 104px) 0;
}
.rf-close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.rf-close h2 {
  color: #fff;
}
.rf-close-grid > div > p {
  margin-top: 20px;
  max-width: 60ch;
  color: #c9d3db;
  font-size: 1.1rem;
}
.rf-close aside {
  display: grid;
  gap: 4px;
  padding-top: 8px;
}
.rf-close aside strong {
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rf-gold);
}
.rf-close aside a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 12px;
  border-bottom: 1px solid #2c3f51;
  color: #eef1f3;
  text-decoration: none;
}
.rf-close aside a:hover {
  color: var(--rf-gold);
}

/* The job folder (hero) */
.rf-folder {
  margin: 0;
}
.rf-tabs {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 4px;
  margin: 0 0 -1px 18px;
  position: relative;
  z-index: 1;
}
.rf-tabs li {
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c8c3bc;
  background: #2b3338;
  border: 1px solid #38434a;
  border-bottom: 0;
}
.rf-tabs .rf-tab-on {
  background: var(--rf-night);
  color: #fff;
  border-color: #38434a;
}
.rf-folder-body {
  background: var(--rf-night);
  color: #eef0f0;
  padding: 24px 26px 22px;
  border: 1px solid #38434a;
}
.rf-folder-head {
  display: grid;
  gap: 2px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid #38434a;
}
.rf-folder-head strong {
  font-family: "Cormorant Garamond Variable", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
}
.rf-folder-head span {
  font-size: 0.82rem;
  color: #aeb7bb;
}
.rf-folder-body dl {
  margin: 0;
}
.rf-folder-body dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #2f3a41;
}
.rf-folder-body dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rf-gold);
  padding-top: 3px;
}
.rf-folder-body dd {
  margin: 0;
  font-size: 1rem;
}
.rf-folder-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #aeb7bb;
}

/* The two weeks */
.rf-week {
  background: var(--rf-paper);
}
.rf-week-grid {
  list-style: none;
  padding: 0;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--rf-ink);
}
.rf-week-grid li {
  padding: 20px 20px 24px 0;
}
.rf-week-grid li + li {
  padding-left: 20px;
  border-left: 1px solid var(--rf-rule);
}
.rf-week-grid b {
  display: block;
  margin-bottom: 14px;
  font-family: "Cormorant Garamond Variable", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--rf-brick);
}
.rf-week-grid p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}
.rf-week-grid p span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rf-muted);
  font-weight: 700;
  margin-bottom: 2px;
}
.rf-wins {
  padding: 10px 12px;
  background: var(--rf-patina-soft);
}
.rf-wins span {
  color: #2d5548 !important;
}
.rf-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--rf-muted);
}
.rf-tie {
  margin-top: 22px;
  font-size: 1rem;
  color: var(--rf-muted);
  max-width: 78ch;
}
.rf-tie a {
  color: var(--rf-slate);
  font-weight: 600;
}

/* First call */

/* Estimate path */

/* Insurance */
.rf-source {
  margin-top: 26px;
  font-size: 0.9rem;
  color: var(--rf-muted);
  max-width: 100ch;
}

/* Local proof */
.rf-proof {
  background: var(--rf-paper);
}
.rf-proof-list {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--rf-ink);
}
.rf-proof-list div {
  padding: 22px 24px 24px 0;
}
.rf-proof-list div:not(:nth-child(3n + 1)) {
  padding-left: 24px;
  border-left: 1px solid var(--rf-rule);
}
.rf-proof-list div:nth-child(n + 4) {
  border-top: 1px solid var(--rf-rule);
}
.rf-proof-list dt {
  font-family: "Cormorant Garamond Variable", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
}
.rf-proof-list dd {
  margin: 8px 0 0;
  color: var(--rf-muted);
}

/* How it works */
.rf-how {
  background: var(--rf-paper-2);
}
.rf-how-row {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.rf-how-row li {
  padding: 22px 22px 24px;
  background: #fffdf8;
  border: 1px solid var(--rf-rule);
}
.rf-how-row h3 {
  font-size: 1.6rem;
  line-height: 1.1;
}
.rf-how-row p {
  margin-top: 10px;
  color: var(--rf-muted);
}

.rf-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding-block: 22px;
  font-size: 0.85rem;
  color: var(--rf-muted);
}
.rf-breadcrumb a {
  color: inherit;
}

@media (max-width: 1100px) {
  .rf-week-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rf-week-grid li:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }
  .rf-week-grid li:nth-child(n + 4) {
    border-top: 1px solid var(--rf-rule);
  }
  .rf-proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rf-proof-list div,
  .rf-proof-list div:not(:nth-child(3n + 1)) {
    padding: 22px 20px 22px 0;
    border-left: 0;
    border-top: 1px solid var(--rf-rule);
  }
  .rf-proof-list div:nth-child(-n + 2) {
    border-top: 0;
  }
  .rf-how-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .rf-hero {
    padding-top: 108px;
  }
  .rf-hero-grid,
  .rf-faq-grid,
  .rf-close-grid {
    grid-template-columns: 1fr;
  }
  .rf-folder-body dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
@media (max-width: 640px) {
  .rf-week-grid,
  .rf-proof-list,
  .rf-how-row {
    grid-template-columns: 1fr;
  }
  .rf-week-grid li,
  .rf-week-grid li + li {
    padding-left: 0;
    border-left: 0;
  }
  .rf-week-grid li + li {
    border-top: 1px solid var(--rf-rule);
  }
  .rf-tabs {
    flex-wrap: wrap;
    margin-left: 0;
  }
  .rf-hero h1 {
    font-size: 3.1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rf-page * {
    transition: none !important;
  }
}

/* The lead folder continues through the inspection decision. */
.rf-inspection { background: var(--rf-paper-2); }
.rf-inspection-path { list-style: decimal; margin: 32px 0; padding-left: 28px; }
.rf-inspection-path li { padding: 22px 0 22px 12px; border-top: 1px solid var(--rf-rule); }
.rf-inspection-path li::marker { color: var(--rf-brick); font-weight: 700; }
.rf-inspection-path h3 { font-size: 1.3rem; margin: 0 0 12px; }
.rf-inspection-path p { max-width: 78ch; line-height: 1.75; }
.rf-inspection-check { border-block: 1px solid var(--rf-rule); padding-block: 20px; }
.rf-inspection-check summary { cursor: pointer; font-weight: 700; }
.rf-inspection-check p { max-width: 78ch; line-height: 1.75; margin-top: 18px; }
.rf-inspection a { text-decoration: underline; text-underline-offset: 3px; }

/* The website brief stays in the roofing proof chapter. */
.rf-site-brief { margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--rf-slate); scroll-margin-top: 145px; }
.rf-site-brief h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.rf-site-brief > p { max-width: 88ch; margin-top: 20px; line-height: 1.7; }
.rf-site-brief ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-top: 28px; padding: 0; list-style: none; }
.rf-site-brief h4 { font-size: 1.15rem; line-height: 1.35; }
.rf-site-brief li p { margin-top: 10px; line-height: 1.65; }
.rf-site-brief a { text-decoration: underline; text-underline-offset: 4px; }
.rf-site-brief a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 760px) { .rf-site-brief ol { grid-template-columns: 1fr; } }

/* Existing roofing enquiries must still reach the office after a redesign. */
.rf-site-changeover { margin-top: 30px; padding: 26px 0; border-block: 1px solid var(--rf-slate); scroll-margin-top: 145px; }
.rf-site-changeover h4 { font-weight: 700; }
.rf-site-changeover > p { margin-top: 16px; max-width: 88ch; line-height: 1.7; }
.rf-site-changeover dl { margin-top: 22px; }
.rf-site-changeover dl > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px 30px; padding: 16px 0; }
.rf-site-changeover dt { font-weight: 700; }
.rf-site-changeover dd { margin: 0; max-width: 72ch; line-height: 1.65; }
@media (max-width: 760px) { .rf-site-changeover dl > div { grid-template-columns: 1fr; gap: 6px; } }
