/* ==========================================================================
   EA Lab - Premium Stylesheet
   Design System: Warm off-white + Deep navy + Refined gold
   ========================================================================== */

:root {
  /* Core palette */
  --bg:           #faf8f1;
  --bg-surface:   #ffffff;
  --bg-muted:     #f3efe4;
  --bg-dark:      #0a1628;
  --bg-dark-2:    #0f1f3d;
  --navy:         #0f2547;
  --navy-2:       #1a3a6e;
  --gold:         #b8923a;
  --gold-bright:  #d4a84b;
  --gold-soft:    rgba(184, 146, 58, 0.12);

  /* Text */
  --text:         #0f1724;
  --text-2:       #374151;
  --text-muted:   #64748b;
  --text-faint:   #94a3b8;
  --text-invert:  #faf8f1;

  /* Semantics */
  --border:       #e8e3d3;
  --border-dark:  rgba(250, 248, 241, 0.1);
  --success:      #1f7a4d;
  --success-bg:   #e7f3ec;
  --danger:       #b5364a;
  --danger-bg:    #fce9ec;

  /* Fonts */
  --ff-display:   "Inter Tight", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --ff-body:      "Inter", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --ff-mono:      "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Radius */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(10, 22, 40, 0.04);
  --sh-md: 0 4px 16px rgba(10, 22, 40, 0.06);
  --sh-lg: 0 16px 40px rgba(10, 22, 40, 0.1);
  --sh-xl: 0 32px 80px rgba(10, 22, 40, 0.16);

  /* Layout */
  --container: 1240px;
  --header-h:  80px;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "palt";
  letter-spacing: 0.01em;
}

::selection {
  background: var(--navy);
  color: var(--text-invert);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}

.container--narrow {
  max-width: 860px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 248, 241, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.site-logo__mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--text-invert);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
}

.site-logo__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(212, 168, 75, 0.3));
}

.site-logo__mark span { position: relative; z-index: 1; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease);
  position: relative;
}

.site-nav__link:hover {
  color: var(--navy);
}

.site-nav__link.is-active {
  color: var(--navy);
  font-weight: 600;
}

.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
}

.site-nav__cta {
  margin-left: 12px;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--text-invert);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-nav__cta:hover {
  background: var(--bg-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  margin: 5px auto;
  transition: transform 0.2s, opacity 0.2s;
}

/* ==========================================================================
   Typography utilities
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.display-md {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mono { font-family: var(--ff-mono); font-feature-settings: "tnum"; }

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(40px);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 37, 71, 0.06) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(40px);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero__title {
  margin: 20px 0 28px;
  color: var(--navy);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__trust-item strong {
  font-family: var(--ff-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.hero__trust-item span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Hero chart visual */
.hero__visual {
  position: relative;
}

.chart-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.chart-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy-2), var(--gold));
}

.chart-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.chart-card__title {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chart-card__change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--success-bg);
  color: var(--success);
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
}

.chart-card__big {
  font-family: var(--ff-mono);
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.chart-card__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.chart-card__svg {
  width: 100%;
  height: 140px;
  margin-bottom: 20px;
}

.chart-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.chart-card__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chart-card__stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chart-card__stat-value {
  font-family: var(--ff-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

/* Chart floating decorations */
.hero__float {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.hero__float--1 {
  top: -20px;
  right: 20px;
}

.hero__float--2 {
  bottom: -20px;
  left: -30px;
}

.hero__float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-bg);
}

.hero__float-dot--gold {
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--navy);
  color: var(--text-invert);
  box-shadow: var(--sh-sm);
}

.btn--primary:hover {
  background: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--text-invert);
  box-shadow: 0 4px 14px rgba(184, 146, 58, 0.3);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 146, 58, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--navy);
  background: var(--bg-surface);
}

.btn--ghost {
  background: rgba(250, 248, 241, 0.08);
  color: var(--text-invert);
  border: 1px solid rgba(250, 248, 241, 0.2);
}

.btn--ghost:hover {
  background: rgba(250, 248, 241, 0.14);
  border-color: rgba(250, 248, 241, 0.4);
}

.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

.btn-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
  font-family: var(--ff-display);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 120px 0;
  position: relative;
}

.section--tight { padding: 80px 0; }

.section--dark {
  background: var(--bg-dark);
  color: var(--text-invert);
}

.section--dark .section__title { color: var(--text-invert); }
.section--dark .section__desc { color: rgba(250, 248, 241, 0.7); }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}

.section__head--left {
  text-align: left;
  margin-left: 0;
}

.section__title {
  color: var(--navy);
  margin: 16px 0 16px;
}

.section__desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.85;
}

/* ==========================================================================
   Feature list (Stripe-style asymmetric)
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--navy);
}

.feature__num {
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.feature__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  margin-bottom: 24px;
}

.feature__icon svg { width: 26px; height: 26px; }

.feature__title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.feature__desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ==========================================================================
   EA Cards (premium with sparklines)
   ========================================================================== */
.ea-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.ea-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.ea-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
  border-color: var(--navy);
}

.ea-card__chart {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--navy) 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
}

.ea-card__chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ea-card__chart-label {
  position: relative;
  z-index: 1;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(250, 248, 241, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ea-card__chart-title {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-invert);
  letter-spacing: -0.01em;
}

.ea-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: var(--gold);
  color: var(--text-invert);
  font-family: var(--ff-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  border-radius: 999px;
}

.ea-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ea-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ea-card__tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-muted);
  color: var(--text-2);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.ea-card__title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.ea-card__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.ea-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.ea-card__stat {
  text-align: center;
  padding: 0 4px;
  border-right: 1px solid var(--border);
}

.ea-card__stat:last-child { border-right: none; }

.ea-card__stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ea-card__stat-value {
  font-family: var(--ff-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.ea-card__stat-value--up { color: var(--success); }
.ea-card__stat-value--down { color: var(--danger); }

.ea-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: gap 0.2s var(--ease);
}

.ea-card__link:hover { gap: 10px; color: var(--gold); }

/* ==========================================================================
   Steps (numbered timeline style)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.step__num {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  transition: all 0.3s var(--ease);
}

.step:hover .step__num {
  background: var(--navy);
  color: var(--text-invert);
  transform: scale(1.05);
}

.step__num::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed var(--border);
  border-radius: 50%;
}

.step__title {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ==========================================================================
   CTA Band
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-invert);
  padding: 100px 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(184, 146, 58, 0.15) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-band__title {
  color: var(--text-invert);
  margin-bottom: 20px;
}

.cta-band__desc {
  font-size: 17px;
  color: rgba(250, 248, 241, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-band__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Page hero (sub pages)
   ========================================================================== */
.page-hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-muted) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--text-faint); }

.page-hero__title {
  color: var(--navy);
  margin-bottom: 20px;
}

.page-hero__desc {
  font-size: 18px;
  color: var(--text-2);
  max-width: 680px;
  line-height: 1.85;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(184, 146, 58, 0.25);
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   EA Detail
   ========================================================================== */
.ea-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  margin-top: 72px;
}

.ea-detail__main > section {
  margin-bottom: 72px;
}

.ea-detail__main h2 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  position: relative;
  padding-left: 16px;
}

.ea-detail__main h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 2px;
}

.ea-detail__main h3 {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 14px;
  letter-spacing: -0.01em;
}

.ea-detail__main p {
  color: var(--text-2);
  margin-bottom: 14px;
  line-height: 1.85;
}

/* Info table */
.info-table {
  width: 100%;
  font-size: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

.info-table th {
  width: 34%;
  background: var(--bg-muted);
  color: var(--text);
  font-weight: 600;
}

.info-table td {
  color: var(--text-2);
}

/* Stats grid (large numbers) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.stat-card__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.stat-card__value {
  font-family: var(--ff-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.stat-card__value--up { color: var(--success); }
.stat-card__value--down { color: var(--danger); }

/* Chart placeholder */
.chart-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  margin: 20px 0;
}

.chart-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.chart-box__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.chart-box__placeholder {
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(
    -45deg,
    var(--bg-muted) 0 10px,
    var(--bg) 10px 20px
  );
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  border: 1px dashed var(--border);
}

.chart-box__placeholder img { width: 100%; height: 100%; object-fit: contain; }

/* Sidebar */
.ea-detail__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.download-list { display: flex; flex-direction: column; gap: 8px; }

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-muted);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s, transform 0.2s;
}

.download-item:hover {
  background: var(--gold-soft);
  transform: translateX(4px);
}

.download-item__icon {
  font-family: var(--ff-mono);
  color: var(--gold);
  font-weight: 700;
}

/* ==========================================================================
   Broker cards
   ========================================================================== */
.broker-card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
}

.broker-card:hover {
  border-color: var(--navy);
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
}

.broker-card__logo {
  aspect-ratio: 2.5 / 1;
  background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.broker-card__info h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.broker-card__info p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.75;
}

.broker-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-muted);
  color: var(--text-2);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Step cards (detailed) */
.steps-v {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  counter-reset: step;
}

.step-v {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.step-v:hover {
  border-color: var(--navy);
  box-shadow: var(--sh-md);
}

.step-v__num {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--text-invert);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
}

.step-v__num::before { content: counter(step); }

.step-v__title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.step-v__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ==========================================================================
   Form
   ========================================================================== */
.form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.form__field { display: flex; flex-direction: column; gap: 8px; }

.form__label {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.required { color: var(--danger); margin-left: 4px; }

.form__input,
.form__textarea,
.form__select {
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-family: var(--ff-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(15, 37, 71, 0.08);
}

.form__textarea { resize: vertical; min-height: 160px; }

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
}

.form__check input {
  margin-top: 4px;
  accent-color: var(--navy);
}

.form__submit { justify-self: start; }

/* ==========================================================================
   Notice
   ========================================================================== */
.notice {
  padding: 20px 24px;
  border-radius: var(--r-md);
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.8;
  position: relative;
}

.notice strong {
  font-family: var(--ff-display);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.notice--warning {
  background: #fff9ea;
  border: 1px solid #efe0b0;
  color: #5a4a14;
}

.notice--info {
  background: #edf3fb;
  border: 1px solid #c8d7ed;
  color: var(--navy);
}

/* ==========================================================================
   Prose (long-form text)
   ========================================================================== */
.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 40px 0 20px;
  position: relative;
  padding-left: 16px;
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 2px;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.95;
}
.prose strong { color: var(--navy); font-weight: 700; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(250, 248, 241, 0.7);
  padding: 80px 0 32px;
  font-size: 14px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}

.site-footer__brand .site-logo { color: var(--text-invert); margin-bottom: 16px; }
.site-footer__brand p { font-size: 13px; line-height: 1.85; max-width: 340px; }

.site-footer h4 {
  font-family: var(--ff-display);
  color: var(--text-invert);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.site-footer ul li { margin-bottom: 10px; }

.site-footer a { transition: color 0.15s; }
.site-footer a:hover { color: var(--gold-bright); }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(250, 248, 241, 0.4);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

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

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 16px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .ea-detail { grid-template-columns: 1fr; }
  .ea-detail__aside { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .broker-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .broker-card__logo { max-width: 220px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 80px 0 60px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ea-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-md);
    gap: 6px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { padding: 14px 16px; }
  .site-nav__cta { margin: 8px 0 0; text-align: center; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: 20px; }
  .ea-detail__main h2 { font-size: 22px; }
}
