:root {
  --moss: #3d4b2e;
  --forest: #2a3820;
  --paper: #eee8dc;
  --sand: #cdb98b;
  --gold: #b8923e;
  --lime: #a8d55a;
  --ink: #182014;
  --muted: #66715c;
  --line: rgba(61, 75, 46, 0.18);
  --white: #ffffff;
  --error: #d14b4b;
  --glass: rgba(255, 255, 255, 0.7);
  --shadow: 0 34px 90px rgba(24, 32, 20, 0.22);
  --shadow-soft: 0 20px 54px rgba(42, 56, 32, 0.13);
  --charcoal: #0d0f0e;
  --charcoal-2: #141812;
  --surface: rgba(22, 28, 18, 0.82);
  --surface-soft: rgba(238, 232, 220, 0.08);
  --hairline: rgba(205, 185, 139, 0.22);
  --cream-text: #f7f1e6;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--charcoal);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--cream-text);
  background:
    radial-gradient(circle at 76% 10%, rgba(168, 213, 90, 0.12), transparent 28%),
    radial-gradient(circle at 12% 0%, rgba(184, 146, 62, 0.16), transparent 30%),
    linear-gradient(135deg, #0d0f0e 0%, #182014 48%, #0d0f0e 100%);
  font-family: Verdana, Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.login-screen {
  display: none;
  min-height: 100vh;
  padding: clamp(22px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}

.is-login .login-screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 3.4vw, 42px);
}

.is-login .app-shell {
  display: none;
}

.login-screen::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(205, 185, 139, 0.16);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(247, 241, 230, 0.78);
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.login-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.login-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--cream-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1;
}

.login-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(247, 241, 230, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

.login-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 22px;
}

.login-form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.login-card {
  display: grid;
  gap: 12px;
  min-height: 144px;
  padding: 18px;
  color: var(--cream-text);
  text-align: left;
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 213, 90, 0.11), transparent 42%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(205, 185, 139, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.login-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 213, 90, 0.62);
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 213, 90, 0.2), transparent 42%),
    rgba(255, 255, 255, 0.075);
}

.login-card.is-selected {
  color: var(--forest);
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 241, 230, 0.36), transparent 46%),
    linear-gradient(145deg, rgba(168, 213, 90, 0.96), rgba(205, 185, 139, 0.84));
  border-color: rgba(168, 213, 90, 0.86);
  box-shadow: 0 22px 54px rgba(168, 213, 90, 0.16);
}

.login-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.12;
}

.login-card.is-selected span,
.login-card.is-selected strong {
  color: var(--forest);
}

.login-card small {
  align-self: end;
  width: max-content;
  padding: 9px 12px;
  color: var(--forest);
  background: linear-gradient(145deg, #c5f06b, var(--lime));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.credential-grid label {
  display: grid;
  gap: 8px;
}

.credential-grid label span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.credential-grid input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--cream-text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(205, 185, 139, 0.22);
  border-radius: 8px;
  outline: none;
}

.credential-grid input:focus {
  border-color: rgba(168, 213, 90, 0.7);
  box-shadow: 0 0 0 3px rgba(168, 213, 90, 0.12);
}

.credential-grid input::placeholder {
  color: rgba(247, 241, 230, 0.38);
}

.login-submit {
  width: max-content;
  min-width: 220px;
}

.login-error {
  min-height: 20px;
  margin: -6px 0 0;
  color: #ffb4a9;
  font-size: 13px;
  line-height: 1.4;
}

.login-jota {
  display: grid;
  place-items: center;
  min-height: min(62vh, 560px);
  background:
    radial-gradient(circle at 50% 52%, rgba(238, 232, 220, 0.13), transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(205, 185, 139, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.login-jota img {
  width: min(88%, 470px);
  height: auto;
  filter: drop-shadow(0 42px 58px rgba(0, 0, 0, 0.42));
}

.app-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100vh;
  padding: 30px 20px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 146, 62, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(28, 38, 22, 0.98), rgba(10, 12, 10, 0.98)),
    var(--charcoal);
  border-right: 1px solid rgba(205, 185, 139, 0.14);
  box-shadow: 20px 0 70px rgba(0, 0, 0, 0.24);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 38px;
  line-height: 1;
}

.brand-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding-bottom: 10px;
}

.rail .brand-mark {
  flex: 0 0 82px;
  width: 82px;
  height: 52px;
}

.rail .brand-mark img {
  width: 82px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.rail .brand-subtitle {
  display: block;
  min-width: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.profile-switcher {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(205, 185, 139, 0.17);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-switcher label,
.metric-label,
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-switcher select {
  display: none;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.profile-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-tabs button {
  min-height: 44px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(205, 185, 139, 0.16);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.profile-tabs button.is-active {
  color: var(--forest);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 12px 28px rgba(168, 213, 90, 0.2);
}

.desktop-nav,
.mobile-nav {
  display: grid;
  gap: 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  font-weight: 700;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.nav-item-jota .nav-icon,
.mobile-nav .nav-item-jota {
  color: var(--forest);
  background: var(--gold);
}

.gate-note,
.account-note {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(184, 146, 62, 0.13);
  border: 1px solid rgba(184, 146, 62, 0.35);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.gate-note strong,
.account-note strong {
  color: var(--white);
}

.main-stage {
  min-width: 0;
  padding: 32px clamp(18px, 4vw, 58px) 96px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.topbar h1,
.hero-copy h2,
.section-heading h2,
.regina-card h2 {
  margin: 0;
  color: var(--cream-text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

.topbar h1 {
  font-size: clamp(30px, 4vw, 46px);
}

.eyebrow {
  margin: 0 0 8px;
}

.top-actions,
.hero-actions,
.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-button,
.secondary-button,
.ghost-button,
.quick-prompts button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-button {
  color: var(--forest);
  background: linear-gradient(145deg, #c5f06b, var(--lime));
  border: 1px solid rgba(168, 213, 90, 0.55);
  box-shadow: 0 18px 36px rgba(168, 213, 90, 0.18);
}

.secondary-button {
  color: var(--cream-text);
  background: transparent;
  border: 1px solid rgba(205, 185, 139, 0.36);
}

.hero-band .secondary-button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.ghost-button,
.quick-prompts button {
  color: var(--moss);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: grid;
  gap: 22px;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  min-height: 600px;
  padding: clamp(28px, 4.2vw, 58px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 43%, rgba(168, 213, 90, 0.14), transparent 34%),
    radial-gradient(circle at 12% 13%, rgba(184, 146, 62, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(14, 18, 13, 0.98), rgba(34, 44, 29, 0.96)),
    var(--charcoal);
  border-radius: 8px;
  border: 1px solid rgba(205, 185, 139, 0.2);
  box-shadow: var(--shadow);
  position: relative;
}

.hero-band::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(205, 185, 139, 0.18);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.hero-band::after {
  position: absolute;
  top: -35%;
  right: -12%;
  width: 58%;
  height: 150%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  content: "";
  transform: rotate(14deg);
  pointer-events: none;
}

.hero-copy,
.jota-showcase {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-copy h2 {
  max-width: 600px;
  color: var(--white);
  font-size: clamp(46px, 5.5vw, 82px);
}

.hero-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 16px;
}

.hero-meta span {
  min-height: 30px;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(205, 185, 139, 0.26);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.jota-portrait {
  display: grid;
  place-items: center;
}

.jota-portrait img {
  width: min(112%, 520px);
  height: auto;
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 38px 52px rgba(0, 0, 0, 0.46));
  transform: scale(1.12) translateY(10px);
  transform-origin: center bottom;
}

.jota-showcase {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
}

.jota-showcase::before {
  position: absolute;
  inset: 12px 8px 18px;
  background:
    radial-gradient(circle at 50% 44%, rgba(238, 232, 220, 0.13), transparent 62%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  border-radius: 48% 48% 36% 36%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  content: "";
}

.jota-caption {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: min(240px, 72%);
  padding: 14px 16px;
  color: var(--white);
  background: rgba(18, 24, 15, 0.82);
  border: 1px solid rgba(205, 185, 139, 0.35);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.jota-caption span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.jota-caption strong {
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
}

.access-dock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 16px 0 20px;
}

.access-choice {
  display: grid;
  gap: 7px;
  min-height: 98px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(205, 185, 139, 0.18);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.access-choice span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.access-choice strong {
  color: var(--white);
  font-size: 14px;
  line-height: 1.45;
}

.access-choice.is-active {
  color: var(--forest);
  background: linear-gradient(145deg, rgba(168, 213, 90, 0.96), rgba(205, 185, 139, 0.84));
  border-color: rgba(168, 213, 90, 0.98);
  box-shadow: 0 18px 38px rgba(168, 213, 90, 0.22);
}

.access-choice.is-active span,
.access-choice.is-active strong {
  color: var(--forest);
}

.final-medallion {
  justify-self: center;
  width: min(100%, 330px);
  aspect-ratio: 1;
  padding: 28px;
  color: var(--forest);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.92), rgba(238, 232, 220, 0.74) 42%, rgba(205, 185, 139, 0.78)),
    var(--sand);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 22px 42px rgba(0, 0, 0, 0.18);
  text-align: center;
  position: relative;
}

.final-medallion::before,
.final-medallion::after {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(184, 146, 62, 0.28);
  border-radius: 28%;
  content: "";
}

.final-medallion::after {
  inset: 42px;
  border-color: rgba(61, 75, 46, 0.2);
}

.final-medallion strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(92px, 12vw, 150px);
  line-height: 0.92;
}

.final-medallion span {
  max-width: 210px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.final-medallion .medallion-kicker {
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
}

.dashboard-grid,
.feed-grid,
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.premium-access-grid,
.special-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.access-card,
.special-feature {
  min-height: 250px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(184, 146, 62, 0.28);
  background-blend-mode: screen;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.access-card::after,
.special-feature::after {
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(184, 146, 62, 0.22);
  border-radius: 50%;
  content: "";
}

.access-card h3,
.special-feature h3 {
  margin: 8px 0 10px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.05;
}

.access-card p,
.special-feature p {
  max-width: 320px;
  color: var(--muted);
  line-height: 1.58;
}

.access-card .small-button {
  margin-top: 10px;
}

.access-private,
.private-feature {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(205, 185, 139, 0.24)),
    var(--paper);
}

.access-people,
.people-feature {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(168, 213, 90, 0.18)),
    var(--paper);
}

.access-assessor,
.assessor-feature {
  background:
    linear-gradient(145deg, rgba(42, 56, 32, 0.94), rgba(61, 75, 46, 0.88)),
    var(--forest);
}

.access-assessor h3,
.access-assessor p,
.access-assessor .eyebrow,
.assessor-feature h3,
.assessor-feature p,
.assessor-feature .eyebrow {
  color: var(--white);
}

.access-assessor p,
.assessor-feature p {
  color: rgba(255, 255, 255, 0.74);
}

body[data-access="cliente"] .premium-access-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-access="cliente"] .access-assessor {
  display: none;
}

body[data-access="cliente"] .assessor-only,
body[data-access="cliente"] .assessor-nav {
  display: none;
}

body[data-access="assessor"] .premium-access-grid {
  grid-template-columns: minmax(0, 1fr);
}

body[data-access="assessor"] .access-private,
body[data-access="assessor"] .access-people {
  display: none;
}

.content-split,
.wallet-layout,
.regina-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 16px;
}

.metric-card,
.panel,
.wallet-card,
.regina-card,
.chat-panel,
.feed-card,
.store-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(42, 56, 32, 0.08);
  backdrop-filter: blur(14px);
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 20px;
}

.metric-card strong,
.wallet-card strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.metric-card span:last-child,
.wallet-card p,
.feed-card p,
.store-card p,
.panel,
.chat-log {
  color: var(--muted);
  line-height: 1.55;
}

.panel,
.wallet-card,
.chat-panel {
  padding: 22px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2,
.section-heading h3 {
  margin: 0;
  color: var(--forest);
}

.section-heading h2 {
  font-size: clamp(32px, 5vw, 54px);
}

.section-heading h3 {
  font-size: 22px;
}

.compact-heading {
  margin-top: 24px;
}

.agenda-list {
  display: grid;
  gap: 12px;
}

.agenda-list div {
  padding: 14px;
  background: rgba(238, 232, 220, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.agenda-list span,
.feature-status {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.agenda-list strong {
  display: block;
  margin: 4px 0;
  color: var(--forest);
}

.agenda-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.special-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-status {
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 8px 10px;
  color: var(--forest);
  background: rgba(168, 213, 90, 0.44);
  border-radius: 999px;
}

.assessor-feature .feature-status {
  color: var(--forest);
  background: var(--lime);
}

.mission-list,
.timeline {
  display: grid;
  gap: 10px;
}

.mission-item,
.timeline-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: rgba(238, 232, 220, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mission-item header,
.timeline-item header,
.feed-card header,
.store-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.mission-item strong,
.timeline-item strong,
.feed-card strong,
.store-card strong {
  color: var(--forest);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: var(--forest);
  background: rgba(168, 213, 90, 0.45);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pill.gold {
  background: rgba(184, 146, 62, 0.28);
}

.pill.locked {
  color: var(--error);
  background: rgba(209, 75, 75, 0.11);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 26px;
  position: relative;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✓";
  font-weight: 700;
}

.feed-card,
.store-card {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 20px;
}

.feed-card footer,
.store-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.small-button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.small-button[disabled] {
  cursor: not-allowed;
  opacity: 0.52;
}

.wallet-card {
  display: grid;
  align-content: start;
  gap: 14px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(42, 56, 32, 0.98), rgba(61, 75, 46, 0.94)),
    var(--forest);
}

.wallet-card strong,
.wallet-card .metric-label {
  color: var(--white);
}

.wallet-card p {
  color: rgba(255, 255, 255, 0.78);
}

.wallet-card .secondary-button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
}

.regina-layout {
  align-items: start;
}

.regina-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.regina-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--white);
  background: var(--forest);
  border: 3px solid var(--gold);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
}

.chat-panel {
  display: grid;
  gap: 14px;
}

.chat-log {
  display: grid;
  gap: 10px;
  min-height: 360px;
  max-height: 460px;
  overflow: auto;
}

.message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.5;
}

.message.user {
  justify-self: end;
  color: var(--white);
  background: var(--moss);
}

.message.regina {
  justify-self: start;
  color: var(--ink);
  background: rgba(238, 232, 220, 0.9);
  border: 1px solid var(--line);
}

.message.guardrail {
  color: var(--error);
  background: rgba(209, 75, 75, 0.1);
  border-color: rgba(209, 75, 75, 0.2);
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.chat-form input {
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-prompts button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 12px;
}

.mobile-nav {
  display: none;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  color: var(--white);
  background: var(--forest);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.access-visual {
  position: absolute;
  right: -4px;
  bottom: -12px;
  z-index: 0;
  width: 138px;
  height: 138px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.22));
}

.jota-card-visual {
  right: -18px;
  bottom: -36px;
  width: 172px;
  height: 230px;
  opacity: 0.96;
}

.access-card > :not(.access-visual) {
  position: relative;
  z-index: 1;
}

.access-card,
.special-feature,
.metric-card,
.panel,
.wallet-card,
.regina-card,
.chat-panel,
.feed-card,
.store-card {
  border-color: var(--hairline);
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.access-private,
.private-feature {
  background:
    radial-gradient(circle at 100% 100%, rgba(201, 162, 74, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(247, 241, 230, 0.12), rgba(201, 162, 74, 0.08)),
    var(--surface);
}

.access-people,
.people-feature {
  background:
    radial-gradient(circle at 100% 100%, rgba(168, 213, 90, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(247, 241, 230, 0.1), rgba(168, 213, 90, 0.07)),
    var(--surface);
}

.access-assessor,
.assessor-feature,
.wallet-card {
  background:
    radial-gradient(circle at 100% 100%, rgba(168, 213, 90, 0.18), transparent 44%),
    linear-gradient(145deg, rgba(42, 56, 32, 0.98), rgba(13, 15, 14, 0.94)),
    var(--charcoal);
}

.access-card h3,
.special-feature h3,
.metric-card strong,
.wallet-card strong,
.mission-item strong,
.timeline-item strong,
.feed-card strong,
.store-card strong,
.section-heading h2,
.section-heading h3,
.agenda-list strong {
  color: var(--cream-text);
}

.access-card p,
.special-feature p,
.metric-card span:last-child,
.wallet-card p,
.feed-card p,
.store-card p,
.panel,
.chat-log,
.agenda-list p {
  color: rgba(247, 241, 230, 0.68);
}

.agenda-list div,
.mission-item,
.timeline-item {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(205, 185, 139, 0.16);
}

.small-button {
  background: rgba(247, 241, 230, 0.92);
  border-color: rgba(205, 185, 139, 0.28);
}

.regina-avatar {
  width: 108px;
  height: 126px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(238, 232, 220, 0.11), rgba(168, 213, 90, 0.08));
  border: 1px solid rgba(205, 185, 139, 0.24);
  border-radius: 8px;
  font-size: 0;
}

.regina-avatar img {
  width: 120px;
  height: 150px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.3));
}

.message.regina {
  color: var(--cream-text);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(205, 185, 139, 0.16);
}

.chat-form input {
  color: var(--cream-text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(205, 185, 139, 0.18);
}

.chat-form input::placeholder {
  color: rgba(247, 241, 230, 0.45);
}

.compact-action {
  min-height: 48px;
}

.main-stage {
  max-width: 1480px;
}

.hero-band {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
}

.hero-copy h2 {
  max-width: 560px;
}

.dashboard-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.metric-card {
  min-height: 142px;
}

.premium-access-grid,
.content-split,
.wallet-layout,
.regina-layout {
  align-items: stretch;
}

.liga-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 28px;
  min-height: 430px;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  color: var(--cream-text);
  background:
    radial-gradient(circle at 84% 20%, rgba(168, 213, 90, 0.17), transparent 36%),
    linear-gradient(135deg, rgba(13, 15, 14, 0.98), rgba(42, 56, 32, 0.95));
  border: 1px solid rgba(205, 185, 139, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
}

.liga-hero::before {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(205, 185, 139, 0.16);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.liga-hero-copy,
.liga-hero-visual {
  position: relative;
  z-index: 1;
}

.liga-hero h2 {
  max-width: 820px;
  margin: 0;
  color: var(--cream-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
}

.liga-hero p {
  max-width: 680px;
  color: rgba(247, 241, 230, 0.76);
  font-size: 17px;
  line-height: 1.58;
}

.liga-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.liga-hero-visual {
  display: grid;
  align-content: end;
  justify-items: center;
}

.liga-hero-visual img {
  width: min(92%, 320px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.46));
}

.liga-hero-visual span {
  width: max-content;
  max-width: 100%;
  margin-top: -22px;
  padding: 10px 14px;
  color: var(--forest);
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.liga-metrics,
.jota-rule-grid,
.principle-grid,
.team-grid,
.tier-grid,
.launch-grid,
.vocabulary-grid {
  display: grid;
  gap: 14px;
}

.liga-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.liga-metrics article,
.liga-section,
.principle-grid article,
.jota-rule-grid article,
.team-grid article,
.tier-grid article,
.launch-grid article,
.vocabulary-grid article {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.13);
}

.liga-metrics article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
}

.liga-metrics span,
.tier-grid span,
.launch-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.liga-metrics strong {
  color: var(--cream-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1;
}

.liga-metrics p,
.liga-section p,
.tier-grid p,
.launch-grid p,
.vocabulary-grid p {
  margin: 0;
  color: rgba(247, 241, 230, 0.68);
  line-height: 1.55;
}

.liga-section {
  padding: clamp(22px, 3vw, 30px);
}

.principle-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle-grid article {
  min-height: 230px;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 146, 62, 0.12), transparent 46%),
    rgba(255, 255, 255, 0.045);
}

.principle-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--forest);
  background: var(--sand);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.principle-grid h3,
.vocabulary-grid h3 {
  margin: 16px 0 10px;
  color: var(--cream-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.1;
}

.jota-rule-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jota-rule-grid article {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.jota-rule-grid strong {
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.jota-rule-grid span,
.team-grid span {
  color: rgba(247, 241, 230, 0.72);
  line-height: 1.45;
}

.liga-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.liga-two-columns .panel {
  min-height: 100%;
}

.liga-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liga-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  color: rgba(247, 241, 230, 0.72);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(205, 185, 139, 0.14);
  border-radius: 8px;
  line-height: 1.45;
}

.liga-list strong {
  flex: 0 0 auto;
  color: var(--cream-text);
}

.danger-list strong {
  color: #ffb4a9;
}

.pix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pix-tags span {
  padding: 10px 12px;
  color: var(--forest);
  background: rgba(168, 213, 90, 0.86);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.liga-note {
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(205, 185, 139, 0.14);
  border-radius: 8px;
}

.team-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.team-grid article,
.tier-grid article,
.launch-grid article,
.vocabulary-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.team-grid strong {
  color: var(--cream-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.12;
}

.tier-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tier-grid strong {
  color: var(--cream-text);
  font-size: 18px;
}

.launch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.launch-grid strong {
  color: var(--cream-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.12;
}

.vocabulary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.vocabulary-grid h3 {
  margin-top: 0;
}

@media (max-width: 1060px) {
  .login-stage {
    grid-template-columns: 1fr;
  }

  .login-jota {
    min-height: 430px;
  }

  .login-jota img {
    width: min(72vw, 330px);
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .rail {
    position: static;
    height: auto;
    padding: 18px;
  }

  .desktop-nav,
  .gate-note,
  .account-note {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
    gap: 6px;
    padding: 8px;
    background: var(--forest);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .mobile-nav .nav-item {
    display: grid;
    place-items: center;
    gap: 3px;
    min-height: 54px;
    padding: 4px;
    font-size: 16px;
    text-align: center;
  }

  .mobile-nav .nav-item span {
    font-size: 10px;
  }
}

@media (max-width: 860px) {
  .topbar,
  .hero-band,
  .liga-hero,
  .content-split,
  .wallet-layout,
  .regina-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  .dashboard-grid,
  .feed-grid,
  .store-grid,
  .liga-metrics,
  .principle-grid,
  .jota-rule-grid,
  .team-grid,
  .tier-grid,
  .launch-grid,
  .vocabulary-grid,
  .liga-two-columns,
  .premium-access-grid,
  .special-areas,
  .login-options,
  .credential-grid,
  .access-dock {
    grid-template-columns: 1fr;
  }

  .hero-band {
    min-height: auto;
  }

  .hero-actions {
    margin-bottom: 70px;
  }

  .jota-portrait img {
    width: min(76vw, 320px);
  }

  .jota-caption {
    right: 50%;
    bottom: 14px;
    width: min(280px, 84%);
    transform: translateX(50%);
  }

  .chat-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .login-screen {
    padding: 18px 14px 32px;
  }

  .login-screen::before {
    inset: 10px;
  }

  .login-copy h1 {
    font-size: 46px;
  }

  .login-card {
    min-height: 156px;
  }

  .login-jota {
    min-height: 340px;
  }

  .main-stage {
    padding: 18px 14px 98px;
  }

  .hero-copy h2 {
    font-size: 38px;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }

  .message {
    max-width: 100%;
  }
}
