﻿.currency-library {
  --fx-ink: #f8fafc;
  /* One site-wide visual language, sourced from home-premium.css. */
  --fx-ink-soft: #b5c1d1;
  --fx-forest: #51e391;
  --fx-forest-dark: #73f0aa;
  --fx-green-deep: #123326;
  --fx-button-ink: #04160d;
  --fx-mint: #0d1b2d;
  --fx-mint-strong: #163b2b;
  --fx-gold: #f4c55e;
  --fx-gold-soft: #2d2515;
  --fx-red: #ff8092;
  --fx-red-soft: #2a1820;
  --fx-blue: #86b9ff;
  --fx-blue-soft: #101f32;
  --fx-paper: #030817;
  --fx-board-dark: #07111f;
  --fx-focus-dark: #51e391;
  --fx-focus-light: #f8fafc;
  --fx-surface: #091423;
  --fx-surface-2: #0d1b2d;
  --fx-surface-3: #11243a;
  --fx-line: #20354b;
  --fx-shadow: 0 26px 72px rgba(0, 0, 0, 0.3);
  --fx-content-gutter: clamp(1rem, 3vw, 2rem);
  padding: 0 var(--fx-content-gutter) 2rem;
  border: 1px solid rgba(130, 158, 187, 0.18);
  border-radius: 30px;
  background: var(--fx-paper);
  box-shadow: var(--fx-shadow);
  color: var(--fx-ink);
  font-size: 1.04rem;
  line-height: 1.72;
}

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

.currency-library a {
  color: var(--fx-forest);
  text-shadow: none;
  text-underline-offset: 0.16em;
}

.currency-library a:hover {
  color: #7af2ad;
  text-shadow: none;
}

.currency-library a:focus-visible,
.currency-library button:focus-visible,
.currency-library input:focus-visible,
.currency-library select:focus-visible,
.currency-library summary:focus-visible,
.currency-library [tabindex="0"]:focus-visible {
  outline: 3px solid var(--fx-focus-light);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--fx-focus-dark);
}

.currency-library h1,
.currency-library h2,
.currency-library h3 {
  color: var(--fx-ink);
  letter-spacing: -0.025em;
}

.currency-library h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.currency-library h3 {
  line-height: 1.25;
}

.fx-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  margin: 0 calc(var(--fx-content-gutter) * -1) 1.5rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(81, 227, 145, 0.34);
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 4%, rgba(81, 227, 145, 0.16), transparent 30%),
    radial-gradient(circle at 12% 106%, rgba(49, 219, 128, 0.12), transparent 38%),
    linear-gradient(138deg, #030817 0%, #091423 55%, #061321 100%);
  box-shadow: var(--fx-shadow);
  color: #f5fff9;
}

.fx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to left, #000, transparent 66%);
}

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

/* Some decision-led articles use a deliberately text-first, full-width hero. */
.fx-hero > :not(.fx-hero-copy):not(.fx-hero-visual) {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
}

.fx-kicker,
.fx-card-label {
  margin: 0 0 0.7rem;
  color: var(--fx-forest);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.fx-hero .fx-kicker {
  color: var(--fx-forest);
}

.fx-hero h1 {
  max-width: 17ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5.4vw, 4.65rem);
  line-height: 0.99;
}

.fx-byline {
  margin: 1.2rem 0 0;
  color: #99a9bd;
  font-size: 0.9rem;
}

.fx-hero .fx-byline a {
  color: #fff;
  font-weight: 700;
}

.fx-hero-lede {
  max-width: 63ch;
  margin: 1.3rem 0 0;
  color: #b5c1d1;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.fx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin-top: 1.6rem;
}

.fx-hero .fx-hero-actions .button-primary {
  border: 1px solid #73f0aa;
  background: linear-gradient(135deg, #73f0aa, #34cd7c);
  color: var(--fx-button-ink);
  box-shadow: 0 14px 34px rgba(35, 204, 116, 0.18);
  text-shadow: none;
}

.fx-hero .fx-hero-actions .button-primary:hover,
.fx-hero .fx-hero-actions .button-primary:focus-visible {
  background: linear-gradient(135deg, #8af5b8, #51e391);
  color: var(--fx-button-ink);
  text-shadow: none;
}

.fx-hero .fx-text-link,
.fx-hero .fx-text-link:hover {
  color: #fff;
  font-weight: 750;
  text-shadow: none;
}

.fx-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0 0;
}

.fx-hero-metrics > div {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(19, 30, 42, 0.48);
}

.fx-hero-metrics dt {
  color: #99a9bd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fx-hero-metrics dd {
  margin: 0.2rem 0 0;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 850;
}

.fx-market-board {
  align-self: center;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(16, 35, 52, 0.82);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.fx-board-head,
.fx-board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fx-board-head span,
.fx-board-foot {
  color: #cbd9e4;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fx-board-head strong {
  color: #fff1c9;
  font-size: 0.82rem;
}

.fx-board-chart {
  display: block;
  width: 100%;
  height: auto;
  margin: 1rem 0;
}

.fx-board-chart .grid-line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.fx-board-chart .spread-line {
  fill: none;
  stroke: #e4ad43;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.fx-board-chart .secondary-line {
  fill: none;
  stroke: #8fc5df;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.fx-board-chart .event-line {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-dasharray: 5 6;
  stroke-width: 1.5;
}

.fx-board-chart text {
  fill: #d9ece2;
  font-family: inherit;
  font-size: 11px;
}

.fx-board-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  margin: 0.8rem 0 0;
  color: #dbece4;
  font-size: 0.76rem;
}

.fx-board-legend span::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 3px;
  margin-right: 0.45rem;
  border-radius: 99px;
  vertical-align: middle;
  background: #e4ad43;
}

.fx-board-legend .is-event::before {
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e4ad43;
}

.fx-jump-nav {
  position: sticky;
  top: 0.5rem;
  z-index: 8;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  margin: 1.25rem 0 0;
  padding: 0.65rem;
  border: 1px solid var(--fx-line);
  border-radius: 16px;
  background: rgba(9, 20, 35, 0.94);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: blur(12px);
}

.fx-jump-nav a {
  flex: 0 0 auto;
  padding: 0.55rem 0.78rem;
  border-radius: 10px;
  color: var(--fx-ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.fx-jump-nav a:hover,
.fx-jump-nav a:focus-visible {
  background: var(--fx-mint);
  color: var(--fx-forest-dark);
}

.fx-section {
  scroll-margin-top: 5.5rem;
  padding: clamp(3.3rem, 7vw, 6.4rem) 0 0;
}

.fx-section-heading {
  max-width: 790px;
  margin-bottom: 1.8rem;
}

.fx-section-heading > p:last-child {
  color: var(--fx-ink-soft);
  font-size: 1.08rem;
}

.fx-method {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
  gap: 1.2rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--fx-line);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--fx-surface-2), var(--fx-surface));
}

.fx-method h3 {
  margin: 0 0 0.6rem;
}

.fx-method p {
  margin: 0;
}

.fx-method dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.fx-method dl > div {
  padding: 0.75rem 0.85rem;
  border-radius: 13px;
  background: var(--fx-surface-3);
}

.fx-method dt {
  color: var(--fx-ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fx-method dd {
  margin: 0.15rem 0 0;
  font-weight: 800;
}

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

.fx-stat {
  min-height: 170px;
  padding: 1.25rem;
  border: 1px solid var(--fx-line);
  border-radius: 18px;
  background: var(--fx-surface-2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.fx-stat span {
  color: var(--fx-forest);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.fx-stat strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.95rem;
}

.fx-stat p {
  margin: 0.45rem 0 0;
  color: var(--fx-ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.fx-findings-grid,
.fx-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.35rem;
}

.fx-panel {
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--fx-line);
  border-radius: 22px;
  background: var(--fx-paper);
}

.fx-panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
}

.fx-panel > p:first-of-type {
  color: var(--fx-ink-soft);
}

.fx-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 1.15rem;
  border: 1px solid var(--fx-line);
  border-radius: 16px;
  background: var(--fx-surface-2);
  -webkit-overflow-scrolling: touch;
}

.fx-table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.fx-table th,
.fx-table td {
  padding: 0.83rem 0.9rem;
  border: 0;
  border-bottom: 1px solid var(--fx-line);
  text-align: left;
  vertical-align: top;
}

.fx-table thead th {
  background: var(--fx-green-deep);
  color: var(--fx-ink);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fx-table tbody tr:last-child th,
.fx-table tbody tr:last-child td {
  border-bottom: 0;
}

.fx-table tbody tr:nth-child(even) {
  background: var(--fx-surface);
}

.fx-table tfoot th,
.fx-table tfoot td {
  border-top: 2px solid var(--fx-line);
  border-bottom: 0;
  background: var(--fx-surface-3);
}

.fx-table .is-positive {
  color: var(--fx-forest);
  font-weight: 850;
}

.fx-table .is-negative {
  color: var(--fx-red);
  font-weight: 850;
}

.fx-bars {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.fx-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(180px, 2fr) 75px;
  align-items: center;
  gap: 0.8rem;
}

.fx-bar-row > span {
  color: var(--fx-ink-soft);
  font-size: 0.84rem;
  font-weight: 750;
}

.fx-bar-track {
  position: relative;
  height: 22px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--fx-surface-3);
}

.fx-bar-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-radius: 99px;
  background: var(--fx-red);
}

.fx-bar-track i.is-positive {
  right: 50%;
  left: auto;
  background: var(--fx-forest);
}

.fx-bar-row strong {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.fx-correlation-scale {
  position: relative;
  margin: 1.4rem 0 0;
  padding-top: 2.2rem;
}

.fx-correlation-line {
  height: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, #163b2b 0%, #51e391 52%, #20354b 100%);
}

.fx-correlation-marker {
  position: absolute;
  top: 1.68rem;
  width: 2px;
  height: 28px;
  background: var(--fx-forest);
}

.fx-correlation-marker::before {
  content: attr(data-label);
  position: absolute;
  bottom: 31px;
  left: 50%;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  background: var(--fx-green-deep);
  color: var(--fx-ink);
  font-size: 0.68rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

.fx-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  color: var(--fx-ink-soft);
  font-size: 0.73rem;
}

.fx-formula {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 1.3rem;
  border-radius: 18px;
  border: 1px solid var(--fx-line);
  background: #07111f;
  color: var(--fx-ink);
}

.fx-formula code {
  display: block;
  color: #d7e2ed;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  text-align: center;
}

.fx-formula i {
  color: #e4ad43;
  font-size: 1.6rem;
  font-style: normal;
}

.fx-market-board .fx-formula--sequence {
  grid-template-columns: 1fr;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 1rem;
}

.fx-market-board .fx-formula--sequence code {
  font-size: 0.9rem;
  line-height: 1.45;
}

.fx-market-board .fx-formula--sequence i {
  text-align: center;
  transform: rotate(90deg);
}

.fx-market-board .fx-formula--sequence strong {
  color: #fff3ce;
  line-height: 1.4;
  text-align: center;
}

.fx-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.92fr);
  gap: 1.2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--fx-line);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--fx-surface-2), var(--fx-surface));
}

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

.fx-fields label {
  display: grid;
  gap: 0.35rem;
  color: var(--fx-ink-soft);
  font-size: 0.8rem;
  font-weight: 750;
}

.fx-fields input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid #2b425b;
  border-radius: 10px;
  background: #061321;
  color: var(--fx-ink);
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.fx-fields input:focus {
  border-color: var(--fx-forest);
}

.fx-field-wide {
  grid-column: 1 / -1;
}

.fx-calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.fx-secondary-button {
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--fx-line);
  border-radius: 10px;
  background: transparent;
  color: var(--fx-ink);
  font-weight: 750;
  cursor: pointer;
}

.fx-results {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(81, 227, 145, 0.34);
  background: var(--fx-green-deep);
  color: var(--fx-ink);
}

.fx-results h3 {
  margin: 0;
  color: #fff;
}

.fx-results dl {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.fx-results dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.fx-results dt {
  color: #e5cfc8;
  font-size: 0.8rem;
}

.fx-results dd {
  margin: 0;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.fx-results p {
  margin: 1rem 0 0;
  color: #efe0da;
  font-size: 0.8rem;
  line-height: 1.55;
}

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

.fx-limit-grid article,
.fx-check-grid article {
  padding: 1.2rem;
  border: 1px solid var(--fx-line);
  border-radius: 16px;
  background: var(--fx-surface-2);
}

.fx-limit-grid strong,
.fx-check-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

.fx-limit-grid p,
.fx-check-grid p {
  margin: 0;
  color: var(--fx-ink-soft);
  font-size: 0.87rem;
  line-height: 1.55;
}

.fx-caution {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-left: 5px solid var(--fx-gold);
  border-radius: 12px;
  background: var(--fx-gold-soft);
}

.fx-caution strong {
  display: block;
}

.fx-caution p {
  margin: 0.3rem 0 0;
}

.fx-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.fx-process article {
  position: relative;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--fx-line);
  background: #07111f;
  color: var(--fx-ink);
}

.fx-process article:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: -0.67rem;
  z-index: 2;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--fx-gold);
  color: var(--fx-button-ink);
  font-size: 0.82rem;
  transform: translateY(-50%);
}

.fx-process span {
  color: var(--fx-forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fx-process h2,
.fx-process h3 {
  margin: 0.45rem 0 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.25;
}

.fx-process p {
  margin: 0.5rem 0 0;
  color: #b5c1d1;
  font-size: 0.8rem;
  line-height: 1.5;
}

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

.fx-event-card {
  overflow: hidden;
  border: 1px solid var(--fx-line);
  border-radius: 22px;
  background: var(--fx-surface-2);
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.18);
}

.fx-event-card--centered {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 0.575rem);
}

.fx-event-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem 0;
}

.fx-event-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.fx-event-head strong {
  flex: 0 0 auto;
  padding: 0.33rem 0.55rem;
  border-radius: 99px;
  background: var(--fx-gold-soft);
  color: var(--fx-gold);
  font-size: 0.75rem;
}

.fx-event-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.65rem;
  background: linear-gradient(var(--fx-surface), var(--fx-surface-2));
}

.fx-event-chart .event-grid {
  stroke: #20354b;
  stroke-width: 1;
}

.fx-event-chart .event-path {
  fill: none;
  stroke: var(--fx-forest);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.fx-event-chart .event-marker {
  fill: var(--fx-gold);
  stroke: #fff;
  stroke-width: 3;
}

.fx-event-chart .event-rule {
  stroke: var(--fx-gold);
  stroke-dasharray: 4 5;
  stroke-width: 1.5;
}

.fx-event-chart text {
  fill: #b5c1d1;
  font-family: inherit;
  font-size: 11px;
}

.fx-event-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.9rem 1.2rem 1.2rem;
}

.fx-event-metrics > div {
  padding: 0.7rem;
  border-radius: 12px;
  background: var(--fx-surface);
}

.fx-event-metrics span {
  display: block;
  color: var(--fx-ink-soft);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.fx-event-metrics strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--fx-ink);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

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

.fx-proof {
  padding: 1.3rem;
  border: 1px solid var(--fx-line);
  border-radius: 20px;
  background: var(--fx-surface-2);
}

.fx-proof.is-limit {
  border-color: #ecc8bf;
  background: var(--fx-red-soft);
}

.fx-proof h3 {
  margin: 0;
}

.fx-proof ul {
  margin-bottom: 0;
}

.fx-proof li + li {
  margin-top: 0.55rem;
}

.fx-market-board .fx-proof {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-color: rgba(191, 215, 242, 0.34);
  background: #0d3558;
  color: #f5fff9;
}

.fx-market-board .fx-proof strong {
  color: #fff1c9;
}

.fx-market-board .fx-proof span {
  color: #d9eaf7;
}

/* Decision-led article components. These are shared, but each page combines
   them differently so the visual architecture follows the reader's task. */
.fx-decision-strip,
.fx-cost-tape,
.fx-level-ledger,
.fx-quote-board {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1.35rem;
}

.fx-decision-strip,
.fx-level-ledger,
.fx-quote-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.fx-decision-strip > span,
.fx-cost-tape > span,
.fx-level-ledger > span,
.fx-quote-board > span {
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: var(--fx-board-dark);
  color: #f6ebe7;
  font-size: 0.82rem;
  line-height: 1.45;
}

.fx-decision-strip strong,
.fx-cost-tape strong,
.fx-level-ledger strong,
.fx-quote-board strong {
  display: block;
  margin-bottom: 0.18rem;
  color: #fff3ce;
  font-size: 0.9rem;
}

.fx-window-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 1.35rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(13, 35, 53, 0.5);
}

.fx-window-equation strong,
.fx-window-equation span {
  padding: 0.55rem 0.72rem;
  border-radius: 10px;
  color: #f8ece8;
  font-size: 0.84rem;
}

.fx-window-equation strong {
  background: var(--fx-green-deep);
  color: var(--fx-forest);
}

.fx-window-equation span {
  background: rgba(255, 255, 255, 0.08);
}

.fx-thesis-callout {
  width: 100%;
  margin: 1.35rem 0 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 5px solid var(--fx-gold);
  border-radius: 14px;
  background: rgba(13, 35, 53, 0.52);
  color: #f8ece8;
  font-size: 0.94rem;
  line-height: 1.55;
}

.fx-thesis-callout strong {
  color: #fff3ce;
}

.fx-decision-tree,
.fx-reaction-grid,
.fx-contract-path,
.fx-three-column,
.fx-four-grid,
.fx-task-paths,
.fx-lifecycle,
.fx-use-cases,
.fx-risk-grid,
.fx-go-card {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.fx-decision-tree,
.fx-three-column,
.fx-risk-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fx-reaction-grid,
.fx-go-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fx-contract-path,
.fx-four-grid,
.fx-task-paths,
.fx-lifecycle,
.fx-use-cases {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fx-decision-tree > article,
.fx-reaction-grid > article,
.fx-contract-path > article,
.fx-task-paths > article,
.fx-lifecycle > article,
.fx-use-cases > article,
.fx-risk-grid > article {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--fx-line);
  border-radius: 18px;
  background: var(--fx-surface-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.fx-decision-tree h3,
.fx-reaction-grid h3,
.fx-contract-path h3,
.fx-task-paths h3,
.fx-lifecycle h3,
.fx-use-cases h3 {
  margin: 0;
  font-size: 1.04rem;
}

.fx-decision-tree p,
.fx-reaction-grid p,
.fx-contract-path p,
.fx-task-paths p,
.fx-lifecycle p,
.fx-use-cases p,
.fx-risk-grid p {
  margin: 0.55rem 0 0;
  color: var(--fx-ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.fx-decision-tree > article:nth-child(1) {
  border-top: 5px solid var(--fx-red);
  background: var(--fx-red-soft);
}

.fx-decision-tree > article:nth-child(2) {
  border-top: 5px solid var(--fx-gold);
  background: var(--fx-gold-soft);
}

.fx-decision-tree > article:nth-child(3) {
  border-top: 5px solid var(--fx-forest);
  background: var(--fx-mint);
}

.fx-reaction-grid > article:nth-child(5) {
  grid-column: 2;
}

.fx-contract-path {
  counter-reset: contract-step;
}

.fx-contract-path > article {
  position: relative;
  padding-top: 3rem;
  counter-increment: contract-step;
}

.fx-contract-path > article::before {
  content: counter(contract-step, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  color: var(--fx-forest);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.fx-four-grid .fx-panel,
.fx-three-column .fx-panel {
  height: 100%;
}

.fx-task-paths > article {
  border-top: 5px solid var(--fx-blue);
}

.fx-lifecycle > article {
  position: relative;
  padding-top: 3.35rem;
  background: linear-gradient(155deg, var(--fx-surface-2), var(--fx-surface));
}

.fx-lifecycle > article > span {
  position: absolute;
  top: 0.95rem;
  left: 1.15rem;
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 50%;
  background: var(--fx-green-deep);
  color: var(--fx-forest);
  font-size: 0.78rem;
  font-weight: 900;
}

.fx-causal-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.fx-causal-origin {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 42rem);
  padding: 1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(81, 227, 145, 0.34);
  background: #07111f;
  color: var(--fx-ink);
  text-align: center;
}

.fx-causal-origin strong,
.fx-causal-origin span {
  display: block;
}

.fx-causal-origin span {
  margin-top: 0.35rem;
  color: #b5c1d1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.fx-causal-map .fx-panel {
  position: relative;
  border-top: 4px solid var(--fx-gold);
}

.fx-causal-map .fx-panel::before {
  content: "Competing channel";
  display: block;
  margin-bottom: 0.45rem;
  color: var(--fx-forest);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fx-falsification-tree {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.fx-falsification-tree article {
  padding: 1.15rem;
  border: 1px solid var(--fx-line);
  border-top: 5px solid var(--fx-red);
  border-radius: 18px;
  background: var(--fx-surface-2);
}

.fx-falsification-tree article:nth-child(2) {
  border-top-color: var(--fx-gold);
}

.fx-falsification-tree article:nth-child(3) {
  border-top-color: var(--fx-forest);
}

.fx-falsification-tree h3 {
  margin: 0.3rem 0 0;
  font-size: 1.02rem;
}

.fx-falsification-tree ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
}

.fx-falsification-tree li + li {
  margin-top: 0.45rem;
}

.fx-state-machine {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--fx-line);
  border-radius: 20px;
  background: var(--fx-surface-2);
}

.fx-state-machine article {
  position: relative;
  padding: 1.15rem 1rem;
  border-left: 1px solid var(--fx-line);
}

.fx-state-machine article:first-child {
  border-left: 0;
}

.fx-state-machine article:nth-child(even) {
  background: var(--fx-gold-soft);
}

.fx-state-machine span {
  display: inline-grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 50%;
  background: var(--fx-green-deep);
  color: var(--fx-forest);
  font-size: 0.75rem;
  font-weight: 800;
}

.fx-state-machine h3 {
  margin: 0.6rem 0 0;
  font-size: 1rem;
}

.fx-state-machine p {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.fx-estimator-spectrum {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.fx-estimator-spectrum .fx-panel {
  border-bottom: 4px solid var(--fx-gold);
}

.fx-transition-guards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.fx-transition-guards article {
  padding: 1rem;
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--fx-surface-2), var(--fx-surface));
}

.fx-transition-guards strong {
  color: var(--fx-forest-dark);
}

.fx-transition-guards p {
  margin: 0.35rem 0 0;
}

.fx-claim-ladder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
  counter-reset: fx-claim;
}

.fx-claim-ladder .fx-panel {
  position: relative;
  padding-left: 3.4rem;
}

.fx-claim-ladder .fx-panel::before {
  counter-increment: fx-claim;
  content: counter(fx-claim);
  position: absolute;
  top: 1.2rem;
  left: 1rem;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--fx-green-deep);
  color: var(--fx-forest);
  font-size: 0.75rem;
  font-weight: 800;
}

.fx-use-cases > article:nth-child(odd) {
  border-top: 5px solid var(--fx-forest);
}

.fx-use-cases > article:nth-child(even) {
  border-top: 5px solid var(--fx-blue);
}

.fx-risk-grid > article {
  border-left: 4px solid var(--fx-red);
  box-shadow: none;
}

.fx-risk-grid > article:last-child:nth-child(odd) {
  grid-column: 2;
}

.fx-risk-grid strong {
  display: block;
  color: var(--fx-ink);
}

.fx-checklist {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.fx-checklist li {
  position: relative;
  padding: 0.82rem 1rem 0.82rem 3rem;
  border: 1px solid var(--fx-line);
  border-radius: 13px;
  background: var(--fx-surface-2);
}

.fx-checklist li::before {
  content: "\2713";
  position: absolute;
  top: 0.72rem;
  left: 0.9rem;
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  background: var(--fx-mint-strong);
  color: var(--fx-forest-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.fx-trade-card {
  margin-top: 1.25rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--fx-line);
  border-top: 6px solid var(--fx-forest);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--fx-surface-2), var(--fx-surface));
}

.fx-trade-card h3 {
  margin: 0;
}

.fx-trade-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.15rem 0 0;
}

.fx-trade-card dl > div {
  padding: 0.9rem;
  border: 1px solid var(--fx-line);
  border-radius: 13px;
  background: var(--fx-surface-3);
}

.fx-trade-card dt {
  color: var(--fx-forest-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fx-trade-card dd {
  margin: 0.3rem 0 0;
  color: var(--fx-ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.fx-go-card > div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--fx-line);
  border-radius: 15px;
  background: var(--fx-mint);
}

.fx-go-card strong,
.fx-go-card span {
  display: block;
}

.fx-go-card strong {
  color: var(--fx-forest-dark);
}

.fx-go-card span {
  margin-top: 0.28rem;
  color: var(--fx-ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.fx-source-note {
  margin-top: 1rem;
  color: var(--fx-ink-soft);
  font-size: 0.83rem;
  line-height: 1.55;
}

.fx-related {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--fx-blue-soft);
}

.fx-faq details,
.fx-sources {
  margin-top: 0.7rem;
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  background: var(--fx-surface-2);
}

.fx-faq summary,
.fx-sources > summary {
  padding: 1rem 1.1rem;
  color: var(--fx-ink);
  font-weight: 800;
  cursor: pointer;
}

.fx-faq details p,
.fx-sources ul,
.fx-sources > p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
}

.fx-sources {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--fx-surface);
}

.fx-sources li + li {
  margin-top: 0.65rem;
}

.fx-disclaimer {
  margin-top: 1.1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(81, 227, 145, 0.34);
  border-radius: 16px;
  background: var(--fx-green-deep);
}

.fx-disclaimer strong {
  display: block;
}

.fx-disclaimer p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
}

@media (max-width: 1050px) {
  .fx-hero {
    grid-template-columns: 1fr;
  }

  .fx-hero h1 {
    max-width: 20ch;
  }

  .fx-hero-visual {
    max-width: 690px;
  }

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

  .fx-limit-grid,
  .fx-check-grid,
  .fx-contract-path,
  .fx-four-grid,
  .fx-task-paths,
  .fx-lifecycle,
  .fx-use-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 780px) {
.currency-library {
    font-size: 1rem;
  }

  .fx-hero {
    padding: 1.5rem;
    border-radius: 22px;
  }

  .fx-hero-metrics,
  .fx-findings-grid,
  .fx-two-column,
  .fx-method,
  .fx-calculator,
  .fx-atlas,
  .fx-proof-grid,
  .fx-three-column,
  .fx-decision-tree,
  .fx-causal-map,
  .fx-falsification-tree,
  .fx-state-machine,
  .fx-estimator-spectrum,
  .fx-transition-guards,
  .fx-claim-ladder,
  .fx-risk-grid,
  .fx-trade-card dl {
    grid-template-columns: 1fr;
  }

  .fx-causal-origin {
    grid-column: auto;
  }

  .fx-state-machine {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .fx-state-machine article,
  .fx-state-machine article:first-child {
    border: 1px solid var(--fx-line);
    border-radius: 16px;
    background: var(--fx-surface-2);
  }

  .fx-risk-grid > article:last-child:nth-child(odd),
  .fx-reaction-grid > article:nth-child(5) {
    grid-column: auto;
  }

  .fx-event-card--centered {
    grid-column: auto;
    width: 100%;
  }

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

  .fx-process article:nth-child(2)::after {
    display: none;
  }

  .fx-formula {
    grid-template-columns: 1fr;
  }

  .fx-formula i {
    transform: rotate(90deg);
    text-align: center;
  }

  .fx-bar-row {
    grid-template-columns: 1fr 70px;
  }

  .fx-bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  .fx-hero h1 {
    font-size: 2.25rem;
  }

  .fx-stat-grid,
  .fx-limit-grid,
  .fx-check-grid,
  .fx-process,
  .fx-fields,
  .fx-event-metrics,
  .fx-decision-strip,
  .fx-cost-tape,
  .fx-level-ledger,
  .fx-quote-board,
  .fx-reaction-grid,
  .fx-contract-path,
  .fx-four-grid,
  .fx-task-paths,
  .fx-lifecycle,
  .fx-use-cases,
  .fx-go-card {
    grid-template-columns: 1fr;
  }

  .fx-process article::after {
    display: none;
  }

  .fx-field-wide {
    grid-column: auto;
  }

  .fx-event-head {
    display: grid;
  }

  .fx-event-head strong {
    justify-self: start;
  }
}

@media print {
  .fx-jump-nav,
  .fx-hero-actions,
  .fx-calculator button {
    display: none !important;
  }

  .fx-hero {
    break-inside: avoid;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none;
  }

  .fx-hero h1,
  .fx-hero .fx-kicker,
  .fx-byline,
  .fx-hero-lede,
  .fx-hero-metrics dd,
  .fx-board-head,
  .fx-board-foot {
    color: #111 !important;
  }

  .fx-market-board,
  .fx-results,
  .fx-process article {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none;
  }

  .fx-section,
  .fx-event-card,
  .fx-panel {
    break-inside: avoid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .currency-library *,
  .currency-library *::before,
  .currency-library *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .fx-skip-link {
    transition-duration: 0.01ms !important;
  }
}

.fx-skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.72rem 1rem;
  border-radius: 0.55rem;
  background: var(--fx-green-deep);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.fx-skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--fx-forest);
  outline-offset: 3px;
}

/* Special 6E contract-spec architecture; canonical homepage palette. */
.euro-contract-guide {
  --e6-ink: #f8fafc;
  --e6-text: #b5c1d1;
  --e6-muted: #99a9bd;
  --e6-blue: #51e391;
  --e6-blue-bright: #73f0aa;
  --e6-cyan: #51e391;
  --e6-gold: #f4c55e;
  --e6-green: #51e391;
  --e6-red: #ff8092;
  --e6-panel: #091423;
  --e6-panel-deep: #030817;
  --e6-panel-soft: #0d1b2d;
  --e6-border: rgba(130, 158, 187, 0.18);
  --e6-border-blue: rgba(81, 227, 145, 0.38);
  --e6-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  width: 100%;
  min-width: 0;
  max-width: 1100px;
  overflow-x: clip;
  color: var(--e6-ink);
}

.euro-contract-guide *,
.euro-contract-guide *::before,
.euro-contract-guide *::after {
  box-sizing: border-box;
}

.euro-contract-guide h1,
.euro-contract-guide h2,
.euro-contract-guide h3,
.euro-contract-guide strong,
.euro-contract-guide th,
.euro-contract-guide summary {
  color: var(--e6-ink);
}

.euro-contract-guide p,
.euro-contract-guide li,
.euro-contract-guide td,
.euro-contract-guide dd,
.euro-contract-guide small {
  color: var(--e6-text);
}

.euro-contract-guide a {
  color: var(--e6-blue-bright);
  text-decoration-color: rgba(115, 240, 170, 0.52);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.euro-contract-guide a:hover {
  color: #7af2ad;
  text-shadow: none;
}

.euro-contract-guide a:focus-visible,
.euro-contract-guide button:focus-visible,
.euro-contract-guide input:focus-visible,
.euro-contract-guide select:focus-visible,
.euro-contract-guide summary:focus-visible,
.euro-contract-guide [tabindex="0"]:focus-visible {
  outline: 3px solid var(--e6-gold);
  outline-offset: 4px;
}

.e6-kicker {
  margin: 0 0 0.85rem;
  color: var(--e6-cyan) !important;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.145em;
  line-height: 1.35;
  text-transform: uppercase;
}

.e6-card-label {
  display: block;
  margin: 0 0 0.62rem;
  color: var(--e6-gold) !important;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.e6-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: clamp(2rem, 5vw, 4.6rem);
  align-items: center;
  min-height: 650px;
  padding: clamp(2rem, 5.4vw, 4.75rem);
  overflow: hidden;
  border: 1px solid rgba(81, 227, 145, 0.28);
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at 7% 8%, rgba(35, 204, 116, 0.29), transparent 34%),
    radial-gradient(circle at 95% 78%, rgba(81, 227, 145, 0.13), transparent 32%),
    linear-gradient(145deg, #030817 0%, #091423 52%, #061321 100%);
  box-shadow: var(--e6-shadow);
  isolation: isolate;
}

.e6-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(81, 227, 145, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 227, 145, 0.16) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(125deg, #000 0%, rgba(0, 0, 0, 0.56) 48%, transparent 90%);
}

.e6-hero::after {
  position: absolute;
  z-index: -1;
  top: -135px;
  right: -110px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(245, 200, 101, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 68px rgba(81, 227, 145, 0.035),
    0 0 0 136px rgba(81, 227, 145, 0.022);
  content: "";
  pointer-events: none;
}

.e6-hero-copy,
.e6-quote-board {
  position: relative;
  z-index: 1;
}

.e6-hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.7rem, 5.35vw, 5.2rem);
  letter-spacing: -0.058em;
  line-height: 0.96;
  text-wrap: balance;
}

.e6-byline {
  margin: 1.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.e6-byline a {
  color: var(--e6-ink);
  font-weight: 850;
  text-decoration: none;
}

.e6-hero-lede {
  max-width: 700px;
  margin: 1.45rem 0 0;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.78;
}

.e6-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.75rem;
}

.e6-hero-actions .button-primary,
.e6-calculator-form .button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.25rem;
  border: 1px solid rgba(81, 227, 145, 0.46);
  color: #031318;
  background: linear-gradient(135deg, #73f0aa 0%, #51e391 55%, #34cd7c 130%);
  box-shadow: 0 14px 34px rgba(50, 157, 229, 0.26);
  font-weight: 900;
  text-decoration: none;
}

.e6-hero-actions .button-primary:hover,
.e6-calculator-form .button-primary:hover {
  color: #031318;
  box-shadow: 0 17px 40px rgba(50, 157, 229, 0.36);
}

.e6-text-link {
  font-weight: 800;
  text-decoration: none;
}

.e6-text-link::after {
  content: " \2192";
}

.e6-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
  margin: 2rem 0 0;
}

.e6-hero-facts div {
  min-width: 0;
  padding: 0.78rem 0.75rem;
  border: 1px solid rgba(148, 174, 205, 0.2);
  border-radius: 0.85rem;
  background: rgba(1, 8, 17, 0.48);
}

.e6-hero-facts dt,
.e6-hero-facts dd {
  margin: 0;
}

.e6-hero-facts dt {
  margin-bottom: 0.28rem;
  color: var(--e6-muted);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.e6-hero-facts dd {
  color: var(--e6-ink);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.e6-quote-board {
  overflow: hidden;
  border: 1px solid rgba(81, 227, 145, 0.36);
  border-radius: 1.35rem;
  background: rgba(2, 9, 20, 0.78);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.e6-board-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(148, 174, 205, 0.17);
}

.e6-board-topline span {
  color: var(--e6-cyan);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.e6-board-topline strong {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.e6-price-stack {
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem;
}

.e6-price-stack div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 174, 205, 0.14);
  border-radius: 0.75rem;
  background: rgba(10, 27, 47, 0.62);
}

.e6-price-stack span {
  color: #c9dcf0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.18rem, 2vw, 1.52rem);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.e6-price-stack small {
  color: var(--e6-muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.e6-price-stack .is-next {
  border-color: rgba(92, 224, 163, 0.34);
  background: rgba(25, 102, 72, 0.18);
}

.e6-price-stack .is-next span,
.e6-price-stack .is-next small {
  color: var(--e6-green);
}

.e6-price-stack .is-current {
  border-color: rgba(245, 200, 101, 0.46);
  background: rgba(110, 77, 20, 0.19);
  box-shadow: inset 3px 0 0 var(--e6-gold);
}

.e6-price-stack .is-current span,
.e6-price-stack .is-current small {
  color: var(--e6-gold);
}

.e6-board-equation {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 0.85rem;
  border-top: 1px solid rgba(148, 174, 205, 0.17);
  background: rgba(4, 16, 30, 0.78);
}

.e6-board-equation span,
.e6-board-equation strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-variant-numeric: tabular-nums;
}

.e6-board-equation i {
  color: var(--e6-muted);
  font-style: normal;
}

.e6-board-equation strong {
  color: var(--e6-cyan);
}

.e6-quote-board > p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--e6-muted);
  font-size: 0.72rem;
  text-align: center;
}

.e6-jump-nav {
  display: flex;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0.62rem;
  overflow-x: auto;
  border: 1px solid var(--e6-border);
  border-radius: 1rem;
  background: rgba(5, 16, 29, 0.92);
  scrollbar-width: thin;
}

.e6-jump-nav a {
  flex: 0 0 auto;
  padding: 0.55rem 0.76rem;
  border-radius: 0.65rem;
  color: var(--e6-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.e6-jump-nav a:hover {
  color: var(--e6-ink);
  background: rgba(81, 227, 145, 0.12);
}

.e6-section {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(0.1rem, 1vw, 0.5rem) 0;
  scroll-margin-top: 1.5rem;
}

.e6-section-heading {
  max-width: 790px;
  margin-bottom: 2rem;
}

.e6-section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  letter-spacing: -0.046em;
  line-height: 1.02;
  text-wrap: balance;
}

.e6-section-heading > p:last-child {
  max-width: 760px;
  margin: 1.1rem 0 0;
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  line-height: 1.78;
}

.e6-spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(290px, 0.68fr);
  gap: 1.25rem;
  align-items: stretch;
}

.e6-table-scroll {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--e6-border);
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(9, 27, 46, 0.88), rgba(4, 14, 26, 0.96));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
  scrollbar-color: var(--e6-blue) var(--e6-panel-deep);
}

.e6-spec-table,
.e6-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.e6-spec-table th,
.e6-spec-table td,
.e6-compare-table th,
.e6-compare-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(148, 174, 205, 0.13);
  text-align: left;
  vertical-align: top;
}

.e6-spec-table tr:last-child th,
.e6-spec-table tr:last-child td,
.e6-compare-table tbody tr:last-child th,
.e6-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.e6-spec-table th {
  width: 42%;
  color: #d9e7f5;
  font-size: 0.78rem;
  letter-spacing: 0.025em;
}

.e6-spec-table td {
  font-size: 0.9rem;
}

.e6-source-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(245, 200, 101, 0.3);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 200, 101, 0.11), transparent 42%),
    linear-gradient(145deg, rgba(39, 30, 12, 0.56), rgba(7, 18, 31, 0.96));
}

.e6-source-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.15;
}

.e6-source-card p {
  margin: 1rem 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.e6-source-card a {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.55;
}

.e6-source-card small {
  margin-top: 1.15rem;
  color: var(--e6-muted);
  font-size: 0.72rem;
}

.e6-distinction {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-top: 1.2rem;
  padding: 1.15rem 1.3rem;
  border-left: 4px solid var(--e6-gold);
  border-radius: 0 0.9rem 0.9rem 0;
  background: rgba(91, 64, 15, 0.16);
}

.e6-distinction strong {
  color: var(--e6-gold);
  font-size: 0.9rem;
  line-height: 1.45;
}

.e6-distinction p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.68;
}

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

.e6-formula-grid article {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--e6-border);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(10, 29, 50, 0.9), rgba(4, 14, 27, 0.94));
}

.e6-formula-grid article > span {
  color: var(--e6-blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.e6-formula-grid h3 {
  margin: 0.72rem 0 0.85rem;
  font-size: 1.05rem;
}

.e6-formula-grid code,
.e6-hedge-formula code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--e6-cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.55;
}

.e6-formula-grid p {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  line-height: 1.65;
}

.e6-worked-move {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 1.4rem;
  align-items: center;
  margin-top: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(81, 227, 145, 0.24);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 0% 100%, rgba(81, 227, 145, 0.08), transparent 38%),
    rgba(6, 20, 35, 0.9);
}

.e6-worked-move h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.2;
}

.e6-worked-move > div > p:last-child {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  line-height: 1.68;
}

.e6-worked-move dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.e6-worked-move dl div {
  padding: 0.9rem;
  border: 1px solid rgba(148, 174, 205, 0.16);
  border-radius: 0.8rem;
  background: rgba(2, 9, 20, 0.42);
}

.e6-worked-move dt,
.e6-worked-move dd {
  margin: 0;
}

.e6-worked-move dt {
  margin-bottom: 0.35rem;
  color: var(--e6-muted);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.e6-worked-move dd {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

.e6-worked-move dd strong {
  color: var(--e6-cyan);
}

.e6-calculator-section {
  position: relative;
}

.e6-calculator-section::before {
  position: absolute;
  z-index: -1;
  top: 3rem;
  right: -18%;
  width: 50%;
  height: 65%;
  border-radius: 50%;
  background: rgba(35, 204, 116, 0.08);
  filter: blur(60px);
  content: "";
  pointer-events: none;
}

.e6-calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  overflow: hidden;
  border: 1px solid var(--e6-border-blue);
  border-radius: 1.35rem;
  background: var(--e6-panel-deep);
  box-shadow: var(--e6-shadow);
}

.e6-calculator-form {
  padding: clamp(1.4rem, 3.5vw, 2.35rem);
  background: linear-gradient(145deg, rgba(10, 32, 55, 0.96), rgba(5, 18, 33, 0.96));
}

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

.e6-field-grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.48rem;
}

.e6-field-grid label > span:first-child {
  color: #dce9f6;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.025em;
}

.e6-field-grid input,
.e6-field-grid select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.78rem;
  border: 1px solid rgba(148, 174, 205, 0.32);
  border-radius: 0.7rem;
  outline: 0;
  color: var(--e6-ink);
  background: rgba(1, 8, 18, 0.76);
  font: inherit;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.e6-field-grid input:hover,
.e6-field-grid select:hover {
  border-color: rgba(81, 227, 145, 0.55);
}

.e6-field-grid input:focus,
.e6-field-grid select:focus {
  border-color: var(--e6-blue);
}

.e6-field-wide {
  grid-column: 1 / -1;
}

.e6-field-wide small {
  color: var(--e6-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.e6-input-money {
  position: relative;
  display: block;
}

.e6-input-money i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0.82rem;
  color: var(--e6-muted);
  font-style: normal;
  transform: translateY(-50%);
}

.e6-input-money input {
  padding-left: 1.8rem;
}

.e6-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.35rem;
}

.e6-reset {
  min-height: 45px;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(148, 174, 205, 0.3);
  border-radius: 999px;
  color: var(--e6-text);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.e6-reset:hover {
  color: var(--e6-ink);
  border-color: rgba(115, 240, 170, 0.54);
  background: rgba(81, 227, 145, 0.08);
}

.e6-form-message {
  min-height: 1.3rem;
  margin: 0.85rem 0 0;
  color: var(--e6-red) !important;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.5;
}

.e6-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3.5vw, 2.35rem);
  border-left: 1px solid var(--e6-border);
  background:
    radial-gradient(circle at 100% 0%, rgba(81, 227, 145, 0.1), transparent 38%),
    rgba(3, 13, 25, 0.95);
}

.e6-results h3 {
  margin: 0;
  font-size: 1.35rem;
}

.e6-results dl {
  margin: 1.2rem 0 0;
}

.e6-results dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.64rem 0;
  border-bottom: 1px solid rgba(148, 174, 205, 0.13);
}

.e6-results dt,
.e6-results dd {
  margin: 0;
}

.e6-results dt {
  color: var(--e6-muted);
  font-size: 0.77rem;
}

.e6-results dd {
  color: var(--e6-ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.79rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: right;
}

.e6-results .e6-result-total {
  margin-top: 0.4rem;
  padding: 0.9rem;
  border: 1px solid rgba(81, 227, 145, 0.22);
  border-radius: 0.72rem;
  background: rgba(81, 227, 145, 0.06);
}

.e6-result-total dt,
.e6-result-total dd {
  color: var(--e6-cyan);
  font-weight: 900;
}

.e6-result-status {
  margin: 1rem 0 0;
  padding: 0.75rem 0.82rem;
  border-radius: 0.72rem;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.5;
}

.e6-result-status.is-positive {
  color: var(--e6-green);
  background: rgba(92, 224, 163, 0.09);
}

.e6-result-status.is-negative,
.e6-result-status.is-invalid {
  color: var(--e6-red);
  background: rgba(255, 128, 146, 0.09);
}

.e6-result-status.is-flat,
.e6-result-status.is-mixed {
  color: var(--e6-gold);
  background: rgba(245, 200, 101, 0.09);
}

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

.e6-hedge-direction article {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid var(--e6-border);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(9, 28, 48, 0.87), rgba(4, 15, 28, 0.94));
}

.e6-hedge-direction article:first-child {
  border-top-color: rgba(255, 128, 146, 0.5);
}

.e6-hedge-direction article:last-child {
  border-top-color: rgba(92, 224, 163, 0.5);
}

.e6-hedge-direction h3 {
  margin: 0;
  font-size: 1.2rem;
}

.e6-hedge-direction p {
  margin: 0.8rem 0 0;
  font-size: 0.88rem;
  line-height: 1.72;
}

.e6-hedge-example {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(350px, 1.02fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 1rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid rgba(81, 227, 145, 0.3);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 90% 50%, rgba(81, 227, 145, 0.1), transparent 40%),
    linear-gradient(145deg, rgba(7, 28, 51, 0.94), rgba(4, 14, 26, 0.96));
}

.e6-hedge-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.e6-hedge-copy > p:not(.e6-fine-print) {
  margin: 1rem 0 0;
  font-size: 0.93rem;
  line-height: 1.75;
}

.e6-fine-print {
  margin: 1rem 0 0;
  color: var(--e6-muted) !important;
  font-size: 0.76rem;
  line-height: 1.65;
}

.e6-offset-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
}

.e6-offset-visual > div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--e6-border);
  border-radius: 0.85rem;
  background: rgba(2, 9, 20, 0.62);
  text-align: center;
}

.e6-offset-visual > div:last-of-type {
  grid-column: 1 / -1;
  width: min(250px, 100%);
  margin: 0 auto;
}

.e6-offset-visual > i:last-of-type {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  margin-top: -0.3rem;
}

.e6-offset-visual > div:last-of-type {
  grid-row: 3;
}

.e6-offset-visual span,
.e6-offset-visual strong,
.e6-offset-visual small {
  display: block;
}

.e6-offset-visual span {
  color: var(--e6-muted);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.e6-offset-visual strong {
  margin: 0.45rem 0 0.38rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-variant-numeric: tabular-nums;
}

.e6-offset-visual small {
  color: var(--e6-muted);
  font-size: 0.65rem;
  line-height: 1.45;
}

.e6-offset-visual > i {
  color: var(--e6-muted);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 900;
}

.e6-offset-visual .is-loss strong {
  color: var(--e6-red);
}

.e6-offset-visual .is-gain strong {
  color: var(--e6-green);
}

.e6-offset-visual .is-offset {
  border-color: rgba(245, 200, 101, 0.34);
  background: rgba(81, 58, 17, 0.22);
}

.e6-offset-visual .is-offset strong {
  color: var(--e6-gold);
}

.e6-hedge-formula {
  display: grid;
  grid-template-columns: auto minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--e6-border);
  border-radius: 0.9rem;
  background: rgba(6, 20, 35, 0.78);
}

.e6-hedge-formula strong {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.e6-hedge-formula p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.58;
}

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

.e6-margin-grid article {
  padding: 1.35rem;
  border: 1px solid var(--e6-border);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(9, 28, 48, 0.88), rgba(4, 14, 27, 0.94));
}

.e6-margin-grid article > span {
  color: var(--e6-cyan);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.e6-margin-grid h3 {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.e6-margin-grid p {
  margin: 0.75rem 0 0;
  font-size: 0.83rem;
  line-height: 1.65;
}

.e6-margin-warning {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 1rem;
  padding: clamp(1.35rem, 3.5vw, 2rem);
  border: 1px solid rgba(255, 128, 146, 0.3);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 128, 146, 0.09), transparent 40%),
    rgba(35, 12, 23, 0.46);
}

.e6-margin-warning strong {
  color: var(--e6-red);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.e6-margin-warning p {
  margin: 0.8rem 0 0;
  font-size: 0.87rem;
  line-height: 1.68;
}

.e6-margin-warning ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.e6-margin-warning li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.62;
}

.e6-margin-warning li::before {
  position: absolute;
  top: 0.63em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--e6-gold);
  content: "";
}

.e6-source-note,
.e6-related {
  margin: 1rem 0 0;
  padding: 0 0.15rem;
  color: var(--e6-muted) !important;
  font-size: 0.78rem;
  line-height: 1.68;
}

.e6-delivery-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.e6-delivery-track article {
  min-height: 180px;
  padding: 1.3rem;
  border: 1px solid var(--e6-border);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(9, 28, 48, 0.88), rgba(4, 14, 27, 0.94));
}

.e6-delivery-track article > span {
  color: var(--e6-blue);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.e6-delivery-track strong {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.08rem;
  line-height: 1.3;
}

.e6-delivery-track p {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  line-height: 1.62;
}

.e6-delivery-track > i {
  color: var(--e6-gold);
  font-size: 1.25rem;
  font-style: normal;
}

.e6-delivery-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.35rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--e6-gold);
  border-radius: 0 0.9rem 0.9rem 0;
  background: rgba(91, 64, 15, 0.15);
}

.e6-delivery-note p {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
}

.e6-delivery-note a {
  font-size: 0.8rem;
  font-weight: 800;
}

.e6-compare-table {
  min-width: 680px;
}

.e6-compare-table thead {
  background: rgba(81, 227, 145, 0.08);
}

.e6-compare-table th,
.e6-compare-table td {
  font-size: 0.84rem;
}

.e6-compare-table thead th {
  color: var(--e6-cyan);
  font-size: 0.71rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.e6-compare-table tbody th {
  color: #d9e7f5;
}

.e6-compare-table td:nth-child(2),
.e6-compare-table td:nth-child(3) {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
}

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

.e6-error-grid article {
  position: relative;
  min-height: 155px;
  padding: 1.25rem 1.2rem 1.2rem 1.35rem;
  overflow: hidden;
  border: 1px solid var(--e6-border);
  border-radius: 0.95rem;
  background: linear-gradient(145deg, rgba(9, 27, 46, 0.86), rgba(4, 14, 27, 0.94));
}

.e6-error-grid article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(var(--e6-red), rgba(255, 128, 146, 0));
  content: "";
}

.e6-error-grid strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.4;
}

.e6-error-grid p {
  margin: 0.68rem 0 0;
  font-size: 0.8rem;
  line-height: 1.62;
}

.e6-faq details,
.e6-sources {
  border: 1px solid var(--e6-border);
  background: linear-gradient(145deg, rgba(8, 25, 43, 0.88), rgba(4, 14, 27, 0.96));
}

.e6-faq details {
  margin-bottom: 0.65rem;
  border-radius: 0.85rem;
}

.e6-faq summary,
.e6-sources summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.e6-faq summary::-webkit-details-marker,
.e6-sources summary::-webkit-details-marker {
  display: none;
}

.e6-faq summary::after,
.e6-sources summary::after {
  position: absolute;
  top: 50%;
  right: 1.15rem;
  color: var(--e6-blue);
  font-size: 1.25rem;
  font-weight: 400;
  content: "+";
  transform: translateY(-50%);
}

.e6-faq details[open] summary::after,
.e6-sources[open] summary::after {
  content: "\2212";
}

.e6-faq details[open] summary,
.e6-sources[open] summary {
  border-bottom: 1px solid var(--e6-border);
}

.e6-faq details p {
  margin: 0;
  padding: 1rem 1.15rem 1.2rem;
  font-size: 0.84rem;
  line-height: 1.72;
}

.e6-sources {
  margin-top: clamp(4.5rem, 8vw, 7rem);
  border-radius: 1rem;
}

.e6-sources ul {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding: 1.2rem 1.3rem 0 2.5rem;
}

.e6-sources li,
.e6-sources > p {
  font-size: 0.78rem;
  line-height: 1.67;
}

.e6-sources > p {
  margin: 0;
  padding: 1rem 1.3rem 1.3rem;
  color: var(--e6-muted);
}

.e6-disclaimer {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border: 1px solid rgba(245, 200, 101, 0.28);
  border-radius: 1rem;
  background: rgba(75, 54, 17, 0.15);
}

.e6-disclaimer strong {
  color: var(--e6-gold);
  font-size: 0.82rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.e6-disclaimer p {
  margin: 0.7rem 0 0;
  color: var(--e6-muted);
  font-size: 0.76rem;
  line-height: 1.68;
}

@media (max-width: 1020px) {
  .e6-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 2rem;
    padding: 2.6rem;
  }

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

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

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

  .e6-hedge-formula {
    grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  }

  .e6-hedge-formula p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .e6-hero,
  .e6-spec-layout,
  .e6-worked-move,
  .e6-calculator-shell,
  .e6-hedge-example,
  .e6-margin-warning {
    grid-template-columns: 1fr;
  }

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

  .e6-quote-board {
    width: min(520px, 100%);
  }

  .e6-results {
    border-top: 1px solid var(--e6-border);
    border-left: 0;
  }

  .e6-offset-visual {
    width: min(540px, 100%);
    margin: 0 auto;
  }

  .e6-delivery-track {
    grid-template-columns: 1fr;
  }

  .e6-delivery-track article {
    min-height: 0;
  }

  .e6-delivery-track > i {
    justify-self: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .euro-contract-guide {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }

  .e6-hero {
    margin-right: -0.35rem;
    margin-left: -0.35rem;
    padding: 1.55rem 1.2rem;
    border-radius: 1.15rem;
  }

  .e6-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
  }

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

  .e6-hero-actions .button-primary,
  .e6-hero-actions .e6-text-link,
  .e6-calculator-form .button-primary,
  .e6-reset {
    width: 100%;
    text-align: center;
  }

  .e6-hero-facts {
    gap: 0.48rem;
  }

  .e6-hero-facts div {
    padding: 0.72rem 0.62rem;
  }

  .e6-price-stack {
    padding: 0.8rem;
  }

  .e6-price-stack div {
    padding: 0.72rem;
  }

  .e6-board-equation {
    gap: 0.32rem;
  }

  .e6-board-equation span,
  .e6-board-equation strong {
    font-size: 0.72rem;
  }

  .e6-section {
    padding-top: 4.4rem;
  }

  .e6-section-heading h2 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .e6-distinction,
  .e6-formula-grid,
  .e6-hedge-direction,
  .e6-margin-grid,
  .e6-error-grid {
    grid-template-columns: 1fr;
  }

  .e6-worked-move dl,
  .e6-field-grid {
    grid-template-columns: 1fr;
  }

  .e6-field-wide {
    grid-column: auto;
  }

  .e6-calculator-form,
  .e6-results {
    padding: 1.2rem;
  }

  .e6-offset-visual {
    grid-template-columns: 1fr;
  }

  .e6-offset-visual > i,
  .e6-offset-visual > i:last-of-type,
  .e6-offset-visual > div:last-of-type {
    grid-column: auto;
    grid-row: auto;
  }

  .e6-offset-visual > i {
    justify-self: center;
  }

  .e6-offset-visual > div:last-of-type {
    width: 100%;
  }

  .e6-hedge-formula {
    grid-template-columns: 1fr;
  }

  .e6-hedge-formula p {
    grid-column: auto;
  }

  .e6-sources ul {
    padding-left: 2.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .euro-contract-guide *,
  .euro-contract-guide *::before,
  .euro-contract-guide *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .e6-jump-nav,
  .e6-hero-actions,
  .e6-calculator-form,
  .site-header,
  .site-footer {
    display: none !important;
  }

  .euro-contract-guide,
  .euro-contract-guide p,
  .euro-contract-guide li,
  .euro-contract-guide td,
  .euro-contract-guide dd,
  .euro-contract-guide small,
  .euro-contract-guide h1,
  .euro-contract-guide h2,
  .euro-contract-guide h3,
  .euro-contract-guide strong,
  .euro-contract-guide th {
    color: #101820 !important;
  }

  .e6-hero,
  .e6-calculator-shell,
  .e6-spec-layout,
  .e6-worked-move,
  .e6-hedge-example,
  .e6-margin-warning {
    display: block;
    border: 1px solid #9aa7b3;
    color: #101820;
    background: #fff;
    box-shadow: none;
  }

  .e6-section {
    padding-top: 2rem;
    break-inside: avoid;
  }
}
