/* ============================================================
   Insider Empire — Public Pages Stylesheet
   Luxury gold-on-dark. Gordon Gekko / Wall Street motif.
   Inspired by "The Luxury" Themeforest template.
   ============================================================ */

:root {
  --ie-black: #0a0a0a;
  --ie-charcoal: #141414;
  --ie-panel: #1c1c1c;
  --ie-gold: #d4af37;
  --ie-gold-deep: #b8902f;
  --ie-gold-light: #f4d97a;
  --ie-ivory: #f5efe0;
  --ie-muted: #8a7a4f;
  --ie-border: rgba(212, 175, 55, 0.25);

  /* legacy aliases used by older classes & Bootstrap-derived utilities */
  --oq-bg-dark: var(--ie-black);
  --oq-bg-card: var(--ie-charcoal);
  --oq-bg-hover: rgba(212, 175, 55, 0.08);
  --oq-border: var(--ie-border);
  --oq-gold: var(--ie-gold);
  --oq-gold-dark: var(--ie-gold-deep);
  --oq-text: var(--ie-ivory);
  --oq-text-muted: #9a8f77;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--ie-black);
  color: var(--ie-ivory);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ie-gold) 50%, transparent);
  z-index: 2000;
  pointer-events: none;
}

.ie-page,
.public-body {
  background: var(--ie-black);
  color: var(--ie-ivory);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-body {
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    var(--ie-black);
  color: var(--ie-ivory);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  color: var(--ie-ivory);
  font-weight: 600;
  letter-spacing: 0.01em;
}

a {
  color: var(--ie-gold);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

::selection {
  background: var(--ie-gold);
  color: var(--ie-black);
}

/* Utility */
.ie-brand-serif {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--ie-gold);
}

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

/* ---------- Navigation (.ie-nav + legacy .oq-public-nav) ---------- */
.ie-nav,
.oq-public-nav {
  position: sticky;
  top: 0;
  z-index: 1100;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ie-border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.ie-nav > .container,
.oq-public-nav > .container {
  width: 100%;
}

.oq-nav-inner,
.ie-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
}

.ie-nav__brand,
.oq-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ie-ivory);
  text-decoration: none;
}

.ie-nav__brand > span,
.ie-nav__brand .ie-brand-serif {
  display: inline-block;
  line-height: 1;
  transform: translateY(4px);
}

.ie-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ie-ivory);
}

.ie-footer__brand img {
  display: block;
  height: 36px;
  width: 36px;
}

.ie-footer__brand .ie-brand-serif {
  display: inline-block;
  line-height: 1;
  transform: translateY(3px);
}

.ie-nav__brand img,
.ie-nav__brand .ie-nav__mark {
  display: block;
}

.ie-nav__brand:hover,
.oq-nav-brand:hover {
  color: var(--ie-gold);
}

.ie-nav__brand img,
.oq-nav-brand img {
  border-radius: 2px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.25));
}

.ie-nav__links,
.oq-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ie-nav__links a,
.oq-nav-link {
  position: relative;
  display: inline-block;
  color: var(--ie-ivory);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.ie-nav__links a::after,
.oq-nav-link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 1px;
  background: var(--ie-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ie-nav__links a:hover,
.oq-nav-link:hover,
.oq-nav-link.active {
  color: var(--ie-gold);
  background: transparent;
}

.ie-nav__links a:hover::after,
.oq-nav-link:hover::after,
.oq-nav-link.active::after {
  transform: scaleX(1);
}

.ie-nav__cta,
.oq-nav-btn {
  margin-left: 14px;
}

.oq-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ie-border);
  color: var(--ie-gold);
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.oq-nav-toggle:hover {
  border-color: var(--ie-gold);
  color: var(--ie-gold-light);
}

/* ---------- Buttons ---------- */
.ie-btn,
.btn-gold,
.oq-nav-btn.btn-gold {
  display: inline-block;
  padding: 14px 32px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ie-gold);
  background: transparent;
  color: var(--ie-gold);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.ie-btn--gold,
.btn-gold {
  background:
    linear-gradient(
      135deg,
      #b8902f 0%,
      #e7c559 28%,
      #f4d97a 48%,
      #d4af37 68%,
      #b8902f 100%
    );
  background-size: 220% 220%;
  background-position: 0% 50%;
  color: var(--ie-black);
  border-color: var(--ie-gold);
  animation: ie-foil 9s ease-in-out infinite;
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 170, 0.6),
    inset 0 -1px 0 rgba(120, 85, 20, 0.5),
    0 0 0 0 rgba(212, 175, 55, 0);
}

@keyframes ie-foil {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

.ie-btn--gold::before,
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transition: left 0.7s ease;
}

.ie-btn--gold:hover,
.btn-gold:hover {
  color: var(--ie-black);
  border-color: var(--ie-gold-light);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 170, 0.8),
    inset 0 -1px 0 rgba(120, 85, 20, 0.5),
    0 0 24px rgba(244, 217, 122, 0.35);
  animation-duration: 3s;
}

.ie-btn--gold:hover::before,
.btn-gold:hover::before {
  left: 100%;
}

.ie-btn--ghost {
  background: transparent;
  color: var(--ie-gold);
  border-color: var(--ie-gold);
}

.ie-btn--ghost:hover {
  background: var(--ie-gold);
  color: var(--ie-black);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 10px;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 12px;
}

/* ---------- Hero ---------- */
.ie-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.ie-hero__media {
  position: absolute;
  inset: 0;
  background: #000 center/cover no-repeat;
  z-index: -2;
  filter: saturate(0.85) contrast(1.05);
}

.ie-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.55) 0%,
      rgba(10, 10, 10, 0.75) 60%,
      rgba(10, 10, 10, 0.95) 100%
    );
  z-index: -1;
}

.ie-hero__content,
.ie-hero__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero: center every child (eyebrow, title, subtitle, CTA row) */
.ie-hero__inner > .ie-hero__eyebrow,
.ie-hero__inner > .ie-hero__title,
.ie-hero__inner > .ie-hero__subtitle,
.ie-hero__inner > .ie-hero__sub,
.ie-hero__inner > .ie-hero__cta {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: auto;
  max-width: 100%;
}

.ie-hero__eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--ie-gold);
  margin-bottom: 24px;
}

.ie-hero__eyebrow::before,
.ie-hero__eyebrow::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--ie-gold);
  vertical-align: middle;
  margin: 0 14px;
}

.ie-hero__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ie-ivory);
  margin: 0 0 28px;
}

.ie-hero__title em,
.ie-hero__title .ie-hero__title--accent {
  font-style: italic;
  font-weight: 600;
  color: var(--ie-gold);
}

.ie-hero__sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--ie-ivory);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0.85;
}

.ie-hero__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Legacy hero compatibility */
.oq-hero {
  padding: 120px 0 90px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  text-align: center;
}

.oq-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ie-ivory);
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}

.oq-hero-title .text-gold,
.oq-hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--ie-gold);
}

.oq-hero-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: var(--ie-ivory);
  opacity: 0.8;
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.8;
}

.oq-hero-cta .btn-lg {
  padding: 16px 40px;
  font-size: 12px;
}

/* ---------- Sections ---------- */
.ie-section,
.oq-section {
  position: relative;
  padding: 110px max(32px, calc((100% - 1120px) / 2));
  background: var(--ie-black);
}

.ie-section--dark,
.oq-section-alt {
  background: var(--ie-charcoal);
}

.ie-section__title,
.oq-section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--ie-ivory);
  text-align: center;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}

.ie-section__title em {
  font-style: italic;
  color: var(--ie-gold);
}

.ie-section__lede,
.oq-section-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--ie-ivory);
  opacity: 0.75;
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.8;
}

/* ---------- Divider ---------- */
.ie-divider {
  display: block;
  width: 100%;
  max-width: 600px;
  height: 20px;
  margin: 40px auto;
  background: url("/img/gold-divider.svg") no-repeat center/contain;
  opacity: 0.9;
}

.ie-divider--sm {
  max-width: 280px;
  height: 14px;
  margin: 24px auto;
}

/* Fallback divider when SVG not present */
.ie-divider::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ie-gold), transparent);
  margin-top: 10px;
}

/* ---------- Corner Ornaments ---------- */
.ie-corners {
  position: relative;
}

.ie-corner {
  position: absolute;
  width: 56px;
  height: 56px;
  background: url("/img/gold-corner.svg") no-repeat center/contain;
  pointer-events: none;
  opacity: 0.85;
}

.ie-corner--tl {
  top: 16px;
  left: 16px;
  transform: rotate(0deg);
}

.ie-corner--tr {
  top: 16px;
  right: 16px;
  transform: rotate(90deg);
}

.ie-corner--br {
  bottom: 16px;
  right: 16px;
  transform: rotate(180deg);
}

.ie-corner--bl {
  bottom: 16px;
  left: 16px;
  transform: rotate(270deg);
}

/* ---------- Cards ---------- */
.ie-card,
.oq-feature-card {
  background: var(--ie-panel);
  border: 1px solid var(--ie-border);
  border-radius: 2px;
  padding: 36px 28px;
  height: 100%;
  position: relative;
  transition: border-color 0.4s ease, transform 0.4s ease,
    box-shadow 0.4s ease;
}

.ie-card:hover,
.oq-feature-card:hover {
  border-color: var(--ie-gold);
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.15),
    inset 0 0 40px rgba(212, 175, 55, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.5);
}

.ie-card__title,
.oq-feature-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ie-ivory);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.ie-card__body,
.oq-feature-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ie-ivory);
  opacity: 0.75;
  line-height: 1.8;
  margin: 0;
}

/* ---------- Feature Grid ---------- */
.ie-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 720px) {
  .ie-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .ie-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ie-feature {
  background: var(--ie-panel);
  border: 1px solid var(--ie-border);
  padding: 40px 28px;
  text-align: center;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.ie-feature:hover {
  border-color: var(--ie-gold);
  transform: translateY(-2px);
}

.ie-feature__icon,
.oq-feature-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--ie-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--ie-gold);
  background: rgba(212, 175, 55, 0.05);
}

.oq-feature-icon i,
.ie-feature__icon i {
  font-size: 22px;
  color: var(--ie-gold);
}

.ie-feature__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: var(--ie-ivory);
  margin-bottom: 10px;
}

.ie-feature__copy {
  font-size: 14px;
  color: var(--ie-ivory);
  opacity: 0.72;
  line-height: 1.75;
}

/* ---------- Stats Bar (legacy) ---------- */
.oq-stats-bar {
  padding: 56px 0;
  border-top: 1px solid var(--ie-border);
  border-bottom: 1px solid var(--ie-border);
  background: var(--ie-charcoal);
}

.oq-stat {
  padding: 16px 0;
  text-align: center;
}

.oq-stat-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--ie-gold);
  line-height: 1.1;
}

.oq-stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ie-muted);
  margin-top: 8px;
}

/* ---------- How It Works (legacy) ---------- */
.oq-step {
  text-align: center;
  padding: 20px;
}

.oq-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--ie-gold);
  color: var(--ie-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.oq-step h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ie-ivory);
  margin-bottom: 10px;
}

.oq-step p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ie-ivory);
  opacity: 0.75;
  line-height: 1.8;
}

/* ---------- About Page ---------- */
.oq-about-block {
  margin-bottom: 48px;
}

.oq-about-block h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ie-ivory);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}

.oq-about-block h2 em {
  font-style: italic;
  color: var(--ie-gold);
}

.oq-about-block p {
  font-size: 15px;
  font-weight: 300;
  color: var(--ie-ivory);
  opacity: 0.85;
  line-height: 1.9;
}

.oq-exchange-tag {
  background: var(--ie-panel);
  border: 1px solid var(--ie-border);
  border-radius: 2px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ie-ivory);
  transition: border-color 0.25s ease;
}

.oq-exchange-tag:hover {
  border-color: var(--ie-gold);
}

.oq-exchange-tag strong {
  color: var(--ie-gold);
  letter-spacing: 0.05em;
}

.oq-exchange-count {
  display: block;
  font-size: 11px;
  color: var(--ie-muted);
  margin-top: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- FAQ / Accordion ---------- */
.oq-accordion-item {
  background: var(--ie-panel) !important;
  border: 1px solid var(--ie-border) !important;
  border-radius: 2px !important;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.oq-accordion-item:hover {
  border-color: rgba(212, 175, 55, 0.45) !important;
}

.oq-accordion-btn {
  background: transparent !important;
  color: var(--ie-ivory) !important;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 500;
  box-shadow: none !important;
  padding: 20px 24px;
  letter-spacing: 0.01em;
}

.oq-accordion-btn::after {
  filter: invert(0.75) sepia(1) hue-rotate(10deg) saturate(2);
}

.oq-accordion-btn:not(.collapsed) {
  color: var(--ie-gold) !important;
}

.oq-accordion-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--ie-ivory);
  opacity: 0.8;
  line-height: 1.8;
  padding: 0 24px 22px;
}

/* ---------- Footer ---------- */
.ie-footer,
.oq-public-footer {
  background: var(--ie-charcoal);
  border-top: 1px solid var(--ie-gold);
  padding: 64px 0 28px;
  margin-top: auto;
  position: relative;
}

.ie-footer::before,
.oq-public-footer::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.5),
    transparent
  );
}

.ie-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (min-width: 720px) {
  .ie-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .ie-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    align-items: start;
  }
}

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

.ie-footer__links li {
  margin-bottom: 12px;
}

.ie-footer__links a {
  color: var(--ie-ivory);
  opacity: 0.75;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: color 160ms ease, opacity 160ms ease;
}

.ie-footer__links a:hover {
  color: var(--ie-gold);
  opacity: 1;
}

/* Public main container — consistent side gutter for pages that don't
   wrap their content in .ie-section (e.g. about/terms/privacy bodies). */
.ie-main {
  width: 100%;
}

.ie-main > :not(.ie-hero):not(.ie-section):not(.ie-section--dark):not(.ie-divider) {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.ie-footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.ie-footer__col h4,
.oq-footer-heading {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--ie-gold);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin-bottom: 20px;
}

.oq-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ie-ivory);
}

.oq-footer-brand img {
  border-radius: 2px;
}

.oq-footer-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--ie-ivory);
  opacity: 0.7;
  line-height: 1.8;
  max-width: 320px;
}

.oq-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oq-footer-links li {
  margin-bottom: 12px;
}

.oq-footer-links a {
  color: var(--ie-ivory);
  opacity: 0.7;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.oq-footer-links a:hover {
  color: var(--ie-gold);
  opacity: 1;
}

.oq-footer-bottom {
  border-top: 1px solid var(--ie-border);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 11px;
  color: var(--ie-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Auth Forms (preserved for login/register/forgot) ---------- */
.auth-wrapper,
.auth-card {
  max-width: 440px;
  margin: 60px auto;
  background: var(--ie-panel);
  border: 1px solid var(--ie-border);
  border-radius: 2px;
  padding: 48px 40px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.05),
    0 30px 80px rgba(0, 0, 0, 0.6);
}

.auth-card::before,
.auth-card::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background: url("/img/gold-corner.svg") no-repeat center/contain;
  opacity: 0.7;
  pointer-events: none;
}

.auth-card::before {
  top: 10px;
  left: 10px;
}

.auth-card::after {
  bottom: 10px;
  right: 10px;
  transform: rotate(180deg);
}

.auth-brand {
  text-align: center;
  margin-bottom: 28px;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ie-ivory);
}

.auth-brand a {
  color: var(--ie-ivory);
  text-decoration: none;
}

.auth-brand a:hover {
  color: var(--ie-gold);
}

.auth-card h1,
.auth-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--ie-ivory);
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}

.auth-card h1 em,
.auth-card h2 em {
  font-style: italic;
  color: var(--ie-gold);
}

.auth-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--ie-ivory);
  opacity: 0.7;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.form-label-sm {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ie-gold);
  margin-bottom: 8px;
}

.auth-input,
.form-control.auth-input,
.auth-card .form-control {
  width: 100%;
  background: var(--ie-black);
  border: 1px solid var(--ie-border);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--ie-ivory);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: border-color 0.25s ease, background 0.25s ease,
    box-shadow 0.25s ease;
}

.auth-input::placeholder,
.auth-card .form-control::placeholder {
  color: var(--ie-muted);
  opacity: 0.8;
}

.auth-input:focus,
.auth-card .form-control:focus {
  outline: none;
  border-color: var(--ie-gold);
  background: var(--ie-black);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
  color: var(--ie-ivory);
}

.auth-card .form-check-input {
  background-color: var(--ie-black);
  border: 1px solid var(--ie-border);
  border-radius: 2px;
}

.auth-card .form-check-input:checked {
  background-color: var(--ie-gold);
  border-color: var(--ie-gold);
}

.auth-card .form-check-label {
  color: var(--ie-ivory);
  opacity: 0.8;
  font-size: 13px;
}

.auth-card a {
  color: var(--ie-gold);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.auth-card a:hover {
  color: var(--ie-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-link {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ie-border);
  font-size: 13px;
  color: var(--ie-ivory);
  opacity: 0.8;
}

.btn-gold.w-100 {
  margin-top: 8px;
}

.alert {
  border-radius: 2px;
  font-size: 13px;
  padding: 12px 16px;
  border: 1px solid transparent;
}

.alert-sm {
  font-size: 12px;
  padding: 10px 14px;
}

.alert-danger {
  background: rgba(180, 40, 40, 0.15);
  border-color: rgba(220, 80, 80, 0.4);
  color: #f0b4b4;
}

.alert-success {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--ie-border);
  color: var(--ie-gold-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ie-section,
  .oq-section {
    padding: 80px 0;
  }
}

@media (max-width: 991px) {
  .oq-hero {
    padding: 90px 0 60px;
  }
}

@media (max-width: 767px) {
  .oq-nav-toggle {
    display: block;
  }

  .ie-nav__links,
  .oq-nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ie-border);
    padding: 20px;
    gap: 4px;
  }

  .oq-nav-menu.oq-nav-menu-open,
  .ie-nav__links.is-open {
    display: flex;
  }

  .oq-nav-link,
  .ie-nav__links a {
    padding: 14px 16px;
    width: 100%;
  }

  .oq-nav-link::after,
  .ie-nav__links a::after {
    display: none;
  }

  .oq-nav-btn,
  .ie-nav__cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    width: 100%;
  }

  .ie-hero {
    min-height: 78vh;
  }

  .ie-hero__content {
    padding: 60px 20px;
  }

  .ie-hero__eyebrow::before,
  .ie-hero__eyebrow::after {
    width: 24px;
    margin: 0 8px;
  }

  .oq-hero {
    padding: 60px 0 40px;
  }

  .ie-section,
  .oq-section {
    padding: 56px 0;
  }

  .oq-hero-cta .btn-lg {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }

  .oq-hero-cta .btn-lg.me-3 {
    margin-right: 0 !important;
  }

  .auth-card,
  .auth-wrapper {
    margin: 30px 16px;
    padding: 36px 24px;
  }

  .ie-corner {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1440px) {
  .ie-hero__content {
    max-width: 1080px;
  }
}

/* =================================================================
   PIZZAZZ LAYER — ticker, VHS overlay, title reveal, asymmetric
   method, Right Now feed. Added 2026-04-14.
   ================================================================= */

/* ---------- 80s VHS / analog-static overlay --------------------- */
/* Fixed full-viewport, pointer-events:none, sits above content
   (z-index: 9) but below nav/cookie banner (which should be 100+). */
.ie-vhs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* Scanlines: tight horizontal stripes */
.ie-vhs::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.055) 0px,
    rgba(255, 255, 255, 0.055) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

/* Static grain: animated SVG turbulence noise */
.ie-vhs::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.55 0'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='0.9'/></svg>");
  background-size: 240px 240px;
  opacity: 0.18;
  animation: ie-static 0.22s steps(4) infinite;
  will-change: transform;
}

@keyframes ie-static {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-6px, 3px); }
  40%  { transform: translate(4px, -5px); }
  60%  { transform: translate(-3px, -2px); }
  80%  { transform: translate(5px, 4px); }
  100% { transform: translate(0, 0); }
}

/* Rolling scan-band: a faint bright band creeping down the screen */
.ie-vhs__roll {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  top: -120px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 70%,
    transparent 100%
  );
  animation: ie-roll 9s linear infinite;
  mix-blend-mode: screen;
}

@keyframes ie-roll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(110vh); }
}

/* Flicker: body-level hue flicker every few seconds */
@keyframes ie-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 0.55;
  }
  20%, 24%, 55% {
    opacity: 0.42;
  }
}
.ie-vhs {
  animation: ie-flicker 7.5s infinite;
}

/* Honor user preference */
@media (prefers-reduced-motion: reduce) {
  .ie-vhs,
  .ie-vhs::after,
  .ie-vhs__roll,
  .ie-ticker__track,
  .ie-hero__title .ie-reveal,
  .ie-hero__eyebrow,
  .ie-hero__subtitle,
  .ie-hero__sub,
  .ie-hero__cta,
  .ie-btn--gold,
  .ie-rightnow__pulse::before {
    animation: none !important;
  }
  .ie-vhs { opacity: 0.28; }
  .ie-hero__title .ie-reveal,
  .ie-hero__eyebrow,
  .ie-hero__subtitle,
  .ie-hero__sub,
  .ie-hero__cta {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ---------- Ticker tape marquee --------------------------------- */
.ie-ticker {
  position: sticky;
  top: 72px;              /* sits just under .ie-nav */
  z-index: 40;
  background:
    linear-gradient(180deg, #0d0d0d 0%, #070707 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  overflow: hidden;
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ie-ivory);
  box-shadow:
    inset 0 12px 12px -12px rgba(212, 175, 55, 0.25),
    inset 0 -12px 12px -12px rgba(212, 175, 55, 0.25);
}

.ie-ticker__track {
  display: flex;
  gap: 56px;
  width: max-content;
  padding: 12px 0;
  animation: ie-ticker-scroll 80s linear infinite;
  will-change: transform;
}

.ie-ticker:hover .ie-ticker__track {
  animation-play-state: paused;
}

@keyframes ie-ticker-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ie-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  opacity: 0.92;
}

.ie-ticker__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ie-gold);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
}

.ie-ticker__dir {
  font-weight: 600;
  letter-spacing: 0.1em;
}
.ie-ticker__dir--buy  { color: #7fe1a4; }
.ie-ticker__dir--sell { color: #e8796b; }

.ie-ticker__tick {
  color: var(--ie-gold);
  font-weight: 600;
}

.ie-ticker__name {
  color: var(--ie-ivory);
  opacity: 0.8;
}

.ie-ticker__amt {
  color: var(--ie-gold-light);
  font-weight: 500;
}

.ie-ticker__sep {
  color: rgba(212, 175, 55, 0.4);
  padding: 0 4px;
}

/* ---------- Hero title letter reveal ---------------------------- */
.ie-hero__title .ie-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(10px);
  animation: ie-reveal 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.ie-hero__title .ie-reveal--accent {
  color: var(--ie-gold);
  text-shadow:
    0 0 0 rgba(212, 175, 55, 0);
  animation: ie-reveal 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
             ie-accent-glow 2.4s ease-out forwards;
}

@keyframes ie-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes ie-accent-glow {
  0%   { text-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  60%  { text-shadow: 0 0 28px rgba(244, 217, 122, 0.55); }
  100% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.25); }
}

/* Eyebrow + subtitle + CTA: soft fade-in in sequence */
.ie-hero__eyebrow,
.ie-hero__subtitle,
.ie-hero__sub,
.ie-hero__cta {
  opacity: 0;
  transform: translateY(10px);
  animation: ie-fade-up 0.9s ease-out forwards;
}
.ie-hero__eyebrow  { animation-delay: 0.15s; }
.ie-hero__subtitle,
.ie-hero__sub      { animation-delay: 1.25s; }
.ie-hero__cta      { animation-delay: 1.55s; }

@keyframes ie-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero vignette on top of the background image */
.ie-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      transparent 30%,
      rgba(10, 10, 10, 0.55) 80%,
      rgba(10, 10, 10, 0.85) 100%
    );
  z-index: -1;
}

/* ---------- "Right Now" surveillance feed ----------------------- */
.ie-rightnow {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background:
    linear-gradient(180deg, #0d0d0d 0%, #080808 100%);
  padding: 28px 32px 32px;
  position: relative;
}

.ie-rightnow__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ie-gold);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 18px;
}

.ie-rightnow__pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ie-ivory);
  opacity: 0.8;
}

.ie-rightnow__pulse::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fe1a4;
  box-shadow: 0 0 8px #7fe1a4;
  animation: ie-pulse 1.4s ease-in-out infinite;
}

@keyframes ie-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}

.ie-rightnow__row {
  display: grid;
  grid-template-columns: 24px 72px 1fr 120px 80px;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  font-family: "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 13px;
  color: var(--ie-ivory);
}

.ie-rightnow__row:last-child { border-bottom: none; }

.ie-rightnow__arrow {
  font-size: 16px;
  line-height: 1;
}
.ie-rightnow__arrow--up   { color: #7fe1a4; }
.ie-rightnow__arrow--down { color: #e8796b; }

.ie-rightnow__tick {
  color: var(--ie-gold);
  font-weight: 600;
}

.ie-rightnow__who {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-style: italic;
  color: var(--ie-ivory);
  opacity: 0.95;
  letter-spacing: 0.005em;
}

.ie-rightnow__who small {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-left: 8px;
}

.ie-rightnow__amt {
  text-align: right;
  color: var(--ie-gold-light);
  font-weight: 500;
}

.ie-rightnow__ago {
  text-align: right;
  opacity: 0.55;
  font-size: 11px;
}

@media (max-width: 720px) {
  .ie-rightnow__row {
    grid-template-columns: 18px 56px 1fr 80px;
    font-size: 11px;
  }
  .ie-rightnow__ago { display: none; }
}

/* ---------- Asymmetric Method section --------------------------- */
.ie-method--asym {
  display: grid;
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
}

.ie-method__row {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.ie-method__row:last-child { border-bottom: none; }

.ie-method__num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(120px, 16vw, 220px);
  line-height: 0.9;
  color: var(--ie-gold);
  text-align: right;
  letter-spacing: -0.02em;
  opacity: 0.92;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.ie-method__body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--ie-ivory);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}

.ie-method__body p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ie-ivory);
  opacity: 0.75;
  max-width: 560px;
  margin: 0;
}

/* Alternate alignment for rhythm */
.ie-method__row:nth-child(even) {
  grid-template-columns: 1fr 260px;
}
.ie-method__row:nth-child(even) .ie-method__num {
  order: 2;
  text-align: left;
}
.ie-method__row:nth-child(even) .ie-method__body {
  text-align: right;
  justify-self: end;
}
.ie-method__row:nth-child(even) .ie-method__body p {
  margin-left: auto;
}

@media (max-width: 860px) {
  .ie-method__row,
  .ie-method__row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 32px 0;
    text-align: left;
  }
  .ie-method__row:nth-child(even) .ie-method__body {
    text-align: left;
    justify-self: start;
  }
  .ie-method__num {
    text-align: left;
    font-size: 88px;
  }
  .ie-method__row:nth-child(even) .ie-method__num {
    text-align: left;
    order: 0;
  }
}

/* =================================================================
   AUTH FORMS — login / register / forgot / reset password
   Also provides minimal Bootstrap-style grid shims for the auth
   page wrappers (Bootstrap itself was removed from layout_public).
   ================================================================= */

/* Grid shim — only for .container/.row/.col-* inside a section. */
.ie-page .container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.ie-page .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

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

.ie-page [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 768px) {
  .ie-page .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .ie-page .col-md-6 { flex: 0 0 50%;       max-width: 50%; }
  .ie-page .col-md-10{ flex: 0 0 83.3333%; max-width: 83.3333%; }
}
@media (min-width: 992px) {
  .ie-page .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .ie-page .col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .ie-page .col-lg-6 { flex: 0 0 50%;       max-width: 50%; }
  .ie-page .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
}

/* Auth card — dark panel with gold hairline, inside the gold-corner wrapper */
.ie-auth-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(28,28,28,0.95) 0%, rgba(14,14,14,0.95) 100%);
  border: 1px solid var(--ie-border);
  padding: 56px 48px 48px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 40px 80px -30px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(212,175,55,0.08);
  backdrop-filter: blur(6px);
}

.ie-auth-card .ie-section__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ie-ivory);
  margin: 0 0 14px;
}

.ie-auth-card .ie-section__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--ie-gold);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
}

.ie-auth-card .ie-section__lede {
  font-size: 14px;
  margin: 0 auto 32px;
  max-width: none;
  opacity: 0.7;
}

.ie-auth-card form {
  width: 100%;
  max-width: none;
}

/* Form row — label stacked above input */
.ie-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.ie-form-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ie-gold);
  margin: 0;
}

/* Input — dark field with gold focus ring */
.ie-input {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 0;
  padding: 14px 16px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ie-ivory);
  line-height: 1.4;
  letter-spacing: 0.01em;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.ie-input::placeholder {
  color: var(--ie-ivory);
  opacity: 0.3;
  font-style: italic;
}

.ie-input:hover {
  border-color: rgba(212,175,55,0.4);
}

.ie-input:focus {
  outline: none;
  border-color: var(--ie-gold);
  background: rgba(0,0,0,0.65);
  box-shadow:
    0 0 0 3px rgba(212,175,55,0.12),
    inset 0 0 0 1px rgba(212,175,55,0.15);
}

.ie-input:-webkit-autofill {
  -webkit-text-fill-color: var(--ie-ivory);
  -webkit-box-shadow: 0 0 0 1000px #0f0f0f inset;
  caret-color: var(--ie-gold);
}

/* Error text under an input */
.ie-form-error {
  color: #e8796b;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Remember-me / forgot-password meta row */
.ie-auth-card .ie-form-row[style*="space-between"] {
  flex-direction: row;
  align-items: center;
  margin-bottom: 28px;
}

.ie-auth-card .ie-form-row label {
  color: var(--ie-ivory);
  opacity: 0.75;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.ie-auth-card input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--ie-border);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: border-color 150ms ease, background 150ms ease;
  flex-shrink: 0;
}

.ie-auth-card input[type="checkbox"]:hover {
  border-color: var(--ie-gold);
}

.ie-auth-card input[type="checkbox"]:checked {
  background: var(--ie-gold);
  border-color: var(--ie-gold);
}

.ie-auth-card input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--ie-black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Small inline text links inside auth card (e.g. "Forgot password?").
   Excludes .ie-btn so gold-foil buttons keep their black-on-gold text. */
.ie-auth-card a[href*="forgot"]:not(.ie-btn),
.ie-auth-card a[href*="Forgot"]:not(.ie-btn) {
  color: var(--ie-gold);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 150ms ease;
}

.ie-auth-card a:not(.ie-btn):hover { color: var(--ie-gold-light); }

/* Submit button: full width ONLY for form submits inside auth card.
   Standalone anchor buttons (Back to Account, etc.) render as natural
   inline-block so their text isn't stretched. */
.ie-auth-card form > .ie-btn,
.ie-auth-card form button.ie-btn,
.ie-auth-card button.ie-btn[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 4px;
}

/* Footer line under the form ("No account yet? Claim your seat") */
.ie-auth-card p.text-center {
  margin-top: 24px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--ie-ivory);
  opacity: 0.7;
}

/* Keep the lede (subtitle) readable — .ie-section__lede sits right under h1 */
.ie-auth-card .ie-section__lede.text-center {
  margin-top: 0;
  opacity: 0.7;
}

.ie-auth-card p.text-center a {
  color: var(--ie-gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease, color 150ms ease;
}

.ie-auth-card p.text-center a:hover {
  color: var(--ie-gold-light);
  border-bottom-color: var(--ie-gold-light);
}

/* Flash / alert inside auth card */
.ie-auth-card .alert,
.ie-auth-card .ie-flash {
  border-left: 3px solid var(--ie-gold);
  background: rgba(212,175,55,0.08);
  color: var(--ie-ivory);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.ie-auth-card .alert-danger,
.ie-auth-card .ie-flash--error {
  border-left-color: #e8796b;
  background: rgba(232,121,107,0.08);
}

.ie-auth-card .alert-success,
.ie-auth-card .ie-flash--success {
  border-left-color: var(--ie-gold);
  background: rgba(212,175,55,0.08);
  color: var(--ie-ivory);
}

/* ── Top-level flash messages (rendered by layout_public.php above <main>) ── */
.ie-flash {
  max-width: 720px;
  margin: 18px auto 0;
  padding: 14px 22px;
  background: linear-gradient(180deg, rgba(28,28,28,0.95), rgba(14,14,14,0.95));
  border: 1px solid rgba(212,175,55,0.25);
  border-left: 3px solid var(--ie-gold);
  color: var(--ie-ivory);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px -18px rgba(0,0,0,0.7);
}

.ie-flash--success {
  border-left-color: var(--ie-gold);
  background: linear-gradient(180deg, rgba(212,175,55,0.08), rgba(14,14,14,0.95));
}

.ie-flash--error {
  border-left-color: #e8796b;
  background: linear-gradient(180deg, rgba(232,121,107,0.08), rgba(14,14,14,0.95));
  color: #f5efe0;
}

.ie-flash--info {
  border-left-color: var(--ie-gold-light);
  background: linear-gradient(180deg, rgba(244,217,122,0.06), rgba(14,14,14,0.95));
}

.ie-flash--warning {
  border-left-color: #f4d97a;
  background: linear-gradient(180deg, rgba(244,217,122,0.08), rgba(14,14,14,0.95));
}

/* Tighter corner ornaments on the auth card specifically */
.ie-page .ie-corners > .ie-auth-card {
  margin: 0;
}

/* Wrapper section around auth forms — vertical centering */
.ie-page section.ie-section--dark[style*="100vh"] {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

@media (max-width: 640px) {
  .ie-auth-card {
    padding: 40px 24px 32px;
  }
}
