/* ==========================================================================
   Photon Academy resource hub template 2026 (the "Mix" subject hub: /resources/<subject>/).
   Used by the six cheatsheet hubs (AA HL, AI HL, Physics HL and the three SL hubs). Written by
   tools/site2026_rhub.py. Tokens, .s26-wrap, .s26-btn and the shell live in site-2026.css; everything here is
   prefixed rh- or scoped to <main class="rh-main">. The hubs keep the page's own class names (theme-block,
   topic-card, compare-table, why-card ...); the old inline <style> blocks and inline style attributes are gone.
   ========================================================================== */
body.rh {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.62 var(--fu);
  font-kerning: normal;
}
@media (max-width: 599px) {
  body.rh {
    font-size: 16.5px;
  }
}
.rh-main [hidden] {
  display: none !important;
}
:where(.rh-main) img,
:where(.rh-main) svg {
  max-width: 100%;
}
:where(.rh-main) img {
  height: auto;
  display: block;
}
:where(.rh-main) a {
  color: inherit;
}
:where(.rh-main) p {
  margin: 0 0 1em;
  font: inherit;
  color: inherit;
}
:where(.rh-main) ol,
:where(.rh-main) ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(.rh-main) h1,
:where(.rh-main) h2,
:where(.rh-main) h3,
:where(.rh-main) h4 {
  margin: 0;
  letter-spacing: normal;
}
.rh-main :focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Masthead ---------- */
.rh-mast {
  padding: clamp(26px, 3.4vw, 50px) 0 clamp(26px, 3vw, 40px);
}
.rh-mast__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.rh-mast .rh-crumb {
  margin: 0 0 20px;
  font: 500 13.5px/1.5 var(--fu);
  color: var(--ink2);
}
.rh-mast .rh-crumb a {
  color: var(--ink2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.rh-mast .rh-crumb a:hover {
  color: var(--ink);
  text-decoration-color: var(--gold);
}
.rh-mast .rh-crumb span {
  font-size: 0;
}
.rh-mast .rh-crumb span::before {
  content: "\203A";
  font-size: 15px;
  margin: 0 0.5em;
  color: var(--ctl);
}
.rh-mast .rh-rh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}
.rh-mast .rh-rh::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.rh-mast h1 {
  margin: 10px 0 clamp(16px, 2vw, 22px);
  max-width: 17em;
  font-family: var(--fd);
  font-weight: 380;
  font-optical-sizing: auto;
  font-size: clamp(32px, 4.1vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}
.rh-mast h1 em {
  font-style: italic;
  font-weight: 360;
  color: var(--goldt);
}
.rh-mast .rh-sub {
  max-width: 38em;
  margin: 0 0 24px;
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink2);
}
.rh-mast .rh-sub strong {
  font-weight: 600;
  color: var(--ink);
}
.rh-mast .rh-sub a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.rh-trial .s26-btn {
  min-width: 220px;
}
.rh-trial__r {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2);
}
@media (max-width: 599px) {
  .rh-trial .s26-btn {
    width: 100%;
  }
}

/* the picture of the cheatsheets */
.rh-mast__vis {
  min-width: 0;
}
.csx {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 1 / 1.02;
}
.csx__doc {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(13, 31, 60, 0.18);
}
.csx__doc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.csx__main {
  top: 0;
  right: 2%;
  width: 62%;
  aspect-ratio: 41 / 52;
  transform: rotate(2.5deg);
  z-index: 2;
}
.csx__sub {
  bottom: 0;
  left: 2%;
  width: 55%;
  aspect-ratio: 41 / 52;
  transform: rotate(-4.5deg);
  z-index: 3;
  border-color: #fff;
  border-width: 3px;
}
.csx__badge {
  position: absolute;
  top: -2%;
  left: 0;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--s26-r);
  background: var(--ink);
  color: #fff;
  font: 600 12px/1.2 var(--fu);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.csx__badge svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
}
.csx__tag {
  position: absolute;
  bottom: 6%;
  right: 0;
  z-index: 4;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: #fff;
  color: var(--ink);
  font: 600 11.5px/1.2 var(--fu);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 899px) {
  .rh-mast__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .csx {
    max-width: 330px;
  }
}

/* the facts ledger */
.rh-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.rh-stats .res-hero__stat {
  padding: 16px 18px 0 0;
  margin-right: 18px;
  border-right: 1px solid var(--line);
}
.rh-stats .res-hero__stat:last-child {
  border-right: 0;
  margin-right: 0;
}
.rh-stats .res-hero__stat strong {
  display: block;
  font: 400 clamp(22px, 2.2vw, 30px)/1.1 var(--fd);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.rh-stats .res-hero__stat span {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink2);
}
@media (max-width: 719px) {
  .rh-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  .rh-stats .res-hero__stat {
    margin: 0;
    padding: 14px 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Shell ---------- */
.rh-shell {
  padding: clamp(10px, 2vw, 24px) 0 clamp(48px, 6vw, 88px);
}
.rh-shell .res-shell-inner > :first-child {
  margin-top: clamp(24px, 3vw, 40px);
}
.rh-main .section-eye {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}
.rh-main .section-eye::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.rh-main .section-h2 {
  margin: 0 0 14px;
  max-width: 24em;
  font: 400 clamp(26px, 2.8vw, 38px)/1.14 var(--fd);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.rh-main .section-lead {
  max-width: 44em;
  margin: 0 0 clamp(24px, 3vw, 36px);
  font-size: 17px;
  line-height: 1.66;
  color: var(--ink2);
}
.rh-main .section-lead a,
.rh-main .rh-note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.rh-main .section-lead b,
.rh-main .section-lead strong {
  font-weight: 600;
  color: var(--ink);
}
.rh-main .gap-lg {
  margin-top: clamp(52px, 6vw, 88px);
}

/* start here (AA HL) */
.aa-start {
  margin: clamp(8px, 2vw, 18px) 0 clamp(28px, 3vw, 40px);
}
.aa-start__title {
  margin: 0 0 12px;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goldt);
}
.aa-start__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--s26-gap);
}
.aa-start__grid li {
  border-top: 1px solid var(--line);
}
.aa-start__grid a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 16px 30px 18px 0;
  position: relative;
  text-decoration: none;
}
.aa-start__grid a::after {
  content: "\2192";
  position: absolute;
  right: 4px;
  top: 16px;
  color: var(--goldt);
  transition: transform 0.15s;
}
.aa-start__grid a:hover::after {
  transform: translateX(4px);
}
.aa-start__grid b {
  font: 600 16.5px/1.35 var(--fu);
  color: var(--ink);
}
.aa-start__grid a:hover b {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.aa-start__grid span {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink2);
}
.aa-start__grid a.is-key {
  box-shadow: inset 3px 0 0 var(--gold);
  padding-left: 14px;
}
@media (max-width: 899px) {
  .aa-start__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .aa-start__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* booklet strips and promo links: a hairline card, the label button is ink */
.res-booklet-strip,
.rh-promo,
.booklet-pill {
  text-decoration: none;
}
.res-booklet-strip,
.rh-promo {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 14px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: var(--chalk);
  color: var(--ink);
  transition: border-color 0.15s;
}
.res-booklet-strip:hover,
.rh-promo:hover {
  border-color: var(--ink);
}
.res-booklet-strip > svg,
.rh-promo > svg {
  flex: none;
  width: 30px !important;
  height: 30px !important;
  color: var(--goldt);
  stroke: currentColor !important;
}
.res-booklet-strip__text,
.rh-promo__t {
  flex: 1;
  min-width: 0;
}
.res-booklet-strip__text strong,
.rh-promo strong {
  display: block;
  margin-bottom: 3px;
  font: 600 16.5px/1.35 var(--fu);
  color: var(--ink);
}
.res-booklet-strip__text small,
.rh-promo small {
  display: block;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink2);
}
.rh-promo {
  margin-bottom: clamp(26px, 3vw, 40px);
}
.booklet-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--s26-r);
  font: 600 15.5px/1.25 var(--fu);
  color: var(--ink);
  transition: background-color 0.18s, color 0.18s;
}
.booklet-pill:hover {
  background: var(--ink);
  color: #fff;
}
.booklet-pill svg {
  width: 18px;
  height: 18px;
  flex: none;
}
@media (max-width: 719px) {
  .res-booklet-strip,
  .rh-promo {
    flex-wrap: wrap;
    padding: 16px;
  }
  .res-booklet-strip .rh-btn,
  .rh-promo .rh-btn {
    width: 100%;
  }
}

/* topics by theme */
.theme-block {
  margin: 0 0 clamp(30px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.theme-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 0 0 6px;
}
.theme-letter {
  font: 600 12px/1.2 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goldt);
}
.theme-letter::before {
  content: "[";
}
.theme-letter::after {
  content: "]";
}
.theme-title {
  font: 400 clamp(22px, 2.2vw, 29px)/1.2 var(--fd);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.theme-desc {
  max-width: 46em;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink2);
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.rh-main a.topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s;
}
.rh-main a.topic-card:hover {
  border-color: var(--ink);
}
.topic-card__num {
  margin: 0 0 6px;
  font: 600 11.5px/1.2 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goldt);
}
.topic-card__title {
  margin: 0 0 6px;
  padding-right: 48px;
  font: 600 17.5px/1.3 var(--fu);
  letter-spacing: 0;
  color: var(--ink);
}
.topic-card__desc {
  flex: 1;
  margin: 0 0 14px !important;
  font-size: 14.5px !important;
  line-height: 1.52 !important;
  color: var(--ink2) !important;
}
.topic-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  font-size: 13.5px;
}
.topic-card__meta__ref {
  color: var(--ink2);
}
.topic-card__meta__cta {
  font-weight: 600;
  color: var(--ink);
}
.topic-card__meta__cta svg {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  color: var(--goldt);
  transition: transform 0.15s;
}
.rh-main a.topic-card:hover .topic-card__meta__cta svg {
  transform: translateX(3px);
}
.topic-card__free {
  position: absolute;
  top: 16px;
  right: 16px;
  font: 600 11.5px/1.2 var(--fu);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #14583a;
}
.topic-card__free::before {
  content: "[";
}
.topic-card__free::after {
  content: "]";
}
@media (max-width: 1023px) {
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .topic-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* comparison table */
.compare-panel {
  margin: 4px 0 0;
}
.rh-tw {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.rh-main .compare-table {
  display: table;
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15.5px;
  color: var(--ink);
}
.rh-main .compare-table th {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font: 600 11.5px/1.3 var(--fu);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink2);
}
.rh-main .compare-table td {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
  color: var(--ink);
}
.rh-main .compare-table tr:last-child td {
  border-bottom: 0;
}
.rh-main .compare-table td:first-child {
  width: auto;
  font-weight: 600;
  white-space: nowrap;
}

/* guidebook block */
.aa-book {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin: clamp(40px, 5vw, 72px) 0;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: var(--chalk);
}
.aa-book__covers {
  display: flex;
  gap: 14px;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.aa-book__covers a {
  display: block;
  flex: 0 0 46%;
}
.aa-book__covers img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 14px 30px rgba(13, 31, 60, 0.28);
}
.aa-book__covers img + img {
  margin-top: 22px;
}
.rh-main .aa-book h2 {
  margin: 0 0 10px;
  font: 400 clamp(24px, 2.6vw, 34px)/1.15 var(--fd);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.rh-main .aa-book p {
  max-width: 36em;
  margin: 0 0 14px;
  color: var(--ink2);
}
.aa-book__pts {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 15.5px;
}
.aa-book__pts li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}
.aa-book__pts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--gold);
}
.aa-book__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.aa-book__strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.aa-book__strip img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
@media (max-width: 859px) {
  .aa-book {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 599px) {
  .aa-book__strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .aa-book__strip li {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }
  .aa-book__cta .rh-btn {
    width: 100%;
  }
}

/* reasons, marks lost, revision */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--s26-gap);
}
.why-card {
  padding: 20px 0 8px;
  border-top: 1px solid var(--line);
}
.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  color: var(--goldt);
}
.why-card__icon svg {
  width: 21px;
  height: 21px;
}
.why-card h3 {
  margin: 0 0 8px;
  font: 600 18px/1.3 var(--fu);
  letter-spacing: 0;
  color: var(--ink);
}
.rh-main .why-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--ink2);
}
@media (max-width: 899px) {
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pitfalls-list {
  border-top: 2px solid var(--ink);
}
.pitfalls-list ol {
  counter-reset: pf;
}
.pitfalls-list li {
  counter-increment: pf;
  position: relative;
  padding: 18px 0 18px 54px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.66;
  color: var(--ink2);
}
.pitfalls-list li::before {
  content: counter(pf, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 17px;
  font: 400 24px/1.2 var(--fd);
  color: var(--goldt);
  font-variant-numeric: lining-nums tabular-nums;
}
.pitfalls-list li strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  color: var(--ink);
}

/* paid resources (the SL hubs and AI HL) */
.rh-paid {
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.rh-paid__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s26-gap);
}
.rh-paid__card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--s26-r);
  background: var(--chalk);
}
.rh-paid__tag {
  margin: 0 0 8px;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--goldt);
}
.rh-paid__card h3 {
  margin: 0 0 10px;
  font: 400 clamp(21px, 2vw, 26px)/1.2 var(--fd);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.rh-main .rh-paid__card p {
  flex: 1;
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink2);
}
.rh-paid__card .rh-btn {
  align-self: flex-start;
}
@media (max-width: 899px) {
  .rh-paid__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FAQ */
.rh-main .faq-block {
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.rh-main .faq-block:last-of-type {
  border-bottom: 1px solid var(--line);
}
.rh-main .faq-block summary {
  position: relative;
  display: block;
  padding: 18px 40px 18px 0;
  min-height: 48px;
  list-style: none;
  cursor: pointer;
  font: 500 17.5px/1.4 var(--fu);
  color: var(--ink);
}
.rh-main .faq-block summary::-webkit-details-marker {
  display: none;
}
.rh-main .faq-block summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 25px;
  width: 14px;
  height: 14px;
  background: linear-gradient(var(--goldt), var(--goldt)) center/100% 2px no-repeat, linear-gradient(var(--goldt), var(--goldt)) center/2px 100% no-repeat;
}
.rh-main .faq-block[open] summary::after {
  background: linear-gradient(var(--goldt), var(--goldt)) center/100% 2px no-repeat;
}
.rh-main .faq-block summary:hover {
  color: var(--navy);
}
.rh-main .faq-answer {
  max-width: 42em;
  padding: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--ink2);
}

/* closing band (the one full navy band) */
.rh-main .res-cta {
  margin: clamp(52px, 6vw, 88px) 0 0;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--s26-r);
  background: var(--navy);
  color: #fff;
}
.rh-main .res-cta h2 {
  max-width: 20em;
  margin: 0 0 14px;
  font: 400 clamp(26px, 3vw, 40px)/1.12 var(--fd);
  letter-spacing: -0.015em;
  color: #fff;
}
.rh-main .res-cta p {
  max-width: 42em;
  margin: 0 0 14px;
  color: var(--onnavy);
}
.rh-main .res-cta p a {
  color: #fff;
}
.res-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
@media (max-width: 599px) {
  .res-cta__buttons .rh-btn {
    width: 100%;
  }
}

/* buttons: ink, line, paper, ghost (gold is only the "Book a free trial") */
.rh-main .rh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--s26-r);
  font: 600 15.5px/1.25 var(--fu);
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.rh-main .rh-btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.rh-main a:hover > .rh-btn--ink,
.rh-main a.rh-btn--ink:hover {
  background: var(--navy);
  border-color: var(--navy);
}
.rh-main .rh-btn--line {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.rh-main a.rh-btn--line:hover {
  background: var(--ink);
  color: #fff;
}
.rh-main .rh-btn--paper {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.rh-main a.rh-btn--paper:hover {
  background: var(--chalk);
  border-color: var(--chalk);
}
.rh-main .rh-btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}
.rh-main a.rh-btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
@media (max-width: 599px) {
  .rh-main .rh-btn {
    white-space: normal;
  }
}
