/* SecretlyBlue components. Every value comes from tokens.css. */
.sb { font-family: var(--font-text); color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
.sb *, .sb *::before, .sb *::after { box-sizing: border-box; }
.sb :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sb-tnum { font-variant-numeric: tabular-nums; }

/* Headline: first sentence in ink, the second in accent-text */
.sb-h { font-family: var(--font-display); font-weight: 600; color: var(--ink); text-wrap: balance; margin: 0; }
.sb-h__alt { color: var(--accent-text); }
.sb-h__mute { color: var(--ink-muted); }
.sb-lead { font-size: 20px; line-height: 1.4; color: var(--ink-soft); max-width: 60ch; text-wrap: pretty; margin: 0; }

/* Label above a heading: typing dots + text, no tracking, no caps */
.sb-label { display: inline-flex; align-items: center; gap: var(--space-2); font: 600 14px/1.3 var(--font-text); letter-spacing: 0; color: var(--accent-text); }
.sb-label__dots { display: inline-flex; gap: 3px; }
.sb-label__dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.sb-label__dots i:nth-child(2) { opacity: .7; }
.sb-label__dots i:nth-child(3) { opacity: .4; }

/* Buttons */
.sb-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: 0 26px; border-radius: var(--radius-pill); border: 0; font: 600 16px/1 var(--font-text); letter-spacing: 0; text-decoration: none; cursor: pointer; transition: background-color 150ms cubic-bezier(.2,0,0,1), color 150ms cubic-bezier(.2,0,0,1), border-color 150ms cubic-bezier(.2,0,0,1); }
.sb-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sb-btn--primary { background: var(--accent); color: var(--on-accent); }
.sb-btn--primary:hover, .sb-btn--primary.is-hover { background: var(--accent-hover); }
.sb-btn--secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.sb-btn--secondary:hover, .sb-btn--secondary.is-hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sb-btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.sb-btn svg { width: 20px; height: 20px; flex: none; }
.sb-link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.sb-link:hover { text-decoration-thickness: 2.5px; }

/* Chips */
.sb-chip { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 32px; padding: 0 14px; border-radius: var(--radius-pill); font: 600 14px/1 var(--font-text); background: var(--surface-sunken); color: var(--ink-soft); }
.sb-chip--accent { background: var(--accent-tint); color: var(--accent-strong); }
.sb-chip--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-soft); }

/* Chat thread (signature component): the OnlyFans light chat 1:1, seen by the fan.
   Values come from OnlyFans' own CSS (bubbles, 6px radius with a square tail corner, 11px times, unlock block),
   so they are fixed here and not brand tokens. Only the note markers use the brand. */
.sb-chat { --of-text: #242529; --of-muted: #8a96a3; --of-blue: #00aff0; --of-blue-hover: #0091ea; --of-line: rgba(138, 150, 163, .25); --of-tint: rgba(138, 150, 163, .12); --of-tint-me: rgba(0, 175, 240, .12);
  width: 100%; max-width: 420px; background: #fff; color: var(--of-text); border-radius: var(--radius-l); box-shadow: var(--shadow-float); overflow: hidden;
  font: 400 16px/1.3334 Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.sb-chat svg { width: 24px; height: 24px; flex: 0 0 24px; fill: currentColor; }
.sb-chat__head { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 12px 8px 14px; border-bottom: 1px solid var(--of-line); }
.sb-chat__back { display: flex; color: var(--of-text); }
.sb-chat__title { flex: 1; min-width: 0; }
.sb-chat__name { display: flex; align-items: center; gap: 4px; font-size: 19px; line-height: 24px; font-weight: 500; }
.sb-chat__name svg { width: 18px; height: 18px; flex-basis: 18px; color: var(--of-blue); }
.sb-chat__sub { display: flex; flex-wrap: wrap; font-size: 11px; line-height: 16px; color: var(--of-muted); }
.sb-chat__sub span + span::before { content: "•"; margin: 0 5px; }
.sb-chat__tools { display: flex; gap: 12px; color: var(--of-muted); }
.sb-chat__body { display: flex; flex-direction: column; padding: 10px 0; }
.sb-chat__day { position: relative; display: flex; justify-content: center; margin: -4px 0 4px; padding: 11px 0 12px; font-size: 11px; line-height: 13px; color: var(--of-muted); }
.sb-chat__day::before { content: ""; position: absolute; left: 16px; right: 16px; top: 50%; height: 1px; background: var(--of-line); }
.sb-chat__day span { position: relative; padding: 0 8px; background: #fff; }
.sb-msg { display: flex; flex-direction: column; margin-bottom: 2px; }
.sb-msg--creator { align-items: flex-start; margin-left: 60px; margin-right: 32px; }
.sb-msg--fan { align-items: flex-end; margin-left: 76px; margin-right: 16px; }
.sb-msg--creator + .sb-msg--fan, .sb-msg--fan + .sb-msg--creator { margin-top: 2px; }
.sb-msg__content { position: relative; max-width: 100%; }
.sb-msg__text { padding: 10px 12px; border-radius: 6px; line-height: 24px; text-align: start; overflow-wrap: anywhere; }
.sb-msg--creator .sb-msg__text { background: var(--of-tint); border-bottom-left-radius: 0; }
.sb-msg--fan .sb-msg__text { background: var(--of-tint-me); border-bottom-right-radius: 0; }
.sb-msg__avatar { position: absolute; left: -44px; bottom: 0; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.sb-msg--creator:has(+ .sb-msg--creator:not(.is-hidden)) .sb-msg__avatar { visibility: hidden; }
.sb-msg__time { display: flex; align-items: center; margin: 4px 0 2px; padding: 0 3px; font-size: 11px; line-height: 16px; color: var(--of-muted); white-space: nowrap; }
.sb-msg__time svg { width: 18px; height: 18px; flex-basis: 18px; margin: -2px 0 -2px 3px; }
.sb-msg__pay { font-weight: 500; }
.sb-msg__pay::before { content: ","; margin-right: 2px; font-weight: 400; }
.sb-msg__pay.is-paid { font-weight: 400; }
.sb-msg__mark { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-strong); font: 600 10px/1 var(--font-text); }
.sb-typing { position: relative; display: flex; align-items: center; min-height: 20px; padding: 2px 0 1px 60px; font-size: 11px; line-height: 16px; color: var(--of-muted); }
.sb-typing__avatar { position: absolute; left: 34px; top: 2px; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.sb-typing i { font-style: normal; animation: sb-typing 1.2s infinite; }
.sb-typing i:nth-of-type(2) { animation-delay: .2s; } .sb-typing i:nth-of-type(3) { animation-delay: .4s; }
@keyframes sb-typing { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.sb-ppv { position: relative; display: block; width: 300px; max-width: 100%; aspect-ratio: 1 / .826; padding: 0; border: 0; border-radius: 6px; border-bottom-left-radius: 0; overflow: hidden; background: var(--of-tint); color: var(--of-muted); font: inherit; text-align: left; cursor: pointer; }
.sb-ppv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.sb-ppv__lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 48px)); display: flex; opacity: .25; }
.sb-ppv__lock svg { width: 64px; height: 64px; flex-basis: 64px; }
.sb-ppv__block { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; margin: 16px; padding: 15px; border: 1px solid var(--of-line); border-radius: 6px; }
.sb-ppv__list { display: flex; align-items: center; font-size: 12px; line-height: 16px; font-weight: 500; }
.sb-ppv__list > span { display: inline-flex; align-items: center; gap: 2px; }
.sb-ppv__list > span + span::before { content: "•"; margin: 0 4px; }
.sb-ppv__list svg { width: 16px; height: 16px; flex-basis: 16px; }
.sb-ppv__btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 16px; border-radius: 1000px; background: var(--of-blue); color: #fefefe; font-size: 14px; line-height: 20px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.sb-ppv:hover .sb-ppv__btn { background: var(--of-blue-hover); }
.sb-ppv.is-open .sb-ppv__img { opacity: 1; }
.sb-ppv.is-open .sb-ppv__lock { opacity: 0; }
.sb-ppv.is-open .sb-ppv__block { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
.sb-chat__compose { padding: 12px 16px; border-top: 1px solid var(--of-line); }
.sb-chat__input { padding: 2px 0 12px; line-height: 24px; color: var(--of-muted); }
.sb-chat__bar { display: flex; align-items: center; gap: 14px; color: var(--of-muted); }
.sb-chat__send { margin-left: auto; min-width: 78px; padding: 8px 18px; border-radius: 1000px; background: rgba(138, 150, 163, .75); color: #fefefe; font-size: 14px; line-height: 20px; font-weight: 500; text-align: center; text-transform: uppercase; opacity: .4; }
.sb-note { display: flex; gap: var(--space-2); align-items: baseline; font: 500 13px/1.4 var(--font-text); color: var(--ink-muted); }
.sb-note b { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-strong); font: 600 12px/1 var(--font-text); }

/* Comparison table */
.sb-compare { width: 100%; border-collapse: separate; border-spacing: 0; font: 400 15px/1.45 var(--font-text); }
.sb-compare th, .sb-compare td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sb-compare thead th { font: 600 14px/1.3 var(--font-text); color: var(--ink-muted); border-bottom: 0; padding-bottom: 12px; }
.sb-compare thead th:first-child { width: 28%; }
.sb-compare thead .is-us { width: 40%; }
.sb-compare tbody th { font: 600 15px/1.4 var(--font-text); color: var(--ink); }
.sb-compare td { color: var(--ink-soft); }
.sb-compare .is-us { background: var(--surface-raised); color: var(--ink); }
.sb-compare thead .is-us { border-radius: var(--radius-l) var(--radius-l) 0 0; color: var(--accent-text); }
.sb-compare tbody tr:last-child .is-us { border-radius: 0 0 var(--radius-l) var(--radius-l); }
.sb-compare tbody tr:last-child th, .sb-compare tbody tr:last-child td { border-bottom: 0; }
/* Each answer starts with a mark: a white check on blue in our column, a white cross on red in the other one.
   Decoration only, the sentence next to it says what it means. A wrapped second line stays under the text. */
.sb-compare__answer { display: flex; align-items: flex-start; gap: 12px; }
.sb-compare__answer::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--signal-error) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.25' stroke-linecap='round'%3E%3Cpath d='M8.75 8.75l6.5 6.5m0-6.5l-6.5 6.5'/%3E%3C/svg%3E") center / 100% no-repeat; }
.sb-compare .is-us .sb-compare__answer::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 12.25l3 3 6-6.5'/%3E%3C/svg%3E"); }

/* Onboarding timeline (a real sequence, so it is numbered). Each step is a card on surface; the day chip of the steps
   before account access (is-done) is blue, the later ones grey */
.sb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.sb-step { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 2.4vw, 32px); border-radius: var(--radius-l); background: var(--surface-raised); }
.sb-step__day { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--surface-sunken); font: 600 13px/1 var(--font-text); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.sb-step.is-done .sb-step__day { background: var(--accent-tint); color: var(--accent-strong); }
.sb-step__title { margin: 24px 0 8px; font: 600 20px/1.01 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.sb-step__text { margin: 0; font: 400 15px/1.5 var(--font-text); color: var(--ink-soft); }

/* Segmented control */
.sb-seg { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-sunken); }
.sb-seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-soft); font: 600 14px/1 var(--font-text); cursor: pointer; font-variant-numeric: tabular-nums; }
.sb-seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

/* Pricing card */
.sb-price { max-width: 520px; padding: var(--space-6); border-radius: var(--radius-l); background: var(--surface-raised); }
.sb-price__num { font: 500 72px/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--ink); }
.sb-price__unit { font: 400 17px/1.5 var(--font-text); color: var(--ink-soft); }
.sb-price__terms { font: 500 13px/1.4 var(--font-text); color: var(--ink-muted); }
.sb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sb-list li { display: flex; gap: 12px; font: 400 15px/1.45 var(--font-text); color: var(--ink-soft); }
.sb-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 0; background: var(--accent-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Form */
.sb-field { display: flex; flex-direction: column; gap: 8px; }
.sb-field label { font: 600 14px/1.3 var(--font-text); color: var(--ink); }
.sb-input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--radius-s); border: 1.5px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); font: 400 16px/1.4 var(--font-text); }
.sb-input::placeholder { color: var(--ink-muted); }
/* focus is shown by the border colour, without an outline (the field keeps it after a mouse click too) */
.sb-input:focus { outline: none; border-color: var(--focus); }
.sb-input.is-error { border-color: var(--signal-error); }
.sb-help { font: 400 13px/1.4 var(--font-text); color: var(--ink-muted); }
.sb-error { font: 500 13px/1.4 var(--font-text); color: var(--signal-error); }
.sb-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font: 400 14px/1.5 var(--font-text); color: var(--ink-soft); cursor: pointer; }
/* custom checkbox: a box with the field's border; checked fills with accent and a white tick. Focus and error recolour the
   border like .sb-input; checked + focus turns it ink, since the accent border would not change. No top margin: the box's centre then meets
   the middle of the first line's capitals (14px/1.5) */
.sb-check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--line-strong); border-radius: 6px; background: var(--surface-raised) center / 14px no-repeat; cursor: pointer; transition: background-color 150ms cubic-bezier(.2,0,0,1), border-color 150ms cubic-bezier(.2,0,0,1); }
.sb-check input:checked { border-color: var(--accent); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.4'/%3E%3C/svg%3E"); }
.sb-check input:focus-visible { outline: none; border-color: var(--focus); }
.sb-check input:checked:focus-visible { border-color: var(--ink); }
.sb-check input.is-error { border-color: var(--signal-error); }
@media (forced-colors: active) { .sb-check input { appearance: auto; -webkit-appearance: auto; } }  /* high contrast drops backgrounds: native box */
.sb-check a { color: var(--ink); text-underline-offset: 3px; }

/* Accordion */
.sb-acc { display: flex; flex-direction: column; gap: var(--space-3); }
.sb-acc details { background: var(--surface-sunken); border-radius: var(--radius-m); }
.sb-acc summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: 20px var(--space-5); border-radius: var(--radius-m); cursor: pointer; list-style: none; font: 600 20px/1.01 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.sb-acc summary::-webkit-details-marker { display: none; }
.sb-acc summary svg { width: 20px; height: 20px; flex: none; color: var(--accent-text); transition: transform 150ms cubic-bezier(.2,0,0,1); }
.sb-acc details[open] summary svg { transform: rotate(45deg); }
.sb-acc p { margin: -4px var(--space-5) 0; padding-bottom: 22px; max-width: 65ch; font: 400 17px/1.4 var(--font-text); color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { .sb * { transition: none !important; animation: none !important; } }
@media (max-width: 1023px) { .sb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sb-steps { grid-template-columns: 1fr; gap: var(--space-3); } }

/* Earnings report (our own design, never a copy of a platform UI). Paper theme only. */
.sb-earn { width: 100%; max-width: 760px; padding: var(--space-6); border-radius: var(--radius-l); background: var(--surface-raised); display: flex; flex-direction: column; gap: var(--space-6); }
.sb-earn__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.sb-earn__who { font: 600 15px/1.3 var(--font-text); color: var(--ink); }
.sb-earn__who span { display: block; font: 500 13px/1.4 var(--font-text); color: var(--ink-muted); }
.sb-earn__fig { display: flex; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; }
.sb-earn__num { font: 500 64px/1 var(--font-display); letter-spacing: -0.04em; color: var(--ink); }
.sb-earn__ctx { display: flex; flex-direction: column; gap: 4px; font: 400 15px/1.4 var(--font-text); color: var(--ink-soft); }
.sb-earn__delta { font-weight: 600; color: var(--signal-up); }
.sb-earn__chart { position: relative; }
.sb-earn__chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.sb-earn__chart .grid { stroke: var(--line); stroke-width: 1; }
.sb-earn__chart .tick { fill: var(--ink-muted); font: 500 12px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.sb-earn__chart .bar-before { fill: var(--brand-glow); }
.sb-earn__chart .bar-after { fill: var(--accent); }
.sb-earn__chart .val { fill: var(--ink); font: 600 13px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.sb-earn__chart .marker { stroke: var(--ink-muted); stroke-width: 1; }
.sb-earn__chart .marker-label { fill: var(--ink-soft); font: 600 12px/1 var(--font-text); }
.sb-earn__chart .hit { fill: transparent; cursor: default; }
.sb-earn__tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); padding: 8px 12px; border-radius: var(--radius-s); background: var(--brand-night); color: var(--brand-mist); font: 500 13px/1.35 var(--font-text); white-space: nowrap; box-shadow: var(--shadow-float); font-variant-numeric: tabular-nums; }
.sb-earn__legend { display: flex; gap: var(--space-5); flex-wrap: wrap; font: 500 13px/1.3 var(--font-text); color: var(--ink-soft); }
.sb-earn__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.sb-earn__split { display: flex; flex-direction: column; gap: 10px; }
.sb-earn__split-labels { display: flex; justify-content: space-between; gap: var(--space-4); font: 500 14px/1.3 var(--font-text); color: var(--ink-soft); }
.sb-earn__split-labels b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sb-earn__bar { display: flex; gap: 2px; height: 14px; }
.sb-earn__bar span { display: block; height: 100%; }
.sb-earn__bar span:first-child { border-radius: 4px 0 0 4px; background: var(--accent); }
.sb-earn__bar span:last-child { border-radius: 0 4px 4px 0; background: var(--brand-glow); }
.sb-earn__table { width: 100%; border-collapse: collapse; font: 400 14px/1.4 var(--font-text); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.sb-earn__table th, .sb-earn__table td { padding: 10px 0; border-top: 1px solid var(--line); text-align: right; }
.sb-earn__table th:first-child, .sb-earn__table td:first-child { text-align: left; }
.sb-earn__table thead th { border-top: 0; font: 600 13px/1.3 var(--font-text); color: var(--ink-muted); }
.sb-earn__table tfoot td { font-weight: 600; color: var(--ink); }
.sb-earn__src { margin: 0; font: 500 13px/1.4 var(--font-text); color: var(--ink-muted); }
