/* ==========================================================================
   Edge Capital — design system
   Poppins light display type with an italic terracotta accent line,
   alternating ink / cream sections, pill buttons, warm editorial palette.
   ========================================================================== */

:root {
  /* Palette */
  --ink: #0a0a0a;
  --ink-deep: #1c1510;
  --ink-warm: #1c0f06;
  --accent: #c14e2a;
  --accent-hover: #a8401f;
  --accent-soft: #f0956a;
  --accent-red: #c0392b;
  --cream: #f5f0e8;
  --cream-dim: #f4f3f1;
  --paper: #ffffff;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --muted-warm: #8c7b6a;
  --border: #e5e7eb;
  --border-soft: #f3f4f6;
  --gold: #dec481;
  --gold-deep: #a0762f;
  --green: #22c55e;

  /* On-dark */
  --on-dark: rgba(255, 255, 255, 0.55);
  --on-dark-dim: rgba(255, 255, 255, 0.4);
  --hair-dark: rgba(255, 255, 255, 0.12);
  --panel-dark: rgba(255, 255, 255, 0.035);

  /* Type */
  --sans: "Poppins", system-ui, -apple-system, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: 24px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --nav-h: 72px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

/* --------------------------------------------------------------- layout */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  width: 100%;
}
.container--narrow { max-width: 900px; }

.section { padding: 80px 0; position: relative; overflow: hidden; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--warm { background: var(--ink-warm); color: #fff; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }

.section--dark p, .section--warm p { color: var(--on-dark); }

@media (min-width: 900px) { .section { padding: 104px 0; } }

/* ----------------------------------------------------------- typography */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.section--dark .eyebrow, .section--warm .eyebrow { color: var(--accent-soft); }

/* The signature display heading: Poppins 300, tight tracking, italic accent */
.display {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
.display--hero {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.display em {
  font-style: italic;
  color: var(--accent);
}
.section--dark .display em, .section--warm .display em { color: var(--accent); }

/* Serif heading, used for the softer editorial sections */
.serif-head {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 20px;
}

.lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 52ch;
}
.section--dark .lead, .section--warm .lead { color: rgba(255, 255, 255, 0.5); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .lead { margin-inline: auto; }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 32px rgba(193, 78, 42, .28); }
.btn--accent:hover { background: var(--accent-hover); }

.btn--light { background: #fff; color: var(--ink); box-shadow: 0 8px 32px rgba(0, 0, 0, .15); }
.btn--light:hover { background: var(--cream); }

.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--ghost { border-color: var(--hair-dark); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }

.btn--sm { padding: 9px 18px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ----------------------------------------------------------------- logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--oc-logo-fg, var(--ink-deep));
}
.logo__mark { flex-shrink: 0; }
.logo__text { line-height: 1; }
.logo__name {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--oc-logo-fg, var(--ink-deep));
}
.logo__sub {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--oc-logo-sub, var(--muted-warm));
}
.logo--sm .logo__name { font-size: 1.05rem; }
.logo--sm .logo__sub { font-size: .46rem; }
.logo--light {
  --oc-logo-fg: var(--cream);
  --oc-logo-sub: rgba(245, 240, 232, .45);
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}
.nav__links { display: none; align-items: center; gap: 4px; margin-inline: auto; }
.nav__actions { display: none; align-items: center; gap: 12px; margin-left: auto; }

@media (min-width: 1024px) {
  .nav__links, .nav__actions { display: flex; }
  .nav__actions { margin-left: 0; }
}

.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__link:hover { background: rgba(255, 255, 255, .08); }
.nav__link svg { transition: transform .2s; opacity: .6; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Solid state once scrolled past the hero */
.nav.is-stuck {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(0, 0, 0, .05);
}
.nav.is-stuck .nav__link { color: var(--ink); }
.nav.is-stuck .nav__link:hover { background: var(--border-soft); }
.nav.is-stuck .logo { --oc-logo-fg: var(--ink-deep); --oc-logo-sub: var(--muted-warm); }
.nav.is-stuck .btn--ghost { border-color: var(--border); color: var(--ink); }
.nav.is-stuck .btn--ghost:hover { background: var(--border-soft); }
.nav.is-stuck .nav__burger { color: var(--ink); }

/* Dropdown */
.nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s;
}
.nav__menu a:hover { background: var(--cream); }
.nav__menu strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.nav__menu span { display: block; font-size: 12.5px; color: var(--muted); }

.nav__burger {
  display: inline-flex;
  margin-left: auto;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}
@media (min-width: 1024px) { .nav__burger { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 20px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.drawer__close { background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.drawer__group { border-bottom: 1px solid var(--hair-dark); padding: 18px 0; }
.drawer__group > a { font-size: 20px; font-weight: 300; text-decoration: none; }
.drawer__sub { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.drawer__sub a { font-size: 14px; color: var(--on-dark); text-decoration: none; }
.drawer__actions { display: grid; gap: 12px; margin-top: 28px; }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--nav-h) + 56px) 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(193, 78, 42, .28), transparent 62%);
  pointer-events: none;
}
/* Cinematic hero: a single photograph dissolved into the ink background with
   a soft radial mask, so there is no visible edge between photo and section. */
.hero--cinematic { padding: calc(var(--nav-h) + 64px) 0 72px; }
@media (min-width: 1024px) {
  .hero--cinematic { padding: calc(var(--nav-h) + 96px) 0 104px; }
}

.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  opacity: .78;
  /* Dissolve the photograph outward instead of cropping it to a hard edge. */
  mask-image: radial-gradient(120% 110% at 76% 46%, #000 30%, rgba(0, 0, 0, .6) 62%, transparent 92%);
  -webkit-mask-image: radial-gradient(120% 110% at 76% 46%, #000 30%, rgba(0, 0, 0, .6) 62%, transparent 92%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 2%, rgba(10, 10, 10, .78) 26%, rgba(10, 10, 10, .18) 58%, transparent),
    linear-gradient(180deg, rgba(10, 10, 10, .62), transparent 28%, rgba(10, 10, 10, .42) 78%, rgba(10, 10, 10, .88));
}

.hero__inner { position: relative; z-index: 2; display: grid; gap: 44px; align-items: center; }
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; }
}

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 7px 16px;
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius-pill);
  background: var(--panel-dark);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.hero__pulse {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}

.hero__lead { font-size: 19px; line-height: 1.6; margin: 0 0 36px; max-width: 34ch; }

.badge {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--panel-dark);
}
.badge svg { color: var(--accent-soft); flex-shrink: 0; margin-top: 2px; }
.badge b { display: block; font-size: 11px; font-weight: 700; line-height: 1.3; margin-bottom: 2px; }
.badge span { display: block; font-size: 10.5px; color: var(--on-dark-dim); line-height: 1.3; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__note { font-size: 11.5px; color: rgba(255, 255, 255, .35); margin: 0; }

/* -------------------------------------------------- app mock (hero art) */

.mock {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hair-dark);
  background: linear-gradient(160deg, #16100b, #0d0906);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hair-dark);
}
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.mock__bar i:first-child { background: rgba(193, 78, 42, .8); }
.mock__bar span {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--on-dark-dim);
  text-transform: uppercase;
}
.mock__body { padding: 18px; display: grid; gap: 14px; }

.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock__trader { display: flex; align-items: center; gap: 10px; }
.mock__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold-deep));
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.mock__name { font-size: 13px; font-weight: 600; color: #fff; }
.mock__meta { font-size: 11px; color: var(--on-dark-dim); font-family: var(--mono); }
.mock__pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .25);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}
.mock__chart { height: 120px; position: relative; }
.mock__chart svg { width: 100%; height: 100%; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__stat {
  border: 1px solid var(--hair-dark);
  border-radius: 10px;
  padding: 10px;
  background: var(--panel-dark);
}
.mock__stat b { display: block; font-family: var(--mono); font-size: 14px; color: #fff; }
.mock__stat span { font-size: 10px; color: var(--on-dark-dim); text-transform: uppercase; letter-spacing: .08em; }

/* Glass variant: the same panel, sitting on the hero photograph. */
.mock--glass {
  width: min(340px, 100%);
  justify-self: end;
  background: rgba(12, 8, 5, .72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
}
.mock--glass .mock__body { padding: 16px; gap: 12px; }
.mock--glass .mock__chart { height: 82px; }

/* -------------------------------------------------------- support split */

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 60% 1fr; gap: 64px; }
  .split--reverse { grid-template-columns: 1fr 60%; }
  /* Smaller media column, for splits that lead with the copy. */
  .split--media-sm { grid-template-columns: 42% 1fr; gap: 56px; }
  .split--reverse .split__media { order: 2; }
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: linear-gradient(140deg, var(--ink-deep), #3a2418 55%, var(--accent) 165%);
  position: relative;
}
.split__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 46%, transparent 21%, rgba(245, 240, 232, .16) 21.4%, transparent 22.2%),
    radial-gradient(circle at 62% 46%, transparent 31%, rgba(245, 240, 232, .12) 31.4%, transparent 32.2%),
    radial-gradient(circle at 62% 46%, transparent 41%, rgba(245, 240, 232, .08) 41.4%, transparent 42.2%),
    radial-gradient(circle at 62% 46%, rgba(193, 78, 42, .55), transparent 26%);
}
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 240, 232, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 232, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 72%);
}

/* --------------------------------------------------------- pricing tiles */

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 44px; }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.tile {
  background: var(--panel-dark);
  border: 1px solid rgba(255, 255, 255, .1);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.tile__value {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.tile__label { font-size: 14px; font-weight: 600; color: #fff; margin: 0 0 4px; }
.tile__note { font-size: 12.5px; color: var(--on-dark-dim); margin: 0; }

/* ---------------------------------------------------------------- ticker */

.ticker { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 12px; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.quote {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 220px;
}
.quote__sym { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.quote__name { font-size: 11px; color: var(--muted); }
.quote__price { margin-left: auto; text-align: right; }
.quote__price b { display: block; font-family: var(--mono); font-size: 13px; }
.quote__chg { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--green); }
.quote__chg.is-down { color: var(--accent-red); }

/* ----------------------------------------------------------------- stats */

.stats { display: grid; gap: 24px; margin: 40px 0; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat__value {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--accent);
  margin-bottom: 8px;
}
.stat__label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; font-family: var(--mono); }
.section--dark .stat__label { color: var(--on-dark-dim); }

/* --------------------------------------------------------- feature cards */

.grid-4 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-3 { display: grid; gap: 20px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; gap: 20px; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(28, 21, 16, .08); border-color: #dcd5c8; }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(193, 78, 42, .1);
  color: var(--accent);
  margin-bottom: 18px;
}
.card__title { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.card__body { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

.card--dark { background: var(--panel-dark); border-color: rgba(255, 255, 255, .1); }
.card--dark .card__title { color: #fff; }
.card--dark .card__body { color: var(--on-dark); }
.card--dark:hover { border-color: rgba(255, 255, 255, .25); box-shadow: none; }

/* -------------------------------------------------------- bento modules */

.bento { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(260px, auto); }
  .bento__cell--wide { grid-column: span 2; }
  .bento__cell--tall { grid-row: span 2; }
}
.bento__cell {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bento__title { font-size: 22px; font-weight: 400; color: #fff; margin: 0 0 10px; letter-spacing: -.3px; }
.bento__body { font-size: 14.5px; line-height: 1.65; color: var(--on-dark); margin: 0 0 20px; max-width: 42ch; }
.bento__cell .btn { align-self: flex-start; margin-top: auto; }
.bento__art { margin-top: auto; padding-top: 22px; }
.bento__cell--tall .bento__art {
  margin-top: 24px;
  padding-top: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.bento__cell--tall .art-depth__bar { height: 20px; }

/* CSS-drawn module visuals */
.art-orders { display: grid; gap: 8px; }
.art-orders__row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--hair-dark);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--on-dark);
  background: rgba(0, 0, 0, .25);
}
.art-orders__row b { color: #fff; }
.art-orders__tag { color: var(--accent-soft); font-weight: 700; }

.art-depth { display: grid; gap: 4px; }
.art-depth__row { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; }
.art-depth__bar { height: 14px; border-radius: 3px; }
.art-depth__bar--bid { background: linear-gradient(90deg, transparent, rgba(34, 197, 94, .45)); justify-self: end; }
.art-depth__bar--ask { background: linear-gradient(90deg, rgba(193, 78, 42, .5), transparent); }
.art-depth__px { text-align: center; color: var(--on-dark); }

.art-devices { display: flex; align-items: flex-end; justify-content: center; gap: 12px; }
.art-devices i {
  display: block;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .35);
}
.art-devices i::after {
  content: "";
  position: absolute;
  inset: 22% 18% auto 18%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 7px 0 rgba(255, 255, 255, .22), 0 14px 0 rgba(255, 255, 255, .12);
}
.art-devices i:nth-child(1) { width: 108px; height: 72px; }
.art-devices i:nth-child(2) { width: 62px; height: 88px; }
.art-devices i:nth-child(3) { width: 34px; height: 62px; border-radius: 6px; }

.art-support { display: grid; gap: 10px; }
.art-bubble {
  font-size: 12.5px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 82%;
  background: rgba(255, 255, 255, .07);
  color: var(--on-dark);
}
.art-bubble--you { margin-left: auto; background: rgba(193, 78, 42, .22); color: #fff; }

/* ---------------------------------------------------- asset class panels */

.asset {
  display: grid;
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
@media (min-width: 900px) { .asset { grid-template-columns: 300px 1fr; gap: 56px; } }
.asset__head { display: flex; align-items: center; gap: 14px; }
.asset__title { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0; }
.asset__body { font-size: 15.5px; line-height: 1.75; color: var(--muted); margin: 0; }

/* --------------------------------------------------------- styles grid */

.style-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .2s;
}
.style-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.style-card h3 { font-size: 18px; font-weight: 600; margin: 0; }
.style-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; flex: 1; }

/* ------------------------------------------------------------ edge list */

.edge-list { display: grid; gap: 0; }
.edge-item {
  display: grid;
  gap: 6px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hair-dark);
}
@media (min-width: 800px) { .edge-item { grid-template-columns: 340px 1fr; gap: 40px; align-items: baseline; } }
.edge-item h3 { font-size: 19px; font-weight: 500; color: #fff; margin: 0; letter-spacing: -.2px; }
.edge-item p { font-size: 14.5px; color: var(--on-dark); margin: 0; line-height: 1.65; }

/* ------------------------------------------------------------------ faq */

.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq__item { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.faq__q svg { color: var(--accent); flex-shrink: 0; transition: transform .25s; }
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ----------------------------------------------------------- CTA banners */

.cta-band { text-align: center; }
.cta-band .display { margin-bottom: 20px; }
.cta-band .lead { margin: 0 auto 32px; }

.strip {
  display: grid;
  gap: 20px;
  align-items: center;
  border-radius: var(--radius-lg);
  padding: 36px;
  background: linear-gradient(120deg, var(--ink-deep), #34211a);
  color: #fff;
}
@media (min-width: 800px) { .strip { grid-template-columns: 1fr auto; } }
.strip h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 0 0 6px; }
.strip p { margin: 0; color: var(--on-dark); font-size: 14.5px; }
.strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* -------------------------------------------------------- achievements */

.awards { display: grid; gap: 14px; }
@media (min-width: 700px) { .awards { grid-template-columns: repeat(3, 1fr); } }
.award {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--panel-dark);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--on-dark);
}
.award svg { color: var(--gold); flex-shrink: 0; }

.providers { display: flex; flex-wrap: wrap; gap: 10px; }
.provider {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--on-dark);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}

/* --------------------------------------------------------------- footer */

.footer { background: var(--ink-warm); color: #fff; padding: 72px 0 36px; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 56px; } }
.footer__blurb { font-size: 14px; line-height: 1.7; color: var(--on-dark); margin: 20px 0 0; max-width: 34ch; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  margin: 0 0 16px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { font-size: 14px; color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--accent-soft); }

.footer__legal { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--hair-dark); }
.footer__legal p { font-size: 11.5px; line-height: 1.7; color: rgba(255, 255, 255, .38); margin: 0 0 12px; }
.footer__copy { font-size: 11.5px; color: rgba(255, 255, 255, .45); margin: 0; }

/* --------------------------------------------------------- inner pages */

.page-head { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: calc(var(--nav-h) + 64px) 0 64px; }
.page-head > .container { position: relative; z-index: 2; }

/* Photo variant: same dissolve as the homepage hero, scaled to a page header. */
.page-head__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.page-head__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  opacity: .62;
  mask-image: radial-gradient(115% 130% at 78% 50%, #000 26%, rgba(0, 0, 0, .5) 60%, transparent 92%);
  -webkit-mask-image: radial-gradient(115% 130% at 78% 50%, #000 26%, rgba(0, 0, 0, .5) 60%, transparent 92%);
}
.page-head__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 2%, rgba(10, 10, 10, .84) 32%, rgba(10, 10, 10, .34) 66%, rgba(10, 10, 10, .12)),
    linear-gradient(180deg, rgba(10, 10, 10, .72), transparent 34%, rgba(10, 10, 10, .5) 80%, var(--ink));
}
.page-head .display { margin-bottom: 16px; }
.page-head .lead { color: rgba(255, 255, 255, .5); }

.prose p { font-size: 15.5px; line-height: 1.8; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 16px 20px; font-size: 14.5px; border-bottom: 1px solid var(--border); }
th { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
tbody tr:last-child td { border-bottom: 0; }
td:not(:first-child) { font-family: var(--mono); }

.trader { display: flex; flex-direction: column; gap: 16px; }
.trader__top { display: flex; align-items: center; gap: 12px; }
.trader__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.trader__meta b { display: block; font-family: var(--mono); font-size: 15px; }
.trader__meta span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.trader__ret { color: var(--green); }
.trader__risk {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(193, 78, 42, .1);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-left: auto;
}

.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step__n {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.65; }

/* --------------------------------------------------------------- account */

.auth { min-height: 100vh; display: grid; }
@media (min-width: 1000px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth__aside { background: var(--ink); color: #fff; padding: calc(var(--nav-h) + 56px) var(--gutter) 56px; display: none; }
@media (min-width: 1000px) { .auth__aside { display: block; } }
.auth__form-wrap { padding: calc(var(--nav-h) + 48px) var(--gutter) 64px; display: grid; align-content: center; justify-items: center; }
.auth__form { width: 100%; max-width: 420px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(193, 78, 42, .12);
}
.auth__note { font-size: 12.5px; color: var(--muted); margin-top: 18px; text-align: center; }
.auth__note a { color: var(--accent); font-weight: 600; }

/* ---------------------------------------------------------- photography */
/* Photographs are graded warm at build time; these rules only frame them
   and lay a palette veil over the top so they sit inside the ink/terracotta
   scheme rather than next to it. */

/* Photo variant of the editorial split panel — drops the CSS-drawn art and
   reuses ::after as the warm veil. */
.split__media--photo { background: var(--ink-deep); }
.split__media--photo::before { display: none; }
.split__media--photo::after {
  background: linear-gradient(150deg, rgba(193, 78, 42, .20), transparent 52%, rgba(10, 10, 10, .38));
  background-size: auto;
  mask-image: none;
  -webkit-mask-image: none;
}
.split__media--photo img { width: 100%; height: 100%; object-fit: cover; }

/* Full-width photo band with copy laid over it (security) */
.media-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 44px;
  aspect-ratio: 16 / 10;
}
@media (min-width: 700px) { .media-band { aspect-ratio: 128 / 45; } }
.media-band img { width: 100%; height: 100%; object-fit: cover; }
.media-band__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, .92), rgba(10, 10, 10, .70) 58%, rgba(193, 78, 42, .34));
}
.media-band__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px clamp(24px, 5vw, 64px);
  max-width: 620px;
}
.media-band__copy .eyebrow { margin-bottom: 10px; }

/* Section-wide photo backdrop (final CTA) */
.section--photo { position: relative; }
.section--photo > .container { position: relative; z-index: 2; }
.section__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.section__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, rgba(10, 10, 10, .78), rgba(10, 10, 10, .95));
}

/* Photo inside a bento module */
.bento__photo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hair-dark);
  aspect-ratio: 16 / 10;
  position: relative;
}
.bento__photo img { width: 100%; height: 100%; object-fit: cover; }
.bento__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(193, 78, 42, .16), rgba(28, 15, 6, .30));
}

/* Thumbnail alongside an asset-class row */
.asset__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-deep);
}
.asset__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.asset--photo:hover .asset__media img { transform: scale(1.045); }
@media (min-width: 900px) and (max-width: 1099px) {
  .asset--photo .asset__media { grid-column: 1 / -1; aspect-ratio: 128 / 35; }
}
@media (min-width: 1100px) {
  .asset--photo { grid-template-columns: 270px 1fr 300px; gap: 48px; }
}

/* --------------------------------------------------------- how it works */

.step--ruled { border-top: 2px solid var(--border); padding-top: 22px; }
.section--dark .step--ruled, .section--warm .step--ruled { border-top-color: var(--hair-dark); }

/* Ticked claim list, used beside the fund-management photo */
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(193, 78, 42, .12);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: .68em;
  width: 7px;
  height: 3.5px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

/* Compact heading/body pairs inside a split column */
.mini h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 6px; }
.mini p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; }

/* ----------------------------------------------------------- testimonials */

.quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(28, 21, 16, .08); border-color: #dcd5c8; }
.quote-card__stars { display: flex; gap: 3px; color: var(--gold-deep); }
.quote-card__stars svg { fill: currentColor; }
.quote-card__text {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.quote-card__who {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
}
.quote-card__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote-card__name { font-size: 14px; font-weight: 600; }
.quote-card__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.quotes__note { font-size: 11.5px; color: var(--muted-2); margin: 24px 0 0; text-align: center; }

/* ------------------------------------------------------------- reveal */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ------------------------------------------------------ secondary pages */

.page-head .eyebrow { color: var(--accent-soft); }
.page-head__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin: 18px 0 0;
}

/* Hero stat tiles used on the legal and product pages */
.page-stats { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 700px) { .page-stats { grid-template-columns: repeat(3, 1fr); } }
.page-stat {
  border: 1px solid var(--hair-dark);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--panel-dark);
  padding: 22px 20px;
}
.page-stat b {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  letter-spacing: -.8px;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 8px;
}
.page-stat span { font-size: 12.5px; color: var(--on-dark-dim); }

/* Numbered prose sections */
.doc { max-width: 860px; margin: 0 auto; }
.doc__section { padding: 0 0 40px; }
.doc__section h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -.2px;
  margin: 0 0 16px;
  color: var(--ink);
}
.doc__section p { font-size: 15.5px; line-height: 1.85; color: var(--muted); margin: 0 0 16px; }
.doc__section p:last-child { margin-bottom: 0; }

.doc__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 11px; }
.doc__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.doc__list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.doc__cards { display: grid; gap: 14px; margin: 4px 0 16px; }
@media (min-width: 700px) { .doc__cards { grid-template-columns: repeat(2, 1fr); } }
.doc__card {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--cream);
  padding: 18px 20px;
}
.doc__card b { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.doc__card span { font-size: 14px; line-height: 1.65; color: var(--muted); }

.doc__questions {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--cream);
  padding: 34px;
  text-align: center;
  margin-top: 8px;
}
.doc__questions h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 12px;
}
.doc__questions p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 auto 22px; max-width: 56ch; }

/* Product-page feature grids */
.feature-row { display: grid; gap: 20px; }
@media (min-width: 700px) { .feature-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-row--3 { grid-template-columns: repeat(3, 1fr); } }

.spec {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px 20px;
}
.spec svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.spec b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.spec span { font-size: 14px; line-height: 1.65; color: var(--muted); }
.section--dark .spec, .section--warm .spec {
  background: var(--panel-dark);
  border-color: rgba(255, 255, 255, .1);
}
.section--dark .spec b, .section--warm .spec b { color: #fff; }
.section--dark .spec span, .section--warm .spec span { color: var(--on-dark); }

/* Compact chip list, e.g. the 13 options strategies */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
}
.section--dark .chip, .section--warm .chip {
  background: var(--panel-dark);
  border-color: var(--hair-dark);
  color: #fff;
}

/* --------------------------------------------------------- FAQ category tabs */

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.faq-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.faq-tab:hover { border-color: var(--accent); color: var(--ink); }
.faq-tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-tab span {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--cream);
  color: var(--muted-warm);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}
.faq-tab.is-active span { background: rgba(255, 255, 255, .22); color: #fff; }

.faq-panel[hidden] { display: none; }

.faq__rich { padding: 0 24px 22px; }
.faq__rich p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.faq__rich p:last-child { margin-bottom: 0; }
.faq__rich .doc__list { margin-bottom: 12px; }
.doc__olist {
  margin: 0 0 12px;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.doc__olist li::marker { color: var(--accent); font-weight: 700; }

/* ---------------------------------------------------- KYC verification */

.kyc-flash {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  background: var(--cream);
  transition: opacity .3s ease, transform .3s ease, margin .3s ease, max-height .3s ease, padding .3s ease;
}
.kyc-flash > span { flex: 1; }
.kyc-flash--success { border-color: rgba(34, 197, 94, .35); background: rgba(34, 197, 94, .08); }
.kyc-flash--error { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.kyc-flash__close {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  opacity: .55;
  cursor: pointer;
  transition: opacity .15s, background .15s;
}
.kyc-flash__close:hover { opacity: 1; background: rgba(0, 0, 0, .06); }
.kyc-flash.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.kyc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: #fff;
}
.kyc-badge--approved { color: #15803d; border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .1); }
.kyc-badge--pending { color: var(--gold-deep); border-color: rgba(160, 118, 47, .4); background: rgba(222, 196, 129, .18); }
.kyc-badge--rejected { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }

.kyc-status { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 26px 0 24px; }
.kyc-progress {
  flex: 1;
  min-width: 180px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border);
  overflow: hidden;
}
.kyc-progress__bar {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent), var(--gold-deep));
  transition: width .4s ease;
}
.kyc-progress__label { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.kyc-note {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--cream);
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 26px;
}
.kyc-note b { color: var(--ink); }
.kyc-note--ok { border-left-color: var(--green); background: rgba(34, 197, 94, .07); }
.kyc-note--bad { border-left-color: #ef4444; background: #fef2f2; }

.kyc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: kyc; }
.kyc-step {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.kyc-step.is-current { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(193, 78, 42, .1); }
.kyc-step.is-done { background: var(--cream); }
.kyc-step__n {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--muted);
  background: #fff;
}
.kyc-step.is-current .kyc-step__n { border-color: var(--accent); color: var(--accent); }
.kyc-step.is-done .kyc-step__n { background: var(--green); border-color: var(--green); color: #fff; }
.kyc-step__body { flex: 1; min-width: 0; }
.kyc-step__body b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.kyc-step__body span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.kyc-step__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
}
.kyc-step__link:hover { text-decoration: underline; }

.kyc-form { max-width: 520px; }
.kyc-file { margin-bottom: 1.25rem; }
.kyc-file > label {
  display: block;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-warm);
  margin-bottom: .5rem;
}
.kyc-file input[type="file"] {
  width: 100%;
  font-size: 13.5px;
  padding: 14px;
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  background: var(--cream);
  cursor: pointer;
}
.kyc-file input[type="file"]:hover { border-color: var(--accent); }
.kyc-file__current { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.kyc-file__current svg { color: var(--green); }
.kyc-file__current a { color: var(--accent); font-weight: 600; }
.kyc-file__hint { font-size: 12px; color: var(--muted-2); margin: 6px 0 0; }

.kyc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

input[type="date"].a-input { padding: .78rem .9rem; }
textarea.a-input { padding: .9rem; line-height: 1.6; resize: vertical; }

/* ------------------------------------------------- shared form controls
   Used by the auth screens, the KYC wizard and the review queue. */

.a-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.a-field { position: relative; margin-bottom: 1rem; }

.a-input {
  width: 100%;
  font: inherit;
  font-size: .92rem;
  padding: 1.15rem .9rem .5rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

.a-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(193, 78, 42, .1);
}

.a-input.has-error { border-color: #ef4444; }

.a-label {
  position: absolute;
  left: .95rem;
  top: .82rem;
  font-size: .9rem;
  color: var(--muted);
  pointer-events: none;
  transition: top .16s, font-size .16s, color .16s;
}

.a-input:focus + .a-label,
.a-input:not(:placeholder-shown) + .a-label {
  top: .32rem;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-warm);
  font-family: var(--mono);
}

.a-input:focus + .a-label { color: var(--accent); }

select.a-input { padding: 1.15rem .9rem .5rem; appearance: none; background-image: none; }

.a-select-wrap { position: relative; }

.a-select-wrap > svg {
  position: absolute;
  right: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.a-static-label {
  display: block;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-warm);
  margin-bottom: .4rem;
}

.a-error { color: #ef4444; font-size: .75rem; margin: .35rem 0 0; }

.a-nonfield {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 8px;
  padding: .7rem .9rem;
  font-size: .8rem;
  margin-bottom: 1rem;
}
