/* ==========================================================================
   BC.GAME Market — Design System
   Brand green from logo: #24EE89. Dark theme default, light theme via
   [data-theme="light"] on <html>.
   ========================================================================== */

/* ---- Tokens ---- */
:root {
  --brand: #24ee89;
  --brand-hover: #4cf5a3;
  --brand-ink: #05291a;              /* text on green fills */
  --brand-text: #24ee89;             /* links / accents on bg */
  --brand-soft: rgba(36, 238, 137, 0.1);
  --brand-glow: rgba(36, 238, 137, 0.28);

  --bg: #0d0f13;
  --bg-gradient: radial-gradient(1000px 500px at 70% -10%, rgba(36, 238, 137, 0.07), transparent 60%);
  --surface: #14171d;
  --surface-2: #1a1f27;
  --border: #262c37;
  --border-strong: #333b49;

  --text: #eaeef5;
  --text-muted: #93a0b4;
  --text-faint: #647082;

  --danger: #ff5c6c;
  --danger-soft: rgba(255, 92, 108, 0.12);
  --success: #24ee89;
  --success-soft: rgba(36, 238, 137, 0.12);
  --warning: #ffc94d;
  --warning-soft: rgba(255, 201, 77, 0.1);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1100px;

  color-scheme: dark;
}

[data-theme='light'] {
  --brand: #24ee89;
  --brand-hover: #12dd77;
  --brand-ink: #05291a;
  --brand-text: #089055;
  --brand-soft: rgba(18, 200, 110, 0.1);
  --brand-glow: rgba(36, 238, 137, 0.35);

  --bg: #f4f6f9;
  --bg-gradient: radial-gradient(1000px 500px at 70% -10%, rgba(36, 238, 137, 0.12), transparent 60%);
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --border: #e1e6ee;
  --border-strong: #c9d2df;

  --text: #10141b;
  --text-muted: #5b6675;
  --text-faint: #8b95a5;

  --danger: #d92d3f;
  --danger-soft: rgba(217, 45, 63, 0.08);
  --success: #0a9d5c;
  --success-soft: rgba(10, 157, 92, 0.1);
  --warning: #b07708;
  --warning-soft: rgba(255, 201, 77, 0.15);

  --shadow: 0 4px 24px rgba(23, 32, 48, 0.08);
  --shadow-sm: 0 2px 8px rgba(23, 32, 48, 0.06);

  color-scheme: light;
}

/* ---- Reset / base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px 72px;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

::selection {
  background: var(--brand);
  color: var(--brand-ink);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Icons ---- */
.icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.feature__icon .icon {
  width: 22px;
  height: 22px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: 600 15px/1.2 var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 0 0 0 var(--brand-glow);
}

.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 4px 20px var(--brand-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-text);
  background: var(--brand-soft);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: 10px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  height: 68px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand span em {
  font-style: normal;
  color: var(--brand-text);
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}

.site-nav a.active {
  color: var(--brand-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--brand);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

[data-theme='light'] .theme-toggle .icon-sun {
  display: block;
}

[data-theme='light'] .theme-toggle .icon-moon {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul a {
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer ul a:hover {
  color: var(--brand-text);
}

/* ---- Page head (shared intro block) ---- */
.page-head {
  text-align: center;
  max-width: 720px;
  margin: 16px auto 40px;
}

.page-head h1 {
  font-size: clamp(28px, 5vw, 40px);
}

.page-head p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* ---- Hero (home) ---- */
.hero {
  text-align: center;
  padding: 56px 16px 64px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 54px);
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-text);
  text-shadow: 0 0 40px var(--brand-glow);
}

.hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand-glow);
}

/* ---- Sections ---- */
.section {
  padding: 48px 0;
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section__head h2 {
  font-size: clamp(24px, 4vw, 32px);
}

.section__head p {
  color: var(--text-muted);
  margin: 0;
}

/* ---- Steps (How it works) ---- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.steps li:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.steps li .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-weight: 800;
  font-size: 17px;
}

.steps h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.steps p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* ---- Feature grid (Why sell to us) ---- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.2s ease;
}

.feature:hover {
  border-color: var(--border-strong);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-size: 20px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* ---- Category pills (buy) ---- */
.category-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.category-nav a {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.category-nav a:hover {
  border-color: var(--brand);
  color: var(--text);
  text-decoration: none;
}

.category-nav a.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}

/* ---- Account cards (buy) ---- */
.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.account-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.account-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.account-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-card__avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-weight: 800;
  font-size: 16px;
}

.account-card__id h3 {
  font-size: 16px;
  margin: 0;
}

.account-card__id .tier {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--warning);
}

.account-card__price {
  margin-left: auto;
  text-align: right;
}

.account-card__price span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.account-card__price strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-text);
}

.account-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.account-card__stats > div {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
}

.account-card__stats strong {
  display: block;
  font-size: 15px;
}

.account-card__stats span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.no-results p {
  margin: 0;
}

/* ---- Notice banner ---- */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 820px;
  margin: 40px auto 0;
  padding: 16px 20px;
  background: var(--warning-soft);
  border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent);
  border-radius: var(--radius);
}

.notice span {
  font-size: 18px;
  line-height: 1.4;
}

.notice p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---- Alerts (contact form feedback) ---- */
.alert {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
}

.alert-success {
  background: var(--success-soft);
  border: 1px solid color-mix(in srgb, var(--success) 40%, transparent);
  color: var(--success);
}

.alert-error {
  background: var(--danger-soft);
  border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
  color: var(--danger);
}

/* ---- Forms ---- */
.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font: 500 15px/1.4 var(--font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}

/* ---- Sell page ---- */
.sell-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.page-head h1 .highlight {
  color: var(--brand-text);
  text-shadow: 0 0 40px var(--brand-glow);
}

/* ---- Offer / account details (sell result) ---- */
.offer-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.offer-head h2 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0;
}

.offer-head a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.offer-head a:hover {
  color: var(--danger);
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.offer-card__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.offer-card__profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  object-fit: cover;
}

.offer-card__profile h3 {
  margin: 0;
  font-size: 20px;
}

.offer-card__profile .user-id {
  margin: 2px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.offer-card__profile .likes {
  font-size: 13px;
  color: var(--text-faint);
}

.offer-card__value {
  margin-left: auto;
  text-align: right;
  padding: 14px 20px;
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  border-radius: var(--radius);
}

.offer-card__value span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.offer-card__value strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--brand-text);
  line-height: 1.1;
}

.offer-card__value .offer-card__value-msg {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 260px;
}

/* Standalone offer value (no profile beside it) — full width, centered. */
.offer-card__value--solo {
  margin: 0 0 20px;
  text-align: center;
}

.offer-card__value--solo .offer-card__value-msg {
  max-width: none;
}

/* Single row that scrolls sideways when there are many medals */
.offer-card__badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.offer-card__badges::-webkit-scrollbar {
  height: 6px;
}

.offer-card__badges::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}

.offer-card__badges::-webkit-scrollbar-track {
  background: transparent;
}

.offer-card__badges span {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.offer-card__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.offer-card__stats > div {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}

.offer-card__stats span {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.offer-card__stats strong {
  font-size: 15px;
}

.offer-card__note {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.offer-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.offer-card__actions .btn {
  flex: 1;
  min-width: 160px;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: var(--border-strong);
}

.faq-list summary {
  padding: 18px 48px 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--brand-text);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---- CTA panel (FAQ bottom, etc.) ---- */
.cta-panel {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
}

.cta-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-size: 24px;
  font-weight: 800;
}

.cta-panel h2 {
  font-size: 22px;
}

.cta-panel p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-panel h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channels a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.contact-channels a:hover {
  border-color: var(--brand);
  text-decoration: none;
  transform: translateY(-2px);
}

.contact-channels__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-text);
}

.contact-channels__icon .icon {
  width: 20px;
  height: 20px;
}

.contact-channels h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.contact-channels p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.cf-turnstile {
  margin-bottom: 18px;
}

/* ---- Legal pages (terms / privacy) ---- */
.legal-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: legal;
}

.legal-list li {
  counter-increment: legal;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 14px;
}

.legal-list h2 {
  font-size: 17px;
  margin-bottom: 8px;
}

.legal-list h2::before {
  content: counter(legal) '. ';
  color: var(--brand-text);
}

.legal-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

.legal-foot {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--text-muted);
}

.legal-foot small {
  display: block;
  margin-top: 6px;
  color: var(--text-faint);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 760px;
  margin: 32px auto;
}

/* ---- Error page ---- */
.error-page {
  text-align: center;
  padding: 72px 16px;
}

.error-page .status-code {
  display: block;
  font-size: clamp(72px, 15vw, 140px);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-text);
  text-shadow: 0 0 60px var(--brand-glow);
  margin-bottom: 8px;
}

.error-page h1 {
  font-size: clamp(24px, 4vw, 34px);
}

.error-page p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 28px;
}

.error-page__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .offer-card__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-card__value {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .site-nav a {
    padding: 12px 14px;
    font-size: 16px;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding: 32px 8px 40px;
  }

  main {
    padding: 28px 16px 56px;
  }
}
