:root {
  --ink: #1b1922;
  --paper: #f4f0e9;
  --paper-light: #fffdf9;
  --line: #d8d0c4;
  --purple: #7358ca;
  --purple-dark: #4d358f;
  --mint: #2e8f81;
  --coral: #d75d48;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); }
a { color: inherit; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; pointer-events: none; }
.ambient-one { width: 40rem; height: 40rem; right: -16rem; top: 2rem; background: radial-gradient(circle, rgba(115,88,202,.15), transparent 67%); }
.ambient-two { width: 32rem; height: 32rem; left: -16rem; top: 58rem; background: radial-gradient(circle, rgba(46,143,129,.12), transparent 68%); }

header {
  width: min(1440px, calc(100% - 5rem));
  min-height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(104,94,123,.22);
}
.brand { display: inline-flex; align-items: center; gap: .15rem; width: max-content; text-decoration: none; font-size: 1.08rem; }
.brand-logo { width: 64px; height: 64px; flex: none; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(21,58,111,.2)); }
.brand b { font-weight: 800; letter-spacing: -.04em; }
.brand em { color: #155fc2; font-style: normal; }
header nav { display: flex; gap: 2rem; }
header nav a { color: #5c5861; font-size: .82rem; font-weight: 700; text-decoration: none; }
header nav a:hover { color: var(--purple-dark); }
.account-status { justify-self: end; display: flex; align-items: center; gap: .55rem; color: #656168; font-size: .76rem; font-weight: 700; }
.account-status i { width: 8px; height: 8px; border-radius: 50%; background: #a6a19e; box-shadow: 0 0 0 5px rgba(120,113,128,.1); }
.account-status.signed-in i { background: var(--mint); box-shadow: 0 0 0 5px rgba(46,143,129,.13); }
.header-login { background: var(--purple); box-shadow: 0 4px 0 var(--purple-dark); }
.header-login:hover { box-shadow: 0 5px 0 var(--purple-dark); }

main { width: min(1440px, calc(100% - 5rem)); margin: 0 auto; }
.hero { min-height: 720px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4rem; padding: 5rem 2vw; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.35rem; color: var(--purple); font: 500 .75rem "DM Mono"; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 2px; background: currentColor; }
.hero h1, .route-map h2, .section-heading h2 { margin: 0; font: 400 clamp(3.3rem,5.5vw,6.2rem)/.95 "Young Serif", serif; letter-spacing: -.055em; }
.hero h1 em, .route-map h2 em { color: var(--purple); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 660px; margin: 1.8rem 0 0; color: #605c63; font-size: 1.02rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; margin-top: 2.3rem; }
.primary-button { display: inline-flex; align-items: center; gap: 1.15rem; padding: 1rem 1.25rem 1rem 1.4rem; color: white; background: var(--purple); border-radius: 10px; box-shadow: 0 7px 0 var(--purple-dark), 0 17px 30px rgba(71,47,133,.22); font-weight: 800; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 9px 0 var(--purple-dark), 0 20px 34px rgba(71,47,133,.25); }
.text-button { font-size: .84rem; font-weight: 800; text-decoration: none; }
.hero-proof { display: flex; margin-top: 3.2rem; }
.hero-proof div { min-width: 128px; padding-right: 1.6rem; margin-right: 1.6rem; border-right: 1px solid var(--line); }
.hero-proof div:last-child { border: 0; }
.hero-proof strong { display: block; font: 400 1.7rem "Young Serif"; color: var(--purple-dark); }
.hero-proof span { display: block; margin-top: .3rem; color: #777178; font: 500 .61rem "DM Mono"; text-transform: uppercase; }

.hero-system { position: relative; min-height: 570px; perspective: 1100px; }
.system-orbit { position: absolute; border: 1px solid rgba(90,64,162,.22); border-radius: 50%; transform: rotate(-17deg); }
.hero-system .orbit-one { width: 490px; height: 320px; left: 7%; top: 20%; }
.hero-system .orbit-two { width: 410px; height: 410px; left: 14%; top: 11%; border-style: dashed; }
.system-node { position: absolute; z-index: 2; width: 245px; min-height: 285px; padding: 1.4rem; display: flex; flex-direction: column; color: white; border: 1px solid rgba(255,255,255,.28); border-radius: 24px; box-shadow: 0 28px 45px rgba(37,29,61,.24); transform-style: preserve-3d; }
.system-node > span { align-self: flex-end; font: 500 .65rem "DM Mono"; letter-spacing: .12em; opacity: .7; }
.system-node > b { display: grid; place-items: center; width: 58px; height: 58px; margin-top: .5rem; border-radius: 17px; color: #433073; background: white; font: 500 1.6rem "DM Mono"; box-shadow: 0 7px 0 rgba(30,21,52,.2); }
.system-node strong { margin-top: auto; font: 400 2.35rem "Young Serif"; }
.system-node small { margin-top: .45rem; font: 500 .62rem "DM Mono"; letter-spacing: .08em; opacity: .76; text-transform: uppercase; }
.node-gen { left: 3%; top: 21%; background: linear-gradient(145deg,#8b70df,#583caa); transform: rotate(-7deg) translateZ(35px); }
.node-rag { left: 34%; top: 10%; background: linear-gradient(145deg,#3ba594,#1e7167); transform: rotate(2deg) translateZ(65px); }
.node-agent { right: 0; top: 29%; background: linear-gradient(145deg,#e1725d,#a64032); transform: rotate(7deg) translateZ(20px); }
.flow-line { position: absolute; z-index: 5; width: 68px; height: 2px; background: rgba(40,31,58,.34); }
.flow-line::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-right: 2px solid #5d5367; border-top: 2px solid #5d5367; transform: rotate(45deg); }
.flow-one { left: 29%; top: 47%; transform: rotate(-13deg); }
.flow-two { right: 25%; top: 47%; transform: rotate(15deg); }
.system-note { position: absolute; z-index: 7; right: 4%; bottom: 7%; display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; background: rgba(255,253,249,.95); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 15px 26px rgba(45,35,65,.13); transform: rotate(-2deg); }
.system-note i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(46,143,129,.13); }
.system-note span { color: #68626c; font-size: .69rem; line-height: 1.45; }
.system-note b { color: var(--ink); }

.route-map { display: grid; grid-template-columns: .82fr 1.18fr; gap: 6rem; padding: 5rem; color: #faf8f4; background: #211c36; border-radius: 28px; box-shadow: 0 14px 0 #151122, 0 34px 55px rgba(29,22,52,.2); }
.eyebrow.light { color: #bba9f2; }
.route-map h2 { font-size: clamp(2.8rem,4.1vw,4.6rem); }
.route-map h2 em { color: #bba9f2; }
.route-map ol { margin: 0; padding: 0; list-style: none; }
.route-map li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.route-map li > span { color: #bba9f2; font: 500 .78rem "DM Mono"; }
.route-map strong { font-size: 1.02rem; }
.route-map li p { margin: .45rem 0 0; color: #c8c1d5; font-size: .82rem; line-height: 1.65; }

.paths { padding: 8rem 2vw; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; margin-bottom: 3.4rem; }
.section-heading h2 { font-size: clamp(2.8rem,4.2vw,4.7rem); }
.collection-progress { display: flex; align-items: center; justify-self: end; gap: 1.3rem; max-width: 500px; }
.progress-ring { width: 112px; height: 112px; flex: 0 0 auto; padding: 7px; border-radius: 50%; background: conic-gradient(var(--purple) var(--overall-progress), #ded8d0 0); box-shadow: 0 10px 22px rgba(67,50,109,.12); }
.progress-ring > span { width: 100%; height: 100%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--paper); }
.progress-ring strong { font: 500 1.1rem "DM Mono"; }
.progress-ring small { margin-top: .25rem; color: #777077; font: 500 .53rem "DM Mono"; letter-spacing: .08em; }
.collection-progress p { margin: 0; font-weight: 800; }
.collection-progress > div:last-child small { display: block; margin-top: .5rem; color: #6f6970; font-size: .72rem; line-height: 1.55; }

.path-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.path-card { position: relative; min-height: 600px; overflow: hidden; display: flex; flex-direction: column; padding: 1.7rem; color: var(--ink); background: var(--paper-light); border: 1px solid var(--line); border-radius: 23px; text-decoration: none; box-shadow: 0 8px 0 rgba(94,81,111,.09), 0 22px 40px rgba(65,51,80,.08); transition: transform .24s, box-shadow .24s; }
.path-card::before { content: ""; position: absolute; right: -9rem; top: -9rem; width: 24rem; height: 24rem; border-radius: 50%; opacity: .12; }
.path-card:hover { transform: translateY(-7px); box-shadow: 0 13px 0 rgba(94,81,111,.09), 0 30px 48px rgba(65,51,80,.14); }
.gen-card::before { background: var(--purple); }.rag-card::before { background: var(--mint); }.agent-card::before { background: var(--coral); }
.path-number { position: relative; display: flex; justify-content: space-between; align-items: center; }
.path-number span { color: #777178; font: 500 .62rem "DM Mono"; letter-spacing: .12em; }
.path-number strong { font: 400 2.6rem "Young Serif"; opacity: .16; }
.path-mark { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin-top: 1rem; color: #fff; border-radius: 19px; font: 500 1.65rem "DM Mono"; box-shadow: 0 8px 0 rgba(0,0,0,.19); transform: translateY(-4px); }
.gen-card .path-mark { background: var(--purple); }.rag-card .path-mark { background: var(--mint); }.agent-card .path-mark { background: var(--coral); }
.path-kicker { margin: auto 0 .8rem; font: 500 .64rem "DM Mono"; letter-spacing: .12em; }
.gen-card .path-kicker { color: var(--purple); }.rag-card .path-kicker { color: var(--mint); }.agent-card .path-kicker { color: var(--coral); }
.path-card h3 { margin: 0; font: 400 clamp(3rem,3.7vw,4.4rem)/.95 "Young Serif"; letter-spacing: -.045em; }
.path-description { margin: 1rem 0 0; color: #625e63; font-size: .8rem; line-height: 1.65; }
.topic-list { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: 1.4rem; }
.topic-list span { padding: .42rem .65rem; color: #5e5960; background: #f0ece6; border: 1px solid #ddd5ca; border-radius: 999px; font: 500 .58rem "DM Mono"; text-transform: uppercase; }
.path-progress { margin-top: 1.6rem; padding-top: 1.15rem; border-top: 1px solid #ded6cb; }
.path-progress > div:first-child { display: flex; justify-content: space-between; gap: 1rem; color: #6c676d; font-size: .65rem; }
.path-progress-value { color: var(--ink); }
.track { height: 4px; margin-top: .8rem; overflow: hidden; background: #e5dfd7; border-radius: 2px; }
.track i { display: block; width: 0; height: 100%; border-radius: inherit; transition: width .5s ease; }
.gen-card .track i { background: var(--purple); }.rag-card .track i { background: var(--mint); }.agent-card .track i { background: var(--coral); }

.source-note { margin: 0 2vw 7rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 2rem; background: #fffdf9; border: 1px solid var(--line); border-radius: 18px; }
.source-mark { display: grid; place-items: center; width: 58px; height: 58px; color: var(--purple-dark); background: #ebe5fb; border-radius: 16px; font-size: 1.4rem; }
.source-note p { margin: 0; font-weight: 800; }
.source-note div:nth-child(2) span { display: block; max-width: 830px; margin-top: .4rem; color: #6b666c; font-size: .78rem; line-height: 1.6; }
.source-note > a { display: inline-flex; gap: .8rem; padding: .85rem 1rem; color: white; background: var(--purple); border-radius: 9px; font-size: .74rem; font-weight: 800; text-decoration: none; }

footer { width: min(1440px, calc(100% - 5rem)); margin: 0 auto; padding: 2rem 0 3rem; display: grid; grid-template-columns: .7fr 1fr auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
footer p { margin: 0 0 .3rem; font-weight: 700; }
footer small { color: #777178; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.2rem; }
footer nav a { color: #2458a6; font-size: .7rem; font-weight: 700; text-decoration: none; }

@media (max-width: 1100px) {
  header { grid-template-columns: 1fr auto; } header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }.hero-system { min-height: 570px; }
  .path-grid { grid-template-columns: 1fr 1fr; }.agent-card { grid-column: 1 / -1; min-height: 480px; }
  .route-map { grid-template-columns: 1fr; gap: 3rem; }
  .section-heading { grid-template-columns: 1fr; }.collection-progress { justify-self: start; }
}

@media (max-width: 700px) {
  header, main, footer { width: min(100% - 2rem, 1440px); }
  header { min-height: 76px; }
  .account-status.signed-in { font-size: 0; }
  .account-status.signed-in i { display: block; }
  .brand b { font-size: .95rem; }.brand-logo { width: 56px; height: 56px; }
  .hero { min-height: auto; padding: 4rem 0 2rem; gap: 1rem; }.hero h1 { font-size: 3.4rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }.hero-proof { flex-wrap: wrap; gap: 1rem; }.hero-proof div { min-width: 95px; margin-right: 0; }
  .hero-system { min-height: 500px; margin: 0 -1rem; overflow: hidden; border-radius: 24px; transform: scale(.84); }
  .system-node { width: 205px; min-height: 250px; }.node-gen { left: 0; }.node-rag { left: 30%; }.node-agent { right: -2%; }
  .system-node strong { font-size: 1.9rem; }.flow-line { display: none; }
  .route-map { padding: 2.3rem 1.5rem; border-radius: 20px; }.route-map h2 { font-size: 3rem; }
  .paths { padding: 6rem 0; }.section-heading h2 { font-size: 3rem; }
  .collection-progress { align-items: flex-start; }.progress-ring { width: 92px; height: 92px; }
  .path-grid { grid-template-columns: 1fr; }.agent-card { grid-column: auto; }.path-card { min-height: 540px; }
  .source-note { margin: 0 0 5rem; grid-template-columns: auto 1fr; }.source-note > a { grid-column: 1 / -1; justify-content: center; }
  footer { grid-template-columns: 1fr; } footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
