:root {
  --color-primary: #075ee9;
  --color-primary-deep: #001c58;
  --color-primary-soft: #dceaff;
  --color-secondary: #2c8cff;
  --color-dark: #06184a;
  --color-text: #071849;
  --color-muted: #5c6f98;
  --color-light: #ffffff;
  --color-border: rgba(19, 85, 184, .16);
  --shadow-soft: 0 18px 40px rgba(0, 38, 108, .12);
  --shadow-card: 0 14px 32px rgba(8, 42, 99, .13);
  --radius-lg: 18px;
  --radius-md: 12px;
  --sidebar-width: 270px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background: #eef6ff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.fa-solid,
.fa-regular,
.fa-brands {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.fa-solid {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fa-regular {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
}

.fa-brands {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}

.site-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 36px 24px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 55% 0%, rgba(35, 126, 255, .36), transparent 34%),
    linear-gradient(180deg, #001940 0%, #002b6d 52%, #001b47 100%);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .08);
}

.brand {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 38px;
}

.brand-mark {
  width: 132px;
  height: 136px;
  object-fit: contain;
  margin-bottom: 2px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .22));
}

.brand-kicker {
  display: block;
  margin-bottom: 8px;
  color: #24a9ff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.brand-name {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}

.side-nav {
  display: grid;
  gap: 14px;
}

.side-link {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.side-link i {
  width: 28px;
  text-align: center;
  font-size: 23px;
}

.side-link:hover,
.side-link:focus-visible {
  transform: translateX(3px);
  background: rgba(255, 255, 255, .1);
  outline: 0;
}

.side-link.active {
  min-height: 56px;
  background: linear-gradient(135deg, #0876ff 0%, #0753df 100%);
  box-shadow: 0 14px 28px rgba(0, 74, 193, .34);
}

.side-divider {
  height: 1px;
  margin: 8px 0 6px;
  background: rgba(255, 255, 255, .24);
}

.side-quote {
  margin: 58px 0 0;
  padding: 34px 14px 0;
  color: #fff;
  text-align: center;
}

.side-quote p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.75;
}

.side-quote i {
  color: #1476ff;
  font-size: 20px;
}

.side-quote i:last-child {
  margin-left: 155px;
}

.menu-toggle {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 20;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 12px 24px rgba(5, 65, 160, .24);
  cursor: pointer;
  touch-action: manipulation;
}

.site-topbar {
  display: none;
}

.menu-backdrop {
  display: none;
}

.main-canvas {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #1976ed #e8f1ff;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  padding: 86px 68px 90px 70px;
  background:
    linear-gradient(164deg, rgba(255, 255, 255, .98) 0%, rgba(250, 253, 255, .98) 52%, rgba(232, 242, 255, .98) 100%);
}

.main-canvas::-webkit-scrollbar {
  width: 11px;
}

.main-canvas::-webkit-scrollbar-track {
  background: #e8f1ff;
  box-shadow: inset 1px 0 0 rgba(7, 94, 233, .08);
}

.main-canvas::-webkit-scrollbar-thumb {
  min-height: 52px;
  border: 3px solid #e8f1ff;
  border-radius: 999px;
  background: linear-gradient(180deg, #3b98ff 0%, #075ee9 100%);
}

.main-canvas::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #167fff 0%, #004cc7 100%);
}

.main-canvas.is-project-view {
  overflow-y: hidden;
  scrollbar-gutter: auto;
}

.main-canvas::before,
.main-canvas::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.main-canvas::before {
  right: -190px;
  bottom: 62px;
  width: 760px;
  height: 250px;
  background: linear-gradient(155deg, transparent 18%, rgba(63, 137, 235, .09) 19%, rgba(63, 137, 235, .09) 54%, transparent 55%);
  transform: rotate(-8deg);
}

.main-canvas::after {
  right: 0;
  bottom: 67px;
  left: 470px;
  height: 205px;
  background:
    radial-gradient(ellipse at 95% 82%, rgba(4, 100, 235, .11), transparent 55%),
    linear-gradient(173deg, transparent 38%, rgba(7, 96, 225, .08) 39%, rgba(7, 96, 225, .08) 67%, transparent 68%);
}

.hero-section,
.books-section,
.benefits-grid {
  position: relative;
  z-index: 1;
}

.content-fit {
  position: relative;
  z-index: 1;
}

.hero-section {
  min-height: 410px;
}

.mobile-hero-intro {
  display: none;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--color-primary-deep);
  font-size: clamp(48px, 4.5vw, 66px);
  font-weight: 900;
  line-height: .96;
  text-transform: uppercase;
}

.hero-copy h1 .hero-line {
  color: var(--color-primary-deep);
  white-space: nowrap;
}

.hero-copy h1 .hero-accent {
  color: var(--color-primary);
}

.title-rule {
  display: block;
  width: 62px;
  height: 5px;
  margin: 22px 0 20px;
  border-radius: 999px;
  background: var(--color-primary);
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-text {
  margin: 0;
  max-width: 595px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.85;
}

.story-card {
  position: absolute;
  top: -60px;
  right: 28px;
  width: 500px;
  min-height: 680px;
  padding-top: 92px;
  pointer-events: none;
}

.head-outline {
  position: absolute;
  inset: -10px auto auto -70px;
  width: 650px;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.story-content {
  position: relative;
  z-index: 2;
  width: 285px;
  margin: 0 0 0 118px;
  pointer-events: auto;
}

.story-content h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.small-rule {
  display: block;
  width: 50px;
  height: 3px;
  margin: 18px 0 16px;
  border-radius: 999px;
  background: var(--color-primary);
}

.story-content p {
  margin: 0 0 18px;
  color: #0e2355;
  font-size: 14px;
  line-height: 1.65;
}

.portrait-frame {
  width: 184px;
  min-height: 252px;
  margin: 34px 0 0 36px;
  padding: 8px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 48, 98, .18);
}

.portrait-link {
  display: block;
  overflow: hidden;
  border-radius: 11px;
}

.portrait-link:focus-visible {
  outline: 3px solid rgba(7, 94, 233, .42);
  outline-offset: 3px;
}

.portrait-frame img {
  width: 100%;
  height: 208px;
  border-radius: 11px;
  object-fit: cover;
  object-position: center 44%;
  transition: transform .25s ease;
}

.portrait-link:hover img,
.portrait-link:focus-visible img {
  transform: scale(1.035);
}

.portrait-frame figcaption {
  margin: 8px -2px 0;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.portrait-frame figcaption i {
  margin-left: 4px;
  color: var(--color-primary);
  font-size: 10px;
  transition: transform .2s ease;
}

.portrait-link:hover figcaption i,
.portrait-link:focus-visible figcaption i {
  transform: translateX(3px);
}

.books-section {
  width: min(560px, 100%);
  margin-top: 4px;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.section-title-row h2 {
  margin: 0;
  color: var(--color-dark);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-rule {
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-primary);
}

.book-controls {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.book-controls button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(7, 94, 233, .3);
  border-radius: 50%;
  color: var(--color-primary);
  background: rgba(255, 255, 255, .74);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.book-controls button:hover {
  transform: translateY(-1px);
  background: #fff;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 164px);
  gap: 30px;
}

.book-cover {
  position: relative;
  overflow: hidden;
  height: 224px;
  border: 6px solid #fff;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(4, 40, 105, .18);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.book-cover:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(4, 40, 105, .24);
}

.book-cover-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.book-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book-cover h3,
.book-cover p,
.book-cover .success-ribbon,
.book-cover .book-number {
  position: relative;
  z-index: 2;
}

.book-cover h3 {
  margin: 16px 8px 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.book-cover p {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.book-cover-dark {
  color: #fff;
  background:
    radial-gradient(circle at 50% 60%, rgba(32, 122, 255, .58), transparent 28%),
    linear-gradient(160deg, #021846 0%, #001f63 100%);
}

.book-cover-dark::after {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 22px;
  height: 1px;
  content: "";
  background: #ffd21d;
  transform: rotate(-24deg);
}

.book-cover-dark p {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  color: #fff;
  font-size: 11px;
}

.book-cover-dark strong {
  color: #1f9cff;
}

.pyramid-art {
  position: absolute;
  top: 76px;
  left: 38px;
  width: 92px;
  height: 92px;
  transform: perspective(160px) rotateX(58deg) rotateZ(-45deg);
}

.pyramid-art span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(119, 196, 255, .95) 0 48%, rgba(13, 95, 220, .84) 49% 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  box-shadow: inset -22px -12px 28px rgba(0, 21, 82, .35);
}

.book-cover-light {
  color: var(--color-dark);
  background:
    linear-gradient(180deg, #f8fbff 0 30%, transparent 31%),
    linear-gradient(140deg, rgba(56, 167, 255, .28), transparent 36%),
    linear-gradient(40deg, transparent 42%, rgba(14, 102, 228, .18) 43% 74%, transparent 75%),
    #eef7ff;
}

.book-cover-light h3 {
  color: var(--color-dark);
}

.book-cover-light p {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  color: var(--color-dark);
}

.mountain-art {
  position: absolute;
  right: 0;
  bottom: 42px;
  left: 0;
  height: 84px;
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(0, 86, 218, .42) 29% 50%, transparent 51%),
    linear-gradient(35deg, rgba(15, 151, 255, .33) 0 32%, transparent 33%),
    linear-gradient(145deg, transparent 0 45%, rgba(30, 113, 232, .38) 46% 68%, transparent 69%),
    linear-gradient(180deg, rgba(117, 202, 255, .48), rgba(14, 113, 232, .16));
}

.book-cover-success {
  color: var(--color-dark);
  background:
    radial-gradient(circle at 62% 62%, rgba(4, 106, 232, .2), transparent 26%),
    linear-gradient(180deg, #fff 0 66%, #eef7ff 67% 100%);
}

.success-ribbon {
  width: 120px;
  margin: 32px 0 0 10px;
  padding: 7px 8px;
  color: #fff;
  background: #ff641e;
  border: 4px solid #fff;
  box-shadow: 0 4px 8px rgba(191, 68, 11, .22);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-17deg);
}

.book-number {
  position: absolute;
  top: 70px;
  right: 30px;
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 900;
}

.arrow-art {
  position: absolute;
  right: 24px;
  bottom: 40px;
  width: 70px;
  height: 100px;
  background: linear-gradient(145deg, #58b9ff, #075ee9 72%);
  clip-path: polygon(38% 0, 100% 0, 78% 100%, 24% 78%, 58% 67%, 0 36%);
  transform: rotate(18deg);
}

.book-cover-success p {
  position: absolute;
  bottom: 14px;
  left: 10px;
  color: var(--color-dark);
  text-align: left;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.benefit-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 139px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(4, 40, 105, .2);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-size: 38px;
}

.benefit-card h2 {
  margin: 0 0 8px;
  color: var(--color-dark);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-card p {
  margin: 0;
  max-width: 300px;
  color: #0c2258;
  font-size: 14px;
  line-height: 1.65;
}

.content-page[hidden] {
  display: none;
}

.placeholder-page {
  position: relative;
  z-index: 2;
}

.placeholder-page.is-active {
  animation: page-enter .28s ease both;
}

.placeholder-content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.placeholder-header {
  max-width: 790px;
  margin-bottom: 42px;
}

.placeholder-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.placeholder-header h1 {
  margin: 16px 0 14px;
  color: var(--color-primary-deep);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.placeholder-header h1::after {
  display: block;
  width: 62px;
  height: 5px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--color-primary);
  content: "";
}

.placeholder-header p {
  margin: 0;
  max-width: 720px;
  color: #33466f;
  font-size: 17px;
  line-height: 1.7;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.placeholder-card {
  min-height: 255px;
  padding: 28px;
  border: 1px solid rgba(7, 94, 233, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-card);
}

.placeholder-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border-radius: 14px;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-size: 25px;
}

.placeholder-number {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.placeholder-card h2 {
  margin: 0 0 10px;
  color: var(--color-dark);
  font-size: 20px;
}

.placeholder-card p {
  margin: 0;
  color: #4c5f85;
  font-size: 14px;
  line-height: 1.65;
}

.placeholder-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px dashed rgba(7, 94, 233, .3);
  border-radius: 12px;
  color: var(--color-primary);
  background: rgba(220, 234, 255, .54);
}

.placeholder-note > i {
  font-size: 24px;
}

.placeholder-note strong,
.placeholder-note span {
  display: block;
}

.placeholder-note strong {
  margin-bottom: 3px;
  color: var(--color-dark);
  font-size: 14px;
}

.placeholder-note span {
  color: #4c5f85;
  font-size: 13px;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.document-page {
  position: relative;
  z-index: 2;
  padding-bottom: 28px;
}

.document-page.is-active {
  animation: page-enter .28s ease both;
}

.document-content {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.document-hero {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 34px;
}

.document-hero > div {
  min-width: 0;
}

.document-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, #3296ff 0%, #075ee9 72%);
  box-shadow: 0 16px 30px rgba(7, 94, 233, .25);
  font-size: 31px;
}

.document-hero h1 {
  margin: 12px 0 13px;
  color: var(--color-primary-deep);
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.document-hero p {
  margin: 0;
  color: #51658d;
  font-size: 15px;
  line-height: 1.6;
}

.document-source-title {
  display: block;
  margin-top: 5px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
}

.document-pages {
  display: grid;
  gap: 24px;
}

.document-back-top {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 11px;
  width: min(390px, 70%);
  padding: 0;
  border: 0;
  color: var(--color-primary);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.document-back-top::before,
.document-back-top::after {
  flex: 1;
  height: 1px;
  background: rgba(7, 94, 233, .25);
  content: "";
}

.back-top-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(7, 94, 233, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 7px 18px rgba(7, 67, 164, .1);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.document-back-top:hover .back-top-icon,
.document-back-top:focus-visible .back-top-icon {
  color: #fff;
  background: var(--color-primary);
  transform: translateY(-3px);
}

.document-back-top:focus-visible {
  border-radius: 999px;
  outline: 2px solid rgba(7, 94, 233, .32);
  outline-offset: 5px;
}

.source-page {
  position: relative;
  padding: 44px 50px 48px;
  border: 1px solid rgba(7, 94, 233, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 38px rgba(8, 42, 99, .11);
}

.source-page::before {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--color-primary), #6ab8ff);
  content: "";
}

.source-page-label {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.source-page p {
  margin: 0 0 19px;
  color: #1f315c;
  font-size: 16px;
  line-height: 1.85;
}

.source-page p:last-child,
.source-page > :last-child {
  margin-bottom: 0;
}

.document-heading {
  position: relative;
  margin: 38px 0 20px;
  padding: 14px 18px 14px 22px;
  border-left: 5px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
  color: var(--color-primary-deep);
  background: linear-gradient(90deg, rgba(220, 234, 255, .82), rgba(220, 234, 255, .2));
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.25;
}

.source-page .source-page-label + .document-heading {
  margin-top: 0;
}

.source-page > .document-heading:first-child {
  margin-top: 0;
}

.document-subheading {
  margin: 30px 0 13px;
  color: var(--color-primary);
  font-size: 18px;
}

.document-list {
  display: grid;
  gap: 10px;
  margin: 6px 0 24px;
  padding: 0;
  list-style: none;
}

.document-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  border-radius: 10px;
  color: #263c69;
  background: #f2f7ff;
  font-size: 15px;
  line-height: 1.65;
}

.document-list li::before {
  position: absolute;
  top: 17px;
  left: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(7, 94, 233, .1);
  content: "";
}

.document-callout {
  position: relative;
  margin: 24px 0;
  padding: 24px 28px 24px 58px;
  border: 1px solid rgba(7, 94, 233, .17);
  border-radius: 14px;
  color: var(--color-primary-deep);
  background: linear-gradient(135deg, #edf5ff, #f8fbff);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.document-callout::before {
  position: absolute;
  top: 22px;
  left: 23px;
  color: var(--color-primary);
  content: "“";
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.module-outline {
  margin: 0 0 28px;
  padding: 28px 30px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(66, 159, 255, .48), transparent 32%),
    linear-gradient(135deg, #00235d, #075ee9);
  box-shadow: 0 18px 34px rgba(0, 46, 125, .2);
}

.module-outline h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 19px;
  text-transform: uppercase;
}

.module-outline ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding-left: 23px;
}

.module-outline li {
  padding-left: 4px;
  color: rgba(255, 255, 255, .91);
  font-size: 13px;
  line-height: 1.55;
}

.module-outline li::marker {
  color: #68beff;
  font-weight: 900;
}

.document-figure {
  margin: 30px auto 8px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 46, 125, .16);
}

.document-figure img {
  width: 100%;
  border-radius: 10px;
}

.document-figure figcaption {
  padding: 12px 8px 4px;
  color: var(--color-primary-deep);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.author-photo {
  float: right;
  width: min(310px, 45%);
  margin: 0 0 26px 34px;
  padding: 9px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 46, 125, .16);
}

.author-photo img {
  width: 100%;
  border-radius: 10px;
}

.author-page .document-callout {
  margin-right: 344px;
}

.author-page {
  scroll-margin-top: 24px;
}

.author-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 344px 24px 0;
}

.author-credentials > div {
  padding: 18px;
  border-radius: 12px;
  background: #f2f7ff;
}

.author-credentials h2 {
  margin: 0 0 10px;
  color: var(--color-primary-deep);
  font-size: 14px;
  text-transform: uppercase;
}

.author-credentials ul,
.author-contacts {
  margin: 0;
  padding-left: 18px;
  color: #334a78;
  font-size: 13px;
  line-height: 1.65;
}

.author-contacts {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 18px 22px;
  border-radius: 12px;
  background: #f2f7ff;
  list-style: none;
}

.author-contacts li {
  position: relative;
  padding-left: 14px;
}

.author-contacts li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  content: "";
}

.bottom-quote {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 67px;
  padding: 14px 40px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 0%, rgba(34, 128, 255, .55), transparent 34%),
    linear-gradient(90deg, #001c4d 0%, #003581 47%, #005bd7 100%);
}

.bottom-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.bottom-quote i {
  margin: 0 8px;
  color: #1a84ff;
}

.quote-line {
  width: 52px;
  height: 2px;
  background: #1682ff;
}

@media (min-width: 981px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .site-shell {
    grid-template-columns: clamp(232px, 17.58vw, var(--sidebar-width)) minmax(0, 1fr);
    height: 100vh;
    min-height: 0;
    overflow: hidden;
  }

  .sidebar {
    min-height: 0;
    height: 100vh;
    padding: clamp(18px, 3.52vh, 36px) clamp(18px, 1.56vw, 24px) clamp(18px, 3.33vh, 34px);
    overflow: hidden;
  }

  .brand {
    margin-bottom: clamp(16px, 3.72vh, 38px);
  }

  .brand-mark {
    width: clamp(86px, 12.9vh, 132px);
    height: clamp(90px, 13.3vh, 136px);
  }

  .brand-kicker {
    margin-bottom: clamp(4px, .78vh, 8px);
    font-size: clamp(13px, 1.66vh, 17px);
  }

  .brand-name {
    font-size: clamp(16px, 1.95vh, 20px);
  }

  .side-nav {
    gap: clamp(6px, 1.37vh, 14px);
  }

  .side-link,
  .side-link.active {
    min-height: clamp(38px, 5.47vh, 56px);
    padding: 0 clamp(12px, 1.17vw, 18px);
    font-size: clamp(13px, 1.56vh, 16px);
  }

  .side-link {
    grid-template-columns: clamp(28px, 3.32vh, 34px) 1fr;
  }

  .side-link i {
    width: clamp(22px, 2.73vh, 28px);
    font-size: clamp(17px, 2.24vh, 23px);
  }

  .side-divider {
    margin: clamp(4px, .78vh, 8px) 0 clamp(3px, .58vh, 6px);
  }

  .side-quote {
    margin-top: auto;
    padding-top: clamp(8px, 2.25vh, 34px);
  }

  .side-quote p {
    margin: clamp(5px, .98vh, 10px) 0;
    font-size: clamp(11px, 1.37vh, 14px);
    line-height: 1.55;
  }

  .side-quote i {
    font-size: clamp(15px, 1.95vh, 20px);
  }

  .side-quote i:last-child {
    margin-left: clamp(96px, 15.14vh, 155px);
  }

  .main-canvas {
    --canvas-top: clamp(56px, 8.4vh, 86px);
    --canvas-x: clamp(52px, 4.42vw, 70px);
    --canvas-bottom: 90px;

    height: 100vh;
    min-height: 0;
    padding: var(--canvas-top) var(--canvas-x) var(--canvas-bottom);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .content-fit {
    --fit-scale: 1;
    --fit-width: 100%;

    transform: scale(var(--fit-scale));
    transform-origin: top left;
    width: var(--fit-width);
  }

  .bottom-quote {
    --footer-height: 67px;

    left: clamp(232px, 17.58vw, var(--sidebar-width));
    min-height: var(--footer-height);
    padding-block: clamp(10px, 1.37vh, 14px);
  }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .hero-copy {
    max-width: 560px;
  }
}

@media (min-width: 981px) and (max-height: 900px) {
  .main-canvas {
    --canvas-top: 50px;
    --canvas-x: clamp(44px, 3.75vw, 58px);
    --canvas-bottom: 70px;
  }

  .content-fit {
    --fit-scale: .86;
    --fit-width: 116.28%;
  }

  .bottom-quote {
    --footer-height: 58px;
  }

  .bottom-quote p {
    font-size: 15px;
  }
}

@media (min-width: 981px) and (max-height: 800px) {
  .main-canvas {
    --canvas-top: 34px;
    --canvas-x: clamp(34px, 3.38vw, 50px);
    --canvas-bottom: 58px;
  }

  .content-fit {
    --fit-scale: .74;
    --fit-width: 135.14%;
  }

  .bottom-quote {
    --footer-height: 54px;
    gap: 20px;
  }

  .bottom-quote p {
    font-size: 14px;
  }

  .quote-line {
    width: 42px;
  }
}

@media (min-width: 981px) and (max-height: 720px) {
  .main-canvas {
    --canvas-top: 24px;
    --canvas-x: clamp(26px, 2.9vw, 42px);
    --canvas-bottom: 52px;
  }

  .content-fit {
    --fit-scale: .67;
    --fit-width: 149.26%;
  }

  .bottom-quote {
    --footer-height: 50px;
    gap: 16px;
    padding-inline: 26px;
  }

  .bottom-quote p {
    font-size: 13px;
  }
}

@media (min-width: 981px) and (max-height: 680px) {
  .content-fit {
    --fit-scale: .62;
    --fit-width: 161.3%;
  }

  .bottom-quote p {
    font-size: 12px;
  }
}

@media (max-width: 980px) {
  .site-shell {
    display: block;
  }

  .site-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 10px 88px;
    color: #fff;
    background:
      radial-gradient(circle at 88% 0%, rgba(64, 151, 255, .44), transparent 34%),
      linear-gradient(90deg, #001c4d 0%, #003581 52%, #075ee9 100%);
    box-shadow: 0 10px 24px rgba(0, 38, 108, .2);
  }

  .topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #fff;
  }

  .topbar-brand:focus-visible {
    border-radius: 8px;
    outline: 2px solid rgba(255, 255, 255, .72);
    outline-offset: 5px;
  }

  .topbar-brand-mark {
    flex: 0 0 auto;
    width: 56px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .2));
  }

  .topbar-brand-text {
    display: grid;
    color: #fff;
    line-height: 1.04;
    text-align: left;
    text-transform: uppercase;
  }

  .topbar-brand-text strong {
    margin-bottom: 3px;
    color: #5fbdff;
    font-size: 12.5px;
    font-weight: 900;
    letter-spacing: .05em;
  }

  .topbar-brand-text span {
    display: block;
    font-size: 11.5px;
    font-weight: 900;
  }

  .menu-toggle {
    top: 14px;
    left: 14px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--color-primary);
    background: rgba(255, 255, 255, .97);
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: min(88vw, 320px);
    height: 100dvh;
    min-height: 0;
    padding: 18px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(87, 166, 255, .8) rgba(255, 255, 255, .08);
    scrollbar-width: thin;
    transform: translateX(-102%);
    transition: transform .25s ease;
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(0, 17, 52, .58);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }

  .menu-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar::-webkit-scrollbar {
    width: 6px;
  }

  .sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .06);
  }

  .sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(87, 166, 255, .78);
  }

  .sidebar .brand {
    margin-bottom: 14px;
  }

  .sidebar .brand-mark {
    width: 76px;
    height: 78px;
    margin-bottom: 0;
  }

  .sidebar .brand-kicker {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .sidebar .brand-name {
    font-size: 14px;
  }

  .sidebar .side-nav {
    gap: 5px;
  }

  .sidebar .side-link,
  .sidebar .side-link.active {
    grid-template-columns: 28px 1fr;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .sidebar .side-link i {
    width: 22px;
    font-size: 17px;
  }

  .sidebar .side-divider {
    margin: 4px 0 3px;
  }

  .sidebar .side-quote {
    margin-top: 16px;
    padding: 12px 8px 0;
  }

  .sidebar .side-quote p {
    margin: 6px 0;
    font-size: 11px;
    line-height: 1.5;
  }

  .sidebar .side-quote i {
    font-size: 15px;
  }

  .sidebar .side-quote i:last-child {
    margin-left: 120px;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .main-canvas {
    padding: 104px 24px 130px;
  }

  .main-canvas.is-project-view {
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

  .placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-content {
    width: min(860px, 100%);
  }

  .hero-section {
    min-height: 0;
  }

  .story-card {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 500px);
    min-height: 700px;
    padding-top: 86px;
    margin: 44px auto 0;
    transform: none;
  }

  .head-outline {
    left: 50%;
    width: 590px;
    max-width: none;
    transform: translateX(-50%);
  }

  .story-content {
    width: min(280px, calc(100% - 96px));
    margin: 0 auto;
  }

  .books-section {
    width: 100%;
    margin-top: 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .book-grid {
    grid-template-columns: repeat(3, minmax(130px, 164px));
    justify-content: center;
    gap: 18px;
  }

  .bottom-quote {
    position: fixed;
    left: 0;
    margin: 0;
  }
}

@media (max-width: 980px) and (max-height: 680px) {
  .sidebar {
    padding-block: 12px;
  }

  .sidebar .brand-mark {
    width: 58px;
    height: 58px;
  }

  .sidebar .brand-name {
    font-size: 12px;
  }

  .sidebar .side-link,
  .sidebar .side-link.active {
    min-height: 38px;
  }

  .sidebar .side-quote {
    display: none;
  }
}

@media (max-width: 680px) {
  .main-canvas {
    padding-inline: 18px;
    padding-bottom: 86px;
  }

  .placeholder-header {
    margin-bottom: 30px;
  }

  .placeholder-header h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .placeholder-header p {
    font-size: 15px;
  }

  .placeholder-grid {
    grid-template-columns: 1fr;
  }

  .placeholder-card {
    min-height: 0;
  }

  .document-hero {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 15px;
    margin-bottom: 26px;
  }

  .document-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    font-size: 24px;
  }

  .document-hero h1 {
    margin-top: 10px;
    font-size: clamp(28px, 8vw, 38px);
    overflow-wrap: anywhere;
  }

  .document-hero p,
  .document-source-title {
    font-size: 12px;
  }

  .document-pages {
    gap: 18px;
  }

  .source-page {
    padding: 32px 22px 34px;
    border-radius: 14px;
  }

  .source-page::before {
    right: 18px;
    left: 18px;
  }

  .source-page p {
    font-size: 15px;
    line-height: 1.75;
  }

  .document-heading {
    margin-top: 30px;
    padding: 12px 13px 12px 16px;
    font-size: 19px;
  }

  .document-callout {
    padding: 20px 20px 20px 48px;
    font-size: 15px;
  }

  .document-callout::before {
    left: 18px;
  }

  .document-list li {
    padding-left: 39px;
    font-size: 14px;
  }

  .module-outline {
    padding: 23px 22px;
  }

  .module-outline ol {
    grid-template-columns: 1fr;
  }

  .author-photo {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }

  .author-page .document-callout {
    margin-right: 0;
  }

  .author-credentials {
    grid-template-columns: 1fr;
    margin-right: 0;
  }

  .author-contacts {
    display: grid;
  }

  .hero-section {
    position: relative;
  }

  .hero-copy {
    position: relative;
    overflow: visible;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 14px 0 8px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-copy > * {
    position: relative;
    z-index: 1;
  }

  .hero-copy h1 {
    color: var(--color-primary-deep);
    font-size: clamp(34px, 9.2vw, 42px);
    line-height: 1.02;
    text-shadow: none;
  }

  .hero-copy h1 .hero-line {
    color: var(--color-primary-deep);
    font-size: .82em;
    white-space: nowrap;
  }

  .hero-copy h1 .hero-accent {
    color: var(--color-primary);
    font-size: .86em;
  }

  .hero-copy .title-rule {
    width: 54px;
    height: 4px;
    margin: 18px 0 17px;
    background: var(--color-primary);
  }

  .hero-lead {
    max-width: 360px;
    margin-bottom: 0;
    color: #27406d;
    font-size: 18px;
    line-height: 1.38;
  }

  .hero-copy .hero-text {
    display: none;
  }

  .mobile-hero-intro {
    display: block;
    margin: 18px 0 0;
    padding: 24px 22px;
    border: 1px solid rgba(7, 94, 233, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 26px rgba(8, 42, 99, .09);
  }

  .mobile-hero-intro > span {
    display: block;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .mobile-hero-intro p {
    margin: 0;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.75;
  }

  .book-grid {
    grid-template-columns: minmax(0, 188px);
  }

  .book-cover {
    height: 248px;
  }

  .benefit-card {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 20px 18px;
  }

  .benefit-icon {
    width: 64px;
    height: 64px;
    font-size: 30px;
  }

  .bottom-quote {
    gap: 12px;
    min-height: 58px;
    padding: 8px 14px;
  }

  .bottom-quote p {
    max-width: 360px;
    font-size: 12px;
    line-height: 1.35;
  }

  .bottom-quote i {
    margin: 0 4px;
  }

  .quote-line {
    display: none;
  }
}

@media (max-width: 420px) {
  .story-card {
    min-height: 700px;
    padding-top: 82px;
  }

  .story-content {
    width: min(270px, calc(100% - 86px));
  }

  .portrait-frame {
    margin-left: auto;
    margin-right: auto;
  }
}
