/* RBGT design system
   Tokens: Typography & Visual Hierarchy Master V1.2 (1 Nov 2026)
   and Logo Brand Asset Style Guide.
   Backgrounds follow the approved screenshots. */

:root {
  --rbgt-display: "Roboto Condensed", "Arial Narrow", sans-serif;
  --rbgt-reading: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --rbgt-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --rbgt-white: #f5f5f6;
  --rbgt-secondary: #a7a7ad;
  --rbgt-body: #bfc0c6;
  --rbgt-lavender: #c6a4d3;
  --rbgt-lavender-logo: #a670bd;
  --rbgt-muted: #85858c;
  --rbgt-canvas: #0f0f10;
  --rbgt-deep: #101113;
  --rbgt-header: #070708;
  --rbgt-ink: #101113;
  --rbgt-ink-soft: #485364;
  --rbgt-cream: #f7f6f2;
  --rbgt-cream-deep: #f3efe8;
  --rbgt-gold: #b8863a;
  --rbgt-gold-deep: #9a7030;
  --rbgt-line: rgba(245, 245, 246, 0.16);
  --rbgt-card: #16171b;
  --header-h: 82px;
  --container: 1680px;
  --radius-pill: 999px;
  --radius-card: 18px;
  --radius-panel: 28px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--rbgt-canvas);
  color: var(--rbgt-body);
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--rbgt-white);
  color: var(--rbgt-ink);
  padding: 8px 12px;
  z-index: 20;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main { flex: 1; }

#ecosystem,
#how,
#about,
#join,
#faqs,
#partners { scroll-margin-top: var(--header-h); }

.container {
  width: min(var(--container), calc(100% - 160px));
  margin-inline: auto;
}

h1, h2, h3, p { margin: 0; }

.eyebrow {
  font-family: var(--rbgt-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--rbgt-lavender);
}

.home-title {
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rbgt-white);
}

.home-sub {
  display: block;
  margin-top: 10px;
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--rbgt-secondary);
}

.inner-title {
  font-family: var(--rbgt-display);
  font-weight: 500;
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rbgt-white);
}

.inner-title .secondary {
  display: block;
  color: var(--rbgt-secondary);
}

.reading {
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--rbgt-body);
}

.reading + .reading { margin-top: 18px; }

.card-title {
  font-family: var(--rbgt-reading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--rbgt-white);
}

.card-copy,
.faq-q {
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: var(--rbgt-body);
}

.nav-link,
.btn {
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0;
}

.meta {
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--rbgt-secondary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  align-self: flex-start;
  width: 100%;
  z-index: 30;
  height: var(--header-h);
  background: rgba(7, 7, 8, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px dashed rgba(245, 245, 246, 0.18);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo { display: flex; align-items: center; line-height: 0; }
.logo img {
  display: block;
  height: 40px;
  width: auto;
  image-rendering: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.nav a {
  color: #f2f1ec;
  font-family: "Albert Sans", var(--rbgt-reading);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--rbgt-lavender); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn {
  min-height: 32px;
  padding: 0 14px;
  font-family: "Albert Sans", var(--rbgt-reading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--rbgt-lavender);
  outline-offset: 2px;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  top: 21px;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--rbgt-white);
  transition: background 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--rbgt-white);
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-white {
  background: #fbfaf8;
  color: #111214;
}
.btn-white:hover { background: #fff; }
.btn-rect { border-radius: 0; width: 321px; min-height: 45px; height: 45px; padding: 0 28px; }

.btn-ghost {
  background: transparent;
  color: var(--rbgt-white);
  border-color: rgba(245, 245, 246, 0.38);
}
.btn-ghost:hover { border-color: var(--rbgt-white); }

.btn-dark {
  background: #111214;
  color: #f7f6f2;
  border-color: #111214;
}
.btn-dark:hover { background: #000; }

.btn-gold {
  width: 100%;
  background: var(--rbgt-gold);
  color: #fff;
  border-color: var(--rbgt-gold);
  min-height: 60px;
  font-size: 17px;
  border-radius: 999px;
}
.btn-gold:hover { background: var(--rbgt-gold-deep); }

.btn-text {
  min-height: auto;
  padding: 0 4px;
  color: var(--rbgt-white);
  background: transparent;
}
.btn-text:hover { color: var(--rbgt-lavender); }

/* Label slides up on hover, matching the stacked-text treatment on mintage.framer.website. */
.hover-swap {
  display: inline-block;
  height: 1.35em;
  overflow: hidden;
  line-height: 1.35;
  vertical-align: middle;
  pointer-events: none;
}
.hover-swap-track {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}
.hover-swap-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 1.35em;
  line-height: 1.35;
  white-space: nowrap;
}
.btn .hover-swap-line,
.tab .hover-swap-line,
.pill .hover-swap-line { justify-content: center; gap: 8px; }
@media (hover: hover) and (pointer: fine) {
  .hover-swap-track { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
  .nav a:hover .hover-swap-track,
  .nav a:focus-visible .hover-swap-track,
  .btn:hover .hover-swap-track,
  .btn:focus-visible .hover-swap-track,
  .tab:hover .hover-swap-track,
  .tab:focus-visible .hover-swap-track,
  .pill:hover .hover-swap-track,
  .pill:focus-visible .hover-swap-track,
  .footer-col a:hover .hover-swap-track,
  .footer-col a:focus-visible .hover-swap-track,
  .footer-col button:hover .hover-swap-track,
  .footer-col button:focus-visible .hover-swap-track,
  .chip:hover .hover-swap-track,
  .chip:focus-visible .hover-swap-track,
  .reading a:hover .hover-swap-track,
  .reading a:focus-visible .hover-swap-track,
  .consent a:hover .hover-swap-track,
  .consent a:focus-visible .hover-swap-track,
  .helper a:hover .hover-swap-track,
  .helper a:focus-visible .hover-swap-track,
  .faq-a a:hover .hover-swap-track,
  .faq-a a:focus-visible .hover-swap-track {
    transform: translateY(-50%);
  }
}

.btn:focus-visible,
.nav a:focus-visible,
.icon-btn:focus-visible,
.pill:focus-visible,
.faq-item button:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--rbgt-lavender);
  outline-offset: 3px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 0 22px;
  overflow: hidden;
  background: var(--rbgt-canvas);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  gap: 48px 72px;
  align-items: start;
  padding-top: 18px;
}

.hero-copy { text-align: left; }
.hero-copy .eyebrow,
.hero-copy .home-title,
.hero-copy .home-sub { margin-left: 0; padding-left: 0; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 72px; }
.hero-actions .btn,
.how-actions .btn {
  min-height: 40px;
  padding: 0 22px;
  font-family: "Albert Sans", var(--rbgt-reading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.hero-actions .btn:first-child { min-width: 0; }
.btn-arrow {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-arrow svg { display: block; width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn-arrow,
  .btn:focus-visible .btn-arrow { transform: translateX(5px); }
}

.hero-side { padding-top: 18px; }
.hero-side .reading { font-size: 15px; line-height: 1.5; }
.hero-side .reading + .reading { margin-top: 22px; }

.stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px dashed rgba(245, 245, 246, 0.28);
}

.stat {
  padding: 16px 12px 14px;
  min-width: 0;
  overflow: hidden;
}
.stat + .stat { border-left: 1px dashed rgba(245, 245, 246, 0.28); }
.stat span {
  display: block;
  max-width: 100%;
  margin-bottom: 8px;
  font-family: var(--rbgt-mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  color: var(--rbgt-secondary);
}
.stat strong {
  display: block;
  font-family: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rbgt-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.stat em {
  display: block;
  margin-top: 8px;
  font-family: var(--rbgt-reading);
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.35;
  color: var(--rbgt-secondary);
}

.wave {
  position: absolute;
  left: 0;
  z-index: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Home banner wave is the artboard crop y=560–760, full frame width 1784.
   margin-top % is of the section width, so the band stays at that scale. */
.hero .wave {
  top: 0;
  margin-top: 26.7937%;
}

.hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
}

.chains {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #9d9ca1;
  font-family: "Albert Sans", var(--rbgt-reading);
  font-size: 14px;
  font-weight: 500;
}
.chains b {
  font-weight: 500;
  color: #9d9ca1;
  margin-right: 4px;
}
.chain {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9d9ca1;
  font-size: 14px;
  font-weight: 500;
  font-family: "Albert Sans", var(--rbgt-reading);
}
.chain svg { width: 15px; height: 15px; display: block; flex: none; }

/* Tabs */
.tab-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(245, 245, 246, 0.22);
  color: var(--rbgt-white);
  background: transparent;
  font-size: 15px;
  line-height: 1;
}
.tab .hover-swap,
.tab .hover-swap-line {
  height: 1em;
  line-height: 1;
}
.tab[aria-selected="true"] {
  background: #2a2c31;
  border-color: #3a3c42;
}
.tab:hover { border-color: rgba(198, 164, 211, 0.7); }

/* Ecosystem */
.ecosystem {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  background: #05060a;
}

/* Visual is the 820×700 artboard crop at x=36, y=128 on a 1784 frame.
   Copy starts at x=1050. Both are pinned so tab changes cannot reflow them. */
.eco-layout { min-height: calc(100vh - var(--header-h)); }

.eco-visual {
  position: absolute;
  z-index: 1;
  /* The card border sits 47px inside the 820-wide art, so pull it left onto the logo. */
  left: calc((100% - min(1680px, 100% - 160px)) / 2 - (47 / 820) * min(820px, 46vw));
  top: 50%;
  margin-top: 0;
  width: min(820px, 46vw);
  transform: translateY(calc(-50% - 3.5%));
  overflow: visible;
}

.eco-visual img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

/*
  Yield / Credit / Gold Card: original native panel image above the shared CSS wave.
  Same artboard footprint as Ecosystem so wave alignment stays correct.
*/
.eco-visual.is-clean-panel {
  background: transparent;
}
.eco-visual.is-clean-panel img[data-eco-image] {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
}

/* Mobile-only wave layer behind the panel (desktop uses section .wave). */
.eco-visual .eco-wave-bg {
  display: none;
  position: absolute;
  z-index: 0;
  left: calc(-36 / 820 * 100%);
  top: calc(-128 / 700 * 100%);
  width: calc(1784 / 820 * 100%);
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.eco-copy {
  position: absolute;
  z-index: 1;
  left: 58.8565%;
  top: 0;
  margin-top: 6.3901%;
  width: 36%;
}

.eco-copy .tab-row { justify-content: flex-start; margin-bottom: 56px; }
.eco-copy .inner-title {
  margin-bottom: 0;
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  min-height: 1.05em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.eco-copy .inner-title .secondary {
  margin-top: 13px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  min-height: 1.25em;
  color: var(--rbgt-secondary);
}
.eco-copy .reading {
  margin-top: 40px;
  max-width: 640px;
  min-height: 4.5em;
  font-size: 15px;
  line-height: 1.5;
}
.eco-panel[hidden] { display: none; }

/* Same 1784×881 frame as the card crop (card is x=36, y=128, 820×700).
   Section wave sits behind clean panel images; extend smears to the page edge. */
.ecosystem {
  --card-w: min(820px, 46vw);
  --wave-w: calc((1784 / 820) * var(--card-w));
  --wave-left: calc((100% - min(1680px, 100% - 160px)) / 2 - ((36 + 47) / 820) * var(--card-w));
}
.ecosystem > .wave {
  display: block;
  z-index: 0;
  top: 50%;
  left: var(--wave-left);
  margin-top: 0;
  width: var(--wave-w);
  max-width: none;
  height: auto;
  transform: translateY(-57%);
  pointer-events: none;
}
.ecosystem .wave-extend {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 50%;
  width: max(0px, calc(var(--wave-left) + 2px));
  height: calc(var(--wave-w) * 881 / 1784);
  transform: translateY(-57%);
  overflow: hidden;
  pointer-events: none;
}
.ecosystem .wave-extend::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: url("../assets/eco-wave.png?v=61") left top / var(--wave-w) auto no-repeat;
  transform-origin: right center;
  transform: scaleX(calc((var(--wave-left) + 2px) / 4px));
}

/* How it works */
.how {
  background: #050506;
  padding: 28px 0 72px;
}
.how-page {
  height: calc(100vh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
  overflow-x: clip;
}
.how-page .container {
  display: block;
  width: min(var(--container), calc(100% - 160px));
  margin-inline: auto;
  flex: none;
}
.how-page .how-panel {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.5fr);
  grid-template-rows: auto auto;
  column-gap: 32px;
  row-gap: 16px;
  align-items: stretch;
  padding: 4.4% 24px 4.4% 4.6%;
}

.how-panel {
  position: relative;
  background: var(--rbgt-cream);
  color: var(--rbgt-ink-soft);
  border-radius: 16px;
  padding: 4.4% 4.6%;
  overflow: visible;
  min-height: 0;
}

.how-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  /* Pixels lifted from the artboard, placed on the same panel coordinates. */
  left: 40.810157%;
  top: 0;
  margin-top: -1.451028%;
  width: 63.05925%;
  aspect-ratio: 1043 / 309;
  background-image: url("../assets/how-gold-art.png?v=2");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
}

.how-grid { display: contents; }
.how-intro {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 0;
}
.how-actions {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.how-stage {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  position: relative;
  z-index: 1;
  padding-top: calc(8% + 5px);
}

.how-intro .eyebrow {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: var(--rbgt-gold);
  font-family: var(--rbgt-mono);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: none;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
.how-intro .eyebrow::after {
  content: "";
  width: 36px;
  height: 1.5px;
  background: var(--rbgt-gold);
}
.how-intro .inner-title {
  margin: 0;
  color: #121316;
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.how-intro .inner-title .secondary {
  display: block;
  margin-top: 10px;
  color: var(--rbgt-secondary);
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.how-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 18px;
}
.how-intro .reading {
  color: #3a3d44;
  font-size: 15px;
  line-height: 1.5;
  max-width: none;
}
.how-intro .reading:first-of-type,
.how-intro .reading + .reading { margin-top: 0; }
.how-actions .btn-white { border: 1px solid #d5d8de; }

.how-pills {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 2px;
  margin: 0 0 16px;
  padding: 4px;
  background: #f4f5f6;
  border: 1px solid #b7bec8;
  border-radius: var(--radius-pill);
  position: relative;
  z-index: 2;
}
.pill {
  min-height: 32px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: #2f4158;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
.pill[aria-selected="true"] {
  background: #12141a;
  color: #f7f6f2;
}

.how-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  flex: none;
  align-items: stretch;
}
.how-cards::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 31px;
  height: 1px;
  background: #c5ccd4;
  z-index: 0;
}

.how-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d5dbe2;
  border-radius: 18px;
  min-height: 0;
  height: auto;
  padding: 14px 16px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.how-card:hover {
  background: #fff;
  border-color: #8e98a4;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(18, 20, 26, 0.08);
}
.how-card.is-active { border: 2px solid #1a1c20; background: #fff; }
.how-card.is-active:hover { border-color: #1a1c20; }
.how-card:focus-visible {
  outline: 2px solid #9840c0;
  outline-offset: 2px;
}
.how-card-top { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.how-num { color: #8b95a3; font-size: 13px; letter-spacing: 0.04em; line-height: 1; }
.how-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.how-icon svg { width: 18px; height: 18px; display: block; }
.how-icon.gold { background: #f8efdf; color: #c48a2e; }
.how-icon.blue { background: #e7f1fb; color: #3b7fd4; }
.how-icon.green { background: #e5f6ee; color: #2e9b68; }
.how-icon.violet { background: #f3e9f8; color: #8a45b5; }
.how-card h3 {
  margin: 12px 0 4px;
  font-family: var(--rbgt-reading);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1c1e22;
}
.how-card p { font-size: 15px; line-height: 1.5; color: #3e4c5e; }

.how-trust {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0;
  border: 1px solid #ece6de;
  background: #fff;
  border-radius: 18px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #3e4c5e;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  padding: 8px 20px;
}
.how-trust-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fcd269;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.how-trust-badge svg { width: 15px; height: 15px; }

/* Partners */
.partners {
  min-height: calc(100vh - var(--header-h));
  padding: 88px 0 48px;
  background: #121316;
  display: flex;
  align-items: center;
}
.partners-inner { width: min(var(--container), calc(100% - 160px)); margin-inline: auto; }
.partners-head { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.partners-head .eyebrow {
  margin-bottom: 18px;
  color: var(--rbgt-lavender);
}
.partners-head .inner-title {
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rbgt-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.partners-head .inner-title .secondary {
  margin-top: 10px;
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--rbgt-secondary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.partners-rule {
  width: 42px;
  height: 2px;
  margin: 26px auto 0;
  background: var(--rbgt-lavender);
  border: 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  background: #17181c;
  border: 1px solid rgba(245, 245, 246, 0.14);
  border-radius: 16px;
  min-height: 230px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.partner-card:hover,
.partner-card:focus-within {
  border-color: var(--rbgt-lavender);
  transform: translateY(-2px);
}
.partner-card .partner-kicker {
  margin-top: 0;
  font-family: var(--rbgt-mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: #b7b8be;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.partner-card h3 {
  margin-top: 26px;
  font-family: var(--rbgt-reading);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #d7b7e4;
}
.partner-card p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--rbgt-secondary);
}
.barcode {
  margin-top: auto;
  padding-top: 28px;
  height: 54px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.barcode i {
  display: block;
  width: 4px;
  border-radius: 1px;
  background: #8d8e96;
  height: var(--h);
}

.partners-foot {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 245, 246, 0.12);
  font-family: var(--rbgt-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rbgt-muted);
}

/* About — container matches the header so the left edge sits on the logo. */
.about-hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-start;
  padding: 100px 0 48px;
  background: #121316;
}
.about-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 861fr) minmax(0, 653fr);
  column-gap: 48px;
  align-items: stretch;
  width: min(var(--container), calc(100% - 160px));
  margin-inline: auto;
  flex: none;
}
.about-grid > div {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.about-grid .eyebrow { margin-bottom: 22px; color: var(--rbgt-lavender); }
.about-hero .inner-title {
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rbgt-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.about-hero .inner-title .secondary {
  margin-top: 10px;
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--rbgt-secondary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  min-height: 32px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #3d3e42;
  border-radius: 2px;
  color: #bfc0c6;
  background: transparent;
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.chip .hover-swap,
.chip .hover-swap-line {
  height: 1.2em;
  line-height: 1.2;
}
.chip .hover-swap-line { justify-content: center; }
@media (hover: hover) and (pointer: fine) {
  .chip:hover,
  .chip:focus-visible {
    color: var(--rbgt-white);
    border-color: rgba(245, 245, 246, 0.72);
  }
}
.about-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: auto;
  padding-top: 36px;
}
.about-actions .btn-rect {
  width: 180px;
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  background: #f5f4f1;
  color: #121416;
  font-family: "Albert Sans", var(--rbgt-reading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
/* Align first reading line with “Creating value to investors” (eyebrow height + gap). */
.about-copy { padding-top: calc(15px * 1.4 + 22px); }
.about-copy .reading {
  font-size: 15px;
  line-height: 1.5;
  color: #bfc0c6;
}
.about-copy .reading + .reading { margin-top: 22px; }
.about-copy .reading:last-of-type { margin-bottom: 36px; }
.about-url {
  margin-top: auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px dashed #3a3c42;
  background: #1c1d22;
  color: #c8c9ce;
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.about-url:hover { color: var(--rbgt-white); }
.about-crown {
  display: block;
  width: 26px;
  height: 20px;
  flex: none;
}
.more-panel { margin-top: 22px; display: grid; gap: 18px; }
.more-panel h2 {
  font-family: var(--rbgt-reading);
  font-size: 18px;
  font-weight: 600;
  color: var(--rbgt-white);
  margin-bottom: 6px;
}
.more-panel p { font-size: 16px; line-height: 1.5; color: var(--rbgt-body); }
.more-panel[hidden] { display: none; }

/* FAQ */
.faq-page {
  background: #101215;
  padding: 50px 0 36px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 76px;
  align-items: start;
}
.faq-layout h1,
.faq-layout h2 {
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rbgt-white);
  margin-top: 17px;
  padding-left: 9px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.faq-list { border-top: 0; }
.faq-item { border-bottom: 1px dashed #3a3c40; }
.faq-item:first-child { border-bottom: 0; }
.faq-item button {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 20px;
  align-items: center;
  text-align: left;
  padding: 0 40px 0 29px;
  color: #e4e5e6;
}
.faq-item:first-child button { min-height: 73px; background: #222426; }
.faq-item.is-open button { background: #222426; }
.faq-num {
  color: #e4e5e6;
  font-family: var(--rbgt-reading);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.faq-item .faq-q {
  color: #e4e5e6;
  font-size: 15px;
}
.faq-item button svg { width: 16px; height: 16px; color: #c6a4d3; transition: transform 0.2s ease; }
.faq-item.is-open button svg { transform: rotate(180deg); }
.faq-a {
  padding: 18px 48px 20px 81px;
  color: var(--rbgt-body);
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
  padding-top: 15px !important;
}
.faq-a[hidden] { display: none; }
.faq-a a { color: var(--rbgt-lavender); text-decoration: underline; text-underline-offset: 3px; }

/* Join */
.join-page {
  background: #0c0d0f;
  height: calc(100vh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}
.join-shell {
  width: min(var(--container), calc(100% - 160px));
  margin-inline: auto;
  background-color: #f7f2eb;
  background-image: url("../assets/join-bg.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
  border-radius: 28px;
  flex: none;
  aspect-ratio: 1620 / 686;
  height: auto;
  max-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 56px 53px 28px 48px;
  position: relative;
  overflow: hidden;
  align-items: start;
}
.join-copy {
  width: min(654px, calc(44.759556% - 26.8px));
  margin-top: 0;
  align-self: start;
  position: relative;
  z-index: 1;
  text-align: left;
}
.join-copy .eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: var(--rbgt-gold);
  font-family: var(--rbgt-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: none;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
.join-copy .eyebrow::after {
  content: "";
  width: 36px;
  height: 1.5px;
  background: var(--rbgt-gold);
}
.join-copy h1,
.join-copy h2 {
  margin-top: 0;
  text-align: left;
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #121316;
  max-width: none;
}
.join-copy .lead {
  margin-top: 10px;
  margin-left: 0;
  text-align: left;
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--rbgt-secondary);
}
.join-copy .reading {
  margin-top: 12px;
  margin-left: 0;
  text-align: left;
  color: #3a3d44;
  font-size: 15px;
  max-width: 470px;
  line-height: 1.5;
}
.join-card {
  position: absolute;
  z-index: 1;
  left: 44.759556%;
  top: 13.828239%;
  width: 51.972873%;
  height: auto;
  min-height: 69.141194%;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(70, 50, 20, 0.08);
  padding: 53px 46px 32px;
  box-sizing: border-box;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 36px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: #e4ddd4;
}
.step { text-align: center; position: relative; }
.step i {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e3ddd4;
  color: #8b939e;
  font-style: normal;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.step.is-current i { background: var(--rbgt-gold); border-color: var(--rbgt-gold); color: #fff; }
.step.is-done i { background: #f3e7d2; border-color: #e2c48a; color: #8a6230; }
.step b { display: block; font-weight: 500; font-size: 14px; color: #2a2e33; }
.step span { display: block; font-size: 12px; color: #8b939e; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 21px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #3c4450;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 45px;
  border-radius: 10px;
  border: 1px solid #e4ddd4;
  background: #fff;
  color: #1c1e22;
  padding: 0 14px;
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #a07830;
  outline: none;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.2 6.1 8 10.6l4.8-4.5' stroke='%23A07830' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.field textarea { min-height: 56px; height: 56px; padding: 10px 14px; resize: none; }
.field input::placeholder,
.field textarea::placeholder { color: #a0a7b0; }
.otp {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 360px;
}
.otp-digit {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  height: 52px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid #e4ddd4;
  background: #fff;
  color: #1c1e22;
  text-align: center;
  font-family: var(--rbgt-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  caret-color: var(--rbgt-gold);
}
.otp-digit:focus {
  border-color: #a07830;
  outline: none;
  box-shadow: 0 0 0 1px rgba(160, 120, 48, 0.18);
}
.field.is-invalid .otp-digit {
  border-color: #c4473a;
  box-shadow: 0 0 0 1px rgba(196, 71, 58, 0.18);
}
.form-error { color: #9a3b3b; font-size: 14px; margin-top: 8px; }
.form-error:empty { display: none; }
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: #b42318;
}
.field.is-invalid .field-error,
.light-field.is-invalid .field-error { display: block; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.light-field.is-invalid input,
.light-field.is-invalid textarea {
  border-color: #c4473a;
  box-shadow: 0 0 0 1px rgba(196, 71, 58, 0.18);
}
.consent {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: #3a3d44;
}
.consent a {
  color: #9b5fbc;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.consent a:hover { color: #7e3fa3; }
.form-actions { margin-top: 18px; }
.join-card .btn-gold,
.auth-card .btn-gold,
.plain-card .btn-gold {
  width: 100%;
  min-height: 44px;
  height: 44px;
  margin-top: 0;
  padding: 0 22px;
  gap: 8px;
  background: var(--rbgt-gold);
  color: #fff;
  border: 1px solid var(--rbgt-gold);
  border-radius: 999px;
  font-family: "Albert Sans", var(--rbgt-reading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.join-card .btn-gold:hover,
.auth-card .btn-gold:hover,
.plain-card .btn-gold:hover {
  background: var(--rbgt-gold-deep);
  border-color: var(--rbgt-gold-deep);
}
.join-card .btn-gold .hover-swap,
.auth-card .btn-gold .hover-swap,
.plain-card .btn-gold .hover-swap {
  height: 1.2em;
  line-height: 1.2;
}
.join-card .btn-gold .hover-swap-line,
.auth-card .btn-gold .hover-swap-line,
.plain-card .btn-gold .hover-swap-line {
  height: 1.2em;
  line-height: 1.2;
  gap: 8px;
}
.step-panel[hidden] { display: none; }
.success-note {
  text-align: center;
  padding: 28px 8px 12px;
  color: #3c4450;
}
.success-note h2 {
  margin: 0 0 10px;
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #121316;
}
.success-note p,
.success-note .reading {
  margin: 0;
  max-width: 420px;
  margin-inline: auto;
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #3a3d44;
}

/* Auth pages — login / contact */
.auth-page,
.plain-page {
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  max-height: calc(100vh - var(--header-h));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 28px 0 32px;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(166, 112, 189, 0.16), transparent 62%),
    radial-gradient(ellipse 55% 45% at 88% 78%, rgba(184, 134, 58, 0.08), transparent 58%),
    #0c0d0f;
}
.auth-stage {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 80px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px 48px;
  align-items: center;
  max-height: 100%;
}
.auth-brand {
  position: relative;
  max-width: 500px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}
.auth-brand-glow { display: none; }
.auth-brand-mark {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid rgba(198, 164, 211, 0.35);
  display: grid;
  place-items: center;
  box-shadow: none;
}
.auth-brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.auth-brand .eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--rbgt-lavender);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.auth-brand .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--rbgt-gold), transparent);
}
.auth-brand .inner-title {
  position: relative;
  z-index: 1;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.auth-brand .inner-title .secondary {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--rbgt-secondary);
}
.auth-brand .reading {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.5;
  color: var(--rbgt-body);
}
.auth-features {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.auth-feature {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.auth-feature:hover {
  background: none;
  border-color: transparent;
}
.auth-feature-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: var(--rbgt-lavender);
  background: none;
  border: 0;
}
.auth-feature-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.auth-feature strong {
  display: block;
  font-family: var(--rbgt-reading);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--rbgt-white);
}
.auth-feature span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--rbgt-secondary);
}
.auth-points { display: none; }
.auth-card,
.plain-card {
  position: relative;
  width: 100%;
  margin: 0;
  background: linear-gradient(180deg, rgba(28, 29, 34, 0.96), rgba(18, 19, 23, 0.98));
  border: 1px solid rgba(245, 245, 246, 0.12);
  border-radius: 20px;
  padding: 24px 26px 20px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(245, 245, 246, 0.05);
  backdrop-filter: blur(10px);
}
.auth-card--roomy {
  padding: 40px 36px 36px;
}
.auth-card--roomy.stack { gap: 22px; }
.auth-card--roomy .auth-card-head { margin-bottom: 2px; }
.auth-card--roomy .auth-card-head p { margin-top: 8px; }
.auth-card--roomy .light-field { gap: 10px; }
.auth-card--roomy .light-field input { min-height: 48px; }
.auth-card--roomy .form-actions {
  display: flex;
  margin-top: 4px;
}
.auth-card--roomy .auth-card-foot { padding-top: 4px; }
.auth-card-head {
  margin-bottom: 2px;
}
.auth-card-head h2 {
  margin: 0;
  font-family: var(--rbgt-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rbgt-white);
}
.auth-card-head p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--rbgt-secondary);
}
.auth-page h1,
.plain-page h1 { margin: 0; }
.stack { display: grid; gap: 12px; }
.light-field { display: flex; flex-direction: column; gap: 6px; }
.light-field input,
.light-field textarea {
  background: #0d0e12;
  border: 1px solid rgba(245, 245, 246, 0.14);
  color: var(--rbgt-white);
  border-radius: 10px;
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
  font-family: var(--rbgt-reading);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.light-field textarea {
  min-height: 88px;
  max-height: 120px;
  padding: 10px 14px;
  resize: vertical;
}
.light-field label {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #c4c5cb;
}
.light-field input:hover,
.light-field textarea:hover {
  border-color: rgba(245, 245, 246, 0.24);
}
.light-field input:focus,
.light-field textarea:focus {
  outline: none;
  background: #101114;
  border-color: rgba(184, 134, 58, 0.78);
  box-shadow: 0 0 0 3px rgba(184, 134, 58, 0.18);
}
.light-field input::placeholder,
.light-field textarea::placeholder {
  color: #6f727a;
  font-size: 15px;
}
.auth-card .form-actions,
.plain-card .form-actions {
  margin-top: 4px;
}
.helper { margin: 0; font-size: 13px; line-height: 1.4; color: var(--rbgt-secondary); }
.helper a { color: var(--rbgt-lavender); text-decoration: underline; text-underline-offset: 2px; }
.auth-card-foot { text-align: center; padding-top: 2px; }
.helper[data-success] {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(184, 134, 58, 0.12);
  border: 1px solid rgba(184, 134, 58, 0.28);
  color: #e7d3a8;
}
.helper[data-success] a { color: #f0dfa8; }
.auth-wave {
  position: absolute;
  left: 0;
  bottom: -10%;
  z-index: 0;
  width: 100%;
  height: auto;
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  transform: translateY(8%);
}

.legal { max-width: 760px; }
.legal p { font-size: 18px; }
.legal-copy { margin-top: 28px; }

/* Footer */
.site-footer {
  background: #101114;
  border-top: 1px solid rgba(245, 245, 246, 0.06);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.emblem-tile {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #18191e;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.emblem-tile img { width: 40px; height: 40px; object-fit: contain; object-position: center; }
.footer-brand p { font-size: 15px; color: var(--rbgt-secondary); }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col a,
.footer-col button {
  text-align: left;
  color: var(--rbgt-secondary);
  font-size: 15px;
  line-height: 1.4;
}
.footer-col a:hover,
.footer-col button:hover { color: var(--rbgt-white); }
.copyright {
  margin-top: 36px;
  text-align: center;
  color: var(--rbgt-muted);
  font-size: 13px;
}

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); }
.modal-card {
  position: relative;
  width: min(520px, 100%);
  background: #141518;
  border: 1px solid rgba(198, 164, 211, 0.45);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.modal-card h2 { color: var(--rbgt-white); font-family: var(--rbgt-display); font-weight: 500; font-size: 36px; letter-spacing: -0.02em; }
.modal-card p { margin-top: 12px; font-size: 16px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rbgt-line);
  color: var(--rbgt-white);
}
.net-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.net-list span {
  border: 1px solid var(--rbgt-line);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  font-size: 13px;
  color: var(--rbgt-secondary);
}

@media (max-width: 1680px) {
  .join-copy h1,
  .join-copy h2 { font-size: 40px; }
}

@media (max-width: 1400px) {
  .join-shell { max-height: 100%; }
}

@media (max-width: 1200px) {
  .container,
  .partners-inner,
  .join-shell { width: min(var(--container), calc(100% - 64px)); }
  .home-title { font-size: 54px; }
  .home-sub { font-size: 36px; }
  .how-intro .inner-title { font-size: 40px; }
  .how-intro .inner-title .secondary { font-size: 27px; }
  .inner-title { font-size: 40px; }
  .join-copy h1,
  .join-copy h2 { font-size: 40px; }
  .join-copy .lead { font-size: 27px; }
  .partner-card h3 { font-size: 24px; }
  .about-hero .container,
  .how-page .container { width: min(var(--container), calc(100% - 64px)); }
  .about-hero .inner-title,
  .partners-head .inner-title,
  .faq-layout h1,
  .faq-layout h2 { font-size: 40px; }
  .about-hero .inner-title .secondary,
  .partners-head .inner-title .secondary { font-size: 27px; }
  .how-panel { padding: 32px 24px; }
  .how-stage { padding-top: 45px; }
  .how-card h3 { font-size: 15px; margin: 8px 0 4px; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
  }
  body { padding-top: var(--header-h); }
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: block; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 10px; }
  .header-inner > .logo,
  .header-actions { position: relative; z-index: 2; }
  .header-actions { gap: 8px; }
  .header-actions .btn-ghost,
  .header-actions .btn-white { display: none; }
  .nav {
    display: flex;
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    background: #0c0d10;
    border-bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: calc(var(--header-h) + 12px) 28px 40px;
    gap: 4px;
    z-index: 1;
    overflow: auto;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  }
  .nav a {
    width: 100%;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(245, 245, 246, 0.08);
  }
  .nav::after {
    content: "";
    margin-top: auto;
    width: min(220px, 64vw);
    height: min(220px, 32vh);
    flex: none;
    align-self: center;
    background: url("../assets/menu-globe.png") center / contain no-repeat;
    pointer-events: none;
  }
  .hero-grid,
  .eco-layout,
  .how-grid,
  .about-grid,
  .join-shell,
  .faq-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .faq-layout { gap: 36px; }
  body { font-size: 17px; line-height: 1.5; }
  .hero {
    min-height: 0;
    justify-content: flex-start;
    gap: 28px;
    padding: 28px 0 24px;
  }
  .hero-grid { gap: 30px; }
  .hero-side { padding-top: 0; }
  .hero-actions { align-items: flex-start; margin-top: 30px; gap: 10px; }
  .hero-actions .btn,
  .hero-actions .btn:first-child { width: 100%; max-width: 360px; min-width: 0; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero .wave { display: none; }
  .ecosystem > .wave,
  .ecosystem .wave-extend { display: none; }
  .eco-visual .eco-wave-bg { display: block; }
  .about-hero { padding: 48px 0 36px; }
  .about-hero .container {
    grid-template-columns: 1fr;
    width: min(var(--container), calc(100% - 64px));
    margin-left: auto;
    margin-right: auto;
  }
  .about-copy { padding-top: 25px !important; }
  .about-copy .reading {
    font-size: 15px;
    line-height: 1.5;
    color: #bfc0c6;
    padding-top: 0;
  }
  .about-copy .reading:last-of-type { margin-bottom: 5px; }
  .about-url { margin-top: 22px; }
  .about-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 0;
    gap: 12px;
    width: 100%;
  }
  .about-actions .btn-rect,
  .about-actions .btn-text {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }
  .about-actions .btn-rect {
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
  }
  .about-actions .btn-text {
    min-height: 44px;
    padding: 0 8px;
  }
  .btn-rect { width: auto; min-width: 0; max-width: 100%; }
  .eco-copy .tab-row,
  .how-pills { justify-content: flex-start; }
  .eco-copy .inner-title,
  .eco-copy .inner-title .secondary,
  .eco-copy .reading { min-height: 0; }
  .eco-copy .tab-row { margin-bottom: 20px; }
  .eco-copy .inner-title .secondary { margin-top: 8px; font-size: 18px; }
  .eco-copy .reading { margin-top: 16px; }
  .eco-visual,
  .eco-copy {
    position: static;
    width: auto;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    margin-top: 0;
    transform: none;
  }
  .eco-visual {
    position: relative;
    width: 100%;
    overflow: visible;
  }
  .eco-layout {
    display: grid;
    gap: 28px;
    min-height: 0;
  }
  .ecosystem { min-height: 0; padding: 28px 0 36px; overflow: hidden; }
  .how-page { height: auto; min-height: 0; padding: 20px 0 28px; }
  .how-page .container {
    width: min(var(--container), calc(100% - 64px));
    margin-left: auto;
    margin-right: auto;
  }
  .how-page .how-panel { display: flex; flex-direction: column; min-height: 0; aspect-ratio: auto; padding: 28px 16px; }
  .how-panel { min-height: 0; padding: 28px 16px; border-radius: 16px; overflow: hidden; }
  .how-panel::before { display: none; }
  .how-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .how-intro, .how-stage, .how-actions, .how-trust { grid-column: auto; grid-row: auto; width: auto; align-self: stretch; }
  .how-intro { order: 1; padding-bottom: 0; }
  .how-copy { flex: none; }
  .how-actions { order: 2; }
  .how-stage { order: 3; }
  .how-intro .inner-title { font-size: clamp(28px, 6vw, 40px); }
  .how-intro .inner-title .secondary { font-size: clamp(17px, 3.6vw, 27px); }
  .how-stage { padding-top: 4px; }
  .how-pills { display: flex; flex-wrap: wrap; width: 100%; max-width: 100%; border-radius: 18px; }
  .how-cards { grid-template-columns: 1fr; }
  .how-cards::before { display: none; }
  .how-card { min-height: 0; }
  .how-trust { flex-wrap: wrap; height: auto; }
  .how-actions { flex-direction: column; align-items: stretch; }
  .how-actions .btn { width: 100%; max-width: 360px; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .join-page { height: auto; min-height: 0; padding: 20px 0 28px; display: block; }
  .join-copy { margin-top: 0; width: auto; max-width: none; }
  .join-copy .reading { margin-bottom: 10px; }
  .join-copy h1,
.join-copy h2 { margin-top: 0; }
  .join-shell { width: min(var(--container), calc(100% - 64px)); flex: none; aspect-ratio: auto; max-height: none; min-height: 0; height: auto; margin-left: auto; margin-right: auto; padding: 28px 16px 22px; background-size: cover; background-position: left bottom; border-radius: 18px; align-items: start; }
  .join-card { position: relative; left: auto; top: auto; width: 100%; height: auto; min-height: 0; padding: 18px 18px 10px; }
  .otp { max-width: none; gap: 8px; }
  .otp-digit { min-height: 48px; height: 48px; font-size: 20px; }
  .faq-layout h1,
.faq-layout h2 { margin-top: 0; padding-left: 0; }
  .faq-item button {
    padding: 12px 8px;
    gap: 10px;
    grid-template-columns: 28px minmax(0, 1fr) 16px;
  }
  .faq-a { padding: 4px 8px 16px 46px; }
  .auth-page,
  .plain-page {
    height: auto;
    min-height: calc(100vh - var(--header-h));
    max-height: none;
    padding: 28px 0 40px;
    align-items: flex-start;
  }
  .auth-stage {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
    gap: 22px;
    max-height: none;
  }
  .auth-brand-mark { width: 48px; height: 48px; margin-bottom: 14px; }
  .auth-brand .inner-title { font-size: 34px; }
  .auth-brand .inner-title .secondary { font-size: 20px; }
  .auth-features { gap: 12px; }
  .auth-card,
  .plain-card { padding: 22px 18px 18px; }
  .auth-card--roomy { padding: 28px 22px 24px; }
  .light-field textarea { min-height: 96px; max-height: none; }
  .auth-wave { opacity: 0.3; bottom: -4%; }
  .footer-col { gap: 10px; }
  .footer-col a,
  .footer-col button {
    min-height: 0;
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
    font-size: 15px;
    line-height: 1.35;
  }
  .footer-grid { gap: 14px; }
  .about-url {
    gap: 12px;
    padding: 14px 14px;
    font-size: 14px;
    word-break: break-word;
  }
  .about-crown { width: 22px; height: 17px; }
  .modal-card { padding: 22px 18px; }
  .modal-card h2 { font-size: clamp(28px, 7vw, 36px); }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .container,
  .partners-inner,
  .about-hero .container,
  .how-page .container,
  .join-shell { width: calc(100% - 40px); }
  .about-hero { padding: 28px 0 32px; }
  .home-title { font-size: clamp(34px, 8vw, 44px); }
  .home-sub { font-size: clamp(20px, 5vw, 26px); }
  .about-hero .inner-title,
  .partners-head .inner-title,
  .how-intro .inner-title,
  .join-copy h1,
  .join-copy h2,
  .faq-layout h1,
  .faq-layout h2,
  .auth-brand .inner-title { font-size: clamp(28px, 7vw, 34px); }
  .auth-brand .inner-title .secondary { font-size: clamp(18px, 4.2vw, 22px); }
  .auth-card-head h2 { font-size: 24px; }
  .about-hero .inner-title .secondary,
  .partners-head .inner-title .secondary,
  .how-intro .inner-title .secondary,
  .join-copy .lead { font-size: clamp(17px, 4.2vw, 27px); }
  .inner-title { font-size: clamp(30px, 7vw, 40px); }
  .eco-copy .inner-title { font-size: clamp(28px, 7vw, 36px); }
  .eco-copy .inner-title .secondary { font-size: clamp(16px, 4vw, 20px); }
  .reading { font-size: 16px; line-height: 1.55; }
  .hero-side .reading,
  .how-intro .reading,
  .eco-copy .reading,
  .about-copy .reading {
    font-size: 15px;
    line-height: 1.5;
    min-height: 75px;
  }
  .hero-grid { gap: 30px; }
  .hero-side { padding-top: 0; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .btn,
  .how-actions .btn,
  .join-card .btn-gold {
    min-height: 44px;
    font-size: 14px;
  }
  .btn-rect {
    width: auto;
    max-width: 220px;
    height: 44px;
    min-height: 44px;
  }
  .stats { grid-template-columns: 1fr; margin-top: 22px; }
  .stat { padding: 14px 16px 12px; }
  .stat strong { font-size: 20px; }
  .stat em { font-size: 12px; }
  .stat + .stat {
    border-left: 0;
    border-top: 1px dashed rgba(245, 245, 246, 0.28);
  }
  .chains { gap: 12px 14px; font-size: 13px; }
  .partner-grid,
  .form-grid { grid-template-columns: 1fr; }
  .partners-head { margin-bottom: 28px; }
  .partner-card { min-height: 0; padding: 18px 16px 16px; }
  .partner-card h3 { font-size: 20px; }
  .faq-page { padding: 28px 0 36px; }
  .faq-layout { gap: 22px; }
  .faq-item .faq-q { font-size: 15px; line-height: 1.35; }
  .faq-item button { min-height: 56px; }
  .logo img { height: 32px; }
  .tab { padding: 0 12px; min-height: 38px; font-size: 14px; }
  .pill { padding: 0 12px; }
  .pills { gap: 6px; margin-top: 18px; }
  .chip {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }
  .faq-a { font-size: 15px; line-height: 1.5; }
  .auth-stage { width: calc(100% - 40px); gap: 22px; }
  .auth-card,
  .plain-card { padding: 22px 18px 20px; border-radius: 18px; }
  .auth-card--roomy { padding: 26px 20px 24px; }
  .auth-features { margin-top: 16px; }
  .step i { width: 38px; height: 38px; margin-bottom: 8px; font-size: 13px; }
  .steps::before { top: 19px; }
  .step b { font-size: 12px; line-height: 1.25; }
  .step span { font-size: 10px; line-height: 1.25; }
  .steps { gap: 4px; margin-bottom: 22px; }
  .join-shell { padding: 24px 14px 18px; }
  .join-card { padding: 16px 14px 10px; }
  .join-copy .eyebrow { margin-bottom: 16px; gap: 10px; font-size: 14px; }
  .how-intro .eyebrow { margin-bottom: 16px; gap: 10px; font-size: 14px; }
  .how-panel,
  .how-page .how-panel { padding: 22px 14px; border-radius: 14px; }
  .how-trust {
    gap: 10px 14px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.35;
  }
  .how-card { padding: 16px 14px; }
  .how-card h3 { font-size: 15px; }
  .site-footer { padding: 36px 0 24px; }
  .footer-brand p { font-size: 14px; }
  .copyright { padding-left: 20px; padding-right: 20px; margin-top: 28px; }
  .legal p { font-size: 16px; line-height: 1.55; }
  .success-note h2 { font-size: 28px; }
  .auth-page h1.inner-title,
  .plain-page h1.inner-title { font-size: clamp(28px, 7vw, 34px); }
}

@media (max-width: 430px) {
  .hero-actions .btn,
  .how-actions .btn,
  .join-card .btn-gold {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 380px) {
  .logo img { height: 28px; }
  .tab { min-height: 36px; padding: 0 10px; font-size: 13px; }
  .pill { min-height: 30px; padding: 0 10px; font-size: 12px; }
  .container,
  .partners-inner,
  .about-hero .container,
  .how-page .container,
  .join-shell { width: calc(100% - 28px); }
  .home-title { font-size: 32px; }
  .home-sub { font-size: 20px; }
  .about-hero .inner-title,
  .partners-head .inner-title,
  .how-intro .inner-title,
  .join-copy h1,
  .join-copy h2,
  .faq-layout h1,
  .faq-layout h2,
  .auth-brand .inner-title { font-size: 26px; }
  .auth-brand .inner-title .secondary { font-size: 17px; }
  .auth-card-head h2 { font-size: 22px; }
  .about-hero .inner-title .secondary,
  .partners-head .inner-title .secondary,
  .how-intro .inner-title .secondary,
  .join-copy .lead { font-size: 17px; }
  .eco-copy .inner-title { font-size: 28px; }
  .eco-copy .inner-title .secondary { font-size: 16px; }
  .eyebrow,
  .how-intro .eyebrow,
  .join-copy .eyebrow { font-size: 13px; }
  .chip { min-height: 26px; font-size: 10px; padding: 0 8px; }
  .about-url { padding: 12px; font-size: 13px; gap: 10px; }
  .faq-item .faq-q { font-size: 14px; }
  .faq-item button {
    min-height: 52px;
    grid-template-columns: 24px minmax(0, 1fr) 14px;
  }
  .step b { font-size: 11px; }
  .step span { font-size: 9px; }
  .hero-grid { gap: 30px; }
  .hero-actions { margin-top: 30px; }
  .how-panel,
  .how-page .how-panel,
  .join-shell { padding-left: 12px; padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .chip, .partner-card, .faq-item button svg, .how-card,
  .nav, .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after,
  .hover-swap-track,
  .btn-arrow { transition: none; }
}
