.docs-home { --home-color: #86dfd0; --home-tint: 80,190,180; }
.home-blue { --home-color: #94c7ff; --home-tint: 92,150,232; }
.home-violet { --home-color: #c4a8ff; --home-tint: 155,114,235; }
.home-indigo { --home-color: #a9b3ff; --home-tint: 116,129,235; }
.home-gold { --home-color: #f0cd8a; --home-tint: 211,165,76; }
.home-cyan { --home-color: #82dfdf; --home-tint: 62,185,190; }
.home-green { --home-color: #8ce2ba; --home-tint: 67,174,129; }
.home-rose { --home-color: #f2afcb; --home-tint: 209,111,157; }
.home-quickstart { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; margin: 0 0 1.5rem; padding: .95rem 1rem; border: 1px solid #6a5a32; border-radius: 14px; background: linear-gradient(120deg, #2a2416, #171b26); }
.home-quickstart p { order: 1; flex: 1 1 16rem; margin: 0; color: #d5dcec; font-size: .95rem; }
.home-quickstart strong { color: #f0cd8a; font-weight: 800; }
.home-quickstart .home-primary { order: 2; display: inline-flex; align-items: center; gap: .7rem; padding: .65rem 1rem; border-radius: 10px; font-size: .85rem; font-weight: 800; text-decoration: none; }
.home-quickstart .home-primary svg { width: 17px; height: 17px; }
.home-intro { padding: .1rem 0 .2rem; }
.docs-home h1 { max-width: 20ch; font-size: clamp(2rem,4vw,2.8rem); }
.docs-home h2 { margin-top: 2.7rem; }
.home-intro .lede { max-width: 62ch; color: #bbc6d8; }
.home-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.3rem 0 .6rem; }
.home-actions a { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .65rem 1rem; border-radius: 10px; font-size: .85rem; font-weight: 800; text-decoration: none; }
.home-actions svg { width: 17px; height: 17px; }
.home-primary { color: #101323; border: 1px solid #b8c6ff; background: linear-gradient(110deg,#b0baff,#8ce0e5); box-shadow: 0 5px 22px #8d9dff18; }
.home-primary:hover { color: #101323; filter: brightness(1.08); }
.home-secondary { color: #d5dcec; background: #171d2b; border: 1px solid #3c465c; }
.home-secondary:hover { background: #252d40; }
.home-eyebrow { display: block; color: var(--home-color); font-size: .66rem; font-weight: 800; letter-spacing: .09em; line-height: 1.5; text-transform: uppercase; }
.home-ecosystem { position: relative; margin: 1.7rem 0 1.2rem; padding: 1.3rem; border: 1px solid #35405a; border-radius: 20px; background: radial-gradient(ellipse at 50% 30%,#56519f24,transparent 65%),linear-gradient(145deg,#141b2b,#10151e); overflow: hidden; scroll-margin-top: 84px; }
.home-ecosystem figcaption { position: relative; display: grid; gap: .35rem; margin-bottom: 1.5rem; }
.home-ecosystem figcaption strong { font-size: 1.15rem; line-height: 1.4; letter-spacing: -.025em; }
.home-analytics-hub { position: relative; display: flex; align-items: center; justify-content: center; gap: .8rem; width: fit-content; max-width: 100%; margin: 0 auto; padding: .8rem 1.1rem; border: 1px solid #68718c; border-radius: 15px; background: linear-gradient(120deg,#252c43,#1b2935); box-shadow: 0 0 38px #8480db18; }
.home-analytics-hub img { flex: 0 0 52px; width: 52px; height: 52px; object-fit: contain; }
.home-analytics-hub strong { display: block; color: #f1f3fd; font-size: 1.04rem; line-height: 1.4; }
.home-analytics-hub span { display: block; margin-top: .2rem; color: #b6c4d7; font-size: .75rem; }
.home-analytics-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin: .65rem auto 2.1rem; }
.home-analytics-tags span { padding: .16rem .5rem; border: 1px solid #3b4d61; border-radius: 99px; background: #111e2a; color: #b8ddd9; font-size: .62rem; font-weight: 700; }
.home-platform-grid { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; }
.home-platform-grid::before { content: ""; position: absolute; top: -1.6rem; left: 12%; right: 12%; border-top: 1px solid #56627d; opacity: .7; }
.home-platform-grid::after { content: ""; position: absolute; width: 1px; height: .7rem; left: 50%; top: -2.3rem; background: #56627d; }
.home-platform { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; padding: .45rem .65rem .8rem; border: 1px solid #41475e; border-top: 2px solid var(--home-color); border-radius: 12px; background: radial-gradient(ellipse at 50% 0,rgba(var(--home-tint),.14),transparent 90%),#121a28; color: #f0f3fb; text-decoration: none; transition: border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.home-platform::before { content: ""; position: absolute; top: -1.6rem; left: 50%; width: 1px; height: 1.6rem; background: #56627d; opacity: .7; }
.home-platform-preview { display: block; height: 68px; margin: 0 -.25rem .45rem; color: var(--home-color); }
.home-platform-preview svg { display: block; width: 100%; height: 100%; }
.home-platform > strong { padding-right: 1rem; font-size: .91rem; line-height: 1.4; }
.home-platform > span:not(.home-platform-preview):not(.home-platform-arrow) { margin-top: .3rem; padding-right: 1.1rem; color: #b6c2d7; font-size: .7rem; line-height: 1.5; }
.home-platform-arrow { position: absolute; right: .6rem; bottom: .65rem; color: var(--home-color); }
.home-platform-arrow svg { width: 14px; height: 14px; }
.home-platform:hover { transform: translateY(-3px); border-color: var(--home-color); color: #fff; box-shadow: 0 9px 20px #0004; }
.home-quick-notes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.1rem 0; }
.home-quick-notes p { display: flex; align-items: flex-start; gap: .7rem; margin: 0; color: #aebed3; font-size: .8rem; line-height: 1.7; }
.home-quick-notes svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: .15rem; color: #9cbbd8; }
.home-quick-notes strong { color: #d6deec; font-weight: 700; }
.home-section-lede { margin-bottom: 1.2rem; color: #afbdd0; font-size: .94rem; }
.home-path-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.2rem 0 1.6rem; }
.home-path-card { display: flex; flex-direction: column; min-width: 0; padding: 1rem; border: 1px solid #41465d; border-top: 3px solid var(--home-color); border-radius: 16px; background: radial-gradient(ellipse at 50% 0,rgba(var(--home-tint),.16),transparent 75%),linear-gradient(145deg,#1d2233,#121a25); color: #f1f3fb; text-decoration: none; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.home-path-preview { display: block; height: 88px; margin: .8rem -.25rem .9rem; border: 1px solid #424a5b; border-radius: 10px; background: #0e1623; color: var(--home-color); overflow: hidden; }
.home-path-preview svg { display: block; width: 100%; height: 100%; }
.home-path-card > strong { margin-bottom: .55rem; font-size: 1.08rem; line-height: 1.4; letter-spacing: -.025em; }
.home-card-description { display: block; color: #b9c6d9; font-size: .85rem; line-height: 1.65; }
.home-path-card .home-card-description { flex: 1; }
.home-card-action { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1.1rem; padding-top: .75rem; border-top: 1px solid #3c4557; color: var(--home-color); font-size: .76rem; font-weight: 800; line-height: 1.5; }
.home-card-action svg { flex: 0 0 16px; width: 16px; height: 16px; }
.home-path-card:hover,.home-chapter-card:hover { transform: translateY(-3px); border-color: var(--home-color); box-shadow: 0 12px 24px #0003; color: #fff; }
.home-chapter-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.2rem 0 1.7rem; }
.home-chapter-card { display: flex; align-items: flex-start; gap: .9rem; min-width: 0; padding: 1.15rem; border: 1px solid #39465b; border-radius: 16px; background: radial-gradient(ellipse at 0 0,rgba(var(--home-tint),.13),transparent 85%),#131b28; color: #f1f3fb; text-decoration: none; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.home-chapter-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--home-color); border-radius: 12px; background: #101724; color: var(--home-color); }
.home-chapter-icon svg { width: 23px; height: 23px; }
.home-chapter-copy { display: flex; flex-direction: column; min-width: 0; align-self: stretch; flex: 1; }
.home-chapter-copy > strong { display: block; margin: .3rem 0 .5rem; font-size: 1.12rem; line-height: 1.4; letter-spacing: -.02em; }
.home-chapter-copy .home-card-description { flex: 1; }
.home-chapter-featured { grid-column: 1 / -1; padding: 1.35rem; border-color: #456c61; background: radial-gradient(ellipse at 0 0,#29765b33,transparent 90%),linear-gradient(120deg,#182e2c,#152131); }
.home-chapter-featured .home-chapter-icon { width: 52px; height: 52px; flex-basis: 52px; border-radius: 15px; }
.home-chapter-featured .home-chapter-icon svg { width: 28px; height: 28px; }
.home-chapter-featured .home-card-action { margin-top: .7rem; border-color: #36584e; }
.home-education-note { display: flex; align-items: flex-start; gap: .85rem; padding: 1.1rem 1.2rem; border: 1px solid #4d486b; border-radius: 14px; background: #201d32; }
.home-education-note > svg { width: 23px; height: 23px; flex: 0 0 23px; margin-top: .2rem; color: #c4b5fa; }
.home-education-note strong { color: #e5dffb; font-size: .94rem; }
.home-education-note p { color: #bdb9d1; font-size: .84rem; line-height: 1.7; margin: .35rem 0 0; }
.docs-home :is(.home-platform,.home-path-card,.home-chapter-card,.home-actions a):focus-visible { outline: 2px solid var(--home-color); outline-offset: 4px; }
@media(max-width:1100px) and (min-width:861px) {
  .home-platform-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-platform-grid::before,.home-platform-grid::after,.home-platform::before { display: none; }
}
@media(max-width:860px) {
  .home-ecosystem { padding: 1rem; }
  .home-platform-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-platform-grid::before,.home-platform-grid::after,.home-platform::before { display: none; }
  .home-platform-preview { height: 66px; }
  .home-platform > strong { font-size: .88rem; }
  .home-platform > span:not(.home-platform-preview):not(.home-platform-arrow) { font-size: .7rem; }
  .home-actions a { flex: 1 1 auto; }
  .home-analytics-hub { gap: .6rem; padding: .7rem .8rem; }
  .home-analytics-hub img { width: 44px; height: 44px; flex-basis: 44px; }
  .home-analytics-hub strong { font-size: .97rem; }
  .home-analytics-hub span { font-size: .68rem; }
  .home-analytics-tags { margin-bottom: 1.2rem; }
  .home-quick-notes,.home-path-grid,.home-chapter-grid { grid-template-columns: minmax(0,1fr); }
  .home-quick-notes { gap: .85rem; }
  .home-path-preview { height: 100px; }
  .home-chapter-card,.home-chapter-featured { padding: 1rem; gap: .8rem; }
  .home-chapter-featured .home-chapter-icon { flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; }
  .home-chapter-featured .home-chapter-icon svg { width: 23px; height: 23px; }
  .home-chapter-copy > strong { font-size: 1.08rem; }
}
@media(max-width:380px) {
  .home-platform-grid { gap: .55rem; }
  .home-platform { padding: .35rem .5rem .8rem; }
  .home-ecosystem { padding: .85rem; }
  .home-analytics-hub { padding: .6rem; }
  .home-analytics-hub img { width: 36px; height: 36px; flex-basis: 36px; }
}
@media(prefers-reduced-motion:reduce) {
  .home-platform,.home-path-card,.home-chapter-card { transition: none; }
  .home-platform:hover,.home-path-card:hover,.home-chapter-card:hover { transform: none; }
}
