/* reddit.smm-leadpay.com — the SMM-LeadPay design system (tokens, type, fields) for the partner payment page,
 * with Reddit accents and a home page laid out like a community. Self-contained: no Bootstrap. */

/* Inter and Manrope, self-hosted variable WOFF2, SIL OFL 1.1 (fonts/*-OFL.txt). The browser loads only the subsets in use. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-cyrillic-var.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin-ext-var.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/manrope-cyrillic-var.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/manrope-latin-ext-var.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/manrope-latin-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --brand-text: var(--rd-text);
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bg: #F3F3F7; --bg-tint: #ECECF2; --surface: #FFFFFF; --surface-2: #FAFAFD; --surface-sunken: #EFEFF4;
  --ink: #0C0C14; --ink-2: #33344A; --muted: #5A5C6E; --faint: #868899;
  --line: #E1E1EA; --line-2: #D0D0DC; --grid: rgba(12, 12, 20, .055);
  --violet: #5B4FE9; --violet-hover: #4B3FDB; --violet-text: #4C40DC; --violet-soft: #EEECFF; --violet-line: #D6D1FF;
  --lime: #C8FF3D; --lime-hover: #BCF52B; --lime-ink: #142000; --lime-text: #3F5A00; --lime-soft: #F0FCCB;
  --green-bg: #DFF6E8; --green-ink: #126B3C; --red-bg: #FDE7E6; --red-ink: #AF2116;
  --mascot-bg: #FCFEFC;
  --rd-bg: #FFECE3; --rd-ink: #D13A00; --rd-text: #B83300; --rd-orange: #FF4500; --rd-line: #FFD2BD;
  --shadow-sm: 0 1px 2px rgba(16, 16, 32, .05);
  --shadow: 0 1px 2px rgba(16, 16, 32, .04), 0 6px 16px -8px rgba(16, 16, 32, .10);
  --shadow-lg: 0 2px 4px rgba(16, 16, 32, .04), 0 28px 56px -28px rgba(36, 26, 130, .30);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, .7);
  --radius: 12px; --radius-lg: 16px; --radius-xl: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px; --gutter: clamp(16px, 4vw, 32px); --header-h: 64px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08080D; --bg-tint: #0D0D14; --surface: #101018; --surface-2: #14141D; --surface-sunken: #0B0B11;
  --ink: #F2F2F7; --ink-2: #CACBD8; --muted: #9C9EB2; --faint: #6F7185;
  --line: #23232F; --line-2: #30303E; --grid: rgba(255, 255, 255, .045);
  --violet: #7166FF; --violet-hover: #8278FF; --violet-text: #ABA5FF; --violet-soft: #1A1736; --violet-line: #39336E;
  --lime-text: #C8FF3D; --lime-soft: #1C2409;
  --green-bg: #0D251A; --green-ink: #66D49E; --red-bg: #2C1414; --red-ink: #FF8D85;
  --rd-bg: #33190F; --rd-ink: #FF8A5B; --rd-text: #FF9B70; --rd-orange: #FF5A1F; --rd-line: #5C2B16;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 20px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 32px 64px -32px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, .05);
}
/* Without JS (no data-theme yet) the system setting decides. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #08080D; --bg-tint: #0D0D14; --surface: #101018; --surface-2: #14141D; --surface-sunken: #0B0B11;
    --ink: #F2F2F7; --ink-2: #CACBD8; --muted: #9C9EB2; --faint: #6F7185;
    --line: #23232F; --line-2: #30303E; --grid: rgba(255, 255, 255, .045);
    --violet: #7166FF; --violet-hover: #8278FF; --violet-text: #ABA5FF; --violet-soft: #1A1736; --violet-line: #39336E;
    --lime-text: #C8FF3D; --lime-soft: #1C2409;
    --green-bg: #0D251A; --green-ink: #66D49E; --red-bg: #2C1414; --red-ink: #FF8D85;
    --rd-bg: #33190F; --rd-ink: #FF8A5B; --rd-text: #FF9B70; --rd-orange: #FF5A1F; --rd-line: #5C2B16;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 20px -10px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 32px 64px -32px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02);
    --highlight: inset 0 1px 0 rgba(255, 255, 255, .05);
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--font-sans); letter-spacing: -.006em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
svg.icon { display: inline-block; width: 1.125em; height: 1.125em; flex: none; vertical-align: -.2em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.45rem + 2.4vw, 3.5rem); letter-spacing: -.04em; line-height: 1.04; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); }
h3 { font-size: 1.0625rem; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 650; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--rd-orange); color: #fff; }
:focus-visible { outline: 2px solid var(--rd-ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 600; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip-link:focus { transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
}
.header-inner { display: flex; align-items: center; gap: 14px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.0625rem/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.brand-icon {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; color: #fff;
  background: linear-gradient(140deg, #6C61FF 0%, #5B4FE9 55%, #4639D6 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 4px 12px -4px rgba(91, 79, 233, .55);
}
.brand-icon svg { width: 20px; height: 20px; }
.header-tag { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink-2); font-size: .875rem; font-weight: 600; white-space: nowrap; }
.header-tag svg { width: 16px; height: 16px; color: var(--rd-orange); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-mail { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-right: 6px; padding: 0 4px; color: var(--muted); font-size: .9375rem; font-weight: 500; transition: color .15s; }
.language-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-sm); }
.language-switch a { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 7px; color: var(--muted); font-size: .875rem; font-weight: 600; transition: color .15s, background-color .15s; }
.language-switch a:hover { color: var(--ink); }
.language-switch a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-sm); cursor: pointer; transition: color .15s, border-color .15s; }
.theme-toggle:hover { color: var(--ink); border-color: var(--line-2); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle > span { display: none; }
.theme-toggle[data-mode="light"] .theme-light, .theme-toggle[data-mode="dark"] .theme-dark, .theme-toggle[data-mode="system"] .theme-system { display: inline-grid; }
.header-mail:hover { color: var(--ink); }

/* Main and footer */
.site-main { flex: 1; overflow-x: clip; padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 96px); background: radial-gradient(70% 420px at 82% 0%, color-mix(in srgb, var(--rd-orange) 8%, transparent), transparent 70%); }
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 24px; }
.footer-meta { display: grid; gap: 4px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { color: var(--ink-2); transition: color .15s; }
.footer-legal a:hover { color: var(--brand-text); }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; }
.footer-mail .icon { color: var(--rd-text); }
.footer-mail:hover { color: var(--ink); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 24px; color: var(--muted); font-size: .875rem; }
.breadcrumb li + li::before { content: '/'; margin-right: 10px; color: var(--faint); }

/* Shared pieces */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 .875rem/1.4 var(--font-sans); letter-spacing: .01em; color: var(--rd-text); }
.eyebrow::before { content: ''; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.button {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px;
  background: linear-gradient(180deg, #E5470C, #C73600); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 22px -12px rgba(209, 58, 0, .7);
  font: 650 1.0625rem/1.2 var(--font-sans); letter-spacing: -.01em; cursor: pointer; transition: filter .18s var(--ease), box-shadow .18s var(--ease);
}
.button:hover { filter: brightness(.94) saturate(1.08); }
.button .icon { transition: transform .2s var(--ease); }
.button:hover .icon { transform: translateX(3px); }
.button:active { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12); }
.button:focus-visible { outline: 2px solid var(--rd-ink); outline-offset: 3px; }
.button-block { display: flex; width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--rd-text); font-weight: 600; transition: color .18s var(--ease); }
.text-link:hover { color: var(--ink); }
.panel { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--highlight), var(--shadow); }
.platform-mark { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--rd-orange); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 14px -8px rgba(209, 58, 0, .8); }
.platform-mark svg { width: 22px; height: 22px; }

/* Notices: server flash messages */
.notice { position: relative; margin: 0 0 24px; padding: 14px 16px 14px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink-2); font-size: .9375rem; line-height: 1.55; box-shadow: var(--shadow-sm); }
.notice::before { content: ''; position: absolute; top: 21px; left: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.notice.success { border-color: color-mix(in srgb, var(--green-ink) 30%, var(--line)); background: color-mix(in srgb, var(--green-bg) 55%, var(--surface)); color: var(--ink); }
.notice.success::before { background: var(--green-ink); box-shadow: 0 0 0 4px var(--green-bg); }
.notice.error { border-color: color-mix(in srgb, var(--red-ink) 30%, var(--line)); background: color-mix(in srgb, var(--red-bg) 55%, var(--surface)); color: var(--ink); }
.notice.error::before { background: var(--red-ink); box-shadow: 0 0 0 4px var(--red-bg); }
.notice img { width: 160px; height: auto; margin: 12px auto 0; }
.notice b { overflow-wrap: anywhere; }
/* img/bff-avocado.gif has no transparency: it is drawn on #FCFEFC (--mascot-bg). A block that shows it takes
   that colour in both themes and keeps the light palette inside, so the gif has no visible edge. */
.mascot-surface {
  color-scheme: light;
  --surface: #FFFFFF; --surface-2: #FAFAFD;
  --ink: #0C0C14; --ink-2: #33344A; --muted: #5A5C6E; --faint: #868899;
  --line: #E1E1EA; --line-2: #D0D0DC;
  --violet: #5B4FE9; --violet-hover: #4B3FDB; --violet-text: #4C40DC; --violet-soft: #EEECFF;
  --lime-text: #3F5A00; --lime-soft: #F0FCCB;
  --green-bg: #DFF6E8; --green-ink: #126B3C;
  --shadow-sm: 0 1px 2px rgba(16, 16, 32, .05);
  --shadow-lg: 0 2px 4px rgba(16, 16, 32, .04), 0 28px 56px -28px rgba(36, 26, 130, .30);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.notice.mascot-surface { max-width: 520px; margin-inline: auto; padding: 22px 24px; border-color: color-mix(in srgb, var(--green-ink) 24%, var(--line)); background: var(--mascot-bg); color: var(--ink); text-align: center; }
.notice.mascot-surface::before { display: none; }
.notice.mascot-surface img { width: 180px; margin-top: 10px; }
.notice.mascot-surface ~ .page-back { text-align: center; }


/* Home, laid out like a Reddit community: a banner with the avatar, the services as posts (the price sits where
 * Reddit shows the score), the payment card as a sidebar that overlaps the banner, the advantages as a comment thread. */
.rd-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); grid-template-areas: 'banner banner' 'community card' 'feed card'; column-gap: clamp(32px, 5vw, 72px); align-items: start; }
.rd-banner {
  grid-area: banner; position: relative; overflow: hidden; height: clamp(112px, 13vw, 176px); border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 150% at 6% 0%, rgba(255, 205, 175, .6), transparent 62%),
    radial-gradient(48% 130% at 70% 115%, rgba(255, 112, 32, .8), transparent 66%),
    linear-gradient(112deg, #FF4500 0%, #FF5A14 42%, #FF7A3D 74%, #FFA06A 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 26px 48px -30px rgba(209, 58, 0, .7);
}
.rd-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, .26) 1px, transparent 1.6px) 0 0 / 18px 18px;
  -webkit-mask: linear-gradient(100deg, transparent 4%, #000 34%, #000 58%, transparent 80%); mask: linear-gradient(100deg, transparent 4%, #000 34%, #000 58%, transparent 80%);
}
.rd-float { position: absolute; color: #fff; opacity: .5; }
.rd-float .icon { width: 100%; height: 100%; stroke-width: 2; }
.rd-float:nth-child(1) { left: 5%; top: 52%; width: 22px; height: 22px; }
.rd-float:nth-child(2) { left: 15%; top: 18%; width: 34px; height: 34px; opacity: .35; }
.rd-float:nth-child(3) { left: 29%; top: 58%; width: 18px; height: 18px; }
.rd-float:nth-child(4) { left: 40%; top: 22%; width: 28px; height: 28px; opacity: .42; }
.rd-float:nth-child(5) { left: 52%; top: 60%; width: 40px; height: 40px; opacity: .3; }
.rd-float:nth-child(6) { left: 62%; top: 14%; width: 20px; height: 20px; }

.rd-community { grid-area: community; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(16px, 2.2vw, 26px); padding-inline: clamp(8px, 1.6vw, 20px) 0; }
.rd-avatar {
  --size: clamp(80px, 8vw, 104px);
  position: relative; display: grid; place-items: center; width: var(--size); height: var(--size); margin-top: calc(var(--size) / -2); border: 5px solid var(--bg); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FF7A3D, #FF4500 62%, #E03D00); color: #fff; box-shadow: 0 14px 28px -14px rgba(209, 58, 0, .75);
}
.rd-avatar svg { width: 62%; height: 62%; }
.rd-avatar::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; pointer-events: none; }
.rd-intro { padding-top: 18px; }
.rd-intro h1 { max-width: 14ch; }
.pay-lead { max-width: 46ch; margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

/* Payment card: the community sidebar. It rides over the banner's lower edge and stays in view along the feed. */
.pay-stage { grid-area: card; position: sticky; z-index: 2; top: calc(var(--header-h) + 24px); margin-top: calc(clamp(56px, 6vw, 88px) * -1); perspective: 1200px; }
.pay-card {
  --rx: 0deg; --ry: 0deg; --k: 1; --mx: 50%; --my: 0%;
  padding: 24px; border-radius: var(--radius-xl); box-shadow: var(--highlight), var(--shadow-lg);
  transform: rotateX(calc(var(--rx) * var(--k))) rotateY(calc(var(--ry) * var(--k))); transform-style: preserve-3d; transition: transform .5s var(--ease);
}
.pay-card:focus-within { --k: 0; }
/* A light ring runs along the edge (Reddit orange → peach); a soft glare follows the pointer (js/fx.js). */
.pay-card::after {
  content: ''; position: absolute; inset: -1px; z-index: 1; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ring), transparent 0 52%, color-mix(in srgb, var(--rd-orange) 85%, transparent) 68%, #FFB088 78%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.pay-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--rd-orange) 10%, transparent), transparent 65%);
}
.pay-card:hover::before { opacity: 1; }
.pay-card > * { position: relative; }
.pay-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.pay-card-head p { color: var(--muted); font-size: .875rem; font-weight: 600; }
.pay-card-head h2 { font-size: 1.5rem; }
.pay-card .platform-mark { border-radius: 50%; }
.pay-form { display: grid; gap: 18px; }
.pay-form .form-group { display: grid; gap: 8px; margin: 0; }
.pay-form .control-label { color: var(--ink-2); font-size: .9375rem; font-weight: 550; line-height: 1.35; }
.pay-form .form-control {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink);
  font-size: 1.0625rem; font-weight: 500; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-sm); outline: none; appearance: none; -moz-appearance: textfield;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.pay-form .form-control::-webkit-inner-spin-button, .pay-form .form-control::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.pay-form .form-control::placeholder { color: var(--faint); opacity: 1; }
.pay-form .form-control:hover { border-color: color-mix(in srgb, var(--ink) 28%, var(--line-2)); }
.pay-form .form-control:focus { border-color: var(--rd-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rd-orange) 18%, transparent); }
.pay-form .help-block { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.pay-form .help-block:empty { display: none; }
.pay-form .has-error .form-control { border-color: var(--red-ink); }
.pay-form .has-error .form-control:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--red-ink) 16%, transparent); }
.pay-form .has-error .help-block { color: var(--red-ink); }
.pay-form .has-success .form-control { border-color: color-mix(in srgb, var(--green-ink) 55%, var(--line-2)); }
.pay-form .button { margin-top: 4px; }

/* Services feed */
.rd-feed { grid-area: feed; margin-top: clamp(32px, 4vw, 48px); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.rd-posts { display: grid; gap: 12px; }
.rd-post { display: grid; grid-template-columns: 104px minmax(0, 1fr); overflow: hidden; }
.rd-vote { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 16px 8px; border-right: 1px solid var(--line); background: var(--surface-2); text-align: center; }
.rd-up { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 4px; border-radius: 50%; color: var(--faint); transition: color .2s var(--ease), background-color .2s var(--ease); }
.rd-up .icon { width: 20px; height: 20px; }
.rd-vote strong { color: var(--ink); font: 800 1.125rem/1.15 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-per { color: var(--muted); font-size: .8125rem; }
.rd-post-body { display: grid; align-content: center; gap: 4px; padding: 18px 22px; }
.rd-post-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.rd-flair { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--rd-bg); color: var(--rd-text); font: 800 .75rem/1 var(--font-display); letter-spacing: 0; }
.rd-post-body h3 { font-size: 1.1875rem; }
.rd-post-body h3 + p { color: var(--muted); font-size: .9375rem; }
.rd-handle { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.rd-post.is-custom { border-style: dashed; background: var(--surface-2); box-shadow: none; }
.rd-post.is-custom .rd-vote { border-right-style: dashed; background: transparent; }
.rd-post.is-custom .rd-up { margin: 0; background: var(--lime-soft); color: var(--lime-text); }
.rd-post:hover .rd-up { background: var(--rd-orange); color: #fff; }
.rd-post.is-custom:hover .rd-up { background: var(--lime-soft); color: var(--lime-text); }

/* Advantages: the opening post on the left, the replies as a thread with a line through the avatars */
.rd-thread { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(32px, 5vw, 72px); row-gap: 28px; align-items: start; margin-top: clamp(56px, 8vw, 104px); }
.rd-op { position: sticky; top: calc(var(--header-h) + 32px); }
.rd-op > p:not(.eyebrow) { max-width: 52ch; margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
.rd-replies { position: relative; display: grid; gap: 14px; view-timeline: --thread block; }
.rd-replies::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: linear-gradient(var(--rd-orange), color-mix(in srgb, var(--rd-orange) 12%, var(--line))); transform-origin: top; }
.rd-reply { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.rd-reply-avatar { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rd-bg); color: var(--rd-text); box-shadow: 0 0 0 4px var(--bg); }
.rd-reply-avatar .icon { width: 20px; height: 20px; }
.rd-reply-body { padding: 14px 18px; border: 1px solid var(--line); border-radius: 4px var(--radius-lg) var(--radius-lg); background: var(--surface); box-shadow: var(--highlight), var(--shadow-sm); }
.rd-reply-body h3 { font-size: 1rem; }
.rd-reply-body p { margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }


/* Success page and errors */
.page-back { margin-top: 8px; }
.error-card { max-width: 640px; padding: clamp(22px, 3vw, 32px); }
.error-card h1 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.error-card .notice { margin: 18px 0; }
.error-card > p { color: var(--muted); }
.error-card > p + p { margin-top: 8px; }

@media (max-width: 1023px) {
  .rd-page { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'banner' 'community' 'card' 'feed'; }
  .pay-stage { position: relative; top: auto; max-width: 560px; margin-top: 24px; }
  .rd-thread { grid-template-columns: minmax(0, 1fr); }
  .rd-op { position: static; }
}
@media (max-width: 900px) { .header-mail { display: none; } }
@media (max-width: 600px) {
  .rd-banner { height: 84px; border-radius: var(--radius-lg); }
  .rd-community { grid-template-columns: minmax(0, 1fr); padding-inline: 4px 0; }
  .rd-avatar { --size: 64px; border-width: 4px; }
  .rd-avatar::after { inset: -4px; }
  .rd-intro { padding-top: 10px; }
  .pay-lead { margin-top: 12px; font-size: 1.0625rem; }
  .pay-card { padding: 20px; }
  .rd-post { grid-template-columns: 88px minmax(0, 1fr); }
  .rd-vote { padding: 14px 6px; }
  .rd-vote strong { font-size: 1rem; }
  .rd-post-body { padding: 14px 16px; }
  .rd-post-body h3 { font-size: 1.0625rem; }
}
@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .header-tag { width: 30px; padding: 0; justify-content: center; }
  .header-tag span { display: none; }
  .language-switch a { min-width: 30px; }
  .theme-toggle { width: 36px; height: 36px; }
  .rd-float:nth-child(n+5) { display: none; }
}
@media (max-width: 359px) { .header-tag { display: none; } .brand { gap: 8px; font-size: 1rem; } .rd-post { grid-template-columns: 80px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Motion: transform and opacity only, layout never depends on it; all of it is off under reduced motion. */
@property --ring { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.h1-accent { background: linear-gradient(100deg, var(--rd-ink) 0%, #F2570F 45%, var(--rd-ink) 70%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.button::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: translateX(-130%) skewX(-18deg); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .rd-intro > * { animation: fx-rise .9s var(--ease) both; }
  .rd-intro > :nth-child(2) { animation-delay: .07s; }
  .rd-intro > :nth-child(3) { animation-delay: .14s; }
  .h1-accent { animation: fx-sheen 2.4s var(--ease) .5s both; }
  .rd-banner { animation: fx-banner .9s var(--ease) both; }
  /* Upvote arrows rise through the banner, each on its own beat. */
  .rd-float { animation: fx-float 9s linear infinite; }
  .rd-float:nth-child(2) { animation-duration: 12s; animation-delay: -4s; }
  .rd-float:nth-child(3) { animation-duration: 8s; animation-delay: -6s; }
  .rd-float:nth-child(4) { animation-duration: 11s; animation-delay: -2s; }
  .rd-float:nth-child(5) { animation-duration: 14s; animation-delay: -9s; }
  .rd-float:nth-child(6) { animation-duration: 10s; animation-delay: -7s; }
  .rd-avatar { animation: fx-avatar .9s var(--ease) .15s both; }
  .rd-avatar::after { animation: fx-ping 2.2s var(--ease) 1s 2; }
  .rd-avatar:hover svg { animation: fx-wiggle .6s ease-in-out; }
  .pay-stage { animation: fx-card-in 1.1s var(--ease) .12s both; }
  .pay-card::after { animation: fx-ring 7s linear infinite; }
  .button:hover::after { transform: translateX(330%) skewX(-18deg); transition: transform .8s var(--ease); }
  .rd-post, .rd-reply-body { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
  .rd-post:hover { transform: translateY(-3px); border-color: var(--rd-line); box-shadow: var(--highlight), var(--shadow-lg); }
  .rd-post:hover .rd-up .icon { animation: fx-upvote .6s var(--ease); }
  .rd-post.is-custom:hover .rd-up .icon { animation: fx-spin .8s var(--ease); }
  .rd-reply:hover .rd-reply-body { border-color: var(--rd-line); box-shadow: var(--highlight), var(--shadow); }
  /* Scroll-linked where supported (Chrome, Edge, Safari 26+): posts travel in, the thread line draws, the replies follow it. */
  @supports (animation-timeline: view()) {
    /* Ranges end when the element is fully in view, so whatever the first screen shows fully is already settled. */
    .rd-posts > li { animation: fx-lift linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .rd-posts > li:nth-child(2) { animation-range: entry 12% entry 100%; }
    .rd-posts > li:nth-child(3) { animation-range: entry 24% entry 100%; }
    .rd-replies::before { animation: fx-draw linear both; animation-timeline: --thread; animation-range: entry 10% contain 40%; }
    .rd-reply { animation: fx-reply linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .rd-op h2 { animation: fx-title linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .rd-post:hover { translate: 0 -3px; transform: none; }
  }
}
@keyframes fx-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fx-card-in { from { opacity: 0; transform: translateY(44px) rotateX(16deg) scale(.95); } }
@keyframes fx-sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes fx-ring { to { --ring: 360deg; } }
@keyframes fx-banner { from { opacity: 0; transform: scale(.985); } }
@keyframes fx-float { 0% { opacity: 0; transform: translateY(70px) scale(.8) rotate(-8deg); } 20%, 75% { opacity: .55; } 100% { opacity: 0; transform: translateY(-80px) scale(1.05) rotate(6deg); } }
@keyframes fx-avatar { from { opacity: 0; transform: scale(.6) rotate(-14deg); } }
@keyframes fx-ping { from { box-shadow: 0 0 0 0 rgba(255, 69, 0, .45); } to { box-shadow: 0 0 0 18px rgba(255, 69, 0, 0); } }
@keyframes fx-wiggle { 25% { transform: rotate(-12deg); } 50% { transform: rotate(9deg); } 75% { transform: rotate(-5deg); } }
@keyframes fx-upvote { 35% { transform: translateY(-5px) scale(1.18); } 60% { transform: translateY(1px); } }
@keyframes fx-spin { to { transform: rotate(180deg) scale(1.1); } }
@keyframes fx-lift { from { opacity: 0; transform: translateY(48px) scale(.95); } }
@keyframes fx-draw { from { transform: scaleY(0); } }
@keyframes fx-reply { from { opacity: 0; transform: translateX(-20px); } }
@keyframes fx-title { from { opacity: 0; transform: translateY(28px); letter-spacing: .02em; } }

/* Legal pages (/legal, /legal/offer, /legal/privacy, /legal/refund, /legal/aml): documents in a readable column with contents,
 * company details as a list. --brand-text is the accent of this site. */
.legal-head { max-width: 1000px; margin-bottom: clamp(28px, 4vw, 44px); }
.legal-head h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); }
.legal-meta { margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.legal-lead { max-width: 62ch; margin-top: 14px; color: var(--ink-2); font-size: 1.0625rem; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.legal-tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink-2); font-size: .9375rem; font-weight: 600; transition: color .15s, border-color .15s; }
.legal-tabs a:hover { border-color: var(--line-2); color: var(--ink); }
.legal-tabs a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.legal-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 18px 18px 18px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); font-size: .9375rem; }
.legal-toc p { margin-bottom: 10px; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.legal-toc ol { display: grid; gap: 7px; padding-left: 1.5em; color: var(--faint); list-style: decimal; line-height: 1.4; }
.legal-toc a { color: var(--ink-2); transition: color .15s; }
.legal-toc a:hover { color: var(--brand-text); }
.legal-text { max-width: 760px; }
.legal-text section { scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-text section + section { margin-top: 36px; }
.legal-text h2 { margin-bottom: 14px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.legal-text p, .legal-text li { color: var(--ink-2); line-height: 1.7; }
.legal-text p + p, .legal-text p + ul, .legal-text ul + p { margin-top: 10px; }
.legal-text ul { display: grid; gap: 4px; padding-left: 1.25em; list-style: disc; }
.legal-text li::marker { color: var(--brand-text); }
.legal-num { margin-right: 4px; color: var(--brand-text); font-weight: 650; font-variant-numeric: tabular-nums; }
.legal-text a:not([class]), .legal-lead a, .legal-disclaimer a { color: var(--brand-text); font-weight: 600; }
.legal-text a:not([class]):hover, .legal-lead a:hover, .legal-disclaimer a:hover { color: var(--ink); }
.legal code { padding: 1px 6px; border-radius: 6px; background: var(--surface-sunken); color: var(--ink); font: 500 .875em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.legal-note { margin-top: 32px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); font-size: .875rem; }
/* AML policy blocks (/legal/aml via _document.php): steps, risk cards, examples and alerts in the site accent --brand-text. */
.legal-text section > * + :is(.legal-steps, .legal-cases, .legal-risks, .legal-alert),
.legal-text section > :is(.legal-steps, .legal-cases, .legal-risks, .legal-alert) + * { margin-top: 14px; }
.legal-steps { display: grid; gap: 12px; counter-reset: legal-step; }
.legal-steps li { position: relative; min-height: 28px; padding-left: 42px; counter-increment: legal-step; }
.legal-steps li::before { content: counter(legal-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--brand-text) 12%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-text) 30%, var(--line)); color: var(--brand-text); font: 700 .875rem/1 var(--font-display); }
.legal-steps li:not(:last-child)::after { content: ''; position: absolute; top: 32px; bottom: -10px; left: 13.5px; width: 1px; background: color-mix(in srgb, var(--brand-text) 30%, var(--line)); }
.legal-risks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 0; }
.legal-risks div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.legal-risks dt { color: var(--ink); font-weight: 650; }
.legal-risks dd { margin: 4px 0 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.6; }
.legal-cases { display: grid; gap: 10px; counter-reset: legal-case; }
.legal-cases li { position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); counter-increment: legal-case; }
.legal-cases li::before { content: counter(legal-case, decimal-leading-zero); position: absolute; top: 14px; left: 18px; color: var(--brand-text); font: 700 .9375rem/1.7 var(--font-display); font-variant-numeric: tabular-nums; }
.legal-alert { display: flex; gap: 10px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--brand-text) 28%, var(--line)); border-radius: var(--radius); background: color-mix(in srgb, var(--brand-text) 7%, var(--surface)); }
.legal-text .legal-alert { color: var(--ink); }
.legal-alert .icon { width: 20px; height: 20px; margin-top: .15em; color: var(--brand-text); }
.legal-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.legal-doc { display: grid; align-content: start; gap: 8px; height: 100%; padding: 22px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.legal-doc:hover { border-color: var(--line-2); box-shadow: var(--highlight), var(--shadow-lg); }
.legal-doc h2 { font-size: 1.25rem; }
.legal-doc p { color: var(--muted); font-size: .9375rem; }
.legal-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--brand-text); font-weight: 600; }
.legal-more .icon { transition: transform .2s var(--ease); }
.legal-doc:hover .legal-more .icon { transform: translateX(3px); }
.legal-requisites { max-width: 860px; margin-top: clamp(36px, 5vw, 56px); }
.legal-requisites h2 { margin-bottom: 16px; }
.legal-dl { display: grid; grid-template-columns: minmax(170px, 250px) minmax(0, 1fr); margin: 0; padding: 4px 22px; }
.legal-dl dt, .legal-dl dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-dl dt:last-of-type, .legal-dl dd:last-of-type { border-bottom: 0; }
.legal-dl dt { padding-right: 16px; color: var(--muted); font-size: .9375rem; }
.legal-dl dd { color: var(--ink); font-weight: 550; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.legal-disclaimer { margin-top: 16px; color: var(--muted); font-size: .875rem; }
@media (max-width: 1023px) {
  .legal-body { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .legal-docs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .legal-dl { grid-template-columns: minmax(0, 1fr); padding: 4px 18px; }
  .legal-dl dt { padding-bottom: 2px; border-bottom: 0; }
  .legal-dl dd { padding-top: 0; }
  .legal-risks { grid-template-columns: minmax(0, 1fr); }
  .legal-cases li { padding-left: 50px; }
  .legal-cases li::before { left: 16px; }
}
