.rpf-v2,
.rsf-v2,
.rcm-v2 {
  --rf-bg: #081820;
  --rf-bg-2: #0d202b;
  --rf-panel: #102a37;
  --rf-line: rgba(255,255,255,.14);
  --rf-text: #f6f2e9;
  --rf-muted: #b8c5ca;
  --rf-accent: #ed8337;
  --rf-focus: #ffd2b2;
}

.rpf-v2 *,
.rpf-v2 *::before,
.rpf-v2 *::after,
.rsf-v2 *,
.rsf-v2 *::before,
.rsf-v2 *::after,
.rcm-v2 *,
.rcm-v2 *::before,
.rcm-v2 *::after {
  box-sizing: border-box;
}

.rpf-v2 {
  width: 100%;
  padding: 46px 0;
  border-top: 1px solid rgba(17,25,31,.12);
  background: #f1ece2;
  color: #11191f;
}

.rpf-v2__shell,
.rsf-v2__shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.rpf-v2__inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 34px;
  align-items: center;
}

.rpf-v2__eyebrow {
  margin: 0 0 10px;
  color: #a84908;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.rpf-v2__title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.rpf-v2__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.rpf-v2__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #12222c;
  color: #12222c;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.rpf-v2__action--primary {
  border-color: var(--rf-accent);
  background: var(--rf-accent);
  color: #16110e;
}

.rpf-v2__action:hover {
  transform: translateY(-1px);
}

.rsf-v2 {
  width: 100%;
  border-top: 1px solid var(--rf-line);
  background: var(--rf-bg);
  color: var(--rf-text);
}

.rsf-v2__main {
  display: grid;
  grid-template-columns: minmax(260px,1.15fr) repeat(3,minmax(150px,.75fr));
  gap: 0;
  padding: 46px 0 38px;
}

.rsf-v2__brand-column {
  padding-right: 48px;
}

.rsf-v2__brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--rf-text);
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.rsf-v2__brand span {
  color: var(--rf-accent);
}

.rsf-v2__description {
  max-width: 430px;
  margin: 18px 0 22px;
  color: var(--rf-muted);
  font-size: 15px;
  line-height: 1.65;
}

.rsf-v2__contact {
  display: grid;
  gap: 5px;
}

.rsf-v2__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  color: var(--rf-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.rsf-v2__contact a:hover {
  text-decoration: underline;
  text-decoration-color: var(--rf-accent);
  text-underline-offset: 4px;
}

.rsf-v2__group {
  min-width: 0;
  margin: 0;
  padding: 0 0 0 28px;
  border: 0;
  border-left: 1px solid var(--rf-line);
}

.rsf-v2__summary {
  display: block;
  margin: 0 0 13px;
  color: var(--rf-text);
  font-family: var(--roof-font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  list-style: none;
  text-transform: uppercase;
  cursor: default;
}

.rsf-v2__summary::-webkit-details-marker {
  display: none;
}

.rsf-v2__summary::marker {
  content: "";
}

.rsf-v2__list,
.rsf-v2__meta-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rsf-v2__link,
.rsf-v2__settings,
.rsf-v2__meta-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  max-width: 100%;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--rf-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.rsf-v2__link:hover,
.rsf-v2__settings:hover,
.rsf-v2__meta-link:hover {
  color: var(--rf-text);
  text-decoration: underline;
  text-decoration-color: var(--rf-accent);
  text-underline-offset: 4px;
}

.rsf-v2__meta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0 24px;
  border-top: 1px solid var(--rf-line);
}

.rsf-v2__meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.rsf-v2__company {
  color: var(--rf-muted);
  font-size: 13px;
  line-height: 1.55;
}

.rsf-v2__powered {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.rsf-v2__powered a {
  color: var(--rf-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rsf-v2__powered a span {
  color: var(--rf-accent);
}

.rsf-v2__powered small {
  color: var(--rf-muted);
  font-size: 12px;
}

.rpf-v2__action:focus-visible,
.rsf-v2 a:focus-visible,
.rsf-v2 button:focus-visible,
.rsf-v2 summary:focus-visible,
.rcm-v2 button:focus-visible {
  outline: 3px solid var(--rf-focus);
  outline-offset: 3px;
}

.rcm-v2 {
  width: min(620px, calc(100% - 28px));
  padding: 0;
  border: 1px solid rgba(17,25,31,.22);
  border-radius: 0;
  background: #fff;
  color: #11191f;
  box-shadow: 0 22px 70px rgba(0,0,0,.32);
}

.rcm-v2::backdrop {
  background: rgba(3,12,17,.72);
}

.rcm-v2__inner {
  padding: 28px;
}

.rcm-v2__eyebrow {
  margin: 0 0 10px;
  color: #a84908;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rcm-v2 h2 {
  margin: 0;
  font-size: clamp(25px, 5vw, 36px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.rcm-v2 p {
  margin: 14px 0 0;
  color: #4f5a5e;
  line-height: 1.65;
}

.rcm-v2__details {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(17,25,31,.16);
  background: #f7f3eb;
}

.rcm-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rcm-v2__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid #12222c;
  border-radius: 0;
  background: #fff;
  color: #12222c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.rcm-v2__button--primary {
  border-color: var(--rf-accent);
  background: var(--rf-accent);
  color: #16110e;
}

@media (max-width: 920px) {
  .rpf-v2__inner {
    grid-template-columns: 1fr;
  }

  .rpf-v2__actions {
    justify-content: flex-start;
  }

  .rsf-v2__main {
    grid-template-columns: 1fr;
    padding-bottom: 22px;
  }

  .rsf-v2__brand-column {
    padding: 0 0 28px;
  }

  .rsf-v2__group {
    padding: 0;
    border-left: 0;
    border-top: 1px solid var(--rf-line);
  }

  .rsf-v2__summary {
    position: relative;
    min-height: 52px;
    margin: 0;
    padding: 17px 34px 15px 0;
    cursor: pointer;
  }

  .rsf-v2__summary::after {
    content: "+";
    position: absolute;
    top: 13px;
    right: 2px;
    color: var(--rf-accent);
    font-size: 22px;
    font-weight: 500;
  }

  .rsf-v2__group[open] .rsf-v2__summary::after {
    content: "−";
  }

  .rsf-v2__list {
    padding: 0 0 16px;
  }

  .rsf-v2__link,
  .rsf-v2__settings {
    width: 100%;
    min-height: 44px;
  }

  .rsf-v2__meta {
    grid-template-columns: 1fr;
  }

  .rsf-v2__powered {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .rpf-v2__shell,
  .rsf-v2__shell {
    width: min(100% - 24px, 1180px);
  }

  .rpf-v2 {
    padding: 38px 0;
  }

  .rpf-v2__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rpf-v2__action {
    width: 100%;
  }

  .rsf-v2__meta-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }

  .rsf-v2__meta-link,
  .rsf-v2__settings {
    min-height: 44px;
  }

  .rcm-v2__inner {
    padding: 22px;
  }

  .rcm-v2__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rcm-v2__button {
    width: 100%;
  }
}
