:root {
  --landing-max: 1200px;
  --landing-pad: clamp(20px, 4vw, 48px);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: #07070d; color: var(--text-primary); }
body.lightbox-open { overflow: hidden; }
img { max-width: 100%; }
button { font: inherit; }
.shell { width: min(var(--landing-max), calc(100% - (var(--landing-pad) * 2))); margin-inline: auto; }
.narrow { max-width: 850px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 14px; background: var(--cyan); color: #05050a; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-nav { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .2s ease, border-color .2s ease; }
.site-nav.scrolled { background: rgba(7, 7, 13, .88); border-color: var(--border); backdrop-filter: blur(18px); }
.nav-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text-primary); font-weight: 800; letter-spacing: .12em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.site-menu { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); }
.site-menu a { color: var(--text-secondary); font-size: .85rem; font-weight: 650; }
.site-menu a:hover, .site-menu a:focus-visible { color: var(--text-primary); }
.site-menu a:last-child { padding: 10px 16px; border: 1px solid rgba(0, 200, 255, .35); border-radius: 999px; color: var(--cyan); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: white; }
.nav-toggle span:not(.sr-only) { display: block; width: 17px; height: 1px; margin: 5px auto; background: currentColor; }

.hero { position: relative; min-height: 100svh; padding: 120px 0 48px; overflow: hidden; background: radial-gradient(circle at 50% 15%, rgba(139,53,255,.18), transparent 34%), radial-gradient(circle at 15% 60%, rgba(0,200,255,.09), transparent 30%), radial-gradient(circle at 88% 72%, rgba(233,30,140,.1), transparent 30%), #07070d; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .26; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 35%, black, transparent 76%); }
.hero::after { content: ""; position: absolute; left: 50%; bottom: 4%; width: 82vw; height: 38%; transform: translateX(-50%); background: linear-gradient(90deg, rgba(0,200,255,.09), rgba(139,53,255,.12), rgba(233,30,140,.08)); filter: blur(90px); opacity: .75; pointer-events: none; }
.hero-glow { position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; filter: blur(120px); opacity: .16; pointer-events: none; }
.hero-glow-cyan { top: 20%; left: -18%; background: var(--cyan); }
.hero-glow-pink { right: -16%; bottom: 10%; background: var(--pink); }
.hero-range-lines { position: absolute; inset: 0; pointer-events: none; opacity: .28; }
.hero-range-lines span { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 5%, rgba(0,200,255,.32), transparent 38%, rgba(233,30,140,.28), transparent 92%); }
.hero-range-lines span:nth-child(1) { top: 25%; }
.hero-range-lines span:nth-child(2) { top: 43%; transform: scaleX(.84); }
.hero-range-lines span:nth-child(3) { top: 68%; transform: scaleX(.94); }
.hero-range-lines span:nth-child(4) { top: 87%; transform: scaleX(.73); }
.hero-grid { position: relative; display: block; }
.hero-copy { max-width: 1040px; margin: 0 auto; text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-family: var(--font-mono); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 1100px; margin: 0 auto; font-size: clamp(3.8rem, 7.8vw, 7.5rem); line-height: .92; letter-spacing: -.068em; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: transparent; background: linear-gradient(90deg, var(--cyan), #8b35ff 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; }
.hero-lede { max-width: 850px; margin: 32px auto 0; color: var(--text-primary); font-size: clamp(1.06rem, 1.65vw, 1.32rem); line-height: 1.68; text-wrap: pretty; }
.hero-support { max-width: 650px; margin: 16px auto 0; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; font-size: .9rem; font-weight: 800; }
.button-primary { color: #05050a; background: var(--cyan); box-shadow: 0 10px 40px rgba(0, 200, 255, .16); }
.button-primary:hover { transform: translateY(-2px); }
.button-quiet { color: var(--text-primary); border: 1px solid var(--border-light); background: rgba(255,255,255,.025); }
.scope-list { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.scope-list li { padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font: 600 .68rem var(--font-mono); }
.hero-stage { position: relative; width: min(1120px, 94%); height: clamp(360px, 47vw, 590px); margin: 48px auto 0; perspective: 1400px; }
.hero-stage::before { content: ""; position: absolute; inset: 20% 10% 0; border-radius: 50%; background: rgba(86,53,255,.24); filter: blur(80px); }
.hero-screen { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: #090913; box-shadow: 0 35px 90px rgba(0,0,0,.58); }
.hero-screen img { height: 100%; object-fit: cover; object-position: top; }
.hero-screen-left { left: 0; top: 5%; width: 52%; height: 64%; transform: rotateY(9deg) rotateZ(-3.5deg); opacity: .72; }
.hero-screen-right { right: 0; top: 7%; width: 52%; height: 64%; transform: rotateY(-9deg) rotateZ(3.5deg); opacity: .72; }
.hero-screen-main { left: 11%; right: 11%; bottom: 2%; width: 78%; height: 68%; z-index: 2; transform: translateZ(45px); }
.hero-stage > p { position: absolute; left: 0; right: 0; bottom: -24px; z-index: 3; margin: 0; color: var(--text-muted); font: 700 .7rem var(--font-mono); letter-spacing: .09em; text-align: center; text-transform: uppercase; }
figcaption { color: var(--text-muted); font-size: .74rem; line-height: 1.5; }
.thesis-strip { position: relative; z-index: 2; display: flex; justify-content: center; gap: 9px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .85rem; text-align: center; }
.thesis-strip strong { color: var(--text-primary); }

.section { position: relative; padding: clamp(92px, 12vw, 160px) 0; border-top: 1px solid rgba(255,255,255,.045); overflow: hidden; }
.section::after { content: ""; position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%; filter: blur(120px); opacity: .055; pointer-events: none; }
.section:nth-of-type(odd)::after { top: 12%; right: -180px; background: var(--cyan); }
.section:nth-of-type(even)::after { bottom: 8%; left: -180px; background: var(--pink); }
.section-heading { max-width: 920px; margin-bottom: 64px; }
.section-heading h2, .split-heading h2, .app-intro h2, .pricing-copy h2, .faq h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; }
.section-heading > p:last-child, .split-heading > p, .app-intro > p, .pricing-copy > p:last-child { margin: 24px 0 0; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }
.split-heading { display: grid; grid-template-columns: 1.1fr .8fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.split-heading > p { margin: 0; }

.thesis { background: linear-gradient(180deg, #090911, #07070d); }
.mechanics-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 22px; align-items: center; }
.mechanics-flow article { min-height: 280px; padding: 30px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.018); }
.flow-number, .panel-number { color: var(--cyan); font: 800 .7rem var(--font-mono); letter-spacing: .12em; }
.mechanics-flow h3, .concept-card h3, .chapter-path h3, .app-panel h3 { margin: 34px 0 14px; font-size: 1.2rem; }
.mechanics-flow p, .concept-card p, .chapter-path p, .app-panel p { margin: 0; color: var(--text-secondary); line-height: 1.7; }
.flow-arrow { color: var(--text-muted); }
.desk-question { display: grid; grid-template-columns: .35fr 1fr .7fr; gap: 42px; align-items: center; margin-top: 72px; padding: 38px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.desk-question .eyebrow { margin: 0; }
.desk-question blockquote { margin: 0; font-size: clamp(1.4rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.025em; }
.desk-question > p:last-child { margin: 0; color: var(--text-secondary); line-height: 1.65; }

.map-section { background: #080810; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--border); background: var(--border); }
.concept-card { min-height: 270px; padding: 32px; background: #090911; }
.concept-symbol { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(0,200,255,.25); border-radius: 50%; color: var(--cyan); font: 700 1.2rem var(--font-mono); }

.sessions { background: radial-gradient(circle at 80% 10%, rgba(139,53,255,.08), transparent 30%), #07070d; }
.case-study { overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: #0b0b15; }
.case-study-featured { padding: 38px; }
.case-copy { padding: 30px; }
.case-study-featured .case-copy { max-width: 830px; padding: 0 0 34px; }
.case-meta { margin: 0 0 14px; color: var(--cyan); font: 700 .7rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.case-copy h3, .harmony-note h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; }
.case-copy > p:not(.case-meta), .harmony-note p:not(.eyebrow) { color: var(--text-secondary); line-height: 1.75; }
.case-points { display: grid; gap: 8px; padding: 0; list-style: none; color: var(--text-secondary); font-size: .87rem; }
.case-points li::before { content: "→"; margin-right: 10px; color: var(--cyan); }
.case-triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case-triptych figure, .case-pair figure, .case-grid figure, .plugin-grid figure, .harmony-note figure { margin: 0; }
.case-triptych img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case-triptych figcaption, .case-pair figcaption, .case-grid figcaption { padding: 10px 3px 0; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.case-grid .case-study { display: flex; flex-direction: column; }
.case-grid figure:last-child { margin-top: auto; }
.case-grid figure > .image-button > img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.case-grid figcaption { padding: 12px 30px 22px; }
.case-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 20px 22px; }
.case-pair img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.harmony-note { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: center; margin-top: 72px; padding: 46px; border-left: 3px solid var(--pink); background: linear-gradient(90deg, rgba(233,30,140,.06), transparent); }
.harmony-note img { border: 1px solid var(--border); border-radius: 14px; }
.harmony-note figcaption { margin-top: 9px; }

.course { background: #0a0a13; }
.chapter-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.chapter-path article { min-height: 310px; padding: 30px; background: #080810; }
.chapter-path span { color: var(--cyan); font: 800 .76rem var(--font-mono); }
.chapter-path h3 { margin-top: 58px; }
.course-principle { display: grid; grid-template-columns: .5fr 1.5fr; gap: 40px; margin-top: 58px; align-items: baseline; }
.course-principle p { color: var(--text-muted); }
.course-principle strong { font-size: clamp(1.3rem, 2.6vw, 2.35rem); line-height: 1.3; }

.app-section { background: radial-gradient(circle at 50% 13%, rgba(0,200,255,.08), transparent 28%), radial-gradient(circle at 86% 54%, rgba(139,53,255,.08), transparent 26%), linear-gradient(180deg, #07070d, #0a0a14); }
.app-intro { display: grid; grid-template-columns: 1.1fr .8fr; gap: 80px; align-items: end; margin-bottom: 72px; }
.app-intro > p { margin: 0; }
.app-showcase { display: grid; gap: 110px; }
.one-feature { display: grid; grid-template-columns: .38fr .62fr; gap: clamp(35px, 6vw, 84px); align-items: start; }
.one-copy { position: sticky; top: 120px; padding: 50px 0; }
.one-copy h3 { margin: 26px 0 18px; font-size: clamp(2rem, 4vw, 3.9rem); line-height: 1.04; letter-spacing: -.045em; }
.one-copy > p { color: var(--text-secondary); line-height: 1.75; }
.one-copy .one-aside { margin-top: 32px; padding: 22px 0 0 22px; border-top: 1px solid var(--border); border-left: 2px solid var(--cyan); color: var(--text-primary); font-size: 1.02rem; }
.one-dashboard { overflow: hidden; border: 1px solid rgba(0,200,255,.18); border-radius: 20px; background: #07070d; box-shadow: 0 45px 120px rgba(0,0,0,.5), 0 0 70px rgba(0,200,255,.045); }
.one-piece img { display: block; width: 100%; }
.one-piece-bottom { margin-top: -27.1%; }
.one-piece-bottom img { clip-path: inset(49.84% 0 0); }
.workbench-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 28px; }
.workbench-shot { align-self: start; }
.workbench-shot-wide { grid-column: 1 / -1; }
.workbench-shot-offset { margin-top: 100px; }
.workbench-copy { max-width: 570px; margin-bottom: 24px; }
.workbench-copy h3 { margin: 16px 0 10px; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; }
.workbench-copy p { margin: 0; color: var(--text-secondary); line-height: 1.72; }
.workbench-shot .image-button { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #080810; box-shadow: 0 28px 70px rgba(0,0,0,.3); }
.workbench-shot img { aspect-ratio: 3358 / 1826; object-fit: contain; }
.workbench-shot-wide .image-button { transform: rotate(-.45deg); }
.workbench-shot-pulse .image-button { transform: rotate(.45deg); }

.plugins { background: #080810; }
.plugin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.plugin-grid figure { padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: #0b0b14; }
.plugin-grid img { aspect-ratio: 16 / 9; object-fit: contain; object-position: center; border-radius: 10px; background: #05050a; }
.plugin-grid figcaption { display: flex; justify-content: space-between; gap: 15px; padding: 16px 4px 3px; }
.plugin-grid figcaption strong { color: var(--text-primary); }
.plugin-proof-note { margin-top: 22px; color: var(--text-muted); font: 700 .74rem var(--font-mono); letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.plugin-guide-action { display: flex; justify-content: center; margin-top: 30px; }

.pricing { background: radial-gradient(circle at 70% 50%, rgba(0,200,255,.08), transparent 32%), #07070d; }
.pricing-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 100px; align-items: center; }
.price-card { padding: 42px; border: 1px solid rgba(0,200,255,.36); border-radius: 22px; background: linear-gradient(145deg, rgba(0,200,255,.045), rgba(139,53,255,.045)); box-shadow: 0 30px 90px rgba(0,0,0,.36); }
.price-label { margin: 0; color: var(--text-primary); font-weight: 800; }
.price { display: flex; justify-content: center; align-items: baseline; gap: 4px; margin: 22px 0 0; font-size: 4rem; font-weight: 850; letter-spacing: -.06em; }
.price span { color: var(--cyan); font-size: 2rem; letter-spacing: 0; }
.price-label, .price, .price-note { text-align: center; }
.price-note, .platform-note { color: var(--text-muted); font-size: .78rem; }
.price-card ul { display: grid; gap: 12px; margin: 30px 0; padding: 25px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); list-style: none; }
.price-card li { color: var(--text-secondary); }
.price-card li::before { content: "✓"; margin-right: 10px; color: var(--cyan); }
.market-data-note { margin: 8px 0 0; color: var(--text-muted); font-size: .72rem; line-height: 1.45; text-align: center; }
.button-disabled { width: 100%; color: var(--text-muted); background: rgba(255,255,255,.07); cursor: not-allowed; }
.platform-note { margin: 14px 0 0; text-align: center; }

.faq { background: #090911; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.accordion details { border-top: 1px solid var(--border); }
.accordion details:last-child { border-bottom: 1px solid var(--border); }
.accordion summary { position: relative; padding: 24px 44px 24px 0; color: var(--text-primary); font-weight: 750; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 6px; color: var(--cyan); font: 400 1.5rem var(--font-mono); }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { max-width: 700px; margin: 0; padding: 0 40px 25px 0; color: var(--text-secondary); line-height: 1.75; }

.footer { padding: 44px 0; border-top: 1px solid var(--border); background: #06060b; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 48px; align-items: center; }
.footer-inner > div p, .footer-inner > p { margin: 9px 0 0; color: var(--text-muted); font-size: .76rem; }
.footer nav { display: flex; gap: 22px; }
.footer nav a { color: var(--text-secondary); font-size: .8rem; }
.footer-disclaimer { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-disclaimer p { margin: 0 0 14px; color: var(--text-muted); font-size: .72rem; line-height: 1.72; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer strong { color: var(--text-secondary); }

.image-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; text-align: inherit; }
.image-button img { display: block; width: 100%; transition: opacity .2s ease, transform .2s ease; }
.image-button:hover img { opacity: .9; }
.image-button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 10px; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto; place-items: center; gap: 12px; padding: 22px; background: rgba(3,3,8,.94); }
.lightbox[hidden] { display: none; }
.lightbox img { width: auto; max-width: min(1600px, 96vw); height: auto; max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox p { margin: 0; color: var(--text-secondary); text-align: center; }
.lightbox-close { justify-self: end; padding: 8px 12px; border: 1px solid var(--border-light); border-radius: 999px; color: var(--text-primary); background: #10101a; cursor: pointer; }

@media (max-width: 980px) {
  .split-heading, .app-intro, .pricing-grid, .faq-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero { padding-top: 112px; }
  .hero-stage { width: 100%; }
  .mechanics-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .desk-question { grid-template-columns: 1fr; gap: 22px; }
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .case-triptych { grid-template-columns: 1fr; }
  .case-triptych img { aspect-ratio: auto; }
  .chapter-path { grid-template-columns: repeat(2, 1fr); }
  .one-feature { grid-template-columns: 1fr; }
  .one-copy { position: static; max-width: 760px; padding: 0; }
  .course-principle { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-menu { position: fixed; top: 74px; left: var(--landing-pad); right: var(--landing-pad); display: none; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: rgba(10,10,18,.98); box-shadow: 0 24px 70px rgba(0,0,0,.55); }
  .site-menu.open { display: grid; }
  .site-menu a { padding: 10px; }
  .site-menu a:last-child { border-radius: 8px; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 5rem); }
  .hero-lede { font-size: 1.03rem; }
  .hero-stage { height: 330px; margin-top: 52px; }
  .hero-screen-left, .hero-screen-right { top: 2%; width: 58%; height: 58%; }
  .hero-screen-main { left: 4%; right: 4%; width: 92%; height: 65%; }
  .hero-stage > p { bottom: -18px; font-size: .57rem; }
  .thesis-strip { display: grid; }
  .section { padding: 88px 0; }
  .concept-grid, .case-grid, .chapter-path, .plugin-grid, .harmony-note, .case-pair { grid-template-columns: 1fr; }
  .case-study-featured, .harmony-note, .price-card { padding: 22px; }
  .case-copy { padding: 22px; }
  .case-pair { padding: 0 14px 18px; }
  .case-grid figcaption { padding-inline: 22px; }
  .chapter-path article { min-height: 250px; }
  .app-showcase { gap: 76px; }
  .workbench-story { grid-template-columns: 1fr; gap: 60px; }
  .workbench-shot-wide { grid-column: auto; }
  .workbench-shot-offset { margin-top: 0; }
  .workbench-shot-wide .image-button, .workbench-shot-pulse .image-button { transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .lightbox { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
