:root {
  --bg: #f4f7fb;
  --bg-accent: #e8eef8;
  --card: #ffffff;
  --text: #10203a;
  --muted: #5b6b82;
  --accent: #1d4ed8;
  --accent-soft: #dbe7ff;
  --border: #d7e0ee;
  --max: 820px;
  --nav-bg: rgba(244, 247, 251, 0.92);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(220, 38, 38, 0.1), transparent 24%),
    linear-gradient(180deg, var(--bg-accent), var(--bg) 36%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

.brand:hover { text-decoration: none; }

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.brand-text { letter-spacing: -0.02em; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
  font-size: 14px;
  font-weight: 600;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(16, 32, 58, 0.06);
}

h1 { font-size: 30px; margin: 0 0 4px; letter-spacing: -0.03em; }
h2 { font-size: 20px; margin: 32px 0 8px; letter-spacing: -0.02em; }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
p, li { color: var(--text); }
ul, ol { padding-left: 20px; }
.muted { color: var(--muted); }

.steps {
  margin: 20px 0 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 16px 16px 16px 64px;
  margin-bottom: 12px;
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 14px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.note {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid #c7d7ff;
}

.hero {
  text-align: center;
  padding: 48px 20px 12px;
}

.hero-logo {
  width: min(220px, 58vw);
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.hero h1 { font-size: 36px; }
.hero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
  margin: 12px auto 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.tile {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16, 32, 58, 0.05);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tile:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.tile h3 { margin: 0 0 6px; color: var(--text); }
.tile p { color: var(--muted); margin: 0; font-size: 14px; }

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 24px 20px 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.28);
}

.btn-primary:hover { background: #1e40af; color: #fff; }

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.market-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.market-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 20px 36px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 48%),
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(29, 78, 216, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(253, 185, 39, 0.22), transparent 50%);
}

.market-hero-inner,
.intro-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.market-wordmark {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}

.market-brand {
  margin: 0;
  font-size: clamp(48px, 10vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #1a73e8;
}

.market-brand span { color: #fdb927; }

.market-lede,
.intro-hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin: 16px auto 0;
}

.market-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.market-video-band {
  padding: 8px 20px 8px;
}

.market-video-inner {
  max-width: 880px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(16, 32, 58, 0.14);
  background: #0b1220;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 0;
}

.market-main { padding-top: 28px; }

.market-section {
  margin-bottom: 48px;
}

.market-section h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.market-section-lede {
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 640px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.feature-block {
  padding: 22px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.feature-block h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.feature-block p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.doc-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.doc-list li {
  margin-bottom: 6px;
}

.strategy-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: strategy;
}

.strategy-steps li {
  position: relative;
  padding: 18px 18px 18px 64px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 14px;
  counter-increment: strategy;
}

.strategy-steps li::before {
  content: counter(strategy);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.intro-hero {
  text-align: center;
  padding: 48px 20px 20px;
}

.intro-hero h1 {
  margin: 0;
  font-size: clamp(32px, 7vw, 44px);
  letter-spacing: -0.03em;
}

.market-close {
  text-align: center;
  padding: 28px 20px 8px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(29, 78, 216, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
}

.market-close .market-section-lede {
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
}

@media (max-width: 640px) {
  .nav-inner { align-items: flex-start; }
  .nav-links { gap: 10px 14px; }
  .card { padding: 24px 18px; }
  .hero h1 { font-size: 30px; }
  .market-hero { padding: 40px 16px 28px; }
  .market-lede,
  .intro-hero p { font-size: 16px; }
  .video-frame { border-radius: 14px; }
}
