@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #130133;
  --ink-soft: #211544;
  --blue: #2b40f5;
  --violet: #7467ff;
  --lavender: #b6bbff;
  --paper: #fafafe;
  --white: #ffffff;
  --muted: #655f73;
  --line: #dedce9;
  --gold: #fff5a9;
  --display: 'Funnel Display', sans-serif;
  --body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--body); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
.deck { height: 100svh; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.deck::-webkit-scrollbar { display: none; }
.slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  height: 100svh;
  padding: 72px clamp(42px, 8vw, 132px) 68px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--paper);
}
.slide.dark { background: var(--ink); color: var(--white); }
.slide.blue { background: linear-gradient(132deg, #2038e5 0%, #7467ff 100%); color: var(--white); }
.slide.soft { background: #f0f1ff; }
.slide.cream { background: #fffaf1; }
.inner { width: min(1160px, 100%); margin: 0 auto; }
.eyebrow { margin: 0 0 24px; color: var(--blue); font-size: .71rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.dark .eyebrow, .blue .eyebrow { color: var(--lavender); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.038em; }
h1 { max-width: 980px; margin-bottom: 25px; font-size: clamp(3.2rem, 6.1vw, 6rem); line-height: 1.04; font-weight: 800; }
h2 { max-width: 1100px; margin-bottom: 26px; font-size: clamp(2.45rem, 4.5vw, 4.2rem); line-height: 1.08; font-weight: 800; }
h3 { font-size: clamp(1.3rem, 1.7vw, 1.8rem); line-height: 1.18; }
.accent { color: var(--blue); }
.dark .accent, .blue .accent { color: var(--gold); }
.lede { max-width: 830px; font-size: clamp(1.08rem, 1.45vw, 1.32rem); line-height: 1.55; color: var(--muted); }
.dark .lede, .blue .lede { color: rgba(255,255,255,.82); }
.small { font-size: .89rem; line-height: 1.6; color: var(--muted); }
.dark .small, .blue .small { color: rgba(255,255,255,.72); }
.cover-grid { display: grid; grid-template-columns: minmax(0,1fr) 235px; gap: 44px; align-items: center; }
.cover-avatar { display: block; width: 235px; height: 235px; object-fit: cover; border-radius: 28px; box-shadow: 0 26px 55px rgba(19,1,51,.27); }
.cover-note { margin-top: 34px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.3); max-width: 830px; color: rgba(255,255,255,.83); font-size: .96rem; line-height: 1.55; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px,4vw,70px); margin-top: 42px; }
.role { padding-top: 19px; border-top: 5px solid var(--ink); }
.role.ace { border-color: var(--blue); }
.role-name { margin-bottom: 8px; font-family: var(--display); font-size: clamp(2.8rem,4.5vw,4.5rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.role.ace .role-name { color: var(--blue); }
.role p { max-width: 440px; margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.role-rule { margin-top: 38px; max-width: 930px; padding: 15px 0 0; border-top: 1px solid var(--line); font-size: clamp(1rem,1.5vw,1.25rem); font-weight: 700; line-height: 1.5; }
.journey { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 55px; }
.step { min-height: 225px; padding: 26px 24px 0 0; border-top: 3px solid var(--lavender); }
.step:last-child { border-top-color: var(--blue); }
.step .n { display: block; margin-bottom: 15px; font-family: var(--display); font-size: .82rem; font-weight: 800; letter-spacing: .07em; color: var(--blue); }
.step h3 { margin-bottom: 12px; }
.step p { margin-bottom: 0; max-width: 225px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.journey-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; line-height: 1.5; }
.journey-foot b { color: var(--ink); }
.scenario { margin: 26px 0 30px; padding: 0 0 0 22px; border-left: 5px solid var(--blue); font-family: var(--display); font-size: clamp(1.5rem,2.8vw,2.7rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px,5vw,86px); margin-top: 42px; }
.choice { padding-top: 18px; border-top: 2px solid var(--ink); }
.choice:nth-child(2) { border-top-color: var(--blue); }
.choice .index { display: block; margin-bottom: 12px; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.choice h3 { margin-bottom: 13px; }
.choice p { max-width: 460px; margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.scenario-foot { margin-top: 35px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; line-height: 1.5; font-weight: 700; }
.trust-lede { max-width: 930px; margin-bottom: 36px; font-size: clamp(1.18rem,1.7vw,1.55rem); line-height: 1.48; color: rgba(255,255,255,.86); }
.trust-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin-top: 42px; }
.trust-column { padding-top: 17px; border-top: 3px solid rgba(255,255,255,.55); }
.trust-column h3 { margin-bottom: 11px; color: var(--gold); font-size: clamp(1.17rem,1.65vw,1.55rem); }
.trust-column p { max-width: 290px; margin-bottom: 0; color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.6; }
.trust-note { max-width: 1060px; margin-top: 35px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.8); font-size: .88rem; line-height: 1.55; }
.trust-note strong { color: var(--white); }
.related { margin-top: 21px; font-size: .79rem; color: rgba(255,255,255,.75); }
.related a { text-underline-offset: 3px; }
.footer { position: absolute; bottom: 22px; left: clamp(42px,8vw,132px); right: clamp(42px,8vw,132px); display: flex; justify-content: space-between; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dark .footer, .blue .footer { color: rgba(255,255,255,.55); }
.progress-track { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 4px; background: rgba(255,255,255,.2); }
.progress-fill { height: 100%; width: 20%; background: var(--gold); transition: width .22s ease; }
.counter { position: fixed; z-index: 20; top: 18px; right: 22px; padding: 7px 11px; border-radius: 999px; color: var(--white); background: rgba(19,1,51,.8); font-family: var(--display); font-size: .73rem; font-weight: 700; }
.controls { position: fixed; z-index: 20; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.controls button { width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--white); background: rgba(19,1,51,.83); cursor: pointer; font-size: 1.15rem; }
.controls button:hover, .controls button:focus-visible { background: var(--blue); outline: 2px solid var(--gold); outline-offset: 2px; }
.lang-link { position: fixed; z-index: 20; top: 18px; left: 22px; padding: 7px 10px; border-radius: 999px; color: var(--white); background: rgba(19,1,51,.8); font-size: .69rem; font-weight: 800; text-decoration: none; }
.lang-link:hover, .lang-link:focus-visible { text-decoration: underline; outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 850px) {
  .deck { height: auto; overflow: visible; scroll-snap-type: none; }
  .slide { min-height: 100svh; height: auto; overflow: visible; padding: 90px 28px 75px; }
  .controls { display: none; }
  .cover-grid { grid-template-columns: 1fr; }
  .cover-avatar { width: 150px; height: 150px; border-radius: 22px; }
  .journey { grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 35px; }
  .step { min-height: 0; padding-bottom: 12px; }
  .trust-columns { gap: 18px; }
  .footer { left: 28px; right: 28px; }
}
@media (max-width: 600px) {
  .slide { padding: 90px 22px 78px; }
  h1 { font-size: clamp(2.8rem, 11vw, 4.2rem); }
  h2 { font-size: clamp(2.28rem, 9vw, 3.15rem); }
  .role-grid, .choice-grid, .trust-columns, .journey-foot { grid-template-columns: 1fr; gap: 27px; }
  .journey { grid-template-columns: 1fr; gap: 6px; }
  .step { padding: 16px 0 12px; }
  .step p { max-width: none; }
  .role-rule { margin-top: 28px; }
  .trust-columns { margin-top: 28px; }
  .footer { left: 22px; right: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .progress-fill { transition: none; } }
@media print {
  body { background: var(--white); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .deck { height: auto; overflow: visible; scroll-snap-type: none; }
  .slide { width: 100%; height: 100vh; min-height: 100vh; break-after: page; page-break-after: always; }
  .progress-track, .counter, .controls, .lang-link { display: none !important; }
}
