@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@600;700;800&display=swap');

:root {
  --navy: #0d2137;
  --navy2: #1a3a52;
  --ink: #0f172a;
  --slate: #64748B;
  --muted: #8DA2B5;
  --teal: #00a79d;
  --teal-dark: #007a73;
  --blue: #0284C7;
  --blue2: #0074CC;
  --cyan: #1D9DD5;
  --lime: #36bf4e;
  --lime-d: #15803d;
  --sky: #EEF6FC;
  --sky2: #DBEAFE;
  --sky3: #C8E8FC;
  --line: #e2e8f0;
  --white: #fff;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .06), 0 22px 48px rgba(2, 132, 199, .14);
  --r: 16px;
  --hdr: 64px;
  --side: 310px;
  --font: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

html,
body {
  overflow-x: clip
}

.hero .in>*,
.split>* {
  min-width: 0
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #F7FBFE;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

a {
  color: var(--blue2);
  text-decoration: none
}

button {
  font-family: inherit;
  cursor: pointer
}

svg.i {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0)
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px
}

/* ---------- header ---------- */
header.top {
  position: relative;
  top: 0;
  margin-top: 80px;
  z-index: 50;
  height: var(--hdr);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line)
  background: transparent;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap
}

.brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(2, 132, 199, .35)
}

.brand .mark svg {
  width: 22px;
  height: 22px
}

.brand small {
  display: block;
  font-weight: 600;
  color: var(--slate);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1
}

.brand b {
  display: block;
  font-size: 16px;
  line-height: 1.25
}

.brand b em {
  font-style: normal;
  color: var(--blue)
}

.searchbtn {
  flex: 1;
  max-width: 520px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  color: var(--slate);
  font-size: 14.5px;
  text-align: left;
  transition: .2s
}

.searchbtn:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(29, 157, 213, .12)
}

.searchbtn span {
  flex: 1
}

kbd {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate);
  background: var(--sky);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 7px
}

.navbtns {
  display: flex;
  gap: 6px
}

.hbtn {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--navy2);
  font-weight: 600;
  font-size: 14.5px
}

.hbtn:hover {
  background: var(--sky)
}

.hbtn.primary {
  background: var(--blue2);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 116, 204, .28)
}

.hbtn.primary:hover {
  background: var(--blue)
}

.hbtn svg {
  width: 18px;
  height: 18px
}

#menuBtn {
  display: none
}

.topprog {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--lime));
  transition: width .4s
}

/* ---------- layout ---------- */
#app {
  min-height: calc(100vh - var(--hdr))
}

.reader {
  display: grid;
  grid-template-columns: var(--side) 1fr;
  min-height: calc(100vh - var(--hdr))
}

aside.side {
  position: sticky;
  top: var(--hdr);
  height: calc(100vh - var(--hdr));
  overflow: auto;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 14px 10px 40px
}

aside.side::-webkit-scrollbar {
  width: 8px
}

aside.side::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px
}

.side h4 {
  margin: 6px 10px 10px;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.chap {
  border-radius: 12px;
  margin-bottom: 2px
}

.chap>button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  text-align: left;
  color: var(--navy2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3
}

.chap>button:hover {
  background: var(--sky)
}

.chap.open>button {
  background: var(--sky)
}

.chap .ci {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none
}

.chap .ci svg {
  width: 17px;
  height: 17px
}

.chap .ct {
  flex: 1
}

.chap .cc {
  font-size: 11px;
  color: var(--slate);
  font-weight: 600
}

.chap .chev {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: .2s
}

.chap.open .chev {
  transform: rotate(90deg)
}

.chap .body {
  display: none;
  padding: 4px 0 10px 16px
}

.chap.open .body {
  display: block
}

.ptitle {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 10px 8px 4px 12px
}

.qlink {
  display: flex;
  gap: 8px;
  padding: 6px 10px 6px 12px;
  border-left: 2px solid var(--line);
  color: #334155;
  font-size: 13.3px;
  line-height: 1.35
}

.qlink:hover {
  color: var(--blue2);
  border-left-color: var(--cyan);
  background: #F7FBFE
}

.qlink.cur {
  color: var(--blue2);
  font-weight: 650;
  border-left-color: var(--blue2);
  background: var(--sky)
}

.qlink .qn {
  font-weight: 700;
  color: var(--muted);
  min-width: 28px;
  font-size: 12px;
  padding-top: 1px
}

.qlink.read .qn {
  color: var(--lime-d)
}

.qlink.read .qn::after {
  content: " ✓"
}

main.content {
  min-width: 0;
  padding: 28px clamp(16px, 4vw, 56px) 120px
}

.wrap {
  max-width: 900px;
  margin: 0 auto
}

/* ---------- Q view ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 14px
}

.crumbs a {
  color: var(--slate)
}

.crumbs a:hover {
  color: var(--blue2)
}

.crumbs svg {
  width: 14px;
  height: 14px;
  color: var(--muted)
}

.qhead {
  position: relative;
  border-radius: 22px;
  padding: 28px 30px 26px;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg)
}

.qhead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .22), transparent 45%), radial-gradient(circle at 0% 120%, rgba(163, 206, 73, .35), transparent 40%)
}

.qhead::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, .07)
}

.qhead>* {
  position: relative;
  z-index: 1
}

.qmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25)
}

.pill.lime {
  background: var(--lime);
  color: #1a2e05;
  border-color: transparent
}

.qhead h1 {
  margin: 0;
  font-size: clamp(23px, 3.2vw, 33px);
  line-height: 1.22;
  letter-spacing: -.015em;
  font-weight: 800;
  max-width: 760px
}

.qprog {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 600;
  opacity: .95
}

.qprog .bar {
  flex: 1;
  max-width: 340px;
  height: 6px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden
}

.qprog .bar i {
  display: block;
  height: 100%;
  background: var(--lime);
  border-radius: 9px
}

.qicon {
  position: absolute;
  right: 26px;
  top: 22px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
  z-index: 1
}

.qicon svg {
  width: 34px;
  height: 34px;
  color: #fff
}

.short {
  margin: 22px 0 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--lime);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--shadow)
}

.short .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F1F8E4;
  color: var(--lime-d);
  display: grid;
  place-items: center;
  flex: none
}

.short .ico svg {
  width: 24px;
  height: 24px
}

.short h3,
.sec h3 {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 750
}

.short p {
  margin: 0;
  font-size: 18.5px;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 550
}

.vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0 0
}

.vs .side-a,
.vs .side-b {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  font-weight: 750;
  color: var(--navy);
  box-shadow: var(--shadow);
  text-transform: capitalize
}

.vs .side-a {
  border-top: 4px solid var(--blue)
}

.vs .side-b {
  border-top: 4px solid var(--lime)
}

.vs .badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 0 6px var(--sky2)
}

.sec {
  margin-top: 26px
}

.sec .shead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px
}

.sec .shead .ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue2)
}

.sec .shead .ico svg {
  width: 19px;
  height: 19px
}

.sec .shead h3 {
  margin: 0
}

.prose p {
  margin: 0 0 12px;
  font-size: 16.5px;
  color: #273244
}

.prose .lead-in {
  font-weight: 650;
  color: var(--navy2)
}

.formula {
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  background: var(--navy);
  color: #E2F3FD;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 12px;
  font-size: 15px;
  border-left: 5px solid var(--lime)
}

.formula b {
  color: var(--lime);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px
}

/* visual blocks */
.visual {
  background: linear-gradient(180deg, #fff, #F7FBFE);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin: 6px 0 16px;
  box-shadow: var(--shadow)
}

.vtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue2);
  margin-bottom: 14px
}

.vtitle svg {
  width: 16px;
  height: 16px
}

.steps {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 22px 0
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px
}

.step .dot {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 0 6px #fff, 0 8px 18px rgba(2, 132, 199, .25)
}

.step .dot svg {
  width: 24px;
  height: 24px
}

.step .num {
  position: absolute;
  top: -4px;
  right: calc(50% - 36px);
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #fff
}

.step::after {
  content: "";
  position: absolute;
  top: 27px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--sky3) 0 8px, transparent 8px 13px)
}

.step:last-child::after,
.step.eol::after {
  display: none
}

.step p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--navy2);
  font-weight: 600
}

.step p small {
  display: block;
  font-weight: 450;
  color: var(--slate);
  margin-top: 3px
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px
}

.card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  transition: .2s
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--sky3)
}

.card .ci {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none
}

.card .ci svg {
  width: 20px;
  height: 20px
}

.card b {
  display: block;
  color: var(--navy);
  font-size: 14.5px;
  line-height: 1.3
}

.card span {
  display: block;
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.4;
  margin-top: 2px
}

.card.plain b {
  font-weight: 600;
  color: #273244;
  padding-top: 9px
}

.hub {
  width: 100%;
  height: auto;
  display: block
}

.hub text {
  font-family: var(--font)
}

.hub-wrap .cards,
.hub-wrap .kpis {
  display: none
}

@media (max-width:640px) {
  .hub-wrap .hub {
    display: none
  }

  .hub-wrap .cards,
  .hub-wrap .kpis {
    display: grid
  }
}

.example {
  position: relative;
  background: linear-gradient(135deg, #0F2E4D, #0B4F7A);
  color: #E6F4FC;
  border-radius: 18px;
  padding: 22px 24px 22px 86px;
  overflow: hidden;
  box-shadow: var(--shadow-lg)
}

.example .ico {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  color: var(--lime)
}

.example .ico svg {
  width: 24px;
  height: 24px
}

.example h3 {
  color: var(--lime) !important
}

.example p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55
}

.example::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 157, 213, .45), transparent 70%)
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px
}

.kpi {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 14px 16px;
  overflow: hidden
}

.kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--blue), var(--cyan))
}

.kpi .ki {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 8px
}

.kpi .ki svg {
  width: 18px;
  height: 18px
}

.kpi b {
  display: block;
  color: var(--navy);
  font-size: 14.5px;
  line-height: 1.35
}

.why {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(90deg, #F1F8E4, #EEF6FC);
  border: 1px solid #D9EBB7;
  border-radius: 18px;
  padding: 18px 22px
}

.why .ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: #1a2e05;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 0 0 6px rgba(163, 206, 73, .25)
}

.why .ico svg {
  width: 26px;
  height: 26px
}

.why p {
  margin: 0;
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.45
}

figure.fig {
  margin: 6px 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

figure.fig img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in
}

figure.fig figcaption {
  padding: 12px 18px;
  font-size: 13.8px;
  color: var(--slate);
  border-top: 1px solid var(--line);
  background: #FBFDFF
}

figure.fig figcaption b {
  color: var(--navy2)
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px
}

.pg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy2);
  transition: .2s;
  min-height: 84px
}

.pg:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px)
}

.pg small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue2)
}

.pg small svg {
  width: 15px;
  height: 15px
}

.pg span {
  font-weight: 650;
  font-size: 15px;
  line-height: 1.35
}

.pg.next {
  text-align: right;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--blue2), var(--cyan));
  color: #fff;
  border: 0
}

.pg.next small {
  color: #E0F2FE
}

.pg.empty {
  visibility: hidden
}

.floatnav {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg)
}

.floatnav button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 0;
  background: var(--sky);
  color: var(--blue2);
  display: grid;
  place-items: center
}

.floatnav button:hover {
  background: var(--sky2)
}

.floatnav button.n {
  background: var(--blue2);
  color: #fff
}

.floatnav button:disabled {
  opacity: .35;
  cursor: default
}

.floatnav svg {
  width: 20px;
  height: 20px
}

.floatnav .cnt {
  align-self: center;
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate);
  white-space: nowrap
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px
}

.chipbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  font-size: 13px;
  font-weight: 600
}

.chipbtn:hover {
  color: var(--blue2);
  border-color: var(--cyan)
}

.chipbtn svg {
  width: 15px;
  height: 15px
}

/* ---------- chapter overview ---------- */
.chero {
  border-radius: 24px;
  padding: 34px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg)
}

.chero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .22), transparent 40%), radial-gradient(circle at 10% 110%, rgba(163, 206, 73, .35), transparent 45%)
}

.chero>* {
  position: relative
}

.chero .big {
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  opacity: .22;
  position: absolute;
  right: 28px;
  top: 18px
}

.chero h1 {
  margin: 8px 0 8px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 640px
}

.chero p {
  margin: 0;
  max-width: 620px;
  opacity: .95;
  font-size: 16.5px
}

.chero .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  transition: .2s
}

.btn svg {
  width: 18px;
  height: 18px
}

.btn.w {
  background: #fff;
  color: var(--blue2)
}

.btn.w:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18)
}

.btn.g {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35)
}

.btn.b {
  background: var(--blue2);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 116, 204, .3)
}

.btn.b:hover {
  background: var(--blue);
  transform: translateY(-2px)
}

.btn.o {
  background: #fff;
  color: var(--navy2);
  border: 1px solid var(--line)
}

.btn.o:hover {
  border-color: var(--cyan);
  color: var(--blue2)
}

.parts {
  display: grid;
  gap: 18px;
  margin-top: 26px
}

.partcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow)
}

.partcard h2 {
  margin: 0 0 2px;
  font-size: 19px;
  color: var(--navy)
}

.partcard .pn {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase
}

.qgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
  margin-top: 14px
}

.qitem {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #F7FBFE;
  color: #273244;
  font-size: 14px;
  line-height: 1.35;
  transition: .15s
}

.qitem:hover {
  border-color: var(--sky3);
  background: var(--sky);
  color: var(--blue2)
}

.qitem .n {
  font-weight: 800;
  font-size: 12px;
  min-width: 30px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none
}

.qitem.read .n {
  background: var(--lime) !important;
  color: #1a2e05
}

/* ---------- landing ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 80px;
  background: radial-gradient(circle at 12% 18%, rgba(200, 232, 252, .75) 0%, transparent 42%), radial-gradient(circle at 88% 82%, rgba(208, 237, 253, .75) 0%, transparent 42%), radial-gradient(circle, #fff, #EDF6FD)
}

.hero .in {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
  color: var(--navy2);
  box-shadow: var(--shadow)
}

.eyebrow b {
  background: var(--lime);
  color: #1a2e05;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11.5px;
  letter-spacing: .05em
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 18px 0 18px;
  color: var(--navy);
  font-weight: 850
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--blue2), var(--cyan) 55%, #7DBA2F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero p.sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: #475569;
  max-width: 560px;
  margin: 0 0 26px
}

.bigsearch {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  height: 60px;
  padding: 0 8px 0 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  cursor: text;
  color: var(--slate);
  font-size: 16px
}

.bigsearch:hover {
  border-color: var(--cyan)
}

.bigsearch svg {
  width: 22px;
  height: 22px;
  color: var(--blue)
}

.bigsearch span {
  flex: 1
}

.bigsearch .btn {
  height: 46px
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--slate)
}

.tags a {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  color: var(--navy2);
  font-weight: 600;
  font-size: 13px
}

.tags a:hover {
  border-color: var(--cyan);
  color: var(--blue2)
}

.herovis {
  position: relative;
  aspect-ratio: 1/0.92
}

.herovis svg.scene {
  width: 100%;
  height: 100%;
  overflow: visible
}

.fcard {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  border: 1px solid var(--line);
  animation: float 6s ease-in-out infinite
}

.fcard .ci {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff
}

.fcard .ci svg {
  width: 18px;
  height: 18px
}

.fcard b {
  display: block;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.1
}

.fcard small {
  color: var(--slate);
  font-weight: 600
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -200
  }
}

.orbit {
  transform-origin: 250px 250px;
  animation: spin 60s linear infinite
}

.orbit .counter {
  animation: spin 60s linear infinite reverse;
  transform-box: fill-box;
  transform-origin: center
}

.stats {
  max-width: 1180px;
  margin: -44px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 24px
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-lg)
}

.stat .ci {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff
}

.stat .ci svg {
  width: 26px;
  height: 26px
}

.stat b {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: -.02em
}

.stat span {
  font-size: 13.5px;
  color: var(--slate);
  font-weight: 600
}

section.blk {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 24px 0
}

.blk .kicker {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue2);
  display: flex;
  align-items: center;
  gap: 10px
}

.blk .kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime)
}

.blk h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--navy);
  margin: 10px 0 12px;
  font-weight: 820
}

.blk p.lead {
  font-size: 17px;
  color: #475569;
  max-width: 720px;
  margin: 0
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center
}

.wheelwrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  width: 100%
}

.wheel {
  width: 100%;
  height: auto;
  overflow: visible
}

.wheel .node {
  cursor: pointer
}

.wheel .node circle.bg {
  transition: .25s
}

.wheel .node:hover circle.bg {
  r: 44
}

.wheel .node text {
  font-family: var(--font)
}

.defbox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow)
}

.defbox q {
  display: block;
  font-size: 20px;
  line-height: 1.45;
  color: var(--navy);
  font-weight: 600;
  quotes: none;
  border-left: 5px solid var(--lime);
  padding-left: 16px
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px
}

.fact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: #F7FBFE;
  border: 1px solid var(--line)
}

.fact .ci {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none
}

.fact .ci svg {
  width: 20px;
  height: 20px
}

.fact b {
  display: block;
  color: var(--navy);
  font-size: 14.5px
}

.fact span {
  font-size: 13.3px;
  color: var(--slate);
  line-height: 1.4;
  display: block
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px
}

.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: .25s;
  position: relative;
  overflow: hidden
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg)
}

.benefit .ci {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 16px
}

.benefit .ci svg {
  width: 28px;
  height: 28px
}

.benefit h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px
}

.benefit p {
  margin: 0;
  color: var(--slate);
  font-size: 14.5px
}

.benefit .num {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 48px;
  font-weight: 900;
  color: var(--sky);
  line-height: 1
}

.topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
  margin-top: 32px
}

.topic {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  color: inherit;
  transition: .25s;
  overflow: hidden
}

.topic::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--c)
}

.topic:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky3)
}

.topic .th {
  display: flex;
  align-items: center;
  gap: 14px
}

.topic .ci {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--c);
  flex: none;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent)
}

.topic .ci svg {
  width: 27px;
  height: 27px
}

.topic .no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--c);
  text-transform: uppercase
}

.topic h3 {
  margin: 2px 0 0;
  font-size: 18.5px;
  line-height: 1.25;
  color: var(--navy)
}

.topic p {
  margin: 14px 0 14px;
  font-size: 14.3px;
  color: #475569;
  flex: 1
}

.topic ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 6px
}

.topic li {
  display: flex;
  gap: 8px;
  font-size: 13.3px;
  color: #334155;
  line-height: 1.35
}

.topic li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  margin-top: 6px;
  flex: none
}

.topic .ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  font-size: 13px;
  color: var(--slate);
  font-weight: 600
}

.topic .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c);
  font-weight: 750
}

.topic .go svg {
  width: 16px;
  height: 16px;
  transition: .2s
}

.topic:hover .go svg {
  transform: translateX(4px)
}

.ring {
  width: 30px;
  height: 30px
}

.journey {
  position: relative;
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 18px;
  box-shadow: var(--shadow);
  overflow-x: auto
}

.journey svg {
  display: block;
  min-width: 980px;
  width: 100%;
  height: auto
}

.journey .jn {
  cursor: pointer
}

.journey .jn:hover circle.o {
  stroke-width: 5
}

.pop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
  margin-top: 28px
}

.popq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  color: inherit;
  transition: .2s
}

.popq:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px)
}

.popq small {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c)
}

.popq b {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35
}

.popq span {
  color: var(--slate);
  font-size: 13.8px;
  line-height: 1.45
}

.how {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px
}

.howc {
  background: linear-gradient(180deg, #fff, #F7FBFE);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px
}

.howc .ci {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue2);
  display: grid;
  place-items: center;
  margin-bottom: 12px
}

.howc .ci svg {
  width: 22px;
  height: 22px
}

.howc b {
  display: block;
  color: var(--navy);
  margin-bottom: 4px
}

.howc span {
  font-size: 14px;
  color: var(--slate)
}

.cta {
  max-width: 1180px;
  margin: 90px auto 0;
  padding: 0 24px
}

.cta .box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 48px;
  background: linear-gradient(120deg, var(--navy) 0%, #0B3A63 55%, var(--blue2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

.cta .box::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 206, 73, .45), transparent 65%)
}

.cta h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.02em
}

.cta p {
  margin: 0;
  opacity: .85;
  max-width: 560px
}

.cta .row {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1
}

footer.ft {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 50px;
  color: var(--slate);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px
}

.resume {
  display: none;
  margin-top: 18px;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #D9EBB7;
  box-shadow: var(--shadow)
}

.resume.on {
  display: flex
}

.resume .ci {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lime);
  color: #1a2e05;
  display: grid;
  place-items: center;
  flex: none
}

.resume .ci svg {
  width: 20px;
  height: 20px
}

.resume div {
  flex: 1;
  min-width: 0
}

.resume small {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lime-d)
}

.resume a {
  display: block;
  color: var(--navy);
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

/* ---------- search modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(15, 23, 42, .45);
  backdrop-filter: blur(4px);
  padding: 8vh 16px 16px
}

.modal.on {
  display: block;
  animation: fade .15s
}

@keyframes fade {
  from {
    opacity: 0
  }
}

.sbox {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 84vh
}

.sin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line)
}

.sin svg {
  width: 22px;
  height: 22px;
  color: var(--blue)
}

.sin input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 18px;
  font-family: inherit;
  color: var(--navy);
  background: transparent
}

.sin,
.sfilters,
.sfoot {
  flex: none
}

.sfilters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: #FBFDFF
}

.sfilters button {
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--slate)
}

.sfilters button.on {
  background: var(--blue2);
  border-color: var(--blue2);
  color: #fff
}

.sres {
  overflow: auto;
  padding: 8px
}

.sr-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  color: inherit;
  cursor: pointer
}

.sr-item.sel,
.sr-item:hover {
  background: var(--sky)
}

.sr-item .ci {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none
}

.sr-item .ci svg {
  width: 18px;
  height: 18px
}

.sr-item b {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35
}

.sr-item small {
  display: block;
  font-size: 12px;
  color: var(--blue2);
  font-weight: 650;
  margin: 1px 0 3px
}

.sr-item span {
  display: block;
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.4
}

mark {
  background: #E9F5D0;
  color: inherit;
  border-radius: 3px;
  padding: 0 1px
}

.sfoot {
  display: flex;
  gap: 16px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--slate);
  background: #FBFDFF;
  flex-wrap: wrap
}

.sempty {
  padding: 40px 20px;
  text-align: center;
  color: var(--slate)
}

.sempty svg {
  width: 44px;
  height: 44px;
  color: var(--sky3)
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: rgba(15, 23, 42, .88);
  padding: 3vh 3vw;
  cursor: zoom-out
}

.lightbox.on {
  display: grid;
  place-items: center
}

.lightbox img {
  max-width: 100%;
  max-height: 94vh;
  border-radius: 12px;
  background: #fff
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(30px);
  opacity: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 130;
  transition: .25s;
  pointer-events: none
}

.toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0)
}

.scrim {
  display: none
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s, transform .6s
}

.reveal.in {
  opacity: 1;
  transform: none
}

.fadein {
  animation: fadeup .35s ease both
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(10px)
  }
}

/* ---------- responsive ---------- */
@media (max-width:1080px) {

  .hero .in,
  .split {
    grid-template-columns: 1fr
  }

  .herovis {
    max-width: 480px;
    margin: 0 auto;
    width: 100%
  }

  .benefits,
  .how {
    grid-template-columns: 1fr 1fr
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:900px) {
  .reader {
    grid-template-columns: 1fr
  }

  aside.side {
    position: fixed;
    left: 0;
    top: var(--hdr);
    bottom: 0;
    width: min(88vw, 340px);
    z-index: 60;
    transform: translateX(-105%);
    transition: transform .25s;
    box-shadow: var(--shadow-lg)
  }

  body.drawer aside.side {
    transform: none
  }

  body.drawer .scrim {
    display: block;
    position: fixed;
    inset: var(--hdr) 0 0 0;
    background: rgba(15, 23, 42, .35);
    z-index: 55
  }

  #menuBtn {
    display: inline-flex
  }
}

@media (max-width:640px) {
  .brand small {
    display: none
  }

  .brand b {
    font-size: 14px
  }

  .searchbtn span,
  .searchbtn kbd,
  .hbtn .lbl {
    display: none
  }

  .searchbtn {
    flex: 0 0 42px;
    justify-content: center;
    padding: 0
  }

  header.top {
    gap: 6px;
    padding: 0 10px
  }

  .benefits,
  .how,
  .facts {
    grid-template-columns: 1fr
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .stat {
    padding: 14px
  }

  .stat b {
    font-size: 24px
  }

  .stat .ci {
    width: 40px;
    height: 40px
  }

  .qhead {
    padding: 22px 20px
  }

  .qicon {
    display: none
  }

  .example {
    padding: 78px 18px 18px
  }

  .pager {
    grid-template-columns: 1fr
  }

  .floatnav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px
  }

  .steps {
    grid-template-columns: 1fr
  }

  .step {
    flex-direction: row;
    text-align: left;
    gap: 14px;
    padding: 0
  }

  .step.eol::after {
    display: block
  }

  .step:last-child::after {
    display: none
  }

  .step p {
    margin: 0
  }

  .step::after {
    top: 54px;
    left: 26px;
    right: auto;
    width: 3px;
    height: 14px;
    background: var(--sky3)
  }

  .step .num {
    right: auto;
    left: 36px
  }

  .vs {
    grid-template-columns: 1fr
  }

  .vs .badge {
    margin: 0 auto
  }

  .cta .box {
    padding: 30px
  }

  .hero {
    padding: 40px 18px 70px
  }

  .bigsearch {
    height: auto;
    flex-wrap: wrap;
    padding: 12px 12px 12px 16px;
    cursor: pointer
  }

  .bigsearch .btn {
    width: 100%;
    justify-content: center
  }

  .fcard {
    transform: scale(.82)
  }

  .chero {
    padding: 24px
  }

  .chero .big {
    font-size: 54px
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}