:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #111114;
  --muted: #6e6e73;
  --line: rgba(17, 17, 20, 0.1);
  --accent: #6657df;
  --accent-2: #3e78f2;
  --dark: #0b0b0f;
  --radius: 30px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.08);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}
button, a, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1440px, 100%); margin: 0 auto; padding-left: clamp(22px, 5vw, 82px); padding-right: clamp(22px, 5vw, 82px); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.glow { position: fixed; pointer-events: none; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: 0.2; }
.glow.a { width: 560px; height: 560px; right: -200px; top: -170px; background: #ad9fff; }
.glow.b { width: 420px; height: 420px; left: -180px; top: 55vh; background: #b6d3ff; }

.site-header {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(22px, 5vw, 82px);
  background: rgba(245, 245, 247, 0.78);
  border-bottom: 1px solid rgba(17,17,20,0.055);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; width: max-content; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #4b4b50; border-radius: 50%; font-size: 9px; letter-spacing: 0.08em; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 17px; letter-spacing: -0.025em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav { display: flex; gap: 28px; }
.nav a { color: #56565c; text-decoration: none; font-size: 11px; }
.nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: 11px 17px; font-size: 11px; cursor: pointer; transition: transform .2s, background .2s; }
.header-cta:hover { transform: translateY(-1px); background: #2a2a30; }

.hero { min-height: calc(100vh - 74px); display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.72fr); gap: clamp(50px,7vw,110px); align-items: center; padding-top: 55px; padding-bottom: 76px; }
.eyebrow { margin: 0 0 19px; color: #74747b; font-size: 9px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.hero h1, .section-title, .context-copy h2, .dark-section h2, .about-copy h2, .final h2, .drawer h2 { margin: 0; letter-spacing: -.055em; line-height: .96; }
.hero h1 { max-width: 910px; font-size: clamp(58px,7.2vw,112px); font-weight: 610; }
.gradient { color: transparent; background: linear-gradient(120deg, #6657df, #3f79f1); background-clip: text; -webkit-background-clip: text; }
.hero-lede { max-width: 760px; margin: 29px 0 0; color: #5f5f65; font-size: clamp(17px,1.45vw,21px); line-height: 1.65; letter-spacing: -.015em; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 35px; }
.primary, .secondary { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 15px 21px; text-decoration: none; font-size: 12px; cursor: pointer; }
.primary { border: 0; background: var(--ink); color: #fff; transition: transform .25s, box-shadow .25s; }
.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(17,17,20,.16); }
.secondary { border: 1px solid #c9c9ce; background: transparent; color: var(--ink); }
.hero-note { margin: 20px 0 0; color: #8b8b91; font-size: 10px; }
.hero-visual { min-height: 630px; position: relative; display: grid; place-items: center; perspective: 1100px; }
.portrait { width: min(92%, 520px); height: min(71vh, 710px); min-height: 520px; position: relative; overflow: hidden; border-radius: 42px; background: #17171c; box-shadow: 0 35px 100px rgba(20,20,25,.21); transition: transform .25s ease-out; transform-style: preserve-3d; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(.76) contrast(1.02); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(5,5,8,.76)); }
.portrait-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 25px; color: #fff; display: flex; flex-direction: column; }
.portrait-caption small { font-size: 8px; letter-spacing: .13em; text-transform: uppercase; opacity: .72; }
.portrait-caption strong { margin-top: 5px; font-size: 18px; font-weight: 520; letter-spacing: -.025em; }
.orbit { position: absolute; width: 600px; height: 600px; border: 1px solid rgba(98,87,223,.19); border-radius: 50%; animation: breathe 8s ease-in-out infinite; }
.chip { position: absolute; z-index: 3; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; padding: 9px 13px; background: rgba(255,255,255,.76); backdrop-filter: blur(15px); box-shadow: 0 14px 35px rgba(17,17,20,.07); font-size: 9px; animation: float 6s ease-in-out infinite; }
.chip.c1 { left: 0; top: 20%; }
.chip.c2 { right: -2%; top: 42%; animation-delay: -2s; }
.chip.c3 { left: 8%; bottom: 15%; animation-delay: -4s; }

.marquee { overflow: hidden; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.35); }
.marquee div { min-width: max-content; display: flex; justify-content: center; gap: 15px; padding: 0 22px; color: #6b6b72; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.marquee i { color: #8b82ea; font-style: normal; }

.section { padding-top: 135px; padding-bottom: 125px; }
.kicker { display: flex; gap: 14px; align-items: center; margin-bottom: 34px; color: #8d8d93; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.kicker b { font-weight: 500; color: #a2a2a7; }
.heading-row { display: grid; grid-template-columns: 1.1fr .65fr; gap: 70px; align-items: end; margin-bottom: 62px; }
.section-title { font-size: clamp(47px,5.6vw,84px); font-weight: 600; }
.heading-row > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.context-list { border-top: 1px solid var(--line); }
.context-card { width: 100%; display: grid; grid-template-columns: 44px 1fr 30px; gap: 16px; align-items: center; padding: 25px 3px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: padding .25s, background .25s; }
.context-card:hover, .context-card.active { padding-left: 18px; padding-right: 18px; background: rgba(255,255,255,.62); }
.context-card small { color: #9999a0; font-size: 9px; }
.context-card h3 { margin: 0; font-size: clamp(20px,2.05vw,30px); font-weight: 560; letter-spacing: -.035em; }
.context-card p { margin: 7px 0 0; color: #7a7a80; font-size: 11px; }
.context-card b { justify-self: end; color: #6e65df; font-size: 20px; font-weight: 400; }

.context-detail { display: grid; grid-template-columns: 1.1fr .72fr; padding-top: 28px; }
.context-copy { min-height: 550px; padding: clamp(38px,5.5vw,76px); background: #fff; border-radius: var(--radius) 0 0 var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.context-copy .tag { margin: 0 0 15px; color: #665bd8; font-size: 8px; letter-spacing: .14em; font-weight: 650; }
.context-copy h2 { font-size: clamp(39px,4.3vw,67px); font-weight: 600; }
.context-copy > p { max-width: 730px; margin: 24px 0 0; color: #68686f; font-size: 14px; line-height: 1.7; }
.context-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 31px; padding-top: 25px; border-top: 1px solid var(--line); }
.context-meta small { display: block; margin-bottom: 6px; color: #98989e; font-size: 8px; letter-spacing: .1em; }
.context-meta strong { display: block; font-size: 11px; line-height: 1.55; font-weight: 520; }
.context-copy .context-cta { width: max-content; margin-top: 29px; padding: 0 0 5px; border: 0; border-bottom: 1px solid #8d86e7; background: none; font-size: 11px; cursor: pointer; }
.context-art { min-height: 550px; position: relative; overflow: hidden; border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(145deg,#111117,#1d1d29); box-shadow: var(--shadow); }
.context-art::before { content: ""; position: absolute; width: 400px; height: 400px; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle,rgba(95,84,240,.34),transparent 68%); }
.context-number { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); color: rgba(255,255,255,.93); font-size: clamp(90px,11vw,168px); font-weight: 650; letter-spacing: -.08em; }
.context-art .axis { position: absolute; left: 8%; top: 50%; width: 84%; height: 1px; background: linear-gradient(90deg,transparent,rgba(163,157,255,.55),transparent); }
.context-art .axis.v { transform: rotate(90deg); }

.dark-section { padding: 140px 0; background: var(--dark); color: #fff; overflow: hidden; }
.dark-section h2 { max-width: 1160px; font-size: clamp(50px,6.7vw,100px); font-weight: 590; }
.dark-section .intro { max-width: 730px; margin: 30px 0 0; color: #aaaab3; font-size: 16px; line-height: 1.65; }
.system-map { height: 570px; margin-top: 65px; position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: 40px; background: radial-gradient(circle at center,rgba(92,81,226,.18),transparent 54%); }
.system-core { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 205px; height: 205px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: linear-gradient(145deg,#6258d2,#346dcc); box-shadow: 0 0 80px rgba(90,78,220,.3); }
.system-core small { font-size: 8px; letter-spacing: .14em; opacity: .7; }
.system-core strong { margin-top: 7px; font-size: 25px; line-height: 1.02; letter-spacing: -.04em; }
.system-item { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 11px 15px; background: rgba(255,255,255,.055); color: #d2d2da; backdrop-filter: blur(8px); font-size: 10px; }
.system-item.i1 { left: 9%; top: 16%; } .system-item.i2 { right: 9%; top: 16%; } .system-item.i3 { right: 5%; top: 48%; }
.system-item.i4 { right: 10%; bottom: 14%; } .system-item.i5 { left: 8%; bottom: 14%; } .system-item.i6 { left: 5%; top: 48%; }

.practice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.practice { min-height: 300px; padding: 29px; border: 1px solid rgba(17,17,20,.055); border-radius: 26px; background: rgba(255,255,255,.76); transition: transform .3s, box-shadow .3s; }
.practice:hover { transform: translateY(-5px); box-shadow: 0 24px 65px rgba(0,0,0,.07); }
.practice small { color: #9999a0; font-size: 9px; }
.practice h3 { margin: 67px 0 15px; font-size: 26px; line-height: 1.05; letter-spacing: -.04em; font-weight: 590; }
.practice p { margin: 0; color: #707077; font-size: 12px; line-height: 1.65; }
.practice a { display: inline-block; margin-top: 18px; color: var(--ink); font-size: 10px; text-decoration: none; border-bottom: 1px solid #aaaab0; }

.knowledge { padding-bottom: 135px; }
.knowledge-head { max-width: 1050px; }
.knowledge-head p:last-child { max-width: 760px; margin: 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.article-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-top: 58px; }
.article-main, .article-side { text-decoration: none; color: inherit; border-radius: 28px; overflow: hidden; }
.article-main { min-height: 470px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(30px,4vw,48px); background: linear-gradient(145deg,#14141a,#232335); color: #fff; }
.article-main::before { content: ""; position: absolute; width: 430px; height: 430px; right: -100px; top: -130px; border-radius: 50%; background: radial-gradient(circle,rgba(110,95,255,.55),transparent 68%); }
.article-main > *, .article-side > * { position: relative; }
.article-main small, .article-side small { color: #9b94fb; font-size: 8px; letter-spacing: .12em; }
.article-main h3 { max-width: 850px; margin: 18px 0; font-size: clamp(37px,4.1vw,62px); line-height: .99; letter-spacing: -.05em; font-weight: 590; }
.article-main p { max-width: 650px; margin: 0; color: #bdbdc6; font-size: 12px; line-height: 1.65; }
.article-main b, .article-side b { margin-top: 18px; font-size: 10px; font-weight: 500; }
.article-side { min-height: 470px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px,4vw,44px); background: #fff; border: 1px solid rgba(17,17,20,.055); }
.article-side h3 { margin: 18px 0; font-size: 31px; line-height: 1.04; letter-spacing: -.04em; font-weight: 590; }
.article-side p { margin: 0; color: #77777e; font-size: 12px; line-height: 1.6; }

.about { padding-bottom: 130px; }
.about-card { display: grid; grid-template-columns: .72fr 1.28fr; overflow: hidden; border-radius: 40px; background: #fff; }
.about-photo { min-height: 620px; background: #16161b; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 21%; filter: saturate(.75); }
.about-copy { align-self: center; padding: clamp(38px,6vw,80px); }
.about-copy h2 { margin-top: 17px; font-size: clamp(42px,5vw,72px); font-weight: 600; }
.about-copy > p { color: #696970; font-size: 13px; line-height: 1.7; }
.credentials { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0; }
.credentials span { padding: 8px 10px; border-radius: 999px; background: #f0f0f3; color: #5e5e64; font-size: 8px; }
.about-copy a { color: var(--ink); font-size: 10px; text-decoration: none; border-bottom: 1px solid #aaaab0; padding-bottom: 4px; }
.registration { margin-top: 24px !important; color: #99999f !important; font-size: 8px !important; }

.final { position: relative; overflow: hidden; margin-bottom: 90px; padding-top: 95px; padding-bottom: 95px; border-radius: 40px; background: #fff; text-align: center; box-shadow: 0 25px 80px rgba(0,0,0,.05); }
.final::before { content: ""; position: absolute; width: 540px; height: 540px; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle,rgba(102,87,223,.14),transparent 68%); }
.final > * { position: relative; }
.final h2 { max-width: 1000px; margin: 0 auto; font-size: clamp(47px,5.6vw,84px); font-weight: 600; }
.final p { max-width: 680px; margin: 25px auto 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.final .hero-actions { justify-content: center; }

footer { padding: 55px clamp(22px,5vw,82px) 28px; background: var(--dark); color: #e5e5e9; display: grid; grid-template-columns: 1fr auto; gap: 25px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { border-color: #bdbdc5; }
.footer-links { display: flex; gap: 19px; flex-wrap: wrap; }
.footer-links a { color: #aaaab3; text-decoration: none; font-size: 9px; }
.footer-legal, .footer-copy { grid-column: 1/-1; margin: 0; color: #707079; font-size: 8px; line-height: 1.6; }
.footer-legal { max-width: 1000px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.08); }

.drawer-wrap { position: fixed; inset: 0; z-index: 200; pointer-events: none; visibility: hidden; }
.drawer-wrap.open { pointer-events: auto; visibility: visible; }
.backdrop { position: absolute; inset: 0; background: rgba(5,5,8,.56); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.drawer-wrap.open .backdrop { opacity: 1; }
.drawer { position: absolute; top: 0; right: 0; width: min(650px,100%); height: 100%; overflow: auto; padding: clamp(68px,6vw,78px) clamp(24px,5vw,66px) 40px; background: rgba(250,250,252,.98); box-shadow: -30px 0 90px rgba(0,0,0,.14); transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.drawer-wrap.open .drawer { transform: none; }
.drawer-close { position: absolute; right: 24px; top: 22px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ececef; color: #4d4d53; font-size: 23px; cursor: pointer; }
.drawer h2 { margin-top: 15px; font-size: clamp(46px,5vw,67px); font-weight: 600; }
.drawer-intro { margin: 22px 0 28px; color: #707077; font-size: 12px; line-height: 1.65; }
.drawer-options { border-top: 1px solid var(--line); }
.drawer-options button { width: 100%; display: flex; justify-content: space-between; gap: 18px; padding: 18px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-size: 13px; cursor: pointer; }
.drawer-options button:hover { color: #5f55d6; }
.free { display: block; margin-top: 27px; }
.free span { display: block; margin-bottom: 8px; color: #85858b; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.free textarea { width: 100%; resize: vertical; min-height: 90px; padding: 14px 15px; border: 1px solid #d0d0d6; border-radius: 17px; background: #fff; outline: none; font-size: 12px; line-height: 1.55; }
.free textarea:focus { border-color: #8d84e8; box-shadow: 0 0 0 4px rgba(102,87,223,.08); }
.free-go { margin-top: 10px; padding: 11px 14px; border: 0; border-radius: 999px; background: #ececef; font-size: 10px; cursor: pointer; }
.drawer-result small { color: #6a5edc; font-size: 8px; letter-spacing: .12em; }
.drawer-result > p { margin: 22px 0 26px; color: #707077; font-size: 12px; line-height: 1.65; }
.result-actions { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.result-actions a { display: flex; justify-content: space-between; gap: 18px; padding: 17px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 12px; }
.restart { margin-top: 22px; border: 0; background: none; color: #77777e; font-size: 9px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.018); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 1050px) {
  .nav { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr .72fr; }
  .heading-row { grid-template-columns: 1fr; gap: 24px; }
  .practice-grid { grid-template-columns: repeat(2,1fr); }
  .about-card { grid-template-columns: .82fr 1.18fr; }
}
@media (max-width: 760px) {
  .site-header { height: 66px; }
  .brand-copy small { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 68px; padding-bottom: 55px; }
  .hero h1 { font-size: clamp(52px,14vw,76px); }
  .hero-lede { font-size: 16px; }
  .hero-visual { min-height: 550px; margin-top: 10px; }
  .portrait { width: 90%; height: 550px; min-height: 0; border-radius: 34px; }
  .orbit { display: none; }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; }
  .marquee div { justify-content: flex-start; }
  .section { padding-top: 95px; padding-bottom: 90px; }
  .section-title { font-size: clamp(44px,12vw,66px); }
  .context-card { grid-template-columns: 30px 1fr 20px; padding: 21px 0; }
  .context-card p { display: none; }
  .context-card h3 { font-size: 21px; }
  .context-detail { grid-template-columns: 1fr; }
  .context-copy { min-height: 500px; border-radius: 28px 28px 0 0; }
  .context-copy h2 { font-size: 43px; }
  .context-meta { grid-template-columns: 1fr; }
  .context-art { min-height: 300px; border-radius: 0 0 28px 28px; }
  .dark-section { padding: 98px 0; }
  .dark-section h2 { font-size: clamp(48px,12vw,70px); }
  .system-map { height: 490px; }
  .system-core { width: 145px; height: 145px; }
  .system-core strong { font-size: 19px; }
  .system-item { font-size: 8px; padding: 8px 10px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice { min-height: 245px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-main, .article-side { min-height: 410px; }
  .about-card { grid-template-columns: 1fr; border-radius: 30px; }
  .about-photo { min-height: 490px; }
  .final { margin-left: 12px; margin-right: 12px; margin-bottom: 65px; padding-top: 70px; padding-bottom: 70px; border-radius: 30px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1/-1; }
  .drawer { padding: 76px 24px 36px; }
  .drawer h2 { font-size: 49px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit, .chip { animation: none; }
  .portrait { transition: none; }
}
