:root {
  --green: #36d43b;
  --green-dark: #14951a;
  --ink: #0f1720;
  --muted: #647083;
  --line: #e5eaf0;
  --soft: #f5f8fb;
  --panel: #ffffff;
  --navy: #142233;
  --yellow: #ffd35a;
  --blue: #2a75ff;
  --shadow: 0 24px 70px rgba(19, 31, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 234, 240, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #07120a;
  background: var(--green);
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 9px 22px rgba(54, 212, 59, 0.28);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: #293647;
  font-size: 15px;
}

.nav-links a,
.text-link {
  transition: color 180ms ease;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--green-dark);
}

.header-cta,
.signup button,
.text-link {
  font-weight: 750;
}

.header-cta,
.signup button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  color: #07120a;
  background: var(--green);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(54, 212, 59, 0.25);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #f0f4f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.84fr) minmax(480px, 1.16fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px) 42px;
  overflow: hidden;
}

.hero > *,
.split > *,
.app-section > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.2vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 640px;
  color: #4d5a6c;
  font-size: clamp(18px, 2vw, 22px);
}

.signup {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin: 30px 0 14px;
  padding: 7px;
  background: #f1f5f8;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.signup input {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
}

.signup input:focus {
  outline: 2px solid rgba(54, 212, 59, 0.35);
  outline-offset: 6px;
}

.risk-note {
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  inset: 8% -8% auto 12%;
  height: 58%;
  content: "";
  background: linear-gradient(135deg, rgba(54, 212, 59, 0.16), rgba(42, 117, 255, 0.12));
  border-radius: 18px;
  transform: rotate(-4deg);
}

.hero-media img {
  position: relative;
  width: min(960px, 68vw);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.ticker-strip {
  display: flex;
  gap: 10px;
  padding: 12px clamp(18px, 5vw, 72px);
  overflow-x: auto;
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.ticker-strip a {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #243142;
  font-weight: 700;
  font-size: 14px;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.split p,
.section-heading p,
.app-copy p {
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green-dark);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  min-height: 226px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(19, 31, 46, 0.06);
}

.card-index {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--green-dark);
  font-weight: 850;
}

.guide-card p {
  color: var(--muted);
}

.market-section {
  background: var(--navy);
  color: #fff;
}

.learning-path {
  background: #fff;
  border-top: 1px solid var(--line);
}

.guide-library {
  background: #f7fafc;
  border-top: 1px solid var(--line);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.library-card {
  display: grid;
  align-content: start;
  min-height: 190px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(19, 31, 46, 0.05);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.library-card:hover {
  border-color: rgba(54, 212, 59, 0.62);
  box-shadow: 0 18px 38px rgba(19, 31, 46, 0.09);
  transform: translateY(-2px);
}

.library-card span {
  margin-bottom: 26px;
  color: var(--green-dark);
  font-weight: 850;
}

.library-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.18;
}

.library-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

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

.path-grid article {
  padding: 28px;
  background: linear-gradient(180deg, #f8fbfd, #fff);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.path-grid p {
  color: var(--muted);
}

.article-page {
  background: #fff;
}

.article-hero {
  padding: clamp(54px, 8vw, 112px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 66px);
  background: linear-gradient(180deg, #fff, #f7fafc);
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  max-width: 920px;
}

.article-hero .lead {
  max-width: 820px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(250px, 340px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.article-body {
  display: grid;
  gap: 28px;
}

.article-section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-section h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.article-section p,
.article-section li {
  color: #526174;
  font-size: 18px;
}

.takeaway-box {
  padding: 28px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.takeaway-box ul {
  margin: 0;
  padding-left: 20px;
}

.takeaway-box li + li {
  margin-top: 10px;
}

.article-aside {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(19, 31, 46, 0.06);
}

.article-aside strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.article-aside p {
  color: var(--muted);
}

.article-aside nav {
  display: grid;
  gap: 10px;
}

.article-aside a {
  display: flex;
  justify-content: center;
  padding: 12px 14px;
  background: var(--green);
  border-radius: 8px;
  color: #07120a;
  font-weight: 800;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.market-section .section-heading p {
  color: #b7c4d5;
}

.market-table {
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.table-row {
  display: grid;
  grid-template-columns: 0.75fr 1.35fr 1fr;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.table-head {
  color: #526174;
  background: #f4f8fb;
  border-top: 0;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table-row span:first-child {
  font-weight: 800;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  background: linear-gradient(180deg, #fff, #f7fafc);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stats div,
.checklist-grid div {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
}

.stats span,
.checklist-grid span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.app-image {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.checklist {
  background: #fff;
}

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

.checklist-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.faq {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 32px;
  padding: 48px clamp(18px, 5vw, 72px);
  color: #dce6f2;
  background: #0c1622;
}

.site-footer p {
  max-width: 640px;
  margin: 18px 0 0;
  color: #9fb0c4;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 18px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .nav-links {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-bottom: 16px;
  }

  .site-header.nav-open .nav-links a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero,
  .split,
  .app-section,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    width: 100%;
    max-width: 100%;
  }

  .app-image {
    order: -1;
  }

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

  .article-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
  }

  .brand span:last-child {
    max-width: 180px;
    line-height: 1.1;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .signup,
  .stats,
  .checklist-grid,
  .guide-grid,
  .path-grid,
  .library-grid {
    grid-template-columns: 1fr;
  }

  .signup {
    display: grid;
  }

  .signup input {
    min-height: 48px;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .table-head {
    display: none;
  }

  .table-row span:not(:first-child) {
    color: var(--muted);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
