/* ==========================================================================
   GoldVault EA — dark luxury design system
   Palette is fixed by the brand brief:
   #080A09 #0D100E #121713 #171D18 | gold #D6B56D #F0D9A0 #8E713B
   emerald #16845B #35B980 | text #F5F4EE #A8B0A8 #778078 | border #283129
   ========================================================================== */

:root {
  --bg: #080A09;
  --bg-deep: #0D100E;
  --surface: #121713;
  --surface-raised: #171D18;
  --gold: #D6B56D;
  --gold-light: #F0D9A0;
  --gold-dark: #8E713B;
  --emerald: #16845B;
  --emerald-light: #35B980;
  --text: #F5F4EE;
  --text-muted: #A8B0A8;
  --text-dim: #778078;
  --border: #283129;
  --danger: #B34545;
  --danger-light: #E08585;
  --warning: #D9A84E;

  --font-sans: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --ring: 0 0 0 3px rgba(214, 181, 109, 0.55);
  --transition: 180ms ease;
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 42% at 12% -8%, rgba(214, 181, 109, 0.10), transparent 62%),
    radial-gradient(ellipse 55% 38% at 92% 4%, rgba(22, 132, 91, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 38%, var(--bg) 100%);
  background-attachment: fixed;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.45rem, 1.1rem + 1.15vw, 2.05rem);
}

h3 {
  font-size: clamp(1.12rem, 1rem + 0.42vw, 1.32rem);
}

h4 {
  font-size: 1.02rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

li:last-child {
  margin-bottom: 0;
}

a {
  color: var(--gold-light);
  text-decoration-color: rgba(214, 181, 109, 0.4);
  text-underline-offset: 3px;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

a:hover {
  color: var(--gold);
}

code {
  padding: 0.12em 0.4em;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg-deep);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.86em;
  color: var(--gold-light);
  overflow-wrap: anywhere;
}

::selection {
  color: #080A09;
  background: var(--gold);
}

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

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.main {
  flex: 1 0 auto;
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(1rem, 0.4rem + 2.4vw, 2.25rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #080A09;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #080A09;
}

/* --------------------------------------------------------------------------
   Surfaces, sections, headings
   -------------------------------------------------------------------------- */

.surface {
  background-color: var(--surface);
  background-image: linear-gradient(160deg, rgba(23, 29, 24, 0.92), rgba(13, 16, 14, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-section,
.section {
  padding-block: clamp(2.4rem, 1.5rem + 3vw, 4.6rem);
  scroll-margin-top: 96px;
}

.section-alt {
  background-color: rgba(13, 16, 14, 0.6);
  border-block: 1px solid var(--border);
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.6rem, 1rem + 1.6vw, 2.6rem);
}

.page-head > div:first-child {
  max-width: 68ch;
}

.page-head h1 {
  margin-bottom: 0.4rem;
}

.page-head p {
  color: var(--text-muted);
  font-size: 1.03rem;
}

.page-head--center {
  justify-content: center;
  text-align: center;
}

.page-head--center > div:first-child {
  max-width: 74ch;
}

.page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.section-header {
  max-width: 74ch;
  margin: 0 auto clamp(1.6rem, 1rem + 1.6vw, 2.5rem);
  text-align: center;
}

.section-header p {
  color: var(--text-muted);
}

.section-copy {
  color: var(--text-muted);
  max-width: 66ch;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 12px rgba(53, 185, 128, 0.8);
}

.text-gold {
  color: var(--gold);
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.84rem;
}

.center {
  justify-content: center;
  text-align: center;
}

.inline-note {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(214, 181, 109, 0.08);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-top: 0.6rem;
}

.access-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.access-note i {
  color: var(--gold);
}

.eligibility-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.4rem 0 0.9rem;
  color: var(--gold);
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.72rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

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

.btn:active {
  transform: translateY(0);
}

.btn i {
  font-size: 0.92em;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #0A0C0A;
  border-color: var(--gold);
  box-shadow: 0 10px 26px rgba(214, 181, 109, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #F7E5BA, var(--gold-light));
  color: #080A09;
  box-shadow: 0 14px 32px rgba(214, 181, 109, 0.28);
}

.btn-secondary {
  background: rgba(23, 29, 24, 0.85);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--gold-dark);
  color: var(--gold-light);
  background: var(--surface-raised);
}

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

.btn-ghost:hover {
  background: rgba(40, 49, 41, 0.5);
  color: var(--text);
}

.btn-danger {
  background: var(--danger);
  border-color: #8B3535;
  color: var(--text);
}

.btn-danger:hover {
  background: #C45151;
  color: #FFFFFF;
}

.btn-success {
  background: var(--emerald);
  border-color: #1A9969;
  color: #F5F4EE;
}

.btn-success:hover {
  background: #1A9969;
  color: #FFFFFF;
}

.btn-warning {
  background: var(--gold-dark);
  border-color: #A58446;
  color: #FFF8E6;
}

.btn-warning:hover {
  background: #A58446;
  color: #FFFFFF;
}

.btn-small {
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  font-size: 0.84rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

.full-width {
  width: 100%;
}

.btn-disabled,
.btn:disabled {
  background: var(--surface-raised);
  border-color: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.card-link:hover {
  color: var(--gold-light);
}

.center-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 9, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.navbar-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.7rem clamp(1rem, 0.4rem + 2.4vw, 2.25rem);
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo:hover {
  color: var(--gold-light);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold-dark);
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(214, 181, 109, 0.22), rgba(22, 132, 91, 0.10));
  color: var(--gold);
  font-size: 1rem;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-ea {
  color: var(--gold);
  font-size: 0.78em;
  letter-spacing: 0.16em;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-links li {
  margin: 0;
}

.navbar-links a {
  display: inline-block;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.navbar-links a:hover {
  color: var(--text);
  background: rgba(40, 49, 41, 0.55);
}

.navbar-links a.is-active {
  color: var(--gold);
  background: rgba(214, 181, 109, 0.09);
}

.navbar-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.logout-form {
  margin: 0;
}

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

.nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
}

.nav-toggle-checkbox:focus-visible + .navbar-logo + .nav-toggle-label,
.nav-toggle-checkbox:focus-visible ~ .nav-toggle-label {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.6rem, 1.4rem + 4.4vw, 5.6rem);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40, 49, 41, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 49, 41, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 62% 58% at 42% 32%, rgba(0, 0, 0, 0.55), transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 42% 32%, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.8rem, 1rem + 3vw, 4rem);
}

.hero-content h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 1.35rem + 3.6vw, 4rem);
}

.hero-subtitle {
  max-width: 60ch;
  margin-bottom: 1.6rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 0.95rem + 0.32vw, 1.14rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.hero-secondary-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.86rem;
}

.hero-note i {
  color: var(--emerald-light);
  margin-top: 0.2em;
}

.hero-panel {
  padding: clamp(1.1rem, 0.8rem + 1vw, 1.6rem);
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.hero-panel-head .eyebrow {
  margin: 0;
}

.access-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.access-row h2 {
  margin: 0 0 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.access-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.access-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-raised);
}

.access-icon--emerald {
  color: var(--emerald-light);
}

.access-icon--gold {
  color: var(--gold);
}

.access-count {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}

.hero-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.hero-panel-foot strong {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.trust-strip {
  background: rgba(13, 16, 14, 0.75);
  border-bottom: 1px solid var(--border);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-block: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.trust-item i {
  color: var(--emerald-light);
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 0.7rem + 1vw, 1.5rem);
}

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 0.8rem + 0.9vw, 1.5rem);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dark);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(214, 181, 109, 0.12);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.product-card h2,
.product-card h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.14rem, 1.02rem + 0.4vw, 1.34rem);
}

.product-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.product-card h2 a:hover {
  color: var(--gold-light);
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.91rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.product-actions--large .btn {
  min-height: 48px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-badge.is-free {
  border-color: rgba(53, 185, 128, 0.45);
  background: rgba(22, 132, 91, 0.14);
  color: #7FE0B4;
}

.product-badge.is-vip {
  border-color: rgba(214, 181, 109, 0.5);
  background: rgba(214, 181, 109, 0.12);
  color: var(--gold-light);
}

.product-badge.is-neutral {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.license-key-display {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.6rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.license-key-display code {
  text-transform: none;
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   Split grids, info cards, lists, steps
   -------------------------------------------------------------------------- */

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 0.7rem + 1vw, 1.5rem);
}

.split-grid--wide {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
}

.info-card {
  padding: clamp(1.15rem, 0.85rem + 1vw, 1.65rem);
}

.info-card--vip {
  border-color: rgba(214, 181, 109, 0.4);
  background-image: linear-gradient(155deg, rgba(214, 181, 109, 0.12), rgba(13, 16, 14, 0.92) 55%);
}

.info-card + .info-card {
  margin-top: 0;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface-raised);
  color: var(--gold);
  font-size: 1.05rem;
}

.info-icon--emerald {
  border-color: rgba(53, 185, 128, 0.4);
  background: rgba(22, 132, 91, 0.12);
  color: var(--emerald-light);
}

.info-icon--gold {
  border-color: rgba(214, 181, 109, 0.45);
  background: rgba(214, 181, 109, 0.12);
  color: var(--gold);
}

.check-list {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 1.55rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--emerald-light);
  font-weight: 700;
}

.check-list.numbered {
  counter-reset: checklist;
}

.check-list.numbered li {
  padding-left: 2rem;
  counter-increment: checklist;
}

.check-list.numbered li::before {
  content: counter(checklist, decimal-leading-zero);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  top: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps--four {
  margin-block: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem;
  margin: 0;
}

.step-number {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   CTA panel and FAQ cards
   -------------------------------------------------------------------------- */

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-block: clamp(1.6rem, 1rem + 1.8vw, 2.8rem);
  padding: clamp(1.3rem, 0.9rem + 1.6vw, 2.2rem);
  border-color: rgba(214, 181, 109, 0.35);
  background-image: linear-gradient(125deg, rgba(214, 181, 109, 0.14), rgba(13, 16, 14, 0.94) 58%);
}

.cta-panel > div:first-child {
  max-width: 64ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.faqs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(0.9rem, 0.6rem + 0.9vw, 1.35rem);
}

.faqs-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.faq-card {
  padding: clamp(1.1rem, 0.85rem + 0.8vw, 1.45rem);
}

.faq-card h2,
.faq-card h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
}

.faq-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   License flow
   -------------------------------------------------------------------------- */

.license-flow {
  padding: clamp(1.2rem, 0.9rem + 1vw, 1.75rem);
}

.flow-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.flow-row h3 {
  margin-bottom: 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
}

.flow-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.87rem;
}

.flow-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  background: rgba(214, 181, 109, 0.12);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.9rem;
}

.flow-line {
  width: 1px;
  height: 26px;
  margin-left: 15px;
  background: linear-gradient(180deg, var(--gold-dark), transparent);
}

/* --------------------------------------------------------------------------
   Catalog and filters
   -------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.9rem 1rem;
  padding: 1.1rem;
  margin-bottom: 1.3rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 150px;
}

.filter-grow {
  flex: 1 1 260px;
}

.filter-group label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.results-bar strong {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  color: var(--text-dim);
  font-size: 0.84rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(1rem, 0.7rem + 1.1vw, 1.6rem);
}

.product-detail-card {
  padding: clamp(1.3rem, 0.9rem + 1.6vw, 2.2rem);
}

.product-description {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 72ch;
}

.product-policy {
  margin-block: 1.5rem;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(8, 10, 9, 0.45);
}

.product-policy h2 {
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-policy p {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.product-policy p i {
  margin-top: 0.25em;
  color: var(--gold);
}

.product-sidebar {
  display: grid;
  gap: 1rem;
}

.detail-list {
  margin: 0;
}

.detail-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-list > div:last-child {
  border-bottom: 0;
}

.detail-list dt {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.detail-list dd {
  margin: 0;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.form-group small {
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.45;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="number"],
input[type="url"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
  appearance: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-dim);
}

input:hover,
select:hover,
textarea:hover {
  border-color: #354035;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 181, 109, 0.18);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--emerald);
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
}

.form-span {
  grid-column: 1 / -1;
}

.grid-form .form-actions {
  grid-column: 1 / -1;
  margin-top: 0.4rem;
}

.stack-form {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.stack-form label {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.form-card {
  padding: clamp(1.1rem, 0.85rem + 1vw, 1.6rem);
  margin-top: 1.4rem;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--gold);
  background: rgba(40, 49, 41, 0.6);
}

/* --------------------------------------------------------------------------
   Authentication pages
   -------------------------------------------------------------------------- */

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
}

.auth-container {
  max-width: 560px;
}

.auth-card {
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.3rem);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.auth-brand .eyebrow {
  margin: 0;
}

.logo-mark--large {
  width: 52px;
  height: 52px;
  font-size: 1.35rem;
  border-radius: 14px;
}

.auth-card h1 {
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.2rem);
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.auth-form {
  margin-top: 1.2rem;
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.88rem;
}

.auth-vip {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.auth-vip p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-back {
  margin-top: 1.3rem;
  font-size: 0.88rem;
}

.support-steps {
  display: grid;
  gap: 0.8rem;
}

.support-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(8, 10, 9, 0.4);
}

.support-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(214, 181, 109, 0.14);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.9rem;
}

.support-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Alerts and status pills
   -------------------------------------------------------------------------- */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.alert p {
  margin: 0 0 0.3rem;
}

.alert p:last-child {
  margin-bottom: 0;
}

.alert i {
  margin-top: 0.2em;
}

.alert-error {
  border-color: rgba(224, 133, 133, 0.45);
  background: rgba(179, 69, 69, 0.14);
  color: #F2C4C4;
}

.alert-success {
  border-color: rgba(53, 185, 128, 0.45);
  background: rgba(22, 132, 91, 0.14);
  color: #A9E7C9;
}

.alert-warning {
  border-color: rgba(217, 168, 78, 0.45);
  background: rgba(143, 104, 38, 0.16);
  color: #F0D9A0;
}

.alert-info {
  border-color: rgba(214, 181, 109, 0.4);
  background: rgba(214, 181, 109, 0.09);
  color: #E6D6B0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.24rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill--emerald {
  border-color: rgba(53, 185, 128, 0.45);
  background: rgba(22, 132, 91, 0.15);
  color: #7FE0B4;
}

.status-pill--gold {
  border-color: rgba(214, 181, 109, 0.45);
  background: rgba(214, 181, 109, 0.12);
  color: var(--gold-light);
}

.status-pill--danger {
  border-color: rgba(224, 133, 133, 0.45);
  background: rgba(179, 69, 69, 0.15);
  color: #F2C4C4;
}

.status-pill--muted {
  color: var(--text-muted);
}

.status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-active {
  border-color: rgba(53, 185, 128, 0.45);
  background: rgba(22, 132, 91, 0.15);
  color: #7FE0B4;
}

.status-pending {
  border-color: rgba(214, 181, 109, 0.45);
  background: rgba(214, 181, 109, 0.12);
  color: var(--gold-light);
}

.status-suspended {
  border-color: rgba(217, 168, 78, 0.45);
  background: rgba(143, 104, 38, 0.18);
  color: #F0D9A0;
}

.status-rejected,
.status-revoked,
.status-deactivated {
  border-color: rgba(224, 133, 133, 0.4);
  background: rgba(179, 69, 69, 0.15);
  color: #F2C4C4;
}

.status-expired {
  border-color: rgba(119, 128, 120, 0.5);
  background: rgba(119, 128, 120, 0.12);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Empty and error states
   -------------------------------------------------------------------------- */

.empty-state {
  padding: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  text-align: center;
}

.empty-state i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--gold);
  font-size: 1.25rem;
}

.empty-state h2,
.empty-state h3 {
  margin-bottom: 0.4rem;
}

.empty-state p {
  max-width: 56ch;
  margin: 0 auto 1.2rem;
  color: var(--text-muted);
}

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66vh;
  padding-block: 3rem;
}

.error-content {
  max-width: 640px;
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
  text-align: center;
}

.error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1rem;
  border: 1px solid rgba(224, 133, 133, 0.4);
  border-radius: 50%;
  background: rgba(179, 69, 69, 0.14);
  color: #F2C4C4;
  font-size: 1.5rem;
}

.error-content h1 {
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
}

.error-content p {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Member dashboard
   -------------------------------------------------------------------------- */

.membership-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 1.2rem 2rem;
  padding: clamp(1.15rem, 0.9rem + 1vw, 1.7rem);
  border-color: rgba(214, 181, 109, 0.3);
}

.membership-banner.is-expired {
  border-color: rgba(224, 133, 133, 0.45);
}

.membership-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--gold);
  font-size: 1.1rem;
}

.membership-main h2 {
  margin: 0;
  font-size: 1.25rem;
}

.membership-main .eyebrow {
  margin-bottom: 0.15rem;
}

.membership-main p {
  margin: 0;
  font-size: 0.86rem;
}

.membership-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.membership-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  color: var(--text-dim);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.membership-meta > div > span:last-child {
  font-size: 0.9rem;
  color: var(--text);
}

.membership-action {
  display: flex;
  justify-content: flex-end;
}

.dashboard-section {
  margin-top: clamp(1.8rem, 1.3rem + 1.8vw, 3rem);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-bottom: 1.1rem;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.section-heading-row p {
  margin: 0;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Admin dashboard
   -------------------------------------------------------------------------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.2rem);
  line-height: 1.1;
  color: var(--gold-light);
}

.stat-hint {
  color: var(--text-dim);
  font-size: 0.76rem;
}

.dashboard-tabs {
  display: flex;
  gap: 0.3rem;
  padding: 0.35rem;
  margin-bottom: 1.4rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-deep);
  scrollbar-width: thin;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.tab-btn:hover {
  color: var(--text);
  background: rgba(40, 49, 41, 0.5);
}

.tab-btn.is-active {
  border-color: var(--gold-dark);
  background: rgba(214, 181, 109, 0.12);
  color: var(--gold-light);
}

.tab-btn span {
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(40, 49, 41, 0.85);
  color: var(--text-muted);
  font-size: 0.72rem;
}

.tab-content {
  display: none;
}

.tab-content.is-active {
  display: block;
  animation: panel-in 200ms ease both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
  scrollbar-width: thin;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

caption {
  padding: 0.8rem;
  color: var(--text-muted);
  text-align: left;
}

th,
td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text-muted);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(40, 49, 41, 0.25);
}

.admin-table td {
  color: var(--text-muted);
}

.admin-table td strong,
.admin-table td code {
  color: var(--text);
}

.admin-table td code {
  font-size: 0.78rem;
}

.row-actions {
  position: relative;
}

.row-actions > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
}

.row-actions > summary::-webkit-details-marker {
  display: none;
}

.row-actions-body {
  display: grid;
  gap: 0.55rem;
  min-width: min(280px, 78vw);
  margin-top: 0.6rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  box-shadow: var(--shadow);
}

.row-actions-body form {
  margin: 0;
}

.row-actions-body .btn {
  width: 100%;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.inline-actions form {
  margin: 0;
}

.product-admin-list,
.broker-admin-list,
.pending-requests,
.inquiry-list,
.activity-list {
  display: grid;
  gap: 0.85rem;
}

.product-admin-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem;
}

.product-admin-summary {
  flex: 1 1 420px;
  min-width: 0;
}

.product-admin-summary > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.product-admin-summary h3 {
  margin-bottom: 0.3rem;
}

.product-admin-summary p {
  margin-bottom: 0.35rem;
  font-size: 0.87rem;
}

.upload-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.upload-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted, #a9a29a);
}

.upload-field input[type="file"] {
  min-height: 44px;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font-size: 0.85rem;
  max-width: 100%;
}

.upload-field input[type="file"]::file-selector-button {
  margin-right: 0.6rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.upload-form .small {
  flex: 1 1 200px;
  margin: 0;
}

.broker-admin-row {
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem;
}

.broker-admin-row > form:last-child {
  justify-self: start;
}

.pending-request-card,
.inquiry-card {
  padding: 1.15rem;
}

.pending-request-header,
.inquiry-head,
.inquiry-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.inquiry-head h3 {
  margin-bottom: 0.15rem;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.inquiry-head p {
  margin: 0;
  font-size: 0.84rem;
}

.inquiry-card > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.inquiry-foot {
  margin: 0.8rem 0 0;
  align-items: center;
}

.activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) auto;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.6rem 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.activity-list li:last-child {
  border-bottom: 0;
}

.activity-action {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.activity-detail {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(1rem, 0.7rem + 1vw, 1.6rem);
}

.contact-methods {
  display: grid;
  gap: 0.9rem;
}

.method-card,
.contact-form-section {
  padding: clamp(1.15rem, 0.85rem + 1vw, 1.65rem);
}

.method-card h2,
.contact-form-section h2 {
  font-size: 1.18rem;
}

.method-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-form-section {
  position: sticky;
  top: 96px;
}

/* --------------------------------------------------------------------------
   Brokers
   -------------------------------------------------------------------------- */

.broker-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(0.9rem, 0.6rem + 1vw, 1.4rem);
  margin-block: 1.4rem;
}

.broker-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.15rem, 0.9rem + 1vw, 1.6rem);
}

.broker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(214, 181, 109, 0.4);
  border-radius: 12px;
  background: rgba(214, 181, 109, 0.1);
  color: var(--gold);
  font-size: 1.15rem;
}

.broker-info h2 {
  margin-bottom: 0.35rem;
  font-size: 1.24rem;
}

.broker-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.broker-note {
  color: var(--text-dim) !important;
  font-size: 0.79rem !important;
  margin-top: 0.7rem;
}

/* --------------------------------------------------------------------------
   About, legal, pricing
   -------------------------------------------------------------------------- */

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.2rem, 0.8rem + 1.6vw, 2.4rem);
  margin-bottom: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.18em;
}

.about-visual p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
}

.about-visual span:last-child {
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.logo-mark--display {
  width: 86px;
  height: 86px;
  font-size: 2.1rem;
  border-radius: 22px;
}

.about-text p {
  color: var(--text-muted);
}

.about-text .inline-actions {
  margin-top: 1.2rem;
}

.legal-container {
  max-width: 940px;
}

.legal-content {
  padding: clamp(1.3rem, 0.9rem + 1.6vw, 2.4rem);
}

.legal-content h2 {
  margin-top: 1.8rem;
  font-size: 1.22rem;
  color: var(--gold-light);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-updated {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
}

.pricing-notes {
  margin-top: 1.2rem;
  color: var(--text-dim);
  font-size: 0.86rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2rem, 1.4rem + 2vw, 3.2rem) clamp(1rem, 0.4rem + 2.4vw, 2.25rem) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: 1.8rem;
}

.footer-brand p {
  max-width: 40ch;
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-logo {
  margin-bottom: 0.2rem;
}

.footer-slogan {
  color: var(--gold) !important;
  font-size: 0.68rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer-column h2 {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.4rem;
}

.footer-column a {
  color: var(--text-muted);
  font-size: 0.87rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-column .muted {
  color: var(--text-dim);
  font-size: 0.84rem;
}

.footer-note {
  margin-top: 0.9rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .navbar-links a {
    padding-inline: 0.5rem;
    font-size: 0.85rem;
  }

  .hero-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .hero-panel {
    max-width: 640px;
  }

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

@media (max-width: 900px) {
  .nav-toggle-label {
    display: inline-flex;
    order: 3;
  }

  .navbar-auth {
    order: 2;
  }

  .navbar-links {
    order: 4;
    position: absolute;
    top: calc(100% + 1px);
    left: clamp(1rem, 0.4rem + 2.4vw, 2.25rem);
    right: clamp(1rem, 0.4rem + 2.4vw, 2.25rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-raised);
    box-shadow: var(--shadow);
  }

  .nav-toggle-checkbox:checked ~ .navbar-links {
    display: flex;
  }

  .navbar-links a {
    display: block;
    padding: 0.65rem 0.8rem;
    font-size: 0.95rem;
  }

  .product-detail-layout,
  .contact-layout,
  .about-content,
  .split-grid,
  .split-grid--wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-section {
    position: static;
  }

  .membership-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  .membership-action {
    justify-content: flex-start;
  }

  .trust-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-buttons .btn,
  .page-head-actions .btn,
  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group,
  .filter-grow {
    flex: 1 1 auto;
    min-width: 0;
  }

  .filter-actions {
    justify-content: stretch;
  }

  .filter-actions .btn {
    flex: 1;
  }

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

  .form-span,
  .grid-form .form-actions {
    grid-column: auto;
  }

  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap th,
  .table-wrap td,
  .table-wrap tr {
    display: block;
  }

  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .table-wrap tbody tr {
    padding: 0.9rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(8, 10, 9, 0.4);
  }

  .table-wrap tbody tr:last-child {
    margin-bottom: 0;
  }

  .table-wrap td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(40, 49, 41, 0.75);
    text-align: right;
  }

  .table-wrap td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .table-wrap td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--text-dim);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
  }

  .table-wrap td:not([data-label])::before {
    content: "";
  }

  .admin-table td[data-label="Manage"],
  .admin-table td[data-label="Actions"] {
    align-items: flex-start;
  }

  .activity-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }

  .membership-meta {
    gap: 0.9rem 1.6rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 0.97rem;
  }

  .navbar-container {
    gap: 0.5rem;
  }

  .logo-text {
    font-size: 1.02rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .navbar-auth .btn {
    min-height: 40px;
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
  }

  .navbar-auth .btn i {
    display: none;
  }

  .nav-toggle-label {
    width: 40px;
    height: 40px;
  }

  .hero-secondary-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-panel-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-strip-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .auth-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .membership-main {
    align-items: flex-start;
  }

  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-actions .btn {
    width: 100%;
  }

  .inline-actions {
    width: 100%;
  }

  .inline-actions .btn {
    flex: 1 1 auto;
  }

  .row-actions-body {
    min-width: 0;
  }

  .page-section,
  .section {
    padding-block: 2.2rem;
  }
}

@media (max-width: 420px) {
  /* Keep the brand, the two account actions and the menu toggle on one row at
     320px. The button labels remain in the accessibility tree; only their
     visual text is collapsed to the icon. */
  .navbar-auth .btn {
    gap: 0;
    min-width: 44px;
    padding: 0.45rem 0.7rem;
    font-size: 0;
  }

  .navbar-auth .btn i {
    display: inline-block;
    font-size: 0.95rem;
  }
}

@media (max-width: 380px) {
  .logo-text {
    font-size: 0.94rem;
  }

  .navbar-auth {
    gap: 0.3rem;
  }

  .navbar-auth .btn {
    padding-inline: 0.5rem;
  }

  .member-dashboard .page-head-actions,
  .dashboard .page-head-actions {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Motion and print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .product-card:hover {
    transform: none;
  }
}

@media print {
  body {
    background: #FFFFFF;
    color: #111111;
  }

  .site-header,
  .footer,
  .hero-buttons,
  .cta-actions,
  .product-actions,
  .dashboard-tabs {
    display: none !important;
  }

  .surface,
  .info-card,
  .product-card {
    box-shadow: none;
    border-color: #CCCCCC;
    background: #FFFFFF;
  }

  a {
    color: #111111;
  }
}
