/* RESET pages: Earn application form and the Book app (Uber Go layout). Black and white interface;
   colour only from photos and 3D objects. */
:root {
  --ink: #0E0E0E; --raised: #1A1A1A; --line: #2E2E2E; --paper: #EFEFEF; --field: #F3F3F3;
  --mute: #6B6B6B; --mute-on-ink: #A3A3A3; --error: #D1382B;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================================
   Earn: apply
   ===================================================================== */
.rs-apply { background: var(--ink); color: #fff; padding: 56px 24px 104px; }
.rs-apply-inner { max-width: 1136px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 456px; gap: 72px; align-items: start; }
.rs-apply h1 { font: 700 52px/58px "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -0.035em; margin: 48px 0 20px; text-wrap: balance; max-width: 14ch; }
.rs-apply-lede { font: 400 18px/28px Inter, system-ui, sans-serif; color: var(--mute-on-ink); margin: 0 0 40px; max-width: 46ch; }
.rs-apply-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.rs-apply-points li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
.rs-apply-points img { width: 56px; height: 56px; object-fit: contain; }
.rs-apply-points strong { display: block; font: 600 17px/24px Inter, system-ui, sans-serif; color: #fff; }
.rs-apply-points span { font: 400 15px/22px Inter, system-ui, sans-serif; color: var(--mute-on-ink); }

.rs-apply-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 32px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.rs-form h2, .rs-done h2 { font: 700 28px/34px "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -0.03em; margin: 0; }
.rs-form-sub { margin: 6px 0 22px; color: var(--mute); font: 400 15px/22px Inter, system-ui, sans-serif; }
.rs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rs-field { display: block; margin-bottom: 14px; }
.rs-field > span:first-child { display: block; margin-bottom: 6px; font: 600 14px/20px Inter, system-ui, sans-serif; }
.rs-field input, .rs-field select, .rs-phone {
  box-sizing: border-box; width: 100%; height: 48px; border: 2px solid transparent; border-radius: 10px;
  background: var(--field); color: var(--ink); font: 400 16px/20px Inter, system-ui, sans-serif; padding: 0 14px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.rs-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.rs-field input::placeholder { color: #8A8A8A; }
.rs-field input:focus, .rs-field select:focus, .rs-phone:focus-within { outline: none; border-color: var(--ink); background: #fff; }
.rs-phone { display: flex; align-items: center; padding: 0; }
.rs-prefix { padding: 0 10px 0 14px; color: var(--mute); font-weight: 600; border-right: 1px solid #DCDCDC; line-height: 24px; }
.rs-phone input { height: 44px; border: 0; background: transparent; padding: 0 12px; }
.rs-phone input:focus { background: transparent; }
.rs-days { border: 0; margin: 4px 0 14px; padding: 0; }
.rs-days legend { font: 600 14px/20px Inter, system-ui, sans-serif; margin-bottom: 8px; padding: 0; }
.rs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-chips label { position: relative; }
.rs-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rs-chips span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #D6D6D6; font: 600 14px/1 Inter, system-ui, sans-serif; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.rs-chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.rs-chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.rs-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 10px 0; font: 400 14px/21px Inter, system-ui, sans-serif; cursor: pointer; }
.rs-check input { appearance: none; width: 22px; height: 22px; margin: 0; border: 2px solid #BDBDBD; border-radius: 6px; display: grid; place-content: center; cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.rs-check input:checked { background: var(--ink); border-color: var(--ink); }
.rs-check input:checked::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.rs-check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.is-invalid input, .is-invalid select, .rs-field.is-invalid .rs-phone { border-color: var(--error) !important; }
.rs-check.is-invalid input { border-color: var(--error); }
.rs-form-error { margin: 12px 0 0; color: var(--error); font: 500 14px/20px Inter, system-ui, sans-serif; }
.rs-submit { width: 100%; height: 52px; margin-top: 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.rs-submit:hover { background: #262626; }
.rs-submit:active { transform: scale(0.99); }
.rs-submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.rs-fine { margin: 12px 0 0; color: var(--mute); font: 400 12px/18px Inter, system-ui, sans-serif; text-align: center; }
.rs-done { text-align: center; padding: 24px 8px; outline: none; }
.rs-done-mark { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; animation: rs-pop 0.6s var(--ease) both; }
.rs-done-mark svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; animation: rs-tick 0.5s var(--ease) 0.25s forwards; }
.rs-done p { color: var(--mute); font: 400 16px/24px Inter, system-ui, sans-serif; margin: 12px auto 0; max-width: 34ch; }
.rs-done .rs-done-note { color: var(--ink); font-weight: 600; margin-top: 20px; }
@keyframes rs-pop { from { transform: scale(0.6); opacity: 0; } }
@keyframes rs-tick { to { stroke-dashoffset: 0; } }
@media (max-width: 959px) {
  .rs-apply-inner { grid-template-columns: 1fr; gap: 40px; }
  .rs-apply h1 { font-size: 40px; line-height: 46px; margin-top: 16px; }
}
@media (max-width: 479px) {
  .rs-apply { padding: 32px 16px 72px; }
  .rs-apply-card { padding: 24px 18px; }
  .rs-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .rs-done-mark, .rs-done-mark svg { animation: none; stroke-dashoffset: 0; } }

/* =====================================================================
   Book: the booking app (Uber Go layout)
   ===================================================================== */
.go-body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.go-body ::selection { background: var(--ink); color: #fff; }
.go-top { position: sticky; top: 0; z-index: 10; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; background: #fff; border-bottom: 1px solid #EEEEEE; }
.go-top-left { display: flex; align-items: center; gap: 40px; height: 100%; }
.go-logo img { display: block; height: 22px; width: auto; }
.go-tabs { display: flex; gap: 8px; height: 100%; }
.go-tab { display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 12px; color: var(--ink); text-decoration: none; font: 500 15px/1 Inter, system-ui, sans-serif; border-bottom: 3px solid transparent; box-sizing: border-box; padding-top: 3px; }
.go-tab[aria-current="page"] { border-bottom-color: var(--ink); font-weight: 600; }
.go-tab svg { width: 18px; height: 18px; }
.go-top-right { display: flex; align-items: center; gap: 16px; }
.go-login { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 500 15px/1 Inter, system-ui, sans-serif; }
.go-signup { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font: 600 14px/1 Inter, system-ui, sans-serif; }

.go-main { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 24px; padding: 24px 32px; height: calc(100vh - 64px); box-sizing: border-box; }
.go-panel { border: 1px solid #E2E2E2; border-radius: 14px; padding: 20px; align-self: start; max-height: 100%; overflow: auto; box-sizing: border-box; }
.go-panel h1 { font: 700 26px/32px "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -0.03em; margin: 0 0 8px; }
.go-panel .go-sub { margin: 0 0 8px; color: var(--mute); font-size: 14px; line-height: 20px; }
.go-input { position: relative; display: flex; align-items: center; gap: 12px; height: 50px; margin-top: 12px; padding: 0 14px; border: 2px solid transparent; border-radius: 10px; background: var(--field); box-sizing: border-box; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.go-input:focus-within { border-color: var(--ink); background: #fff; }
.go-input svg { flex: none; width: 18px; height: 18px; }
.go-input input, .go-input select { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 16px/1 Inter, system-ui, sans-serif; color: var(--ink); outline: none; appearance: none; cursor: pointer; }
.go-input input { cursor: text; }
.go-input input::placeholder { color: #6B6B6B; font-weight: 400; }
.go-input .go-chev { pointer-events: none; }
.go-link-line { position: absolute; left: 22px; top: 100%; width: 2px; height: 16px; background: var(--ink); }
.go-pills { display: flex; gap: 8px; margin-top: 12px; }
.go-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--field); font: 500 14px/1 Inter, system-ui, sans-serif; border: 0; color: var(--ink); cursor: pointer; }
.go-pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
.go-btn { width: 100%; height: 50px; margin-top: 18px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: 600 16px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.go-btn:hover { background: #262626; }
.go-btn:active { transform: scale(0.99); }
.go-btn:disabled { background: #D6D6D6; color: #8A8A8A; cursor: default; }
.go-btn:focus-visible, .go-pill:focus-visible, .go-opt:focus-visible, .go-back:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.go-panel h1:focus { outline: none; }   /* headings take focus when a step changes; screen readers hear it, no ring needed */
.go-error { margin: 10px 0 0; color: var(--error); font-size: 14px; line-height: 20px; }

.go-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 0; border: 0; background: none; font: 600 14px/1 Inter, system-ui, sans-serif; color: var(--ink); cursor: pointer; }
.go-summary { margin: 4px 0 14px; color: var(--mute); font-size: 14px; line-height: 20px; }
.go-opts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.go-opt { width: 100%; display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 2px solid transparent; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font-family: inherit; color: var(--ink); transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.go-opt:hover { background: #F6F6F6; }
.go-opt[aria-checked="true"] { border-color: var(--ink); background: #fff; }
.go-opt img { width: 64px; height: 64px; object-fit: contain; }
.go-opt strong { display: block; font: 600 16px/22px Inter, system-ui, sans-serif; }
.go-opt span { display: block; font: 400 13px/18px Inter, system-ui, sans-serif; color: var(--mute); }
.go-price { font: 600 16px/1 Inter, system-ui, sans-serif; white-space: nowrap; }
.go-note { margin: 12px 0 0; color: var(--mute); font-size: 12px; line-height: 18px; }

.go-done { text-align: center; padding: 20px 4px 8px; outline: none; }
.go-done .rs-done-mark { margin-bottom: 18px; }
.go-done h1 { margin-bottom: 8px; }
.go-done p { color: var(--mute); font-size: 15px; line-height: 22px; margin: 8px auto 0; max-width: 32ch; }
.go-done .go-quote { color: var(--ink); font-weight: 600; margin-top: 18px; }

.go-map { position: relative; border-radius: 14px; overflow: hidden; background: #ECECEC; min-height: 320px; }
.go-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.95) brightness(1.03); }
.go-map-credit { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.85); font-size: 11px; color: #444; }
.go-map-credit a { color: inherit; }
@media (max-width: 899px) {
  .go-top { padding: 0 16px; }
  .go-top-left { gap: 16px; }
  .go-tab span { display: none; }
  .go-login span { display: none; }
  .go-main { grid-template-columns: 1fr; height: auto; padding: 16px; }
  .go-map { order: -1; height: 260px; min-height: 0; }
}

/* =====================================================================
   Blue moments (from the RESET app): confirmation screens only.
   ===================================================================== */
:root { --blue: #3B6CF0; --blue-tint: #EAF0FE; }
.rs-booked-label { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 8px; font: 700 12px/1 Inter, system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.rs-booked-check { width: 22px; height: 22px; }

/* Book: request sent -> "You're set" */
.go-panel:has(#go-done:not([hidden])) { background: var(--blue); border-color: var(--blue); color: #fff; }
.go-done-art, .rs-done-art { display: block; width: 190px; height: auto; margin: 4px auto 0; }
.go-done h1 { color: #fff; font-size: 32px; line-height: 36px; }
.go-done p { color: rgba(255,255,255,0.86); }
.go-done .go-quote { color: #fff; font-weight: 500; font-size: 14px; }
.go-done .go-btn { background: #0E0E0E; }
.go-done .go-btn:hover { background: #262626; }
.go-done:not([hidden]) .go-done-art { animation: rs-arch-in 0.7s var(--ease) both; }

/* Earn: application sent */
.rs-apply-card:has(#apply-done:not([hidden])) { background: var(--blue); color: #fff; }
.rs-done h2 { color: #fff; }
.rs-done p { color: rgba(255,255,255,0.86); }
.rs-done .rs-done-note { color: #fff; }
.rs-done:not([hidden]) .rs-done-art { animation: rs-arch-in 0.7s var(--ease) both; }

@keyframes rs-arch-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@media (prefers-reduced-motion: reduce) { .go-done-art, .rs-done-art { animation: none !important; } }

/* =====================================================================
   Content pages: about, gift cards, partners, legal
   ===================================================================== */
.rs-wrap { max-width: 1136px; margin: 0 auto; padding: 0 24px; box-sizing: content-box; }
.rs-hero-split { background: var(--ink); color: #fff; padding: 72px 0 96px; }
.rs-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.rs-hero-split h1 { font: 700 56px/60px "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -0.04em; margin: 0 0 20px; text-wrap: balance; }
.rs-lede { font: 400 18px/28px Inter, system-ui, sans-serif; color: var(--mute-on-ink); margin: 0; max-width: 46ch; }
.rs-hero-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.rs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.rs-actions-center { justify-content: center; }
.rs-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 Inter, system-ui, sans-serif; text-decoration: none; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.rs-btn:active { transform: scale(0.98); }
.rs-btn-light { background: #fff; color: var(--ink); }
.rs-btn-light:hover { background: #E6E6E6; }
.rs-btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5); }
.rs-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.rs-link-light { color: #fff; font: 500 16px/1 Inter, system-ui, sans-serif; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(255,255,255,0.4); }
.rs-link-light:hover { text-decoration-color: #fff; }
.rs-btn:focus-visible, .rs-link-light:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.rs-section { background: #fff; color: var(--ink); padding: 96px 0; }
.rs-section-paper { background: #F6F6F6; }
.rs-section h2, .rs-cta-band h2 { font: 700 40px/46px "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -0.035em; margin: 0 0 32px; text-wrap: balance; }
.rs-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.rs-columns p { margin: 0; font: 400 20px/32px Inter, system-ui, sans-serif; color: #2E2E2E; }
.rs-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rs-tiles-4 { grid-template-columns: repeat(4, 1fr); }
.rs-tiles li { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 12px 32px -18px rgba(0,0,0,0.25); }
.rs-section:not(.rs-section-paper) .rs-tiles li { background: #F6F6F6; box-shadow: none; }
.rs-tiles img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.18)); }
.rs-tiles h3 { margin: 16px 0 6px; font: 600 19px/26px Inter, system-ui, sans-serif; letter-spacing: -0.01em; }
.rs-tiles p { margin: 0; font: 400 15px/23px Inter, system-ui, sans-serif; color: var(--mute); }

.rs-note-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--blue); color: #fff; border-radius: 20px; padding: 40px 56px 0; overflow: hidden; }
.rs-note-panel > div { padding-bottom: 40px; max-width: 560px; }
.rs-note-panel h2 { color: #fff; margin: 0 0 10px; }
.rs-note-panel p:not(.rs-booked-label) { margin: 0; font: 400 17px/26px Inter, system-ui, sans-serif; color: rgba(255,255,255,0.86); }
.rs-note-panel img { width: 220px; height: auto; align-self: flex-end; margin-bottom: -2px; }

.rs-cta-band { background: var(--ink); color: #fff; padding: 96px 0; text-align: center; }
.rs-cta-band h2 { margin-bottom: 0; }

/* Gift card preview */
.rs-giftcard { position: relative; overflow: hidden; width: min(100%, 420px); aspect-ratio: 1.586; margin-top: 40px; border-radius: 20px; padding: 26px 28px; box-sizing: border-box; background: linear-gradient(150deg, #1E1E1E, #0B0B0B); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.08); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-2deg); }
.rs-giftcard-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.rs-giftcard-top img { width: 96px; height: auto; }
.rs-giftcard-top span { font: 600 12px/1 Inter, system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-on-ink); }
.rs-giftcard-amount { position: relative; z-index: 1; font: 700 56px/1 "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -0.04em; color: #fff; }
.rs-giftcard-to { position: relative; z-index: 1; font: 500 15px/1.3 Inter, system-ui, sans-serif; color: rgba(255,255,255,0.8); }
.rs-giftcard-drip { position: absolute; right: -10px; top: 0; width: 60%; height: auto; opacity: 0.9; }
.rs-optional { font-style: normal; font-weight: 400; color: var(--mute); }
.rs-field textarea { box-sizing: border-box; width: 100%; border: 2px solid transparent; border-radius: 10px; background: var(--field); color: var(--ink); font: 400 16px/24px Inter, system-ui, sans-serif; padding: 12px 14px; resize: vertical; min-height: 88px; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.rs-field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.rs-chips input[type="radio"] + span { min-width: 56px; justify-content: center; }
.rs-apply-card:has(.rs-done:not([hidden])) { background: var(--blue); color: #fff; }

/* Legal documents (Read mode: measure, hierarchy, a contents rail) */
.rs-doc-head { background: var(--ink); color: #fff; padding: 56px 0 48px; }
.rs-doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.rs-doc-tabs a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--raised); color: #fff; text-decoration: none; font: 500 14px/1 Inter, system-ui, sans-serif; }
.rs-doc-tabs a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 600; }
.rs-doc-head h1 { margin: 0; font: 700 52px/56px "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -0.04em; }
.rs-doc-meta { margin: 12px 0 0; color: var(--mute-on-ink); font: 400 15px/22px Inter, system-ui, sans-serif; }
.rs-doc { background: #fff; color: var(--ink); padding: 56px 0 104px; }
.rs-doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.rs-doc-toc { position: sticky; top: 24px; }
.rs-doc-toc p { margin: 0 0 12px; font: 600 13px/1 Inter, system-ui, sans-serif; color: var(--mute); }
.rs-doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rs-doc-toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 500 14px/20px Inter, system-ui, sans-serif; }
.rs-doc-toc a:hover { background: #F3F3F3; }
.rs-doc-body { max-width: 68ch; }
.rs-doc-body h2 { margin: 48px 0 12px; font: 700 24px/30px "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -0.02em; scroll-margin-top: 24px; }
.rs-doc-body p, .rs-doc-body li { font: 400 17px/28px Inter, system-ui, sans-serif; color: #2E2E2E; }
.rs-doc-body p { margin: 0 0 14px; }
.rs-doc-body ul { margin: 0 0 14px; padding-left: 22px; }
.rs-doc-body li { margin-bottom: 6px; }
.rs-doc-intro { font-size: 19px !important; line-height: 30px !important; color: var(--ink) !important; }
.rs-doc-draft { padding: 12px 16px; border-radius: 10px; background: var(--blue-tint); color: #1D3D99 !important; font-size: 14px !important; line-height: 21px !important; }

@media (max-width: 959px) {
  .rs-hero-grid, .rs-columns, .rs-doc-grid { grid-template-columns: 1fr; gap: 32px; }
  .rs-tiles, .rs-tiles-4 { grid-template-columns: 1fr 1fr; }
  .rs-doc-toc { position: static; }
  .rs-hero-split h1, .rs-doc-head h1 { font-size: 40px; line-height: 44px; }
  .rs-section h2, .rs-cta-band h2 { font-size: 30px; line-height: 36px; }
  .rs-note-panel { flex-direction: column; align-items: flex-start; padding: 32px 24px 0; }
  .rs-note-panel img { align-self: center; }
}
@media (max-width: 599px) {
  .rs-tiles, .rs-tiles-4 { grid-template-columns: 1fr; }
  .rs-section, .rs-cta-band { padding: 64px 0; }
  .rs-wrap { padding: 0 16px; }
}

/* Legal hub */
.rs-legal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rs-legal-grid a { position: relative; display: block; height: 100%; box-sizing: border-box; padding: 24px 56px 24px 24px; border-radius: 16px; background: #F6F6F6; color: var(--ink); text-decoration: none; transition: background-color 0.2s var(--ease); }
.rs-legal-grid a:hover { background: #EEEEEE; }
.rs-legal-grid a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.rs-legal-grid h2 { margin: 0 0 6px; font: 600 19px/26px Inter, system-ui, sans-serif; letter-spacing: -0.01em; }
.rs-legal-grid p { margin: 0; font: 400 15px/23px Inter, system-ui, sans-serif; color: var(--mute); }
.rs-legal-grid span { position: absolute; right: 24px; top: 24px; font-size: 20px; transition: transform 0.25s var(--ease); }
.rs-legal-grid a:hover span { transform: translateX(4px); }
@media (max-width: 699px) { .rs-legal-grid { grid-template-columns: 1fr; } }
/* Book: small legal links under the booking card */
.go-legal { display: flex; gap: 14px; justify-content: center; margin: 16px 0 0; }
.go-legal a { color: var(--mute); font-size: 12px; text-decoration: none; }
.go-legal a:hover { color: var(--ink); text-decoration: underline; }
.go-panel:has(#go-done:not([hidden])) .go-legal a { color: rgba(255,255,255,0.8); }
