:root {
  /* Core ECX Institutional Palette */
  --ecx-blue: #084A8C;
  --ecx-blue-hover: #06396E;
  --ecx-navy: #102C4C;
  --ecx-navy-deep: #0B1F36;
  --ecx-green: #08774F;
  --ecx-green-hover: #065E3E;
  --ecx-white: #FFFFFF;
  --ecx-silver: #EDF2F5;
  --ecx-silver-soft: #F7F9FB;
  --ecx-grey: #64748B;
  --ecx-charcoal: #202B36;

  /* Fine Borders */
  --ecx-border: #DCE4EC;
  --ecx-border-light: #EBF0F5;
  --ecx-surface-alt: #F8FAFC;

  /* Status Tints */
  --ecx-amber-bg: #FFFBEB;
  --ecx-amber-text: #92400E;
  --ecx-amber-border: #F59E0B;
  --ecx-red-bg: #FEF2F2;
  --ecx-red-text: #991B1B;
  --ecx-red-border: #EF4444;
  --ecx-green-bg: #ECFDF5;
  --ecx-green-text: #065F46;

  /* Subtle Elevation */
  --ecx-shadow-sm: 0 1px 3px rgba(16, 44, 76, 0.05);
  --ecx-shadow-md: 0 4px 14px rgba(16, 44, 76, 0.07);
  --ecx-shadow-lg: 0 12px 28px rgba(16, 44, 76, 0.1);

  /* Clean Institutional Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ecx-charcoal);
  background-color: var(--ecx-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--ecx-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--ecx-navy);
}

strong, b {
  font-weight: 600;
}

/* ==========================================================================
   1. LIVE / TIMESTAMPED CARBON MARKET PRICE TICKER
   ========================================================================== */
.market-ticker-bar {
  background-color: var(--ecx-navy-deep);
  color: #E2E8F0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  padding: 0.45rem 1.25rem;
  width: 100%;
}

.market-ticker-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
}

.ticker-label-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.ticker-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.8);
  flex-shrink: 0;
}

.ticker-delay-pill {
  color: #A7F3D0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-right: 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.ticker-source-link {
  color: #CBD5E1;
  font-size: 0.72rem;
  font-weight: 400;
}

.ticker-source-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.ticker-items {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 1.15rem;
  flex-wrap: wrap;
  flex: 1;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-right: 1.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-item:last-child {
  border-right: none;
  padding-right: 0;
}

.ticker-symbol {
  font-weight: 500;
  color: #CBD5E1;
}

.ticker-price {
  font-family: var(--font-mono);
  font-weight: 500;
  color: #FFFFFF;
}

.ticker-change {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.ticker-change.up {
  color: #34D399;
}

.ticker-change.down {
  color: #F87171;
}

.ticker-change.neutral {
  color: #94A3B8;
}

.ticker-time {
  color: #94A3B8;
  font-size: 0.69rem;
}

/* ==========================================================================
   2. SLIM BARCLAYS-STYLE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--ecx-white);
  border-bottom: 1px solid var(--ecx-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-emblem-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--ecx-border);
  padding-left: 0.6rem;
}

.brand-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ecx-navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.64rem;
  font-weight: 400;
  color: var(--ecx-green);
  letter-spacing: 0.01em;
  margin-top: 0.06rem;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 62px;
  padding: 0 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.81rem;
  font-weight: 400;
  color: var(--ecx-charcoal);
  cursor: pointer;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ecx-blue);
  border-bottom-color: rgba(8, 74, 140, 0.35);
}

.nav-link.active {
  color: var(--ecx-blue);
  font-weight: 500;
  border-bottom-color: var(--ecx-blue);
}

.nav-caret-svg {
  color: var(--ecx-grey);
  opacity: 0.75;
  transition: transform 0.15s ease;
}

.nav-item:hover .nav-caret-svg {
  transform: rotate(180deg);
  color: var(--ecx-blue);
}

.dropdown-menu {
  position: absolute;
  top: 62px;
  left: 0;
  min-width: 245px;
  background-color: var(--ecx-white);
  border: 1px solid var(--ecx-border);
  border-top: 2px solid var(--ecx-blue);
  border-radius: 0 0 4px 4px;
  box-shadow: var(--ecx-shadow-lg);
  padding: 0.35rem 0;
  display: none;
  z-index: 1100;
}

.nav-item:last-child .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.55rem 0.95rem;
  transition: background-color 0.12s ease;
}

.dropdown-link-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ecx-navy);
}

.dropdown-link small {
  display: block;
  font-size: 0.71rem;
  color: var(--ecx-grey);
  font-weight: 400;
  margin-top: 0.08rem;
  line-height: 1.35;
}

.dropdown-link:hover {
  background-color: var(--ecx-silver-soft);
}

.dropdown-link:hover .dropdown-link-title {
  color: var(--ecx-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* ==========================================================================
   3. SLEEK BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.46rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1.25;
}

.btn-primary {
  background-color: var(--ecx-blue);
  color: var(--ecx-white);
  border-color: var(--ecx-blue);
}

.btn-primary:hover {
  background-color: var(--ecx-blue-hover);
  border-color: var(--ecx-blue-hover);
  color: var(--ecx-white);
}

.btn-green {
  background-color: var(--ecx-green);
  color: var(--ecx-white);
  border-color: var(--ecx-green);
}

.btn-green:hover {
  background-color: var(--ecx-green-hover);
  border-color: var(--ecx-green-hover);
  color: var(--ecx-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--ecx-blue);
  border-color: var(--ecx-blue);
}

.btn-outline:hover {
  background-color: rgba(8, 74, 140, 0.05);
  color: var(--ecx-navy);
  border-color: var(--ecx-navy);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--ecx-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--ecx-white);
  color: var(--ecx-white);
}

.btn-sm {
  padding: 0.34rem 0.78rem;
  font-size: 0.76rem;
}

.btn-lg {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid var(--ecx-border);
  color: var(--ecx-navy);
  padding: 0.38rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

/* ==========================================================================
   4. SECTIONS & CONTAINERS
   ========================================================================== */
.main-content {
  flex: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--ecx-border-light);
  width: 100%;
}

.section-silver {
  background-color: var(--ecx-silver-soft);
}

.section-navy {
  background-color: var(--ecx-navy);
  color: var(--ecx-white);
}

.section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.eyebrow {
  display: block;
  font-size: 0.71rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ecx-green);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ecx-navy);
  line-height: 1.3;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.94rem;
  font-weight: 400;
  color: var(--ecx-grey);
  line-height: 1.65;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(120deg, var(--ecx-navy-deep) 0%, var(--ecx-navy) 55%, var(--ecx-blue) 100%);
  color: var(--ecx-white);
  padding: 3.25rem 0;
  border-bottom: 3px solid var(--ecx-green);
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6EE7B7;
  margin-bottom: 0.6rem;
}

.hero-headline {
  font-size: 2.1rem;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  color: #FFFFFF;
}

.hero-subheadline {
  font-size: 1.12rem;
  font-weight: 400;
  color: #A7F3D0;
  margin-bottom: 0.95rem;
}

.hero-lead {
  font-size: 0.94rem;
  font-weight: 400;
  color: #E2E8F0;
  max-width: 600px;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-panel {
  background: var(--ecx-white);
  color: var(--ecx-charcoal);
  border-radius: 4px;
  border: 1px solid var(--ecx-border);
  box-shadow: var(--ecx-shadow-lg);
  overflow: hidden;
  min-width: 0;
}

.hero-panel-header {
  background: var(--ecx-silver-soft);
  color: var(--ecx-navy);
  padding: 0.78rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ecx-border);
}

.hero-panel-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ecx-navy);
}

.hero-panel-body {
  padding: 1.15rem;
}

/* ==========================================================================
   6. SUBPAGE BANNERS
   ========================================================================== */
.page-banner {
  background: linear-gradient(120deg, var(--ecx-navy-deep) 0%, var(--ecx-navy) 65%, var(--ecx-blue) 100%);
  color: var(--ecx-white);
  padding: 2.25rem 0;
  border-bottom: 2px solid var(--ecx-green);
  width: 100%;
}

.page-breadcrumb {
  font-size: 0.72rem;
  color: #94A3B8;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.page-breadcrumb a {
  color: #CBD5E1;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.page-lead {
  font-size: 0.92rem;
  font-weight: 400;
  color: #CBD5E1;
  max-width: 760px;
  line-height: 1.62;
}

/* ==========================================================================
   7. CARDS & GRIDS
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

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

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

.card {
  background: var(--ecx-white);
  border: 1px solid var(--ecx-border);
  border-radius: 4px;
  padding: 1.35rem;
  box-shadow: var(--ecx-shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: break-word;
}

.card:hover {
  border-color: #B6C6D6;
  box-shadow: var(--ecx-shadow-md);
}

.card-accent-top {
  border-top: 2px solid var(--ecx-blue);
}

.card-accent-green {
  border-top: 2px solid var(--ecx-green);
}

.card-icon {
  width: 34px;
  height: 28px;
  border-radius: 4px;
  background-color: var(--ecx-silver-soft);
  color: var(--ecx-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  border: 1px solid var(--ecx-border);
}

.card-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ecx-navy);
  margin-bottom: 0.45rem;
  line-height: 1.38;
}

.card-text {
  font-size: 0.87rem;
  color: var(--ecx-charcoal);
  margin-bottom: 0.85rem;
  flex: 1;
  line-height: 1.62;
}

.card-footer-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ecx-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid var(--ecx-border-light);
}

.card-footer-link:hover {
  color: var(--ecx-green);
}

/* ==========================================================================
   8. COMPANY VERIFICATION DOSSIER CARD & DUAL PILLAR BOXES
   ========================================================================== */
.verify-input-row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.verify-submit-btn {
  flex-shrink: 0;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.verification-dossier-card {
  border: 1px solid var(--ecx-navy);
  border-top: 3px solid var(--ecx-green);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ecx-white);
  box-shadow: var(--ecx-shadow-md);
}

.verification-dossier-header {
  background: var(--ecx-navy);
  color: var(--ecx-white);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.verification-dossier-kicker {
  font-size: 0.69rem;
  color: #6EE7B7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.verification-dossier-title {
  font-size: 1.12rem;
  font-weight: 500;
  margin-top: 0.15rem;
  color: #FFFFFF;
}

.verification-dossier-body {
  padding: 1.25rem;
}

.verification-pillar-box {
  background: var(--ecx-surface-alt);
  border: 1px solid var(--ecx-border);
  border-left: 3px solid var(--ecx-blue);
  border-radius: 4px;
  padding: 0.9rem 1rem;
}

.verification-pillar-box.verified {
  border-left-color: var(--ecx-green);
  background: #F4FBF7;
  border-color: #C6E9D8;
}

.verification-pillar-box.unverified {
  border-left-color: var(--ecx-grey);
}

.pillar-label {
  font-size: 0.71rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ecx-grey);
  margin-bottom: 0.25rem;
}

.pillar-status {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ecx-navy);
  margin-bottom: 0.3rem;
}

.verification-pillar-box.verified .pillar-status {
  color: var(--ecx-green-text);
}

.pillar-desc {
  font-size: 0.8rem;
  color: var(--ecx-charcoal);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   9. CARBON CREDIT VALUE CALCULATOR CONFIRMATION PANEL
   ========================================================================== */
.calc-confirmation-panel {
  border: 1px solid var(--ecx-border);
  border-top: 3px solid var(--ecx-blue);
  border-radius: 4px;
  background: var(--ecx-white);
  overflow: hidden;
}

.calc-confirmation-header {
  background: var(--ecx-silver-soft);
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--ecx-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-confirmation-kicker {
  display: block;
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ecx-green);
}

.calc-confirmation-title {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ecx-navy);
}

.calc-confirmation-body {
  padding: 1.15rem;
}

.calc-gross-banner {
  background: #F4FBF7;
  border: 1px solid #C6E9D8;
  border-left: 3px solid var(--ecx-green);
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
}

.calc-gross-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ecx-green-text);
}

.calc-gross-amount {
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ecx-navy);
  margin: 0.2rem 0;
}

.calc-gross-amount small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ecx-grey);
}

.calc-gross-formula {
  font-size: 0.78rem;
  color: var(--ecx-charcoal);
}

/* ==========================================================================
   10. CALLOUTS, TABLES & STATUS BADGES
   ========================================================================== */
.notice-box {
  background-color: var(--ecx-silver-soft);
  border: 1px solid var(--ecx-border);
  border-left: 3px solid var(--ecx-blue);
  border-radius: 4px;
  padding: 0.95rem 1.15rem;
  margin: 1.15rem 0;
  overflow-wrap: break-word;
}

.notice-box.notice-green {
  border-left-color: var(--ecx-green);
  background-color: #F4FBF7;
  border-color: #C6E9D8;
}

.notice-box.notice-warning {
  border-left-color: var(--ecx-amber-border);
  background-color: #FFFDF7;
  border-color: #F3DFB1;
}

.notice-box.notice-critical {
  border-left-color: var(--ecx-red-border);
  background-color: #FDF8F8;
  border-color: #F5CECE;
}

.notice-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ecx-navy);
  margin-bottom: 0.25rem;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--ecx-border);
  border-radius: 4px;
  background: var(--ecx-white);
  overflow-x: auto;
}

.inst-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
}

.inst-table th {
  background-color: var(--ecx-silver-soft);
  color: var(--ecx-navy);
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--ecx-border);
  overflow-wrap: break-word;
  word-break: normal;
}

.inst-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--ecx-border-light);
  color: var(--ecx-charcoal);
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
}

.inst-table tr:last-child td {
  border-bottom: none;
}

/* Single-Column Company Verification & Key-Value Stack */
.verification-single-col-wrapper {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.verification-result-slot {
  width: 100%;
}

.verification-status-guide {
  margin-top: 1.25rem;
  border: 1px solid var(--ecx-border);
  border-radius: 4px;
  background: var(--ecx-surface-alt);
  overflow: hidden;
}

.verification-status-guide summary {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ecx-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.verification-status-guide summary::-webkit-details-marker {
  display: none;
}

.verification-status-guide summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--ecx-blue);
}

.verification-status-guide[open] summary::after {
  content: "−";
}

.verification-status-guide-body {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--ecx-border-light);
  display: grid;
  gap: 0.75rem;
}

.status-def-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.status-def-item p {
  font-size: 0.8rem;
  color: var(--ecx-charcoal);
  margin: 0;
  line-height: 1.5;
}

.kv-stack-list {
  border: 1px solid var(--ecx-border);
  border-radius: 4px;
  background: var(--ecx-white);
  overflow: hidden;
}

.kv-row {
  display: grid;
  grid-template-columns: 38% 62%;
  border-bottom: 1px solid var(--ecx-border-light);
}

.kv-row:last-child {
  border-bottom: none;
}

.kv-label {
  background-color: var(--ecx-silver-soft);
  color: var(--ecx-navy);
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.65rem 0.85rem;
  border-right: 1px solid var(--ecx-border-light);
}

.kv-value {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: var(--ecx-charcoal);
  overflow-wrap: break-word;
  word-break: normal;
}

.calculator-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.81rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.55rem;
  border-radius: 12px;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  max-width: 100%;
  white-space: normal;
}

.status-current {
  background-color: var(--ecx-green-bg);
  color: var(--ecx-green-text);
  border: 1px solid #A7F3D0;
}

.status-review {
  background-color: var(--ecx-amber-bg);
  color: var(--ecx-amber-text);
  border: 1px solid #FDE68A;
}

.status-none {
  background-color: var(--ecx-silver-soft);
  color: var(--ecx-navy);
  border: 1px solid var(--ecx-border);
}

/* ==========================================================================
   11. FORMS, LIFECYCLE, SAMPLE STATEMENT & FAQS
   ========================================================================== */
.form-group {
  margin-bottom: 0.95rem;
}

.form-label {
  display: block;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--ecx-navy);
  margin-bottom: 0.32rem;
}

.form-control,
.form-select {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--ecx-charcoal);
  background-color: var(--ecx-white);
  border: 1px solid var(--ecx-border);
  border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ecx-blue);
  box-shadow: 0 0 0 2px rgba(8, 74, 140, 0.1);
}

.form-help {
  font-size: 0.75rem;
  color: var(--ecx-grey);
  margin-top: 0.32rem;
  line-height: 1.45;
}

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

.lifecycle-step {
  background: var(--ecx-white);
  border: 1px solid var(--ecx-border);
  border-radius: 4px;
  padding: 1.15rem;
  min-width: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ecx-blue);
  color: var(--ecx-white);
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.sample-statement-wrapper {
  position: relative;
  background: var(--ecx-white);
  border: 1px solid var(--ecx-border);
  border-top: 3px solid var(--ecx-navy);
  border-radius: 4px;
  padding: 1.65rem;
  box-shadow: var(--ecx-shadow-sm);
  overflow: hidden;
  max-width: 100%;
}

.sample-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
  font-size: 3.6rem;
  font-weight: 600;
  color: rgba(220, 38, 38, 0.07);
  border: 4px solid rgba(220, 38, 38, 0.09);
  padding: 0.2rem 1.4rem;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.16em;
  white-space: nowrap;
  z-index: 2;
}

.sample-pill-banner {
  background: var(--ecx-red-bg);
  border: 1px solid #FECACA;
  color: var(--ecx-red-text);
  font-weight: 500;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.65rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.faq-item {
  border: 1px solid var(--ecx-border);
  border-radius: 4px;
  background: var(--ecx-white);
  margin-bottom: 0.55rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1.05rem;
  background: var(--ecx-white);
  border: none;
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ecx-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  line-height: 1.45;
}

.faq-question:hover {
  background-color: var(--ecx-silver-soft);
}

.faq-toggle-icon {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--ecx-blue);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon::before {
  content: "";
}

.faq-answer {
  padding: 0.85rem 1.05rem 1rem;
  font-size: 0.86rem;
  color: var(--ecx-charcoal);
  border-top: 1px solid var(--ecx-border-light);
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question {
  background-color: var(--ecx-silver-soft);
  color: var(--ecx-blue);
}

.chart-box {
  background: var(--ecx-white);
  border: 1px solid var(--ecx-border);
  border-radius: 4px;
  padding: 1.25rem;
  max-width: 100%;
}

.period-selector {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid var(--ecx-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ecx-white);
}

.period-btn {
  padding: 0.32rem 0.65rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--ecx-grey);
  cursor: pointer;
  border-right: 1px solid var(--ecx-border);
}

.period-btn:last-child {
  border-right: none;
}

.period-btn.active {
  background: var(--ecx-blue);
  color: var(--ecx-white);
  font-weight: 500;
}

/* ==========================================================================
   12. ORGANISED LEGAL FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--ecx-navy);
  color: #CBD5E1;
  padding: 3rem 0 1.85rem;
  border-top: 2px solid var(--ecx-green);
  margin-top: auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.footer-emblem-img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #FFFFFF;
  padding: 2px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-name {
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-brand-tag {
  color: #6EE7B7;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  margin-top: 0.08rem;
}

.footer-brand-desc {
  font-size: 0.79rem;
  color: #CBD5E1;
  line-height: 1.62;
}

.footer-heading {
  color: var(--ecx-white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.42rem;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.74rem;
  color: #94A3B8;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.footer-bottom-links a {
  color: #CBD5E1;
}

/* ==========================================================================
   13. MOBILE & TABLET WEBSITE OPTIMISATION (CRITICAL PRIORITY)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .grid-4,
  .lifecycle-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  html, body {
    font-size: 15px;
  }

  .container {
    padding: 0 1.1rem;
  }

  .section {
    padding: 2.35rem 0;
  }

  /* Responsive Ticker on Mobile */
  .market-ticker-bar {
    padding: 0.5rem 1rem;
  }
  .market-ticker-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .ticker-items {
    justify-content: flex-start;
    gap: 0.4rem 0.85rem;
    width: 100%;
  }
  .ticker-item {
    border-right: none;
    padding-right: 0;
    font-size: 0.74rem;
  }

  /* Mobile Header & Navigation */
  .header-inner {
    padding: 0.5rem 1rem;
    min-height: 58px;
  }
  .brand-subtitle {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    background: var(--ecx-white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 2px solid var(--ecx-blue);
    box-shadow: var(--ecx-shadow-lg);
  }
  .main-nav.mobile-open {
    display: flex;
  }
  .nav-item {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-link {
    height: auto;
    padding: 0.65rem 0.4rem;
    font-size: 0.88rem;
    justify-content: space-between;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--ecx-border);
    margin-left: 0.5rem;
    padding: 0.2rem 0;
    display: block;
  }

  /* Single-Column Grids on Mobile */
  .hero-grid,
  .calculator-layout,
  .grid-2,
  .grid-3,
  .grid-4,
  .lifecycle-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.1rem;
  }

  .hero-section {
    padding: 2.25rem 0;
  }
  .hero-headline {
    font-size: 1.65rem;
  }
  .hero-subheadline {
    font-size: 1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 44px;
  }

  /* Verification Input & Dossier on Mobile */
  .verify-input-row {
    flex-direction: column;
  }
  .verify-submit-btn {
    width: 100%;
    min-height: 44px;
  }

  /* Stack Key-Value Rows Vertically on Mobile so Text Never Squeezes */
  .kv-row {
    grid-template-columns: 1fr !important;
  }
  .kv-label {
    border-right: none;
    border-bottom: 1px solid var(--ecx-border-light);
    padding: 0.5rem 0.75rem;
  }
  .kv-value {
    padding: 0.6rem 0.75rem;
  }

  /* Stack Multi-Column Institutional Tables Cleanly on Mobile */
  .inst-table,
  .inst-table thead,
  .inst-table tbody,
  .inst-table tr,
  .inst-table th,
  .inst-table td {
    display: block;
    width: 100%;
  }
  .inst-table thead {
    display: none;
  }
  .inst-table tr {
    border-bottom: 2px solid var(--ecx-border);
    padding: 0.35rem 0;
  }
  .inst-table tr:last-child {
    border-bottom: none;
  }
  .inst-table td {
    padding: 0.5rem 0.8rem;
    font-size: 0.84rem;
    border-bottom: 1px solid var(--ecx-border-light);
  }
  .inst-table td:last-child {
    border-bottom: none;
  }

  .sample-statement-wrapper {
    padding: 1.15rem;
  }
  .sample-watermark {
    font-size: 2.2rem;
  }
}

@media print {
  .market-ticker-bar,
  .site-header,
  .site-footer,
  .hero-section,
  .btn {
    display: none !important;
  }
  .calc-confirmation-panel,
  .verification-dossier-card {
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
}
