/* ===================== SetupMotion 3D story (Blender animations + GSAP) ===================== */
.hero3d { position: relative; overflow: hidden; padding-top: clamp(28px, 5vw, 64px); }
.hero3d.slimmer { padding-bottom: 24px; }
.hero3d .hgrid { position: relative; z-index: 1; grid-template-columns: 1fr 1.05fr; }
@media (max-width: 860px) { .hero3d .hgrid { grid-template-columns: 1fr; } .hero3d .hart { order: -1; } }
.blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 14s ease-in-out infinite; }
.blobs i:nth-child(1) { width: 380px; height: 380px; background: #FFD23F; top: -120px; inset-inline-end: 4%; }
.blobs i:nth-child(2) { width: 300px; height: 300px; background: #F2622E; opacity: .22; bottom: -140px; inset-inline-start: -60px; animation-delay: -5s; }
.blobs i:nth-child(3) { width: 220px; height: 220px; background: #7FD1B9; opacity: .25; top: 40%; inset-inline-start: 42%; animation-delay: -9s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.08); } }
@media (prefers-color-scheme: dark) { .blobs i { opacity: .18; } }

.stage { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 34px; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 50% 42%, #FFFBF4 0%, #F9EEDF 45%, #F4E4CD 100%);
  box-shadow: 0 2px 0 rgba(29, 26, 43, .08), 0 30px 60px -20px rgba(120, 70, 20, .35); transform-style: preserve-3d; }
.stage video { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), transparent 0 56px, rgba(255, 210, 63, .9) 58px 64px, rgba(255, 210, 63, .25) 68px, transparent 108px); }
.stage.lit::after { opacity: .85; }
.stage-hero { max-width: 600px; margin-inline: auto; }
.stage-hero.sm { max-width: 460px; }
.replay { position: absolute; inset-inline-end: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #1D1A2B; background: #FFF8EE; color: #1D1A2B;
  font: 800 1.2rem/1 var(--head); cursor: pointer; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s; box-shadow: 0 3px 0 #1D1A2B; }
.stage.done .replay, .stage:hover .replay, .replay:focus-visible { opacity: 1; transform: scale(1); }
.stage.still .replay { opacity: 1; transform: scale(1); }
.scrollcue { position: absolute; left: 50%; bottom: 14px; width: 26px; height: 42px; border: 2.5px solid var(--ink); border-radius: 14px; transform: translateX(-50%); z-index: 2; opacity: .6; }
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--accent); transform: translateX(-50%); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }
@media (max-width: 860px) { .scrollcue { display: none; } }

.story { position: relative; padding: clamp(50px, 8vw, 100px) 0 20px; }
.story-head { text-align: center; max-width: 820px; margin-bottom: clamp(10px, 3vw, 30px); }
.story-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.chapter { position: relative; padding: clamp(36px, 8vh, 90px) 0; }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 6vw, 80px); align-items: center; }
.cgrid.flip .ctext { order: 2; }
@media (max-width: 860px) { .cgrid { grid-template-columns: 1fr; } .cgrid.flip .ctext { order: 0; } .cgrid .cmedia { order: -1; } }
.ctext { max-width: 540px; }
.cnum { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #1D1A2B; border: 3px solid var(--ink);
  font: 800 1.9rem/1 var(--head); box-shadow: 0 0 0 7px color-mix(in srgb, var(--glow) 55%, transparent); margin-bottom: 18px; }
.ctitle { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; line-height: 1.05; margin-bottom: .45em; }
.cbody { font-size: 1.18rem; color: var(--muted); }
.cmedia { max-width: 560px; width: 100%; justify-self: center; }
.cstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 8px; }
.cstat { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; }
.cstat b { display: block; font: 800 1.9rem/1 var(--head); color: var(--accent-ink); margin-bottom: 6px; }
.cstat p { margin: 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 560px) { .cstats { grid-template-columns: 1fr; } }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .9rem; }
.rail { position: fixed; inset-inline-start: 22px; top: 50%; transform: translateY(-50%); z-index: 15; list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.in-story .rail { opacity: 1; pointer-events: auto; }
.rail a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: var(--muted);
  font: 800 .9rem/1 var(--head); text-decoration: none; transition: all .25s; }
.rail li.on a { border-color: var(--accent); color: var(--ink); }
.rail li.now a { background: var(--accent); color: #1D1A2B; border-color: var(--ink); transform: scale(1.18); box-shadow: 0 0 0 5px color-mix(in srgb, var(--glow) 50%, transparent); }
@media (max-width: 1180px) { .rail { display: none; } }
.storyline { position: absolute; top: 180px; bottom: 60px; left: 50%; width: 3px; transform: translateX(-50%); background: var(--line); border-radius: 3px; z-index: -1; }
.storyline span { position: absolute; inset: 0; background: linear-gradient(var(--glow), var(--accent)); transform-origin: top; transform: scaleY(0); border-radius: 3px; }
@media (max-width: 860px) { .storyline { display: none; } }
.chapter.solo { padding-top: clamp(30px, 6vw, 70px); }
.checks.one { grid-template-columns: 1fr; }

.i3d { display: block; width: 120px; height: 120px; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 10px 14px rgba(120, 70, 20, .18)); }
.i3d.sm { width: 96px; height: 96px; }
.i3d.xs { width: 72px; height: 72px; margin: 0; flex: none; }
.i3d.hero { width: min(360px, 80%); height: auto; margin-inline: auto; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .i3d.hero, .blobs i, .scrollcue span { animation: none; } }
.tile .i3d { margin: -10px 0 8px -6px; }
.steps li .i3d { margin: -6px 0 4px; }
.plan .i3d { width: 104px; height: 104px; margin: -10px 0 4px -8px; }
.who li { display: flex; gap: 14px; align-items: flex-start; border-inline-start: none; padding: 0; }
.panel .i3d { margin-bottom: 4px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps.three { grid-template-columns: 1fr; } }
.scan-card { display: flex; gap: 28px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: clamp(18px, 4vw, 34px); box-shadow: var(--shadow); }
.scan-card img { border-radius: 14px; background: #fff; padding: 10px; flex: none; }
@media (max-width: 640px) { .scan-card { flex-direction: column; text-align: center; } }
.center { text-align: center; }
.cta3d { text-align: start; }
.cta3d .cmedia { max-width: 420px; }
.cta3d .stage { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }

/* guides hub + SEO content pages */
.hub h2 { margin-top: 1.2em; }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 14px; }
.gcard { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.gcard:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); color: var(--ink); }
.gcard b { display: block; font: 700 1.02rem/1.25 var(--head); }
.gcard small { display: block; color: var(--muted); font-size: .86rem; margin-top: 4px; }
.article .sec { margin-bottom: 30px; }
.article h2 { display: flex; gap: 12px; align-items: center; font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.snum { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #1D1A2B; border: 2.5px solid var(--ink); font: 800 1rem/1 var(--head); }
.article p, .article li { font-size: 1.06rem; }
.article ul, .article ol { padding-inline-start: 1.3em; }
.article li { margin-bottom: 6px; }
.csteps li::marker { font-weight: 800; color: var(--accent-ink); }
.sources li { font-size: .92rem; }
