/* ============================================================
   styles.css — structural styles, no hardcoded brand colors.
   Uses tokens from theme.css only.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: #2a00ff; }
input, select, textarea { font: inherit; color: inherit; margin: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s-4);
}

.hidden { display: none !important; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 40;
  background: transparent;
  pointer-events: none;
  transition: top .3s var(--ease);
}
.nav--docked {
  top: 0;
}
.nav--scrolled .nav-inner {
  background: rgba(13,13,13,.88);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 6px 22px;
  background: rgba(17,17,17,.8);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 999px;
  backdrop-filter: saturate(160%) blur(14px);

  pointer-events: auto;
  transition: background .3s var(--ease), border-radius .3s var(--ease);
}
.nav--docked .nav-inner {
  border-radius: 0 0 32px 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.nav-logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: var(--s-5); color: var(--c-text); font-size: 14px; }
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--c-text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--c-text); }
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-right { display: flex; align-items: center; gap: var(--s-3); justify-self: end; }
/* ============ NAV REPORT BUTTON ============ */
.nav-report-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--c-accent-ink);
  background: var(--c-accent-2);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
}
.nav-report-btn:hover { color: var(--c-accent-ink); background: var(--c-accent); }
.nav-report-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.nav--has-report .nav-report-btn { opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (max-width: 820px) { .nav-report-btn { display: none; } }
@media (max-width: 820px) { .nav-logo img, .footer-logo-link img { height: 28px; } }

/* ============ HEADER SOCIALS ============ */
.nav-socials { display: inline-flex; align-items: center; gap: 6px; }
.nav-soc {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--c-text-dim);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-soc:hover { color: var(--c-text); background: var(--c-surface-2); }
.nav-soc:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
/* ============ BURGER ============ */
.nav-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: none; border: none; cursor: pointer;
  color: #fff; padding: 0;
}
.nav-burger:hover { color: #fff; }
.nav-burger .burger-mid { transition: opacity .2s; }
.nav--open .nav-burger .burger-top  { transform: translateY(7px) rotate(45deg); }
.nav--open .nav-burger .burger-mid  { opacity: 0; }
.nav--open .nav-burger .burger-bot  { transform: translateY(-7px) rotate(-45deg); }
.nav-burger path { transition: transform .25s var(--ease), opacity .2s; transform-box: fill-box; transform-origin: center; }

/* ============ MOBILE DRAWER ============ */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);

  z-index: 39;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.nav-overlay.is-visible { opacity: 1; pointer-events: auto; }

.nav-drawer {
  display: none;
  position: absolute; top: 84px; left: 0; right: 0;
  padding: var(--s-5) var(--s-5) var(--s-6);
  z-index: 41;
  pointer-events: auto;
}
.nav--open .nav-drawer { display: block; }
.nav-drawer-links {
  display: flex; flex-direction: column; gap: var(--s-4);
}
.nav-drawer-links a {
  font-size: 18px; color: var(--c-text-dim);
  transition: color .15s var(--ease);
}
.nav-drawer-links a:hover { color: var(--c-text); }

@media (max-width: 820px) {
  .nav-socials { display: none; }
  .nav-burger   { display: inline-flex; }
}

/* ============ LANGUAGE DROPDOWN ============ */
.lang-dd { position: relative; }
.lang-dd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: transparent; color: var(--c-text);
  border: none; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  cursor: pointer;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.lang-dd-btn:hover { background: var(--c-surface-2); }
.lang-dd-btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.lang-dd-caret { font-size: 9px; opacity: .6; transition: transform .15s var(--ease); }
.lang-dd[data-open="true"] .lang-dd-caret { transform: rotate(180deg); opacity: .9; }

.lang-dd-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 64px;
  background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: 10px;
  padding: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity .12s var(--ease), transform .12s var(--ease);
  z-index: 50;
  list-style: none; margin: 0;
}
.lang-dd[data-open="true"] .lang-dd-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.lang-dd-menu li { margin: 0; }
.lang-dd-item {
  display: block;
  padding: 6px 12px; border-radius: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--c-text-dim);
  text-decoration: none; text-align: center;
  transition: background .1s var(--ease), color .1s var(--ease);
}
.lang-dd-item:hover { background: var(--c-surface-2); color: var(--c-text); }
.lang-dd-item.is-current { color: var(--c-text); background: var(--c-surface-2); }
@media (max-width: 820px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links  { display: none; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 10px;
  font-weight: 500; font-size: 14px; letter-spacing: .01em;
  transition: transform .15s var(--ease), background .15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-accent); color: #ffffff; }
.btn-primary:hover { background: color-mix(in oklab, var(--c-accent) 88%, white); }
.btn-ghost { background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-line); }
.btn-ghost:hover { background: var(--c-surface-2); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}
.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-7) var(--s-5);
  max-width: 1200px;
  width: 100%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  color: var(--c-text-dim); letter-spacing: .1em;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--c-accent) 25%, transparent);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--c-accent) 25%, transparent); }
  50%      { box-shadow: 0 0 0 10px color-mix(in oklab, var(--c-accent) 0%,  transparent); }
}

.h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 100px);
  line-height: .95;
  letter-spacing: -.03em;
  margin: var(--s-5) 0 var(--s-5);
}
.h1 em { font-style: italic; color: var(--c-accent); }

.btn-hero {
  position: relative;
  padding: 0 36px;
  height: 3.5em;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .02em;
  gap: 12px;
  background: transparent;
  border: 3px ridge var(--c-accent);
  border-radius: 10px;
  color: #ffffff;
  box-shadow: none;
  overflow: visible;
  transition: box-shadow 1s var(--ease);
}
.btn-hero > * { position: relative; z-index: 1; }
.btn-hero::after {
  content: "";
  position: absolute;
  top: -10px; left: 3%;
  width: 95%; height: 40%;
  background: var(--c-bg);
  transition: transform .5s;
  transform-origin: center;
  pointer-events: none;
}
.btn-hero::before {
  content: "";
  position: absolute;
  top: 80%; left: 3%;
  width: 95%; height: 40%;
  background: var(--c-bg);
  transition: transform .5s;
  transform-origin: center;
  pointer-events: none;
}
.btn-hero:hover { transform: none; box-shadow: inset 0 0 28px var(--c-accent); }
.btn-hero:hover::before,
.btn-hero:hover::after { transform: scale(0); }
.hero-sub {
  color: #ffffff; font-size: 38px; font-weight: 300;
  max-width: 52ch; margin-top: var(--s-2); margin-bottom: var(--s-6);
}
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-points {
  display: flex; gap: var(--s-5); margin-top: var(--s-7); flex-wrap: wrap;
  color: var(--c-text-mute); font-family: var(--font-mono); font-size: 12px;
}
.hero-points span::before { content: "▸ "; color: var(--c-accent); }

/* ---- hero entrance animation ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}
#hero-title,
#hero-sub,
.hero-cta { opacity: 0; }
.hero-ready #hero-title {
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) 0s both;
}
.hero-ready #hero-sub {
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .18s both;
}
.hero-ready .hero-cta {
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .34s both;
}

/* ---- tracer card ---- */
.tracer {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: 0 30px 60px -30px color-mix(in oklab, black 50%, transparent);
}
.tracer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px 14px;
  border-bottom: 1px dashed var(--c-line);
  font-family: var(--font-mono); font-size: 11px; color: var(--c-text-dim);
  text-transform: uppercase; letter-spacing: .08em;
}
.tracer-head .dots { display: flex; gap: 6px; }
.tracer-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-line-2); display: block; }
.tracer-head .dots i:nth-child(2) { background: var(--c-warn); }
.tracer-head .dots i:nth-child(3) { background: var(--c-ok); }
.tracer-body { position: relative; aspect-ratio: 16/11; }
.tracer-body svg { width: 100%; height: 100%; }
.tracer-foot {
  display: flex; justify-content: space-between;
  padding: 12px 10px 4px;
  font-family: var(--font-mono); font-size: 11px; color: var(--c-text-mute);
  border-top: 1px dashed var(--c-line);
}
.tracer-foot b { color: var(--c-text); font-weight: 500; }
/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-2);
  overflow: hidden; white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--c-text-dim);
}
.ticker-track {
  display: inline-flex; gap: 48px; padding: 14px 0;
  animation: scroll 40s linear infinite;
}
.ticker-track span::before { content: "●"; color: var(--c-accent); margin-right: 10px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ SECTION ============ */
.section { padding: var(--s-9) 0; }
.section-head { margin-bottom: var(--s-7); }
.section-head .h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02;
  letter-spacing: -.02em; margin: var(--s-4) 0 var(--s-3);
}
.section-head p { color: var(--c-text-dim); font-size: 17px; max-width: 58ch; }

/* ============ TIMER ============ */
.timer-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-7);
  align-items: stretch;
}
.timer-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--s-6);
}
.timer-row { display: flex; justify-content: space-between; gap: var(--s-5); }
.timer-row + .timer-row { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px dashed var(--c-line); }
.timer-label { color: var(--c-text-dim); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); }
.timer-val {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -.02em;
  color: var(--c-text);
}
.timer-val small { font-size: 14px; color: var(--c-text-mute); margin-left: 6px; }
.timer-windows { display: flex; gap: 6px; margin-top: var(--s-5); flex-wrap: wrap; }
.timer-windows i {
  font-style: normal; font-family: var(--font-mono); font-size: 11px;
  padding: 6px 10px; border-radius: 999px; background: var(--c-surface-2); color: var(--c-text-dim);
  border: 1px solid var(--c-line);
}
.timer-windows i.hot { background: var(--c-accent); color: var(--c-accent-ink); border-color: transparent; }

.timer-chart {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--s-6); display: flex; min-height: 360px;
}
.timer-chart svg { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .timer-grid { grid-template-columns: 1fr; } }

/* ============ STATS ============ */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden;
}
.stat {
  background: var(--c-bg); padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-2); min-height: 180px;
}
.stat b {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.02em;
}
.stat span { color: var(--c-text); font-size: 15px; }
.stat small { color: var(--c-text-mute); font-size: 13px; margin-top: auto; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ PROCESS ============ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.process-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  min-height: 260px; position: relative;
}
.process-card .k { font-family: var(--font-mono); font-size: 12px; color: var(--c-accent); letter-spacing: .08em; }
.process-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 0; letter-spacing: -.01em; }
.process-card p { color: var(--c-text-dim); font-size: 14px; margin: 0; }
.process-card::after {
  content: ""; position: absolute; right: 18px; top: 18px; width: 18px; height: 18px;
  border: 1px solid var(--c-line-2); border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--c-accent) 30%, transparent 31%);
}
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }

/* ============ FORM ============ */
.form-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-9);
  align-items: start;
}
.form-side { position: sticky; top: 96px; }
.form-side .rln-h2 { max-width: none; margin: var(--s-4) 0 var(--s-3); }
.form-side #form-sub { color: var(--c-text-dim); font-size: 14px; line-height: 1.65; margin: 0; }
.form-side ul { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }
.form-side li {
  display: flex; align-items: center; gap: 10px;
  color: var(--c-text-dim); font-size: 14px;
}
.form-side li::before {
  content: ''; flex-shrink: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-accent);
}

.form-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  padding: 40px;
}
.form-steps {
  display: flex; gap: 4px; margin-bottom: var(--s-5);
}
.form-steps i {
  flex: 1; height: 3px; border-radius: 999px; background: var(--c-line);
  transition: background .3s var(--ease);
}
.form-steps i.active { background: var(--c-accent); }
.form-step-label { font-family: var(--font-mono); font-size: 12px; color: var(--c-text-mute); margin-bottom: var(--s-4); }

.form-row { display: grid; gap: var(--s-4); }
.form-row.two { grid-template-columns: 1fr 1fr; align-items: start; }

/* Every field has exactly: 16px label + 8px gap + 44px control = 68px tall.
   Fixed, simple, no grid magic — so rows always line up. */
.form-field { display: block; min-width: 0; }

.form-field label {
  display: block;
  height: 16px; line-height: 16px;
  font-size: 11px; color: var(--c-text-mute);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em;
  font-weight: 500;
  margin: 0 0 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.form-field {
  color-scheme: dark;
  accent-color: var(--c-accent);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  background-color: var(--c-field);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 0 14px;
  color: var(--c-text);
  font: inherit; font-size: 14px; line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.form-field textarea {
  height: auto; min-height: 96px; padding: 12px 14px; resize: vertical;
}

/* Kill native number spinners — they push layout and look awful in dark theme */
.form-field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.form-field input[type="number"]::-webkit-outer-spin-button,
.form-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}

/* Required-field asterisk */
.form-field label .req { color: var(--c-accent); margin-left: 2px; font-weight: 600; }
.form-field.has-err label .req { color: var(--c-danger); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--c-text-mute); opacity: .7; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: color-mix(in oklab, var(--c-line) 40%, var(--c-text-mute)); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-accent) 22%, transparent);
  background-color: color-mix(in oklab, var(--c-field) 80%, var(--c-surface));
}

/* Native select — strip OS styling + inline SVG chevron.
   IMPORTANT: we use background-color (not background shorthand) on :focus,
   so the chevron image isn't wiped out. */
.form-field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%239aa29f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.form-field select:focus {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230286F4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
}
.form-field select option { background-color: var(--c-bg); color: var(--c-text); }
.form-field select.is-placeholder { color: var(--c-text-mute); }

.form-field .err { display: none; } /* legacy node, not used anymore — error shown inline in placeholder/option */
.form-field.has-err label { color: var(--c-danger); }
.form-field.has-err input,
.form-field.has-err select,
.form-field.has-err textarea { border-color: var(--c-danger); }
.form-field.has-err input::placeholder,
.form-field.has-err textarea::placeholder { color: var(--c-danger); opacity: 1; }
.form-field.has-err select.is-placeholder { color: var(--c-danger); }
.form-field.has-err input:focus,
.form-field.has-err select:focus,
.form-field.has-err textarea:focus {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-danger) 22%, transparent);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 8px 12px; border-radius: 999px;
  background: var(--c-bg); border: 1px solid var(--c-line);
  font-family: var(--font-mono); font-size: 12px; color: var(--c-text-dim);
  cursor: pointer; transition: all .15s var(--ease);
}
.chip:hover { color: var(--c-text); border-color: var(--c-line-2); }
.chip.on { background: var(--c-accent); color: var(--c-accent-ink); border-color: transparent; }

.form-nav { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-5); }

/* Gap between step blocks (rows, standalone fields, checkboxes) — applied as
   grid gap so it only acts on DIRECT children of #form-body and does NOT
   leak into .form-row.two (where siblings are side-by-side columns). */
#form-body { display: grid; gap: var(--s-4); }

/* Checkbox row */
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.4; color: var(--c-text-dim);
  cursor: pointer; user-select: none;
}
.form-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px;
  border: 1px solid var(--c-line); border-radius: 4px;
  background: var(--c-bg); cursor: pointer; position: relative;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.form-check input[type="checkbox"]:checked {
  background: var(--c-accent); border-color: var(--c-accent);
}
.form-check input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--c-accent-ink); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-check.has-err input[type="checkbox"] { border-color: var(--c-danger); }
.form-check.is-required span::after {
  content: " *"; color: var(--c-accent);
}

/* File picker */
.form-files-hint {
  font-size: 12px; color: var(--c-text-mute); margin: -2px 0 10px; line-height: 1.45;
}
.form-files-add {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; font-size: 13px;
}
.form-files-list {
  list-style: none; padding: 0; margin: 10px 0 0;
  display: grid; gap: 6px;
}
.form-files-empty {
  font-size: 12px; color: var(--c-text-mute); font-family: var(--font-mono);
  padding: 6px 0;
}
.form-files-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--c-bg); border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 8px 10px;
  font-size: 13px;
}
.form-files-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-files-size { font-family: var(--font-mono); font-size: 11px; color: var(--c-text-mute); }
.form-files-rm {
  width: 22px; height: 22px; border-radius: 50%;
  background: transparent; border: 1px solid var(--c-line); color: var(--c-text-dim);
  cursor: pointer; display: grid; place-items: center; font-size: 14px; line-height: 1;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.form-files-rm:hover { border-color: var(--c-danger); color: var(--c-danger); }
.form-files-err {
  color: var(--c-danger); font-size: 12px; margin-top: 8px; font-family: var(--font-mono);
}
.form-files-err:empty { display: none; }

.form-done {
  text-align: center; padding: var(--s-7) var(--s-4);
}
.form-done .tick {
  width: 56px; height: 56px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink);
  display: grid; place-items: center; margin: 0 auto var(--s-4); font-size: 28px;
}
.form-done h3 { font-family: var(--font-display); font-size: 34px; margin: 0 0 var(--s-3); font-weight: 400; }
.form-done p { color: var(--c-text-dim); max-width: 44ch; margin: 0 auto var(--s-5); }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-side { position: static; }
  .form-row.two { grid-template-columns: 1fr; }
}

/* ============ SERVICES ============ */
#assessment { padding-bottom: 100px; }
#services { padding-top: 0; }
#services .rln-body { padding-top: 60px; }
.sec-join {
  height: 100px;
  position: relative;
}
.sec-join::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.12);
}
#recovery .rln-shell,
#services .rln-shell,
#report .rln-shell,
#contact .rln-shell {
  border: 1px solid rgba(255,255,255,.12);
  background: var(--c-bg);
}
#recovery .rln-body,
#services .rln-body,
#report .rln-body,
#contact .rln-body {
  border: 1px solid rgba(255,255,255,.07);
  background: var(--c-bg);
}

/* ============ CONTACT ============ */
.cnt-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px;
  align-items: center;
}
.cnt-left { margin-top: -32px; }
.cnt-left .rln-h2 { max-width: none; margin: 0 0 var(--s-5); }
.cnt-points {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.cnt-points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,.55);
}
.cnt-points li::before {
  content: ''; flex-shrink: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-accent);
}
.cnt-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 40px;
}
.cnt-canvas {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.12;
  z-index: 0;
}
#contact .rln-body { overflow: hidden; }
#contact .rln-body > *:not(.cnt-canvas) { position: relative; z-index: 1; }
.cnt-form { display: grid; gap: 24px; }
.cnt-label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.4);
}
.cnt-hint {
  margin: 0 0 14px;
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.3);
}
.cnt-radios {
  display: flex; gap: 24px;
}
.cnt-radio {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.55);
  cursor: pointer; user-select: none;
  transition: color .18s var(--ease);
}
.cnt-radio:hover { color: rgba(255,255,255,0.8); }
.cnt-radio input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; min-width: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  cursor: pointer; margin: 0;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.cnt-radio input[type="radio"]:checked {
  border-color: rgba(255,255,255,0.6);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.6);
}
.cnt-radio:has(input:checked) { color: rgba(255,255,255,0.9); }
.cnt-input {
  width: 100%; height: 48px;
  background: #080808;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 0 16px;
  color: var(--c-text); font: inherit; font-size: 14px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.cnt-input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-accent) 22%, transparent);
}
.cnt-submit {
  width: 100%; height: 52px;
  background: var(--c-accent); color: #fff;
  border-radius: 10px;
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s var(--ease);
  margin-top: 8px;
}
.cnt-submit:hover { background: var(--c-accent-2); }
.cnt-done {
  text-align: center; padding: 20px 0;
  font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.6);
}
@media (max-width: 860px) {
  .cnt-grid { grid-template-columns: 1fr; gap: 40px; }
}
.srv-head { margin-bottom: 40px; }
.srv-head .rln-h2 { max-width: none; }
.srv-head-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.srv-head-top .rln-h2 { margin: 0; }
.srv-head-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.srv-head-cta:hover { color: #fff; }
.srv-head-cta svg { width: 16px; height: 16px; }
.srv-sub {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,.42); margin: 0; max-width: 560px;
}
.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
}
.srv-card {
  position: relative;
  background: rgb(10,10,10);
  padding: 36px 32px 40px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .2s;
}
.srv-card:hover { background: rgba(255,255,255,.03); }
.srv-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.srv-badge svg {
  width: 26px; height: 26px;
  color: rgba(255,255,255,.6);
  transition: color .2s var(--ease);
}
.srv-badge:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
}
.srv-badge:hover svg { color: #fff; }
.srv-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.32);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; padding: 4px 12px;
}
.srv-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin: 0;
}
.srv-desc {
  font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,.42); margin: 0; flex: 1;
}
.srv-meta {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .10em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-top: 8px;
}
@media (max-width: 640px) { .srv-grid { grid-template-columns: 1fr; } }

/* ---- AML Compliance card — hero-style blob background ---- */
.srv-card--aml {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #060012 url('media/hero-poster.webp') center/cover no-repeat;
}
.srv-card--aml:hover { background: #060012 url('media/hero-poster.webp') center/cover no-repeat; }

.aml-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .5s ease-out;
}
.aml-bg.is-loaded { opacity: 1; }

.aml-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.srv-card--aml .srv-tag   { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.25); }
.srv-card--aml .srv-title { color: #fff; }
.srv-card--aml .srv-desc  { color: rgba(255,255,255,.75); }
.srv-card--aml .srv-meta  { color: rgba(255,255,255,.55); }

/* ============ CASES ============ */
.cases-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.cases-table thead th {
  text-align: left; font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-mute);
  padding: 14px 16px; border-bottom: 1px solid var(--c-line);
  font-weight: 500;
}
.cases-table tbody td {
  padding: 20px 16px; border-bottom: 1px solid var(--c-line);
}
.cases-table tbody tr { transition: background .15s var(--ease); }
.cases-table tbody tr:hover { background: var(--c-surface); }
.cases-table .y { font-family: var(--font-mono); color: var(--c-text-mute); }
.cases-table .n { font-family: var(--font-display); font-size: 20px; }
.cases-table .chain { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--c-text-mute); margin-top: 2px; }
.cases-table .c { font-family: var(--font-mono); color: var(--c-text-dim); }
.cases-table .s { font-family: var(--font-mono); font-weight: 500; }
.cases-table .r {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--c-text-dim);
}
.cases-table .r::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.cases-table .arrow { color: var(--c-text-mute); text-align: right; }
@media (max-width: 720px) {
  .cases-table .c, .cases-table thead th:nth-child(3), .cases-table thead th:nth-child(6) { display: none; }
  .cases-table tbody td:nth-child(3), .cases-table tbody td:nth-child(6) { display: none; }
}

/* ============ FAQ ============ */
#faq { padding-bottom: 100px; }
.faq-list { margin-top: 40px; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
}
.faq-q {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-size: clamp(15px,1.5vw,19px);
  font-weight: 500; letter-spacing: -.02em;
  transition: color .2s; pointer-events: none;
}
.faq-item:hover .faq-q { color: rgba(255,255,255,.7); }
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 40px; height: 40px;
  color: rgba(255,255,255,.9);
}
.faq-icon svg {
  width: 40px; height: 40px;
  position: absolute; top: 0; left: 0;
  transition: opacity .25s var(--ease);
}
.faq-icon-minus { opacity: 0; }
.faq-item.is-open .faq-icon { color: rgba(255,255,255,.5); }
.faq-item.is-open .faq-icon-plus  { opacity: 0; }
.faq-item.is-open .faq-icon-minus { opacity: 1; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
  pointer-events: none;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; pointer-events: auto; }
.faq-a-inner { overflow: hidden; }
.faq-a-body { padding-bottom: 28px; }
.faq-a-text {
  margin: 0 0 12px;
  font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,.46);
  max-width: 64ch;
}
.faq-more {
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
  color: #2a00ff; font-family: var(--font-mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  cursor: pointer; pointer-events: auto;
}
.faq-more::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: #2a00ff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.faq-more:hover { color: #2a00ff; }
.faq-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============ FEATURED IN MEDIA ============ */
/* ============ FEATURED IN MEDIA ============ */
#media { padding-bottom: 100px; }
.media-head { margin-bottom: 40px; text-align: center; }
.media-head .rln-h2 { max-width: none; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.media-grid .is-extra { display: none; }
.media-grid.is-open .is-extra { display: flex; flex-direction: column; }
.media-card {
  display: flex; flex-direction: column; gap: 22px;
  background: var(--c-surface);
  border-radius: 32px;
  padding: 20px;
  color: inherit;
  transition: background .2s var(--ease);
}
.media-card:hover { background: var(--c-bg-2); }
.media-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  background: var(--c-bg-2);
  flex-shrink: 0;
  position: relative;
}
.media-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  border-radius: inherit;
  transition: opacity .4s var(--ease);
}
.media-card:hover .media-thumb::after { opacity: 0; }
.media-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s var(--ease);
}
.media-card:hover .media-thumb img { transform: scale(1.04); }
.media-title {
  margin: 0;
  font-size: 18px; line-height: 1.4; color: var(--c-text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-foot { display: flex; justify-content: center; margin-top: 32px; }
.media-toggle {
  display: inline-flex; align-items: center;
  padding: 16px 40px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  background: transparent; color: rgba(255,255,255,.6);
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.media-toggle:hover { border-color: rgba(255,255,255,.3); color: var(--c-text); }
@media (max-width: 720px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .media-grid { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer { padding: var(--s-9) 0 var(--s-5); background: #0a0a0a; border-radius: 40px 40px 0 0; margin-top: 50px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-6);
  margin-bottom: var(--s-8);
}
.footer-brand .h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 64px); line-height: 1; margin: 0 0 var(--s-3);
  letter-spacing: -.02em;
}
.footer-brand p { color: var(--c-text-dim); max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-text-mute); margin: 0 0 var(--s-4); font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--c-text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--c-text); }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: var(--s-5);
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-family: var(--font-mono); font-size: 12px; color: var(--c-text-mute);
}
.footer-bot .status::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c-ok); margin-right: 8px; vertical-align: middle; }
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bot { flex-direction: column; }
}

/* ============ TWEAKS PANEL ============ */
.tweaks {
  position: fixed; right: 16px; bottom: 16px; z-index: 100;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--s-4); width: 260px; display: none;
  box-shadow: 0 30px 60px -20px color-mix(in oklab, black 60%, transparent);
}
.tweaks.open { display: block; }
.tweaks h4 { margin: 0 0 var(--s-3); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-dim); }
.tweaks label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 10px; }
.tweaks input[type="color"] { width: 40px; height: 28px; border: 1px solid var(--c-line); border-radius: 6px; padding: 2px; background: var(--c-bg); }
.tweaks select { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 6px; padding: 4px 8px; font-size: 12px; }

/* ============================================================
   Geist-tuned overrides (single-family, unified type)
   ============================================================ */

/* Display headings — Geist needs heavier weight than the old serif */
.h1, .h2, .section-head .h2, .footer-brand .h2,
.process-card h3, .service h3, .form-done h3,
.cases-table .n, .faq-q {
  font-weight: 500;
  letter-spacing: -0.025em;
}

/* Hero title — bigger weight for punch */
.h1 { font-weight: 600; }

/* Hero accent — replaces the old <em> italic. */
.h1 em, .h1 .h-accent {
  font-style: normal;
  font-weight: 700;
  color: var(--c-accent);
}
.hero .h1 .h-accent { color: var(--c-text); }
.hero .h1 {
  background: linear-gradient(to bottom, #ffffff 40%, #a8d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.25em;
  margin-bottom: var(--s-2);
}

/* Footer — brand + 3 cols (was 1.4 + 3×1 grid for H2 brand, now logo is compact) */
.footer-brand .footer-tag { color: var(--c-text-dim); font-size: 15px; max-width: 30ch; margin: var(--s-3) 0 0; }
.footer-logo-link { display: inline-block; }
.footer-bot { display: flex; justify-content: space-between; align-items: center; padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.06); color: var(--c-text-mute); font-family: var(--font-mono); font-size: 12px; }
.footer-bot .status::before { content: "●"; color: var(--c-ok); margin-right: 6px; }

/* Mono blocks — Geist Mono looks great a touch lighter than Inter-mono */
.tracer-head, .tracer-foot, .ticker, .form-step-label,
.form-field label, .chip, .service .tag, .service .meta,
.cases-table thead th, .cases-table .y, .cases-table .c,
.cases-table .s, .cases-table .r, .cases-table .chain,
.hero-points, .form-field .err,
.form-steps + .form-step-label {
  font-feature-settings: "tnum" 1, "ss02" 1;
}

/* ============================================================
   Footer — brand + 3 cols (admin nav_menu parent → children)
   ============================================================ */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
  align-items: start;
}
.footer-brand img { max-height: 48px; margin-bottom: var(--s-3); }
.footer-logo-link { display: inline-block; }
.footer-brand .footer-tag {
  color: var(--c-text-dim); font-size: 15px; max-width: 32ch; margin: var(--s-2) 0 0;
}
.footer-legal {
  display: grid; gap: 4px; margin: var(--s-4) 0 0;
  font-style: normal; font-size: 13px; line-height: 1.5;
  color: var(--c-text-mute); max-width: 34ch;
}
.footer-legal-name { color: var(--c-text-dim); }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-text-mute); margin: 0 0 var(--s-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.footer-col a,
.footer-col .footer-link {
  position: relative;
  color: var(--c-text); text-decoration: none; font-size: 15px;
}
.footer-col a::after,
.footer-col .footer-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--c-text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.footer-col a:hover { color: var(--c-text); }
.footer-col a:hover::after,
.footer-col .footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-link--ico {
  display: inline-flex; align-items: center; gap: 10px;
}
.footer-link-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%;
  color: var(--c-text-dim);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.footer-link--ico:hover .footer-link-ico {
  color: var(--c-text);
}

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ============================================================
   Static page (pages/page.php) — Terms, Privacy и т.п.
   ============================================================ */
.page-article { padding-top: calc(84px + var(--s-6)); padding-bottom: var(--s-8); }

.breadcrumbs {
  font-family: var(--font-mono); font-size: 14px; color: var(--c-text-mute);
  letter-spacing: .04em;
  display: flex; gap: var(--s-2); align-items: center;
  margin-bottom: var(--s-5);
}
.breadcrumbs a { color: var(--c-text-mute); text-decoration: none; transition: color .15s var(--ease); }
.breadcrumbs a:hover { color: var(--c-text); }
.breadcrumbs .sep { opacity: .4; }
.breadcrumbs [aria-current="page"] { color: var(--c-text-dim); }

.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-6);
}

.page-body { font-size: 16px; line-height: 1.7; color: var(--c-text-dim); }
.page-body p { margin: 0 0 var(--s-4); }
.page-body h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em;
  color: var(--c-text); margin: var(--s-7) 0 var(--s-3);
}
.page-body h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; color: var(--c-text); margin: var(--s-5) 0 var(--s-2);
}
.page-body a { color: var(--c-accent); text-decoration: none; }
.page-body a:hover { text-decoration: underline; }
.page-body ul, .page-body ol { padding-left: 1.4em; margin: 0 0 var(--s-4); }
.page-body li { margin-bottom: var(--s-1); }
.page-body img { max-width: 100%; height: auto; border-radius: 12px; margin: var(--s-4) 0; }
.page-body blockquote {
  border-left: 3px solid var(--c-accent);
  padding: var(--s-2) var(--s-4);
  margin: var(--s-4) 0;
  color: var(--c-text-dim);
  background: var(--c-surface);
  border-radius: 0 8px 8px 0;
}

/* ============================================================
   Blog list + single post
   ============================================================ */
.blog-list { padding-top: calc(84px + var(--s-6)); padding-bottom: var(--s-8); }
.blog-empty { font-size: 15px; color: var(--c-text-mute); padding: var(--s-6) 0; }
.blog-cat-desc { font-size: 16px; color: var(--c-text-dim); margin: -8px 0 var(--s-6); max-width: 72ch; }

/* Category pills (above post grid) */
.cat-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: -4px 0 var(--s-6);
}
.cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--c-surface); border: 0; border-radius: 999px;
  color: var(--c-text-dim); text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.cat-pill:hover { color: var(--c-text); }
.cat-pill.is-current { background: rgba(255,255,255,.92); color: #0b0d0c; }
.cat-pill.is-current:hover { background: #fff; color: #0b0d0c; }
.cat-pill-count {
  font-family: var(--font-mono); font-size: 11px; opacity: .55;
  padding: 0 4px;
}
.cat-pill.is-current .cat-pill-count { opacity: .75; }

.post-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.post-card {
  background: var(--c-surface);
  border-radius: 32px;
  height: 100%;
  transition: background .2s var(--ease);
}
.post-card:hover { background: var(--c-bg-2); }
.post-card-link {
  display: flex; flex-direction: column; gap: 22px;
  height: 100%;
  padding: 20px;
  color: inherit; text-decoration: none;
}
.post-card-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  background: var(--c-bg-2);
  flex-shrink: 0;
  position: relative;
}
.post-card-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  border-radius: inherit;
  transition: opacity .4s var(--ease);
}
.post-card:hover .post-card-cover::after { opacity: 0; }
.post-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s var(--ease);
}
.post-card:hover .post-card-cover img { transform: scale(1.04); }
.post-card-cover--empty { background: var(--c-bg-2); }
.post-card-body {
  display: flex; flex-direction: column;
  flex: 1;
}
.post-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: var(--s-2);
}
.post-card-cat {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: color-mix(in oklab, var(--c-surface-2) 50%, var(--c-accent) 20%);
  color: var(--c-text);
}
.post-card-date {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  color: var(--c-text-mute); text-transform: uppercase;
}
.post-card-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; line-height: 1.4; letter-spacing: -0.01em;
  color: var(--c-text); margin: 0;
}
.post-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
  padding-top: var(--s-3);
}
.post-card-tag {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-text-mute);
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .post-grid { grid-template-columns: 1fr; }
}

.pager { display: flex; gap: 6px; margin-top: var(--s-7); justify-content: center; }
.pager-btn {
  min-width: 34px; padding: 6px 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-surface); border: 0; border-radius: 8px;
  color: var(--c-text-dim); text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.pager-btn:hover { color: var(--c-text); }
.pager-btn.is-current { background: rgba(255,255,255,.92); color: #0b0d0c; }
.pager-btn.is-current:hover { background: #fff; color: #0b0d0c; }

/* Single post — full site width, like /terms */
.blog-post { padding-top: calc(84px + var(--s-6)); padding-bottom: var(--s-8); }
.post-meta-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  color: var(--c-text-mute); text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.post-cat-chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in oklab, var(--c-surface-2) 50%, var(--c-accent) 25%);
  color: var(--c-text); text-decoration: none;
  transition: background .15s var(--ease);
}
.post-cat-chip:hover { background: var(--c-accent); color: var(--c-accent-ink); }
.post-cover {
  margin: 0 0 var(--s-6);
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-bg-2);
  aspect-ratio: 4 / 3;
}
.post-cover img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
}

.post-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 32px;
  align-items: start;
}
.post-main { min-width: 0; }
.post-aside {
  position: sticky;
  top: 100px;
  background: #0a0a0a;
  border-radius: 16px;
  padding: 20px;
}
.post-aside-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--c-text);
  margin: 0 0 16px;
}
.post-aside-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.post-aside-item + .post-aside-item { border-top: 1px solid rgba(255,255,255,.06); }
.post-aside-item a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  transition: color .15s var(--ease);
}
.post-aside-item:first-child a { padding-top: 0; }
.post-aside-item:last-child a { padding-bottom: 0; }
.post-aside-cat {
  display: block;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  color: var(--c-text-mute);
  margin-bottom: 4px;
}
.post-aside-link-title {
  display: block;
  font-size: 14px; line-height: 1.45;
  color: var(--c-text-dim);
  transition: color .15s var(--ease);
}
.post-aside-item a:hover .post-aside-link-title { color: var(--c-text); }
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; gap: 0; }
  .post-aside { display: none; }
}

.post-body a { color: var(--c-text); text-decoration: none; }
.post-body a:hover { color: var(--c-text); text-decoration: underline; }

.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s-6) 0 0; }
.post-tag {
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 10px; border-radius: 8px;
  background: var(--c-surface); border: 0;
  color: var(--c-text-mute);
}

/* ============================================================
   HERO 2 — black bg + 6 huge irregular blobs, film-grain overlay
   ============================================================ */

.h2-section {
  position: relative;
  min-height: 88vh;
  padding: 160px 24px 146px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #060012 url('media/hero-poster.webp') center/cover no-repeat;
  border-radius: 0 0 40px 40px;
}

.h2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .5s ease-out;
}
.h2-bg.is-loaded { opacity: 1; }

.h2-center {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}
.h2-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -.025em;
  color: #fff;
  margin: 0 0 28px;
}
.h2-sub {
  margin: 0 auto 44px;
  max-width: 60ch;
  color: rgba(255,255,255,.9);
  font-size: 34px;
  line-height: 1.35;
}
.h2-cta { display: flex; justify-content: center; }
.h2-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(30,30,30,.77);
  border: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(12px);

  transition: background .2s var(--ease), transform .2s var(--ease);
}
.h2-btn:hover { background: rgba(45,45,45,.85); transform: translateY(-1px); color: #fff; }
.h2-btn svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .h2-section { min-height: 88vh; padding: 128px 24px 80px; border-radius: 0 0 24px 24px; }
  .h2-title { font-size: clamp(36px, 8vw, 64px); }
}
@media (max-width: 520px) {
  .h2-section { padding: 108px 20px 64px; border-radius: 0 0 16px 16px; }
  .h2-btn { justify-content: center; }
  .h2-sub { font-size: 22px; margin-bottom: 36px; }
}

/* ============================================================
   RECOVERY LADDER · rln-v2 (current) + rln-v3 / rln-v4 (new variants)
   ============================================================ */

.rln {
  position: relative;
  padding: 0;
  background: var(--c-bg);
  overflow: hidden;
}
.rln .container { position: relative; z-index: 1; }

.rln-head {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}
.rln-eye {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}
.rln-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  max-width: 16ch;
}
.rln-aside {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  margin: 0;
}

.rln-foot {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
}
.rln-foot a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s var(--ease);
}
.rln-foot a:hover { opacity: .65; }
.rln-foot svg { width: 18px; height: 18px; }
.rln-foot--center { justify-content: center; }

/* ─── v2: 4-col grid + watermark + two-tone icons ─── */
.rln-2-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.rln-2-col {
  position: relative;
  padding: 38px 28px 32px;
  border-left: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  isolation: isolate;
  transition: background .25s var(--ease);
}
.rln-2-col:first-child { border-left: 0; }
.rln-2-col:hover { background: rgba(255,255,255,.02); }

.rln-2-wm {
  position: absolute;
  right: -22px;
  bottom: -38px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 230px;
  line-height: .8;
  letter-spacing: -.06em;
  color: rgba(255,255,255,.035);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  transition: color .35s var(--ease);
}
.rln-2-col:hover .rln-2-wm { color: rgba(255,255,255,.07); }

.rln-2-icon {
  position: relative; z-index: 1;
  width: 40px; height: 40px;
  margin-bottom: 22px;
}
.rln-2-icon svg { width: 100%; height: 100%; display: block; }
.rln-2-icon svg .fg { stroke: rgba(255,255,255,.92); }
.rln-2-icon svg .bg { stroke: rgba(255,255,255,.42); }

.rln-2-col h3 {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-weight: 500; font-size: 20px;
  line-height: 1.25; letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 12px;
  min-height: 50px;
}
.rln-2-col p {
  position: relative; z-index: 1;
  margin: 0 0 28px;
  font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,.55);
}
.rln-2-tag {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* ─── v3: 4 horizontal tiles — nested card ─── */
.rln-v3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.rln-v3-outer {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  padding: 10px;
  transition: border-color .25s var(--ease);
}
.rln-v3-outer:hover { border-color: rgba(255,255,255,.13); }

.rln-v3-inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgb(10,10,10);
  padding: 28px 22px 26px;
  height: 100%;
}
/* top-surface glow — dome of soft light from above */
.rln-v3-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 85% 75% at -5% -5%, rgba(255,255,255,.085) 0%, transparent 65%);
}
/* bottom vignette — gentle depth */
.rln-v3-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 90% 50% at 50% 115%, rgba(0,0,0,.45) 0%, transparent 70%);
}

/* watermark digit */
.rln-v3-wm {
  position: absolute;
  right: -10px;
  bottom: -28px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 150px;
  line-height: .8;
  letter-spacing: -.06em;
  color: rgba(255,255,255,.032);
  user-select: none;
  pointer-events: none;
}

.rln-v3-icon {
  position: relative; z-index: 2;
  width: 38px; height: 38px;
  margin-bottom: 20px;
}
.rln-v3-icon svg { width: 100%; height: 100%; display: block; }
.rln-v3-icon svg .fg { stroke: rgba(255,255,255,.90); }
.rln-v3-icon svg .bg { stroke: rgba(255,255,255,.38); }
.rln-v3-inner h3 {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-weight: 500; font-size: 24px;
  line-height: 1.2; letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 10px;
}
.rln-v3-inner p {
  position: relative; z-index: 2;
  margin: 0 0 22px;
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.52);
}
.rln-v3-tag {
  position: relative; z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.32);
}

/* crypto tiles — убираем серый фон, паттерн определяет визуал */
.cpt-tiles .rln-v3-inner {
  background: transparent;
}

/* ─── inline SVG + canvas crypto decorations ─── */
.cpt-bg, .cpt-canvas {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  display: block;
  overflow: visible;
}
.cpt-canvas { background: rgb(4,4,4); border-radius: 16px; }

/* circuit traces */
.ct  { stroke: rgba(255,255,255,.09); stroke-width: .9; fill: none; }
.ct2 { stroke: rgba(255,255,255,.05); stroke-width: .7; fill: none; }
.cp  { fill: rgba(255,255,255,.18); }
.cp2 { fill: rgba(255,255,255,.10); }

/* network graph */
.ce  { stroke: rgba(255,255,255,.07); stroke-width: .7; }
.cn  { fill: rgba(255,255,255,.14); animation: cptNode 2.5s ease-in-out infinite; animation-delay: var(--d,0s); }
@keyframes cptNode {
  0%,100% { fill: rgba(255,255,255,.10); }
  50%      { fill: rgba(255,255,255,.46); }
}

/* hex / hash data stream */
.ch  { font-family: 'Geist Mono', monospace; font-size: 9px; fill: rgba(255,255,255,.09); }
.ch--a { animation: cptHx 4s ease-in-out infinite; }
.ch--b { animation: cptHx 4s ease-in-out 1.4s infinite; }
.ch--c { animation: cptHx 4s ease-in-out 2.7s infinite; }
@keyframes cptHx {
  0%,100% { fill: rgba(255,255,255,.06); }
  50%      { fill: rgba(255,255,255,.24); }
}

/* waveform */
.cw  { fill: none; }
.cw1 { stroke: rgba(255,255,255,.11); stroke-width: .9; }
.cw2 { stroke: rgba(255,255,255,.07); stroke-width: .8; }
.cw3 { stroke: rgba(255,255,255,.04); stroke-width: .7; }
.cscan { stroke: rgba(255,255,255,.18); stroke-width: 1; }

/* blockchain blocks */
.cblk  { stroke: rgba(255,255,255,.11); stroke-width: .9; fill: rgba(255,255,255,.03); }
.carro { stroke: rgba(255,255,255,.10); stroke-width: .8; fill: none; stroke-dasharray: 3 2; }
.carh  { fill: rgba(255,255,255,.14); }
.cbht  { font-family: 'Geist Mono', monospace; font-size: 7px; fill: rgba(255,255,255,.22); text-anchor: middle; }
.cbhn  { font-family: 'Geist Mono', monospace; font-size: 7px; fill: rgba(255,255,255,.35); text-anchor: middle; font-weight: 600; }

/* binary field */
.cbi  { font-family: 'Geist Mono', monospace; font-size: 8px; letter-spacing: .05em; }
.cbi--a { fill: rgba(255,255,255,.07); animation: cptBi 3.5s ease-in-out infinite; }
.cbi--b { fill: rgba(255,255,255,.05); animation: cptBi 3.5s ease-in-out 1.2s infinite; }
.cbi--c { fill: rgba(255,255,255,.07); animation: cptBi 3.5s ease-in-out 2.3s infinite; }
@keyframes cptBi {
  0%,100% { fill: rgba(255,255,255,.05); }
  50%      { fill: rgba(255,255,255,.18); }
}

/* 6-col variant for crypto pattern section */
.rln-v3-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

/* 1-col variant: single full-width tile */
.rln-v3-grid--1 { grid-template-columns: 1fr; }

/* 3-col variant: track record stats */
.rln-v3-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* ─── stat card numbers ─── */
.axn-stat-num {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.axn-stat-suf {
  font-size: .42em;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,.45);
  margin-left: 2px;
}
.axn-stat-rule {
  position: relative; z-index: 2;
  width: 28px; height: 1px;
  background: rgba(255,255,255,.14);
  margin: 20px 0 18px;
}

/* ─── lift: recovery section overlaps hero by 50 px ─── */
.rln--lift {
  margin-top: -50px;
  position: relative;
  z-index: 2;
  background: transparent;
  overflow: visible;
  padding-top: 0;
}

/* outer shell — full container-width rounded card.
   Gradient border technique: transparent real border + two-layer background.
   Layer 1 (padding-box) = dark fill; Layer 2 (border-box) = gradient that
   shows through the transparent border — corners render correctly at any radius. */
.rln-shell {
  position: relative;
  border-radius: 40px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--c-bg), var(--c-bg)) padding-box,
    linear-gradient(to bottom,
      rgba(255,255,255,.14) 0%,
      rgba(255,255,255,.07) 44%,
      transparent 70%) border-box;
  padding: 10px;
}

/* inner card — same border technique, slightly dimmer */
.rln-body {
  position: relative;
  border-radius: 35px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--c-bg), var(--c-bg)) padding-box,
    linear-gradient(to bottom,
      rgba(255,255,255,.09) 0%,
      rgba(255,255,255,.04) 44%,
      transparent 68%) border-box;
  padding: clamp(44px,6vh,72px) clamp(24px,3vw,48px);
}

/* rln V3 — three columns, vertical dividers only, no boxes */
.rln3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 48px;
}
.rln3-col {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.rln3-col:last-child { border-right: 0; }
.rln3-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 12px;
}
.rln3-lab {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
@media (max-width: 600px) {
  .rln3-cols { grid-template-columns: 1fr; }
  .rln3-col { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 28px 0; }
  .rln3-col:last-child { border-bottom: 0; }
}

/* rln V2 — single card-bg container, centered header */
.rln2-wrap {
  position: relative;
  overflow: hidden;
  background: rgb(10,10,10);
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.07);
  padding: clamp(44px,6vh,72px) clamp(24px,3vw,48px);
}
.rln2-wrap > *:not(.rln2-canvas):not(.rln2-waves) { position: relative; z-index: 1; }
.rln2-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 140%;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
}
@media (max-width: 480px) { .rln2-canvas { display: none; } }
.rln2-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 340px;
  pointer-events: none;
  opacity: 0.14;
  z-index: 0;
}
@media (max-width: 480px) { .rln2-waves { height: 200px; } }
.rln2-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.rln2-head .rln-eye { display: block; margin-bottom: 14px; }
.rln2-head .rln-h2  { margin: 0 auto 16px; max-width: none; }
.rln2-sub {
  margin: 0;
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,.42);
}

/* ── Assessment partner ticker ── */
.rln-ticker {
  overflow: hidden;
  margin-top: 20px;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.rln-ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: rln-scroll 32s linear infinite;
}
.rln-ticker-item {
  display: inline-block;
  padding: 8px 20px;
  margin-right: 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes rln-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .rln-ticker-track { animation: none; }
}

/* Responsive — rln */
@media (max-width: 820px) {
  .rln { padding: 80px 0 64px; }
  .rln--lift { margin-top: -32px; padding-top: 0; }
  .rln-shell { border-radius: 28px; }
  .rln-body  { border-radius: 23px; padding: 32px 20px; }
  .rln-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }
  .rln-aside { font-size: 13px; }
  .rln-foot { margin-top: 32px; }
  .rln-foot a { font-size: 14px; }
  .rln-v3-grid { grid-template-columns: 1fr 1fr; }
  .rln-v3-grid--3 { grid-template-columns: 1fr 1fr; }
  .rln-v3-grid--6 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .rln--lift { margin-top: -24px; }
  .rln-shell { border-radius: 20px; }
  .rln-body  { border-radius: 16px; padding: 28px 16px; }
  .rln-v3-grid,
  .rln-v3-grid--3,
  .rln-v3-grid--6 { grid-template-columns: 1fr; }
}

/* ============================================================
   TRACK RECORD V2 — poster / cinematic
   One dominant number at ~140px. Two supporting stats below.
   No boxes, no borders. Pure typographic hierarchy.
   ============================================================ */
.pst { padding: 96px 0 80px; }
.pst-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 56px;
}
.pst-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: 13px;
  transition: color .2s;
}
.pst-cta:hover { color: #fff; }
.pst-cta svg { width: 14px; height: 14px; }
.pst-hero {
  margin-bottom: 52px;
}
.pst-hero-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 13vw, 160px);
  line-height: .9;
  letter-spacing: -.05em;
  color: #fff;
}
.pst-hero-sup {
  font-size: .38em;
  font-weight: 500;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.45);
  vertical-align: super;
}
.pst-hero-lab {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.pst-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 40px;
}
.pst-item {
  flex: 1;
}
.pst-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,.08);
  margin: 4px 48px 0;
  flex-shrink: 0;
}
.pst-item-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 10px;
}
.pst-item-sup {
  font-size: .44em; font-weight: 500;
  color: rgba(255,255,255,.4);
  letter-spacing: 0;
  vertical-align: super;
}
.pst-item-lab {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
  display: flex; flex-direction: column; gap: 4px;
}
.pst-item-sub {
  color: rgba(255,255,255,.22);
  letter-spacing: .06em;
}
@media (max-width: 700px) {
  .pst { padding: 64px 0; }
  .pst-top { margin-bottom: 40px; }
  .pst-hero { margin-bottom: 36px; }
  .pst-row { flex-direction: column; gap: 28px; }
  .pst-divider { display: none; }
}

/* ============================================================
   TRACK RECORD V3 — audit ledger
   Three rows like a verified financial statement.
   Label left, dotted leader, number right. All mono.
   ============================================================ */
.ldg { padding: 80px 0; }
.ldg-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 40px;
}
.ldg-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: 13px;
  transition: color .2s;
}
.ldg-cta:hover { color: #fff; }
.ldg-cta svg { width: 14px; height: 14px; }
.ldg-table {
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.ldg-stamp {
  position: absolute;
  top: -11px; right: 0;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  background: var(--c-bg);
  padding: 0 0 0 16px;
}
.ldg-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: baseline;
  gap: 0 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ldg-label {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
  padding-right: 16px;
}
.ldg-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255,255,255,.12);
  margin-bottom: 4px;
  min-width: 40px;
  align-self: end;
}
.ldg-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -.03em;
  color: #fff;
  white-space: nowrap;
}
.ldg-since {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  white-space: nowrap;
  min-width: 120px;
  text-align: right;
}
@media (max-width: 700px) {
  .ldg { padding: 56px 0; }
  .ldg-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    padding: 20px 0;
  }
  .ldg-label { grid-column: 1; grid-row: 1; }
  .ldg-since { grid-column: 1; grid-row: 2; text-align: left; }
  .ldg-dots { display: none; }
  .ldg-num { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}

/* ============================================================
   ASSESSMENT · NEW — 2 variants on review.
   No numeration, no watermarks, no blue text. Heading positions
   intentionally differ from .rln-head (recovery sits right above).
   Restrained type sizes, harmonious.
   ============================================================ */

.axn {
  position: relative;
  padding: 96px 0;
  background: var(--c-bg);
  overflow: hidden;
  color: #fff;
}
.axn .container { position: relative; z-index: 1; }

.axn .suf {
  font-size: .42em;
  font-weight: 500;
  letter-spacing: -.005em;
  opacity: .85;
  margin-left: 2px;
}

/* Inline text-link CTA shared between variants */
.axn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s var(--ease);
}
.axn-link:hover { opacity: .65; }
.axn-link svg { width: 16px; height: 16px; }
/* ─── A — Centered restrained ─── */
.axn-a-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.axn-a-eye {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.axn-a-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
}

.axn-a-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
  max-width: 920px;
  margin: 0 auto 56px;
}
.axn-a-cell {
  text-align: center;
  padding: 0 8px;
}
.axn-a-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  display: inline-flex; align-items: baseline;
  margin-bottom: 12px;
}
.axn-a-lab {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.axn-a-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
.axn-a-cta p {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,.65);
}

/* Responsive */
@media (max-width: 820px) {
  .axn { padding: 64px 0; }
  .axn-a-head { margin-bottom: 40px; }
  .axn-a-stats {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }
}

/* ============================================================
   MOBILE LAYOUT FIXES
   All rules below are additive — desktop styles are untouched.
   ============================================================ */

/* ── Extra-narrow devices (320px tier) ── */
@media (max-width: 359px) {
  .container { padding: 0 16px; }
}

/* ── Hero subtitle — scale down on tiny screens ── */
@media (max-width: 400px) {
  .h2-sub { font-size: 18px; margin-bottom: 28px; }
}

/* ── Services — cards layout + stacked head ── */
@media (max-width: 640px) {
  .srv-card { padding: 24px 20px 28px; }
  .srv-head-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  #services .srv-head .rln-eye { margin-bottom: 20px; }
  .srv-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .srv-foot .srv-badge {
    position: static;
    flex-shrink: 0;
  }
}

/* ── Contact card — reduce padding inside nested containers ── */
@media (max-width: 640px) {
  .cnt-card { padding: 24px 20px; }
}

/* ── Assessment footer — stack and center on narrow ── */
@media (max-width: 520px) {
  .rln-foot--center {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
}

/* ── Mobile nav drawer — socials block ── */
.nav-drawer-socials {
  display: flex;
  gap: 8px;
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}

/* ── Hero — more breathing room on mobile ── */
@media (max-width: 980px) {
  .h2-section { padding-top: 168px; padding-bottom: 120px; }
  .h2-title { font-size: clamp(42px, 8vw, 68px); }
}
@media (max-width: 520px) {
  .h2-section { padding-top: 148px; padding-bottom: 108px; }
  .h2-title { font-size: clamp(38px, 10vw, 54px); }
}

/* ── Section vertical rhythm — tighter on mobile ── */
@media (max-width: 820px) {
  /* Reduce .rln section padding for all except recovery (which has lift/overlap logic) */
  .rln:not(.rln--lift) { padding-top: 56px; padding-bottom: 48px; }
  /* Recovery → Assessment: zero gap between adjacent cards, same as desktop */
  .rln--lift  { padding-bottom: 0; }
  #assessment { padding-top: 0; }
  /* Flush services bottom + faq top so sec-join line connects the two cards */
  #services { padding-bottom: 0; }
  #faq      { padding-top: 0; padding-bottom: 56px; }
  #media    { padding-bottom: 56px; }
  /* Sec-join connector height matches the tighter rhythm */
  .sec-join { height: 56px; }
}
@media (max-width: 480px) {
  .rln:not(.rln--lift) { padding-top: 48px; padding-bottom: 40px; }
  #faq   { padding-bottom: 48px; }
  #media { padding-bottom: 48px; }
  .sec-join { height: 78px; }
}

/* ── Services card — reduce inner top padding to match Recovery ── */
@media (max-width: 820px) {
  #services .rln-body { padding-top: 32px; }
}

/* ── Contact card — reset negative margin that kills top spacing on mobile ── */
@media (max-width: 820px) {
  .cnt-left { margin-top: 0; }
}

/* ── Footer — less top air, wider side padding ── */
@media (max-width: 820px) {
  .footer { padding-top: var(--s-7); }
  .footer .container { padding-left: var(--s-6); padding-right: var(--s-6); }
}


/* ── Sticky CTA bar (mobile only) ── */
.sticky-cta {
  display: none;
}
@media (max-width: 820px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(18px);
    padding: 12px 16px;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform .3s var(--ease);
    pointer-events: none;
  }
  .sticky-cta.is-visible {
    transform: translateY(0);
    pointer-events: auto;
  }
  .sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-accent-ink);
    text-decoration: none;
    white-space: nowrap;
    background: var(--c-accent-2);
    border: none;
    transition: background .2s var(--ease);
  }
  .sticky-cta-btn:hover { color: var(--c-accent-ink); background: var(--c-accent); }
  .sticky-cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
}

/* ============================================================
   REPORT MODAL
   ============================================================ */
.rmodal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgb(0 0 0 / 50%);
  backdrop-filter: blur(14px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.rmodal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.modal-open { overflow: hidden; }

.rmodal-box {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
  background: #0d0d0d;
  border: 1px solid #0d0244;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
  transform: translateY(14px);
  transition: transform .3s var(--ease);
}
.rmodal.is-open .rmodal-box { transform: translateY(0); }
.rmodal-box::-webkit-scrollbar { width: 4px; }
.rmodal-box::-webkit-scrollbar-track { background: transparent; }
.rmodal-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 999px; }
.rmodal-box::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.28); }

.rmodal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: none; border-radius: 50%;
  color: var(--c-text-dim);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.rmodal-close:hover { background: rgba(255,255,255,0.12); color: var(--c-text); }

.rmodal-title {
  font-size: 26px; font-weight: 700;
  color: var(--c-text);
  margin: 0 0 24px;
  line-height: 1.2;
  padding-right: 44px;
}
.rmodal-sub {
  font-size: 14px;
  color: var(--c-text-dim);
  margin: 0 0 28px;
  line-height: 1.6;
}
.rmodal-form { display: flex; flex-direction: column; gap: 12px; }
.rmodal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.rmodal-req { font-weight: 400; }

.rmodal-contact { display: flex; flex-direction: column; gap: 10px; }
.rmodal-contact-label { font-size: 13px; font-weight: 600; color: var(--c-text); margin: 0; }
.rmodal-contact-tabs { display: flex; gap: 20px; }
.rmodal-contact-tab {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color .18s var(--ease);
  user-select: none;
}
.rmodal-contact-tab:hover { color: rgba(255,255,255,0.8); }
.rmodal-contact-tab input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; min-width: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  cursor: pointer; margin: 0;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.rmodal-contact-tab input[type="radio"]:checked {
  border-color: rgba(255,255,255,0.6);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.6);
}
.rmodal-contact-tab:has(input:checked) { color: rgba(255,255,255,0.9); }

.rmodal-form .form-field label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.8);
  height: auto;
}
.rmodal-form .form-field input,
.rmodal-form .form-field select,
.rmodal-form .form-field textarea {
  appearance: none;
  -webkit-appearance: none;
  background-color: #090909;
  border-color: rgba(255,255,255,0.12);
  border-radius: 10px;
}
.rmodal-form .form-field input:focus,
.rmodal-form .form-field select:focus,
.rmodal-form .form-field textarea:focus { background-color: #090909; }
.rmodal-form .form-field textarea {
  min-height: 64px;
  height: 64px;
  resize: none;
  overflow-y: auto;
}
.rmodal-privacy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin: 2px 0 0;
}

/* Amount input with embedded currency selector */
.rmodal-amount {
  display: flex;
  align-items: stretch;
  background-color: #090909;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  transition: border-color .15s var(--ease);
  overflow: hidden;
}
.rmodal-form .form-field .rmodal-amount input {
  border: 0 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}
.rmodal-form .form-field .rmodal-amount input[name="amount"] {
  flex: 1 1 auto; min-width: 0; padding-right: 8px;
}
.rmodal-form .form-field .rmodal-amount input.rmodal-amount-cur {
  flex: 0 0 110px;
  width: 110px;
  border-left: 1px solid rgba(255,255,255,0.22) !important;
  padding-left: 12px;
  padding-right: 32px;
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%239aa29f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 8px !important;
}
.rmodal-form .form-field .rmodal-amount input.rmodal-amount-cur:hover {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>") !important;
}
/* Hide native datalist indicator (Chromium shows extra arrow otherwise) */
.rmodal-form .form-field .rmodal-amount input.rmodal-amount-cur::-webkit-calendar-picker-indicator {
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  width: 0 !important;
}
.rmodal-form .form-field .rmodal-amount input.rmodal-amount-cur::-webkit-list-button {
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Modal-scoped: keep select chevron neutral (grey default, white on hover) — no blue focus parrot */
.rmodal-form .form-field select:focus {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%239aa29f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
}
.rmodal-form .form-field select:hover {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
}

/* Drag-and-drop file zone — explicit overrides for global .form-field label rules */
.rmodal-form .form-field .rmodal-dropzone {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  height: auto;
  line-height: 1.3;
  margin: 0;
  border-radius: 10px;
  background-color: #090909;
  border: 1px dashed rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}
.rmodal-form .form-field .rmodal-dropzone:hover { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.8); }
.rmodal-form .form-field .rmodal-dropzone.is-drag {
  border-color: var(--c-accent-2);
  background-color: color-mix(in oklab, #090909 85%, var(--c-accent-2));
  color: rgba(255,255,255,0.95);
}
.rmodal-form .form-field .rmodal-dropzone svg { flex: 0 0 auto; color: rgba(255,255,255,0.5); }
.rmodal-form .form-field .rmodal-dropzone-title {
  font-size: 13px;
  font-weight: 500;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rmodal-form .form-field .rmodal-dropzone-title u { text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 2px; }
.rmodal-form .form-field .rmodal-dropzone-title .dz-meta {
  font-weight: 400;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.rmodal-form .form-field .rmodal-dropzone .dz-desktop { display: inline; }
.rmodal-form .form-field .rmodal-dropzone .dz-mobile  { display: none; }
@media (max-width: 820px) {
  .rmodal-form .form-field .rmodal-dropzone .dz-desktop { display: none; }
  .rmodal-form .form-field .rmodal-dropzone .dz-mobile  { display: inline; }
}

.rmodal-file-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rmodal-file-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.04);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.rmodal-file-list li .name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rmodal-file-list li .size { flex: 0 0 auto; font-size: 11px; color: rgba(255,255,255,0.45); }
.rmodal-file-list li .rm {
  flex: 0 0 auto; cursor: pointer;
  background: transparent; border: 0;
  color: rgba(255,255,255,0.5);
  padding: 2px 4px; line-height: 1;
  transition: color .15s var(--ease);
}
.rmodal-file-list li .rm:hover { color: var(--c-danger); }

.rmodal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  user-select: none;
  margin-top: 4px;
}
.rmodal-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.rmodal-consent-mark {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.25);
  background: #090909;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s var(--ease), background .15s var(--ease);
  margin-top: 1px;
}
.rmodal-consent:hover .rmodal-consent-mark { border-color: rgba(255,255,255,0.45); }
.rmodal-consent input:checked ~ .rmodal-consent-mark {
  background: var(--c-accent-2);
  border-color: var(--c-accent-2);
}
.rmodal-consent input:checked ~ .rmodal-consent-mark::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  border: solid var(--c-accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.rmodal-consent input:focus-visible ~ .rmodal-consent-mark {
  outline: 2px solid var(--c-accent-2);
  outline-offset: 2px;
}
.rmodal-consent-text { flex: 1 1 auto; }
.rmodal-consent.has-err .rmodal-consent-mark { border-color: var(--c-danger); }
.rmodal-consent.has-err .rmodal-consent-text { color: var(--c-danger); }

.rmodal-submit {
  width: 100%; height: 52px;
  border-radius: 999px;
  background: var(--c-accent-2);
  color: var(--c-accent-ink);
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background .2s var(--ease);
  margin-top: 20px;
}
.rmodal-submit:hover { background: var(--c-accent); color: var(--c-accent-ink); }
.rmodal-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.rmodal-success {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 16px 0 8px; gap: 16px;
}
.rmodal-success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(43,212,168,0.1);
  border: 1px solid rgba(43,212,168,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ok);
}
.rmodal-success h3 { font-size: 22px; font-weight: 700; color: var(--c-text); margin: 0; }
.rmodal-success p { font-size: 14px; color: var(--c-text-dim); margin: 0; line-height: 1.6; max-width: 380px; }

@media (max-width: 640px) {
  .rmodal { padding: 0; align-items: flex-start; }
  .rmodal-box {
    width: 100%; max-width: 100%;
    height: 100vh; height: 100dvh;
    max-height: none; border-radius: 0;
    padding: 72px 20px 40px;
  }
  .rmodal-row { grid-template-columns: 1fr; }
}

