/* The scene shares the page's space; it is not confined to a small card. */
body{overflow-x:clip}
.chapter{overflow-x:clip}
.container{max-width:1360px;padding-left:54px;padding-right:54px}
.intro-grid,.hero .intro-grid{grid-template-columns:1fr 1.13fr;gap:20px;min-height:650px}
.intro-grid.compact{min-height:650px;margin-bottom:38px}
.intro-copy{z-index:4}
.hero{padding-top:0;background:#0b1425}
.hero-scene{position:relative;isolation:isolate;display:flow-root;overflow:clip;padding-top:26px;background:radial-gradient(ellipse at 72% 42%,#223956 0%,#131f34 45%,#0b1425 100%)}
.hero-scene>.container{position:relative}
.hero-scene>canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.hero-scene .intro-copy{background:transparent;border:0;box-shadow:none}
.hero-scene .octopus-stage{z-index:1}
.hero .intro-grid{min-height:calc(100svh - 178px)}
.hero h1{font-size:clamp(50px,4.5vw,76px)}
.hero .lead{max-width:550px}
.hero-bottom{margin-top:6px;margin-bottom:42px;position:relative;z-index:4}
.hero .problems{background:#141b2a}
.chapter-light{background:#f5f8fc}
.chapter-tinted{background:#efeff8}
#kerdesek{background:radial-gradient(ellipse at 82% 12%,#1c2d48,#111522 37%,#10121d 75%)}
.object-stage,.hero .object-stage{width:calc(100% + 168px);max-width:none;height:650px;margin-left:-54px;margin-right:-114px;min-width:0;border:0;border-radius:0;background:transparent;overflow:visible}
.hero .object-stage{height:clamp(620px,calc(100svh - 160px),820px)}
.object-stage:focus-visible{outline:1px solid #9883d982;outline-offset:-28px;border-radius:35%}
.object-stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.water-canvas{z-index:0}
.object-canvas{z-index:1}
.bubble-canvas{z-index:2}
.octopus-fallback{z-index:1;top:50%;height:100%;max-width:95%;width:auto;filter:drop-shadow(0 22px 35px #6a43ab22)}
.object-index{z-index:3;top:42px;left:74px;color:#8b81a7;letter-spacing:.16em;text-transform:uppercase;font-size:11px}
.chapter-dark .object-index{color:#a4b1cf}
.octopus-play{position:absolute;z-index:3;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;white-space:nowrap;background:#ffffffa1;color:#625488;border:1px solid #b5a8d548;border-radius:30px;padding:10px 17px;min-height:44px;font-size:12px;backdrop-filter:blur(12px);transition:background .2s,border-color .2s}
.octopus-play svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.octopus-play:hover{background:#ffffff;border-color:#967dcc}
.chapter-dark .octopus-play{background:#24334c73;border-color:#acc5f42b;color:#d0ddf4}
.chapter-dark .octopus-play:hover{background:#344967a8;border-color:#acc5f46b}
.octopus-play:disabled{opacity:.35}
.collection-layer{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0}
.collection-ready .collection-layer{opacity:1}
.collection-source,.collection-register{position:absolute;left:0;top:0;opacity:0;will-change:transform,opacity;box-sizing:border-box;color:#253149;box-shadow:0 12px 32px #07132328;backdrop-filter:blur(14px)}
.collection-source{width:clamp(104px,20%,126px);padding:12px 13px 11px;border:1px solid #ffffffc9;border-radius:12px;background:linear-gradient(145deg,#fffffff5,#eaf1fff0);display:flex;flex-direction:column;gap:3px;--source-color:#7151b0;transform-origin:50% 65%}
.source-table{--source-color:#218657}
.source-mail{--source-color:#3e74ba}
.source-document{--source-color:#7851b7}
.source-invoice{--source-color:#a57528}
.collection-source svg{width:21px;height:21px;fill:none;stroke:var(--source-color);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:4px}
.collection-source b{font-size:14px;line-height:1.3;font-weight:650;letter-spacing:0;white-space:nowrap}
.collection-source>span{font-size:12px;line-height:1.4;color:#62708a}
.source-lines{display:flex;flex-direction:column;gap:3px;margin-top:5px}
.source-lines i{height:3px;border-radius:3px;background:color-mix(in srgb,var(--source-color) 18%,transparent)}
.source-lines i:nth-child(2){width:76%}.source-lines i:nth-child(3){width:53%}
.collection-register{width:min(320px,78%);padding:15px 16px 13px;border:1px solid #efe9ff;border-radius:16px;background:linear-gradient(140deg,#fffffff7,#eeeafff4);box-shadow:0 12px 42px #10204738,0 0 36px #a18de749}
.register-heading{display:flex;align-items:center;gap:7px;line-height:1.4;padding-bottom:11px}
.register-heading>b{font-size:15px;letter-spacing:0;flex:1;white-space:nowrap}
.register-symbol{font-size:21px;color:#7953bd;line-height:1}
.register-check{font-size:15px;line-height:21px;width:21px;border-radius:50%;text-align:center;color:#308260;background:#dff4e8}
.register-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;align-items:center;padding:9px 0;font-size:14px;line-height:1.3;border-top:1px solid #d2cce055}
.register-labels{font-size:12px;color:#67728b;padding:7px 0 3px}
.register-state{color:#2d795b;font-size:13px}
.register-sources{display:flex;gap:5px;flex-wrap:wrap;border-top:1px solid #d2cce055;padding-top:9px}
.register-sources span{font-size:12px;line-height:1.3;border:1px solid #d8d1e9;border-radius:4px;padding:3px 5px;color:#6a598b;background:#ffffff8c}
.octopus-actions{position:absolute;z-index:4;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;white-space:nowrap}
.octopus-actions .octopus-play{position:static;transform:none;left:auto;bottom:auto;font-size:14px}
.collection-play{min-height:44px;padding:10px 17px;border:1px solid #9479c5;border-radius:30px;background:#7652b7;color:white;font-size:14px;font-weight:550;line-height:1.5;box-shadow:0 4px 18px #5c3f7c24;transition:background .2s}
.collection-play:hover{background:#64439f}.collection-play:disabled{opacity:.35}
.chapter-dark .collection-play{background:#8b66cf;border-color:#bca1eb80}.chapter-dark .collection-play:hover{background:#9c78e0}
.technical-main{overflow-x:clip;background:#f5f8fc}
.technical-article{max-width:1300px}
.technical-intro{min-height:570px;margin-top:6px}
.technical-intro .object-stage{height:570px}
.technical-intro h1{font-size:clamp(42px,4.2vw,62px)}
.technical-intro .eyebrow{margin-top:0}
.technical-view #technical-title{scroll-margin-top:105px}
.technical-sections,.technical-questions{max-width:1000px}
body.is-technical .experience-controls,body:has(.technical-view:target) .experience-controls{display:flex}
@media(min-width:1700px){
  .container{max-width:1510px}
  .intro-grid,.hero .intro-grid{grid-template-columns:1fr 1.2fr}
  .object-stage{height:740px}
}
@media(max-width:1100px){
  .container{padding-left:38px;padding-right:38px}
  .intro-grid,.hero .intro-grid{grid-template-columns:1fr 1fr;gap:0;min-height:580px}
  .intro-grid.compact{min-height:580px}
  .object-stage,.hero .object-stage{width:calc(100% + 120px);height:600px;margin-left:-40px;margin-right:-80px}
  .hero h1{font-size:54px}
  .hero .object-stage{height:clamp(580px,calc(100svh - 160px),740px)}
  .object-index{left:62px}
}
@media(max-width:800px){
  .container{padding-left:26px;padding-right:26px}
  .intro-grid,.hero .intro-grid{grid-template-columns:1fr;gap:0;min-height:0}
  .intro-grid.compact{min-height:0;margin-bottom:24px}
  .hero{padding-top:0}
  .hero-scene{padding-top:40px}
  .hero h1{font-size:clamp(44px,7.4vw,62px);max-width:650px}
  .object-stage,.hero .object-stage{width:calc(100% + 52px);height:clamp(420px,75vw,590px);margin:0 -26px;max-width:none}
  .hero .object-stage{height:clamp(440px,80vw,640px);margin-top:-8px}
  .hero-bottom{margin-top:12px;margin-bottom:35px}
  .object-index{top:26px;left:32px}
  .octopus-play{bottom:13px}
  .octopus-actions{bottom:13px;gap:7px}
  .technical-intro{min-height:0;margin-top:30px}
  .technical-intro .object-stage{height:clamp(400px,70vw,520px)}
  .technical-intro h1{font-size:clamp(39px,6vw,54px)}
  .technical-sections{margin-top:32px}
}
@media(max-width:480px){
  .container{padding-left:22px;padding-right:22px}
  .hero h1{font-size:42px}
  .object-stage,.hero .object-stage{width:calc(100% + 44px);height:425px;margin:0 -22px}
  .hero .object-stage{height:445px;margin-top:6px}
  .object-index{top:20px;left:27px;font-size:10px}
  .octopus-play{bottom:12px;padding:9px 15px}
  .octopus-actions{bottom:12px}.collection-play{padding:9px 15px}
  .collection-source{width:108px;padding:9px 10px 8px}
  .collection-source svg{width:16px;height:16px;margin-bottom:2px}
  .collection-source .source-lines{display:none}
  .collection-register{width:min(320px,88%);padding:12px 13px 10px}
  .register-heading>b{font-size:14px}.register-heading{gap:5px}
  .technical-intro .object-stage{height:405px}
}
@media(prefers-reduced-motion:reduce){
  .octopus-play{display:none}
  .collection-play{display:none}
}
@media print{
  .hero-scene>canvas{display:none!important}
  .object-stage,.hero .object-stage{display:none!important}
  .intro-grid,.hero .intro-grid{display:block;min-height:0}
  .container{max-width:none;padding:0}
}
