/* The Business offer and funnel pages in the residency system (Lewis, 19 Nov 2026: "designed in keeping with this new
   Open Residency kind of style"). Loaded after residency.css by page({ native: true }) in workbook.js; nothing from the
   older Jackson stylesheets reaches these pages. Sections are the Info page's split: a numbered title on the left,
   the content on the right. */

.of { position: relative; padding: 128px var(--page-px) 120px var(--content-left); }
.of > * { position: relative; z-index: 1; max-width: 1180px; }
.of em { font-style: normal; color: var(--accent-text); }
.of .rs-mono { margin: 0; }

/* the page scripts hide and show things with the hidden attribute; it wins over every display rule here */
.rs-of [hidden] { display: none !important; }

/* buttons: every funnel button (cta() in workbook.js) is .btn */
.rs-of .btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 22px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; border-radius: 0; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.rs-of .btn::after { content: "→"; font-family: var(--sans); letter-spacing: 0; transition: transform 0.3s var(--ease); }
.rs-of .btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.rs-of .btn:hover::after { transform: translateX(4px); }
.rs-of .btn[disabled] { opacity: 0.6; cursor: default; }
.of-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.of-under { max-width: 340px; font-size: 11px; line-height: 1.55; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* hero: the promise on the left, the video on the right */
.of-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; min-height: calc(88svh - 128px); padding-bottom: 56px; }
@media (min-width: 1024px) { .of-hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; } }
.of-k { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.of-k span { color: var(--accent-text); }
.of-h1 { margin: 18px 0 0; font: 500 clamp(2.5rem, 5vw, 4.6rem)/0.98 var(--sans); letter-spacing: -0.045em; color: var(--primary); text-wrap: balance; }
.of-lede { margin: 22px 0 0; max-width: 520px; font: 400 17px/1.6 var(--sans); color: var(--secondary); }
.of-hero__media { position: relative; }
.of-hero__media > * { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); background: var(--surface); }
.of-hero__media iframe, .of-hero__media video, .of-hero__media img, .of-hero__media svg { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }

/* the three numbers */
.of-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.of-proof p { margin: 0; padding: 26px 24px 24px 0; }
.of-proof p + p { padding-left: 24px; border-left: 1px solid var(--line); }
.of-proof b { display: block; font: 500 clamp(1.8rem, 3.2vw, 2.8rem)/1 var(--sans); letter-spacing: -0.04em; color: var(--primary); }
.of-proof .rs-mono { display: block; margin-top: 10px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .of-proof { grid-template-columns: minmax(0, 1fr); } .of-proof p, .of-proof p + p { padding: 18px 0; border-left: 0; } .of-proof p + p { border-top: 1px solid var(--line); } }

/* a section: numbered title on the left, the content on the right */
.of-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 72px; padding: 96px 0 0; }
@media (min-width: 1024px) {
  .of-sec { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); }
  .of-sh { position: sticky; top: 120px; align-self: start; }
}
.of-sh h2 { margin: 14px 0 0; font: 500 clamp(2rem, 3.4vw, 3rem)/1.02 var(--sans); letter-spacing: -0.04em; color: var(--primary); text-wrap: balance; }
.of-sh .rs-mono { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.of-sh .rs-rule-accent { margin: 24px 0 0; }
.of-body { min-width: 0; }
.of-body > p, .of-note { margin: 0 0 16px; max-width: 640px; font: 400 16px/1.62 var(--sans); color: var(--secondary); }
.of-note { margin-top: 24px; font-size: 14px; }
.of a:not(.btn):not(.rs-card):not(.rs-bar) { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* who it's for: three rows */
.of-fits { border-top: 1px solid var(--line); }
.of-fit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .of-fit { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr); } }
.of-fit h3 { margin: 0; font: 500 21px/1.25 var(--sans); letter-spacing: -0.025em; color: var(--primary); }
.of-fit p { margin: 0; font: 400 15px/1.6 var(--sans); color: var(--secondary); }
.of-fit__out .rs-mono { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }

/* the founder */
.of-founder__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 760px) { .of-founder__in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); } }
.of-founder__pic img { display: block; width: 100%; height: auto; aspect-ratio: 887 / 1000; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.12); }
.of-founder__in p:not(.rs-mono) { margin: 0 0 18px; font: 400 17px/1.6 var(--sans); color: var(--secondary); }
.of-ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.of-ticks li { padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 16px/1.4 var(--sans); color: var(--primary); }
.of-ticks li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 14px 2px 0; background: var(--accent); }

/* what's inside: numbered rows */
.of-feats { margin: 0; border-top: 1px solid var(--line); }
.of-feats > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .of-feats > div { grid-template-columns: 52px minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; } }
.of-feats .rs-mono { font-size: 12px; color: var(--accent-text); padding-top: 5px; }
.of-feats h3 { margin: 0; font: 500 20px/1.3 var(--sans); letter-spacing: -0.02em; color: var(--primary); }
.of-feats p { margin: 0; grid-column: 2; font: 400 15px/1.6 var(--sans); color: var(--secondary); }
@media (min-width: 760px) { .of-feats p { grid-column: auto; } }

/* how it starts: three steps */
.of-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 28px; }
@media (min-width: 760px) { .of-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.of-steps li { padding: 24px 0 28px; border-top: 1px solid var(--line); }
.of-steps__n { display: block; font: 500 clamp(3rem, 5vw, 4.5rem)/1 var(--sans); letter-spacing: -0.05em; color: var(--accent-text); }
.of-steps h3 { margin: 22px 0 0; font: 500 20px/1.3 var(--sans); letter-spacing: -0.02em; color: var(--primary); }
.of-steps p { margin: 10px 0 0; font: 400 15px/1.6 var(--sans); color: var(--secondary); }

/* the price */
.of-price__panel { padding: clamp(28px, 4vw, 48px); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.12); }
.of-price__n { margin: 16px 0 0; font: 500 clamp(4rem, 9vw, 7rem)/0.9 var(--sans); letter-spacing: -0.06em; color: var(--primary); }
.of-price__p { margin-top: 26px; font-size: 13px; line-height: 1.6; color: var(--accent-text); }
.of-price__rows { margin: 28px 0 0; border-top: 1px solid var(--line); }
.of-price__rows > div { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.of-price__rows svg { width: 16px; height: 16px; margin-top: 3px; color: var(--accent-text); }
.of-price__rows h3 { margin: 0; font: 500 16px/1.4 var(--sans); letter-spacing: 0; color: var(--primary); }
.of-price__rows p { margin: 4px 0 0; font: 400 14.5px/1.55 var(--sans); color: var(--secondary); }
.of-price__g { margin: 24px 0 0; font: 400 14.5px/1.6 var(--sans); color: var(--secondary); }
.of-price__g b { color: var(--primary); font-weight: 500; }
.of-why { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.of-why h3 { margin: 12px 0 0; font: 500 26px/1.15 var(--sans); letter-spacing: -0.03em; color: var(--primary); }
.of-why p:not(.rs-mono) { margin: 12px 0 0; max-width: 560px; font: 400 16px/1.6 var(--sans); color: var(--secondary); }
.of-why .rs-mono { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* questions */
.of-faq { border-top: 1px solid var(--line); }
.of-faq details { border-bottom: 1px solid var(--line); }
.of-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; font: 500 18px/1.35 var(--sans); letter-spacing: -0.015em; color: var(--primary); }
.of-faq summary::-webkit-details-marker { display: none; }
.of-faq summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--accent-text); transition: transform 0.3s var(--ease); }
.of-faq details[open] summary::after { transform: rotate(45deg); }
.of-faq details p { margin: 0 0 22px; max-width: 640px; font: 400 15.5px/1.62 var(--sans); color: var(--secondary); }

/* proof screenshots sit full width under their title */
.of .pr-row { margin: 0; }

/* phones */
@media (max-width: 1023px) {
  .of { padding-top: 104px; }
  .of-hero { min-height: 0; }
  .of-sec { padding-top: 72px; }
}

/* ---------- the funnel pages (application, confirmations, checkout): the shared f-* components, in this system ---------- */
.rs-of main.f { position: relative; z-index: 1; max-width: calc(1180px + var(--content-left)); padding: 128px var(--page-px) 120px var(--content-left); }
.rs-of main.f h1 { margin: 16px 0 0; font: 500 clamp(2.4rem, 4.6vw, 4.2rem)/0.98 var(--sans); letter-spacing: -0.045em; color: var(--primary); text-wrap: balance; }
.rs-of main.f h2 { margin: 0; font: 500 clamp(1.7rem, 2.8vw, 2.4rem)/1.05 var(--sans); letter-spacing: -0.035em; color: var(--primary); text-wrap: balance; }
.rs-of main.f h3 { margin: 0; font: 500 20px/1.3 var(--sans); letter-spacing: -0.02em; color: var(--primary); }
.rs-of main.f p { color: var(--secondary); }
.rs-of .eyebrow, .rs-of .jk-name { margin: 0; font: 400 12px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.rs-of .f-sub, .rs-of .jk-lede { margin: 18px 0 0; max-width: 540px; font: 400 17px/1.6 var(--sans); color: var(--secondary); }
.rs-of .jk-mark { display: none; }
.rs-of .jk-display { margin: 16px 0 0; font: 500 clamp(2.2rem, 4vw, 3.6rem)/1 var(--sans); letter-spacing: -0.045em; color: var(--primary); text-wrap: balance; }
.rs-of main.f a:not(.btn) { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.rs-of .btn.wide, .rs-of .btn.big { justify-content: center; }
.rs-of .btn.wide { width: 100%; }
.rs-of .ph { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--surface); }
.rs-of .ph svg { width: 100%; height: 100%; opacity: 0.25; }

/* fields drawn as brackets, as on their Contact and Join pages */
.rs-of .field { display: block; margin: 0 0 22px; }
.rs-of .field > span, .rs-of fieldset legend, .rs-of .pay-form label { display: block; margin: 0 0 10px; padding: 0; font: 400 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.rs-of .opt, .rs-of .pay-form small { text-transform: none; letter-spacing: 0; color: var(--muted); }
.rs-of .field input, .rs-of .field textarea, .rs-of .pay-form input {
  --b: rgba(255, 255, 255, 0.32);
  display: block; width: 100%; margin-top: 10px; padding: 13px 16px; border: 0; border-radius: 0; color: var(--primary); font: 400 17px/1.4 var(--sans); resize: vertical;
  background:
    linear-gradient(var(--b), var(--b)) left top / 1px 100% no-repeat, linear-gradient(var(--b), var(--b)) right top / 1px 100% no-repeat,
    linear-gradient(var(--b), var(--b)) left top / 10px 1px no-repeat, linear-gradient(var(--b), var(--b)) left bottom / 10px 1px no-repeat,
    linear-gradient(var(--b), var(--b)) right top / 10px 1px no-repeat, linear-gradient(var(--b), var(--b)) right bottom / 10px 1px no-repeat,
    rgba(255, 255, 255, 0.02);
}
.rs-of .field > span + input, .rs-of .field > span + textarea { margin-top: 0; }
.rs-of .field input:focus, .rs-of .field textarea:focus, .rs-of .pay-form input:focus { outline: none; --b: var(--accent-text); }
.rs-of input::placeholder, .rs-of textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
.rs-of fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.rs-of .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-of .chip { position: relative; }
.rs-of .chip input { position: absolute; opacity: 0; pointer-events: none; }
.rs-of .chip span { display: inline-block; padding: 11px 16px; border: 1px solid rgba(255, 255, 255, 0.22); font: 400 14.5px/1.3 var(--sans); color: var(--secondary); cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.rs-of .chip span:hover { border-color: rgba(255, 255, 255, 0.5); }
.rs-of .chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.rs-of .chip input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.rs-of .err, .rs-of .pay-err { margin: 0 0 18px; font: 400 12px/1.5 var(--mono); letter-spacing: 0.04em; color: #ff8a65 !important; }
.rs-of .consent { margin: 20px 0 0; font: 400 12.5px/1.6 var(--sans); color: var(--muted) !important; }

/* the application: the promise and what happens on the left, the form on the right */
.rs-of .mm-apply { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1024px) {
  .rs-of .mm-apply { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "pitch form" "panel form" "faq faq"; column-gap: 72px; row-gap: 48px; }
  .rs-of .mm-apply > .jk-hero { grid-area: pitch; }
  .rs-of .mm-apply .f-apply { grid-area: form; align-self: start; position: sticky; top: 104px; }
  .rs-of .mm-apply .f-panel { grid-area: panel; }
  .rs-of .mm-apply > .f-faq { grid-area: faq; }
}
.rs-of .mm-apply .f-applygrid { display: contents; }
.rs-of .f-apply { padding: clamp(24px, 3vw, 44px); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.12); }
.rs-of .f-prog { display: flex; justify-content: space-between; gap: 16px; font: 400 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.rs-of .f-prog b { font-weight: 400; color: var(--primary); }
.rs-of .f-bar { height: 1px; margin: 14px 0 0; background: var(--line); }
.rs-of .f-bar i { display: block; height: 2px; margin-top: -0.5px; background: var(--accent); transition: width 0.5s var(--ease); }
.rs-of .f-step h2 { margin: 30px 0 26px; }
.rs-of .f-step:focus { outline: none; }
.rs-of .f-apply.stepped .f-step:not(.on) { display: none; }
.rs-of .f-apply:not(.stepped) .f-nav-js { display: none; }
.rs-of .f-apply.stepped .f-nojs { display: none; }
.rs-of .f-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 30px; }
.rs-of .f-nav .back { padding: 0; border: 0; background: none; font: 400 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.rs-of .f-nav .back:hover { color: var(--primary); }
.rs-of .f-nav .btn { margin-left: auto; }
.rs-of .f-panel { display: grid; gap: 24px; align-content: start; }
.rs-of .f-panel-photo { width: 72px; height: 72px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.rs-of .f-panel-photo img, .rs-of .f-panel-photo svg { width: 100%; height: 100%; object-fit: cover; }
.rs-of .f-panel-by { margin: -8px 0 0; font: 400 14px/1.5 var(--sans); }
.rs-of .f-panel-by b { display: block; font-weight: 500; color: var(--primary); }
.rs-of .f-panel-g { padding: 20px 22px; border-left: 2px solid var(--accent); background: rgba(255, 255, 255, 0.03); }
.rs-of .f-panel-g p:last-child { margin: 8px 0 0; font: 400 15px/1.6 var(--sans); }

/* numbered steps: the icons give way to numbers */
.rs-of .f-isteps { list-style: none; margin: 0; padding: 0; counter-reset: st; border-top: 1px solid var(--line); }
.rs-of .f-isteps li { counter-increment: st; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rs-of .f-isteps li::before { content: counter(st, decimal-leading-zero); font: 400 12px/1.9 var(--mono); color: var(--accent-text); }
.rs-of .f-isteps .f-ico { display: none; }
.rs-of .f-isteps b { display: block; font: 500 18px/1.35 var(--sans); letter-spacing: -0.015em; color: var(--primary); }
.rs-of .f-isteps p { margin: 6px 0 0; font: 400 15px/1.6 var(--sans); }
.rs-of .f-next { padding-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 72px; }
@media (min-width: 1024px) { .rs-of .f-next { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); } }
.rs-of .f-next h2::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 22px; background: var(--accent); }
@media (min-width: 760px) {
  .rs-of .f-next .f-isteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 0; }
  .rs-of .f-next .f-isteps li { display: block; padding: 24px 0 28px; border-top: 1px solid var(--line); border-bottom: 0; }
  .rs-of .f-next .f-isteps li::before { display: block; font: 500 clamp(3rem, 5vw, 4.5rem)/1 var(--sans); letter-spacing: -0.05em; }
  .rs-of .f-next .f-isteps b { margin-top: 20px; }
}

/* the numbers */
.rs-of .f-proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rs-of .f-proof > div { padding: 22px 20px 20px 0; }
.rs-of .f-proof b { display: block; font: 500 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--sans); letter-spacing: -0.04em; color: var(--primary); }
.rs-of .f-proof span { display: block; margin-top: 10px; font: 400 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.rs-of .f-panel .f-proof { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* questions */
.rs-of .f-faq { padding-top: 96px; }
.rs-of .f-faq h2 { margin-bottom: 24px !important; }
.rs-of .f-faq details { border-bottom: 1px solid var(--line); }
.rs-of .f-faq details:first-of-type { border-top: 1px solid var(--line); }
.rs-of .f-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; font: 500 18px/1.35 var(--sans); color: var(--primary); }
.rs-of .f-faq summary::-webkit-details-marker { display: none; }
.rs-of .f-faq summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--accent-text); transition: transform 0.3s var(--ease); }
.rs-of .f-faq details[open] summary::after { transform: rotate(45deg); }
.rs-of .f-faq details p { margin: 0 0 22px; max-width: 640px; font: 400 15.5px/1.62 var(--sans); }

/* a confirmation: the tick and the words on the left, Lewis's video on the right */
.rs-of .f-confirm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 64px; align-items: center; }
@media (min-width: 1024px) {
  .rs-of .f-confirm { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .rs-of .f-confirm > :not(.f-media):not(.ph) { grid-column: 1; }
  .rs-of .f-confirm > .f-media, .rs-of .f-confirm > .ph { grid-column: 2; grid-row: 1 / span 5; }
}
.rs-of .f-tick { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.rs-of .f-tick svg { width: 22px; height: 22px; }
.rs-of .f-confirm > .f-media, .rs-of .f-confirm > .ph { margin-top: 32px; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); background: var(--surface); }
.rs-of .f-media iframe, .rs-of .f-media video, .rs-of .f-media img { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.rs-of .f-guarantee { margin-top: 96px; padding: 28px 30px; border-left: 2px solid var(--accent); background: rgba(255, 255, 255, 0.03); max-width: 760px; }
.rs-of .f-guarantee p:not(.eyebrow) { margin: 10px 0 0; font: 500 19px/1.5 var(--sans); color: var(--primary); }
.rs-of .f-terms { display: inline-block; margin-top: 12px; font: 400 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.rs-of .f-promo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 48px; align-items: center; margin-top: 96px; padding: clamp(24px, 3vw, 40px); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 900px) { .rs-of .f-promo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rs-of .f-promo-img { grid-row: 1 / span 3; } }
.rs-of .f-promo-img img { display: block; width: 100%; height: auto; }
.rs-of .f-promo p { margin: 0; font: 400 16px/1.6 var(--sans); }
.rs-of .f-promo .btn { justify-self: start; }

/* the checkout */
.rs-of .pay-head { max-width: 760px; }
.rs-of .pay-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 64px; margin-top: 56px; align-items: start; }
@media (min-width: 1024px) { .rs-of .pay-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.rs-of .pay-hero { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.12); }
.rs-of .pay-line { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 22px 0 16px; border-bottom: 1px solid var(--line); }
.rs-of .pay-line b { font: 500 22px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--primary); }
.rs-of .pay-line span { font: 500 clamp(2rem, 3.4vw, 2.8rem)/1 var(--sans); letter-spacing: -0.04em; color: var(--primary); }
.rs-of .pay-points { list-style: none; margin: 0; padding: 0; }
.rs-of .pay-points li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); font: 400 15px/1.5 var(--sans); color: var(--secondary); position: relative; }
.rs-of .pay-points li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; background: var(--accent); }
.rs-of .pay-form { padding: clamp(24px, 3vw, 40px); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.12); }
.rs-of .pay-form h2 { margin-bottom: 24px !important; }
.rs-of .pay-form label { margin-bottom: 20px; }
.rs-of .pay-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.rs-of .pay-who { margin: 0 0 16px; font: 400 14px/1.5 var(--sans); }
.rs-of #pay-element { margin: 0 0 20px; }
.rs-of .pay-safe { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font: 400 12px/1.4 var(--mono); color: var(--muted) !important; }
.rs-of .pay-safe svg { width: 14px; height: 14px; flex: none; }
.rs-of .pay-g { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 16px; padding: 20px 22px; border-left: 2px solid var(--accent); background: rgba(255, 255, 255, 0.03); }
.rs-of .pay-g img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.rs-of .pay-g p { margin: 0; font: 400 14.5px/1.55 var(--sans); }
.rs-of .pay-g b { display: block; margin-bottom: 4px; font: 400 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.rs-of .pay-g span { display: block; margin-top: 8px; font-weight: 500; color: var(--primary); }
.rs-of .pay-wins { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 96px; }
.rs-of .pay-wins figure { position: relative; margin: 0; }
.rs-of .pay-wins img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.85); }
.rs-of .pay-notes { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 6px; }
.rs-of .pay-note { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; background: rgba(18, 18, 19, 0.88); backdrop-filter: blur(8px); font: 400 12.5px/1.4 var(--sans); color: var(--secondary); }
.rs-of .pay-note-i { display: grid; place-items: center; width: 28px; height: 28px; background: var(--accent); color: var(--on-accent); }
.rs-of .pay-note-i svg { width: 15px; height: 15px; }
.rs-of .pay-note b { display: block; color: var(--primary); font-weight: 500; }
.rs-of .pay-note time { font: 400 10px/1 var(--mono); color: var(--muted); }

@media (max-width: 1023px) { .rs-of main.f { padding-top: 104px; } }
