/* The smaller pages: checkout, thank you, contact, affiliates and the legal texts.
   They use styles.css for type, buttons, nav and footer, and add only what they need here. */

.page { padding: 72px 0 120px; min-height: calc(100svh - 160px); }
.page-head { max-width: 760px; margin-bottom: 48px; }
.page-head .kicker { margin-bottom: 16px; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.page-head p { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 620px; }

.panel { background: var(--s2); border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); padding: 30px; }
.panel h2 { font-size: 20px; letter-spacing: -.02em; }
.panel + .panel { margin-top: 16px; }
.muted { color: var(--ink-2); }
.small { font-size: 13.5px; color: var(--ink-3); }

/* iOS style segmented control */
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--fill); gap: 2px; }
.seg button { border: 0; background: transparent; padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: background .25s var(--ease), color .2s; }
.seg button.on { background: #636366; color: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.25); }

/* iOS switch */
.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 31px; background: var(--fill); transition: background .25s var(--ease); }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.3); transition: transform .3s var(--ios); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }

/* Grouped list rows, like iOS Settings */
.rows { border-radius: 16px; background: var(--s3); overflow: hidden; }
.row { display: flex; align-items: center; gap: 14px; padding: 15px 18px; font-size: 15.5px; }
.row + .row { box-shadow: inset 0 1px 0 var(--line); }
.row .grow { flex: 1; min-width: 0; }
.row small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.row b { font-weight: 600; }
.row .val { font-variant-numeric: tabular-nums; font-weight: 600; }
.row .was { color: var(--ink-3); text-decoration: line-through; font-weight: 500; margin-right: 6px; }
.row-total { font-size: 18px; }
.row-total .val { font-size: 22px; letter-spacing: -.02em; }

/* Checkout: pick on the left, pay on the right, like a store's own checkout.
   One tap per choice, the summary follows every change, the action is always the last thing you read. */
.co-page { padding-top: 48px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: 56px; align-items: start; }
.co-head { margin-bottom: 28px; }
.co-head h1 { font-size: clamp(36px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.co-head p { margin-top: 10px; font-size: 18px; color: var(--ink-2); }
.co-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-plan { position: relative; display: grid; gap: 4px; padding: 20px 20px 18px; border-radius: 20px; background: var(--s2); cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .25s var(--ease), background .25s var(--ease), transform .2s var(--ease); }
.co-plan:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.co-plan:active { transform: scale(.985); }
.co-plan input { position: absolute; opacity: 0; pointer-events: none; }
.co-plan.on { background: linear-gradient(180deg, rgba(80,120,255,.12), rgba(255,255,255,.02) 70%), var(--s2); box-shadow: inset 0 0 0 1.5px var(--blue); }
.co-plan:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.co-plan-top { display: flex; align-items: center; justify-content: space-between; }
.co-plan-top b { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.co-radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px var(--ink-3); transition: box-shadow .25s var(--ios); }
.co-plan.on .co-radio { box-shadow: inset 0 0 0 6px var(--blue); }
.co-plan-for { font-size: 13.5px; color: var(--ink-2); }
.co-plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.co-plan-price b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.co-plan-price s { font-size: 15px; color: var(--ink-3); }
.co-plan-price s:empty { display: none; }
.co-group { margin-top: 30px; }
.co-label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px 2px; }
.co-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.co-ticks li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.4; color: rgba(235,235,245,.85); animation: co-in .35s var(--ease) both; }
.co-ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: rgba(80,120,255,.2); }
.co-ticks li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 7px; height: 4px; border: solid #a8c0ff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.co-addon { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--s2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
label.co-addon { cursor: pointer; transition: box-shadow .25s var(--ease); }
label.co-addon:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
label.co-addon:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--green); }
.co-addon .grow { flex: 1; min-width: 0; }
.co-addon b { display: block; font-size: 15.5px; font-weight: 600; }
.co-addon small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.co-addon-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--fill); }
.co-addon-ico .ic { width: 18px; height: 18px; }
.co-addon-price { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.co-addon-inc { font-size: 13.5px; font-weight: 600; color: var(--green); }

.co-side { position: sticky; top: 84px; }
.co-card { padding: 26px; border-radius: 24px; background: var(--s2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.45); }
.co-card h2 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 14px; }
.co-lines { display: grid; }
.co-line { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; font-size: 15px; color: rgba(235,235,245,.86); }
.co-line span:first-child { flex: 1; min-width: 0; }
.co-line b { font-weight: 500; font-variant-numeric: tabular-nums; }
.co-line.save { color: var(--green); }
.co-line.new { animation: co-in .35s var(--ease) both; }
@keyframes co-in { from { opacity: 0; transform: translateY(-4px); } }
.co-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.co-total span { font-size: 17px; font-weight: 600; }
.co-total small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.co-total b { font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.co-form { display: grid; gap: 12px; margin-top: 22px; }
.co-lead { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.co-lead b { color: #fff; font-weight: 600; }
.co-card .btn[aria-disabled="true"] { pointer-events: auto; cursor: not-allowed; opacity: .45; }
.co-card .agree { margin: 18px 0 16px; font-size: 13.5px; line-height: 1.45; }
.co-card .form-status { margin-top: 12px; font-size: 14px; }
.co-card .secure { margin-top: 12px; }
.co-next { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.co-next a { color: #fff; }

/* Phone: one column, and the total with its button stays at hand until the summary is on screen */
.co-bar { display: none; }
@media (max-width: 900px) {
  .co { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .co-side { position: static; }
  .co-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(36,36,38,.92); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 16px 40px rgba(0,0,0,.6);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: transform .35s var(--ios), opacity .25s; }
  .co-bar.away { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .co-bar span { flex: 1; }
  .co-bar small { display: block; font-size: 11.5px; color: var(--ink-3); }
  .co-bar b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
}
@media (max-width: 560px) {
  .co-page { padding-top: 28px; }
  .co-plans { gap: 10px; }
  .co-plan { padding: 16px 16px 14px; border-radius: 18px; }
  .co-plan-price { flex-direction: column; gap: 0; margin-top: 10px; }
  .co-plan-price b { font-size: 24px; }
  .co-ticks { grid-template-columns: 1fr; }
  .co-addon { padding: 14px; gap: 12px; }
  .co-addon-ico { display: none; }
  .co-card { padding: 22px 20px; }
}
.agree { display: flex; gap: 12px; align-items: flex-start; margin: 20px 2px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.agree input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.6px var(--ink-3); cursor: pointer; transition: background .2s, box-shadow .2s; display: grid; place-items: center; }
.agree input:checked { background: var(--blue); box-shadow: none; }
.agree input:checked::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.agree b { color: #fff; font-weight: 600; }
.agree a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.agree a:hover { text-decoration-color: #fff; }
.btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.secure .ic { width: 13px; height: 13px; }

/* Numbered steps (thank you, affiliates) */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 22px 24px; border-radius: 20px; background: var(--s2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.steps-list li::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--fill); }
.steps-list h3 { font-size: 18px; letter-spacing: -.015em; }
.steps-list p { color: var(--ink-2); font-size: 15px; }
.steps-list code { font-family: var(--mono); font-size: 13px; background: var(--s3); padding: 2px 7px; border-radius: 6px; }

.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin-bottom: 26px; animation: pop-in .6s var(--ios) both; }
.done-mark::after { content: ""; width: 24px; height: 12px; border: solid #000; border-width: 0 0 3.5px 3.5px; transform: rotate(-45deg) translate(2px, -3px); }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } }

/* Forms */
.form { display: grid; gap: 14px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: #fff; background: var(--s3); border: 0; border-radius: 12px;
  padding: 13px 15px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .2s; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue); }
.form-note { font-size: 13.5px; color: var(--ink-3); }
.form-status { font-size: 15px; padding: 14px 16px; border-radius: 12px; background: var(--s3); }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.opt { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.reserve { position: relative; gap: 12px; }
.reserve-lead { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-bottom: 2px; }
.reserve-lead b { color: #fff; font-weight: 600; }
.reserve .field textarea { min-height: 90px; }
.agree.nudge { animation: nudge .42s var(--ease); }
.agree.nudge input { box-shadow: inset 0 0 0 1.8px var(--blue); }
@keyframes nudge { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } 100% { transform: none; } }
.apply { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 110px; scroll-margin-top: 90px; }
.apply .form .agree { margin: 4px 2px; }
.apply .field textarea { min-height: 100px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.reach { display: grid; gap: 12px; }
.reach a, .reach div { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--s2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.reach a:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.reach .ic-b { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--fill); flex: none; }
.reach .ic-b .ic { width: 18px; height: 18px; }
.reach b { display: block; font-size: 15.5px; }
.reach small { color: var(--ink-2); font-size: 13.5px; }

/* Affiliates */
.aff-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 110px; }
.aff-hero .page-head { margin: 0; }
.aff-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.dash { border-radius: 22px; background: #0d0d0e; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 90px rgba(0,0,0,.7); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.dash-bar b { color: #fff; font-size: 14px; }
.dash-bar .tag { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); }
.dash-kpis div { padding: 18px; }
.dash-kpis div + div { box-shadow: inset 1px 0 0 var(--line); }
.dash-kpis small { display: block; color: var(--ink-2); font-size: 12px; }
.dash-kpis b { font-size: 24px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dash-chart { height: 120px; padding: 0 18px 14px; display: flex; align-items: flex-end; gap: 5px; border-bottom: 1px solid var(--line); }
.dash-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(#2c6dd8, #1b3f80); transform-origin: bottom; animation: grow .9s var(--ios) both; }
@keyframes grow { from { transform: scaleY(0); } }
.dash-link { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.dash-link code { flex: 1; font-family: var(--mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-link span { font-size: 12px; font-weight: 600; color: var(--blue); }
.dash-sales { font-size: 13px; }
.dash-sales div { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 11px 18px; }
.dash-sales div + div { box-shadow: inset 0 1px 0 var(--line); }
.dash-sales span:nth-child(2) { color: var(--ink-2); }
.dash-sales span:last-child { color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.payouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 110px; }
.payouts .panel + .panel, .rules .panel + .panel { margin-top: 0; }
.payout { display: grid; gap: 12px; padding: 28px 30px; }
.payout-name { font-size: 15px; color: var(--ink-2); }
.payout-num { display: flex; align-items: baseline; gap: 8px; }
.payout-num b { font-size: 56px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.payout-num span { font-size: 18px; font-weight: 500; color: var(--ink-3); }
.payout-math { justify-self: start; display: inline-block; line-height: 28px; height: 28px; padding: 0 12px; border-radius: 980px; font-size: 13px; font-weight: 500; color: rgba(235,235,245,.8); background: rgba(255,255,255,.06); }
.payout-featured { background: linear-gradient(180deg, rgba(110,130,255,.12), rgba(255,255,255,.02) 60%), var(--s2); box-shadow: inset 0 0 0 1px rgba(143,176,255,.32); }
.payout-featured .payout-num b { background: linear-gradient(100deg, #fff, #a8c0ff 60%, #b996ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.block-head { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.04em; line-height: 1.05; font-weight: 700; margin-bottom: 30px; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 110px; }
.rules .ticks li.no::before { border: 0; width: 12px; height: 1.6px; top: 11px; background: var(--red); transform: none; }

/* Legal pages: the reading habits of Apple's legal site. Tabs between the documents,
   a calm column of numbered sections, and a contents list that stays beside it. */
.legal-page { padding-top: 40px; }
.legal-tabs { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 40px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.legal-tabs a { padding: 7px 16px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.legal-tabs a:hover { color: #fff; }
.legal-tabs a.on { background: #3a3a3c; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.legal-page .page-head { margin-bottom: 44px; }
.legal-page .page-head h1 { font-size: clamp(40px, 5vw, 64px); }
.legal-date { font-size: 15px !important; color: var(--ink-3) !important; margin-top: 10px; }
.legal-wrap { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 72px; align-items: start; }
.legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; scrollbar-width: none; }
.legal-toc p { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; border-left: 1px solid var(--line); }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1.5px solid transparent; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); transition: color .2s, border-color .2s; }
.legal-toc a::before { content: counter(toc) ". "; color: var(--ink-3); }
.legal-toc a:hover { color: #fff; }
.legal-toc a.on { color: #fff; border-left-color: #fff; }
.legal { max-width: 720px; min-width: 0; }
.legal h2 { font-size: 21px; letter-spacing: -.02em; margin: 48px 0 12px; scroll-margin-top: 96px; }
.legal h2[data-n]::before { content: attr(data-n) ". "; color: var(--ink-3); }
.legal p, .legal li { color: rgba(235,235,245,.8); font-size: 16px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0 0; display: grid; gap: 8px; }
.legal li::marker { color: var(--ink-3); }
.legal b { color: #fff; font-weight: 600; }
.legal .sum { padding: 24px 26px; border-radius: 20px; background: linear-gradient(180deg, rgba(110,130,255,.1), rgba(255,255,255,.02)), var(--s2); box-shadow: inset 0 0 0 1px rgba(143,176,255,.2); }
.legal .sum-title { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a8c0ff; }
.legal .sum li { color: #fff; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.legal a:hover { text-decoration-color: #fff; }
.legal-table { margin-top: 14px; overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: rgba(235,235,245,.8); }
.legal tr:last-child td { border-bottom: 0; }
.legal th { color: var(--ink-2); font-weight: 600; font-size: 13px; background: rgba(255,255,255,.03); }
.legal td:not(:first-child) { white-space: nowrap; }
.legal-note { font-size: 14px !important; color: var(--ink-3) !important; margin-top: 10px; }

.nav-simple .nav-inner { justify-content: space-between; }
.nav-back { font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.nav-back:hover { color: #fff; }
.nav-back .ic { width: 12px; height: 12px; }

@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .legal-toc { display: none; }
  .contact-grid, .aff-hero { grid-template-columns: 1fr; }
  .aff-hero { gap: 40px; margin-bottom: 80px; }
  .payouts, .rules { grid-template-columns: 1fr; margin-bottom: 80px; }
}
@media (max-width: 760px) {
  .page { padding: 40px 0 90px; }
  .legal-page { padding-top: 24px; }
  .legal-tabs { display: flex; margin-bottom: 28px; }
  .legal-tabs a { flex: 1; text-align: center; padding: 7px 8px; font-size: 13.5px; }
  .legal .sum { padding: 20px; }
  .legal h2 { font-size: 19px; margin-top: 40px; }
  .page-head { margin-bottom: 32px; }
  .page-head p { font-size: 17px; }
  .panel { padding: 22px 18px; }
  .form-2 { grid-template-columns: 1fr; }
  .apply { grid-template-columns: 1fr; gap: 18px; margin-bottom: 80px; }
  .aff-actions .btn { flex: 1; }
  .dash-kpis b { font-size: 20px; }
  .steps-list li { padding: 18px; grid-template-columns: 38px 1fr; }
  .payout-num b { font-size: 44px; }
  .footer { padding-bottom: 44px; }
}
