/* All content is visible by default. Entrance effects are optional Web Animations. */
html {
  scroll-padding-top: 116px;
}
.cinematic .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000e;
  transition:
    background 0.25s,
    box-shadow 0.25s;
  isolation: isolate;
}
@supports (backdrop-filter: blur(16px)) {
  .cinematic .site-header {
    background: #000b;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}
.cinematic .site-header.has-scrolled {
  box-shadow: 0 8px 36px #0007;
  border-bottom-color: #28415c;
}
.reading-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1656a6, #70b6ff);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.desktop-nav a {
  position: relative;
  padding: 12px 0;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #6bb0ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.desktop-nav a[aria-current="location"] {
  color: #a7ceff;
}
.desktop-nav a[aria-current="location"]::after,
.desktop-nav a:hover::after {
  transform: scaleX(1);
}
#mobile-nav a[aria-current="location"] {
  color: #8fc2ff;
}
.menu-toggle span {
  transition: transform 0.25s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.cinematic #mobile-nav {
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #030913f5;
  border-color: #2c4668;
}
.chapter-nav {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chapter-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.chapter-nav a::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6580a2;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}
.chapter-nav a[aria-current="location"]::after {
  background: #91c6ff;
  box-shadow: 0 0 13px #368aff;
  transform: scale(1.65);
}
.chapter-nav span {
  position: absolute;
  right: 38px;
  white-space: nowrap;
  background: #040b16f2;
  border: 1px solid #2b4569;
  color: #c7ddf9;
  padding: 5px 12px;
  font: 12px/1.8 var(--sans);
  pointer-events: none;
  opacity: 0;
  transform: translateX(4px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.chapter-nav a:hover span,
.chapter-nav a:focus-visible span {
  opacity: 1;
  transform: none;
}
.cinematic .steps > li,
.cinematic .principles > article {
  transition: border-color 0.6s;
}
.cinematic .steps > li.is-revealed,
.cinematic .principles > article.is-revealed {
  border-top-color: #4674a7;
}
.cinematic .price-card {
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
@media (hover: hover) {
  .cinematic .price-card:hover {
    border-color: #5a8aca;
    box-shadow: 0 12px 45px #0d33602b;
  }
  .cinematic summary:hover {
    color: #97c5ff;
  }
}
.cinematic summary {
  min-height: 64px;
  transition: color 0.2s;
}
.cinematic summary span {
  transition: transform 0.25s;
}
.cinematic a:focus-visible,
.cinematic button:focus-visible,
.cinematic summary:focus-visible {
  outline: 2px solid #acd4ff;
  outline-offset: 6px;
}
@media (max-width: 1399px) {
  .chapter-nav {
    display: none;
  }
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 96px;
  }
  .cinematic .site-header {
    height: 72px;
  }
  .cinematic .menu-toggle {
    width: 32px;
    min-height: 44px;
  }
  .cinematic #mobile-nav a {
    min-height: 48px;
    display: block;
    line-height: 1.8;
    padding: 12px 0;
  }
  .reading-progress {
    height: 1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .chapter-nav,
  .memory-next {
    display: none !important;
  }
}

/* Clear controls, quiet reading surfaces: one hierarchy across both pages. */
.cinematic .site-header {
  gap: 20px;
}
.cinematic .desktop-nav {
  gap: 6px;
  font-size: 14px;
}
.cinematic .desktop-nav a,
.cinematic .login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #364353;
  border-radius: 7px;
  background: #101720;
  color: #dce4ee;
  white-space: nowrap;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.cinematic .desktop-nav a::after {
  content: none;
}
.cinematic .desktop-nav a[aria-current],
.cinematic #mobile-nav a[aria-current] {
  background: #193f68;
  border-color: #77ade5;
  color: #fff;
  box-shadow: inset 0 0 0 1px #77ade530;
}
.cinematic .desktop-nav a:hover,
.cinematic .login:hover {
  background: #23344b;
  border-color: #7796b9;
  color: #fff;
}
.cinematic .header-actions {
  gap: 12px;
}
.cinematic .button {
  border-radius: 7px;
  background: linear-gradient(115deg, #1455a3, #1768ba);
  border-color: #76b3f4;
  color: #fff;
  box-shadow:
    inset 0 1px 0 #b4dbff30,
    0 5px 22px #0064d025;
}
.cinematic .button.small {
  min-height: 44px;
  font-size: 14px;
}
.cinematic .button:active,
.cinematic .desktop-nav a:active,
.cinematic .login:active {
  transform: translateY(1px);
}
.cinematic .text-link,
.cinematic .memory-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid #537295;
  border-radius: 7px;
  background: #0c1826;
  color: #d4e8ff;
  font: 14px/1.7 var(--sans);
}
.cinematic .text-link:hover,
.cinematic .memory-next:hover {
  background: #18314c;
  border-color: #99c8fc;
  color: white;
}
.cinematic .principles {
  gap: 20px;
}
.cinematic .principles article {
  padding: 28px;
  border: 1px solid #263b52;
  border-image: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #0d1c2b, #050a10 80%);
}
.cinematic .principles .index {
  font-size: 12px;
  color: #a2c5ef;
  margin-bottom: 22px;
}
.cinematic .principles h3 {
  font-size: clamp(20px, 1.6vw, 24px);
}
.cinematic .principles p {
  color: #c4cfde;
  line-height: 1.95;
  margin-top: 18px;
}
.cinematic .numbers {
  margin-top: 48px;
  border-radius: 12px;
  overflow: hidden;
}
.cinematic .price-card {
  border-radius: 12px;
  overflow: hidden;
}
.cinematic .price-card::before {
  border-radius: 12px 12px 0 0;
}
.cinematic .price-card.standard {
  border-color: #52779e;
}
.cinematic .faq-items {
  display: grid;
  gap: 12px;
}
.cinematic .faq-items details {
  border: 1px solid #34475f;
  border-radius: 9px;
  background: #080f18;
  overflow: hidden;
}
.cinematic .faq-items summary {
  padding: 22px 24px;
  gap: 20px;
  line-height: 1.7;
  color: #e0e8f2;
}
.cinematic .faq-items summary span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 32px;
  height: 32px;
  border: 1px solid #537295;
  border-radius: 50%;
  background: #152b43;
  color: #cce4ff;
}
.cinematic .faq-items details[open] {
  border-color: #6793c3;
  background: #0c1928;
}
.cinematic .faq-items details > p {
  padding: 0 24px 24px;
  color: #c9d6e5;
  line-height: 2;
}
.cinematic .faq-items summary:focus-visible {
  outline-offset: -5px;
}
.cinematic :is(a, button, summary) {
  scroll-margin-block: 110px 24px;
}

/* FAQ: a guided, readable pause before the final invitation. */
.cinematic #faq {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 156px);
  background:
    radial-gradient(ellipse at 14% 36%, #0b31521f, transparent 36%),
    linear-gradient(180deg, #02060b, #050b13 48%, #02060b);
}
.cinematic #faq::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #5aaeff55 18%,
    #5aaeff12 72%,
    transparent
  );
}
.cinematic .faq-layout {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(48px, 8vw, 132px);
}
.cinematic .faq-layout > :first-child {
  position: sticky;
  top: 150px;
  padding: 14px 0 0 24px;
  border-left: 1px solid #5a9ad34d;
}
.cinematic #faq .eyebrow {
  margin-bottom: 26px;
  color: #87b9e8;
  font-size: 12px;
  letter-spacing: 0.28em;
}
.cinematic #faq h2 {
  max-width: 440px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.45;
  letter-spacing: 0.03em;
}
.cinematic #faq h2 em {
  color: #4d9aff;
  font-style: normal;
}
.cinematic .faq-intro {
  margin-top: 24px;
  color: #9badc0;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.04em;
}
.cinematic .faq-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 24px;
  border: 1px solid #72b7ff8a;
  border-radius: 5px;
  background: linear-gradient(115deg, #1a5da0, #12365b);
  box-shadow:
    inset 0 1px 0 #d7efff40,
    0 8px 24px #1261a22b;
  color: #f4f9ff;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}
.cinematic .faq-start:hover {
  border-color: #a4d5ff;
  background: linear-gradient(115deg, #2677c2, #174775);
  box-shadow:
    inset 0 1px 0 #e5f6ff5c,
    0 0 24px #3184cd38;
}
.cinematic .faq-items {
  counter-reset: faq;
  gap: 10px;
}
.cinematic .faq-items details {
  counter-increment: faq;
  border: 1px solid #29415b;
  border-radius: 7px;
  background: linear-gradient(115deg, #0b1725f2, #07101af2), #07101a;
  box-shadow:
    inset 0 1px 0 #d9efff08,
    0 8px 22px #0002;
  transition:
    border-color 680ms cubic-bezier(0.4, 0, 0.2, 1),
    background 680ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 680ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cinematic .faq-items details:hover {
  border-color: #5d86ad;
  background: linear-gradient(115deg, #102136, #091522);
}
.cinematic .faq-items summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 17px 22px;
  color: #e8f1fb;
  font-size: clamp(16px, 1.35vw, 19px);
  letter-spacing: 0.025em;
  line-height: 1.7;
}
.cinematic .faq-items summary::before {
  content: "0" counter(faq);
  color: #6e9ac4;
  font-family: var(--font-sans, Arial, sans-serif);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.cinematic .faq-items summary span {
  width: 36px;
  height: 36px;
  border: 1px solid #48739a;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #285174, #0b1928 72%);
  color: #a9d5ff;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transition:
    transform 680ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 680ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 680ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cinematic .faq-items details[open] {
  border-color: #6ea8dc;
  background: linear-gradient(125deg, #10243a, #091522 70%);
  box-shadow:
    inset 0 1px 0 #c8e8ff20,
    0 0 0 1px #4c86bb24,
    0 12px 34px #0005,
    0 0 28px #207ac41a;
}
.cinematic .faq-items details[open] summary {
  color: #fff;
}
.cinematic .faq-items details[open] summary::before {
  color: #9fd0ff;
}
.cinematic .faq-items details[open] summary span {
  transform: rotate(45deg);
  border-color: #8ccaff;
  box-shadow: 0 0 16px #3184cd48;
}
.cinematic .faq-items details > .faq-answer {
  display: grid !important;
  grid-template-rows: minmax(0, 0fr);
  opacity: 0;
  pointer-events: none;
  transition:
    grid-template-rows 680ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 680ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cinematic .faq-items details[open] > .faq-answer {
  grid-template-rows: minmax(0, 1fr);
  opacity: 1;
  pointer-events: auto;
}
.cinematic .faq-items details.is-closing > .faq-answer {
  grid-template-rows: minmax(0, 0fr);
  opacity: 0;
  pointer-events: none;
}
.cinematic .faq-answer__inner {
  min-height: 0;
  overflow: hidden;
  transform: translateY(-7px);
  transition: transform 680ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cinematic .faq-items details[open] .faq-answer__inner {
  transform: translateY(0);
}
.cinematic .faq-items details.is-closing .faq-answer__inner {
  transform: translateY(-7px);
}
.cinematic .faq-answer__inner > p {
  margin: 0 22px 0 82px;
  padding: 18px 52px 24px 0;
  border-top: 1px solid #a7d5ff22;
  color: #b9c9da;
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.015em;
}
.cinematic .faq-items summary:focus-visible {
  outline: 2px solid #9bcaff;
  outline-offset: -4px;
  border-radius: 6px;
}
@media (max-width: 900px) {
  .cinematic #faq {
    padding-block: 82px;
  }
  .cinematic .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cinematic .faq-layout > :first-child {
    position: relative;
    top: auto;
    padding: 0 0 0 18px;
  }
  .cinematic #faq h2 {
    font-size: clamp(34px, 7vw, 46px);
  }
  .cinematic .faq-start {
    margin-top: 22px;
  }
}
@media (max-width: 560px) {
  .cinematic #faq {
    padding-block: 68px;
  }
  .cinematic .faq-layout {
    gap: 28px;
  }
  .cinematic .faq-items {
    gap: 8px;
  }
  .cinematic .faq-items summary {
    grid-template-columns: 30px minmax(0, 1fr) 34px;
    gap: 10px;
    min-height: 72px;
    padding: 13px 14px;
    font-size: 15px;
  }
  .cinematic .faq-items summary span {
    width: 32px;
    height: 32px;
  }
  .cinematic .faq-answer__inner > p {
    margin: 0 14px 0 54px;
    padding: 14px 0 18px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic .faq-items details,
  .cinematic .faq-items summary span,
  .cinematic .faq-answer,
  .cinematic .faq-answer__inner,
  .cinematic .faq-start {
    transition: none;
  }
}
/* Chapter names are visible without hunting for small dots. */
.chapter-nav {
  right: 16px;
  gap: 6px;
}
.chapter-nav a {
  width: auto;
  height: auto;
  min-height: 44px;
  border-radius: 6px;
}
.chapter-nav a::after {
  content: none;
}
.chapter-nav span {
  position: static;
  opacity: 1;
  transform: none;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 6px;
  width: 120px;
}
.chapter-nav a[aria-current] span {
  color: white;
  background: #193f68;
  border-color: #77ade5;
}
.chapter-nav a:hover span {
  background: #18314c;
}
@media (max-width: 1679px) {
  .chapter-nav {
    display: none;
  }
}
@media (min-width: 1680px) {
  .chapter-nav {
    display: flex;
  }
}
@media (max-width: 1100px) {
  .cinematic .desktop-nav,
  .cinematic .header-actions .login {
    display: none;
  }
  .cinematic .site-header {
    height: 80px;
    padding-inline: 24px;
  }
  .cinematic .menu-toggle {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    width: 64px;
    min-width: 64px;
    height: 48px;
    padding: 9px 6px 4px;
    border: 1px solid #537295;
    border-radius: 7px;
    background: #101c2a;
    cursor: pointer;
  }
  .cinematic .menu-toggle span {
    width: 20px;
    height: 1px;
    background: #dfebfa;
  }
  .menu-label {
    position: absolute;
    bottom: 4px;
    font: 12px/1.2 var(--sans);
    color: #dfebfa;
  }
  .cinematic #mobile-nav:not([hidden]) {
    display: grid !important;
  }
  .cinematic #mobile-nav {
    top: 80px;
    padding: 16px 24px 24px;
    gap: 8px;
    max-height: calc(100dvh - 80px);
    box-shadow: 0 20px 35px #000a;
  }
  .cinematic #mobile-nav a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    min-height: 48px;
    border: 1px solid #344b66;
    border-radius: 7px;
    background: #0e1c2b;
    color: #e2ebf6;
    font: 15px/1.6 var(--sans);
  }
}
@media (max-width: 768px) {
  .cinematic .site-header {
    height: 76px;
    gap: 8px;
    padding-inline: 16px;
  }
  .cinematic .header-actions {
    gap: 8px;
  }
  .cinematic .brand img {
    width: 116px;
  }
  .cinematic .button.small {
    min-width: 112px;
    font-size: 13px;
    padding: 10px;
  }
  .cinematic #mobile-nav {
    top: 76px;
    max-height: calc(100dvh - 76px);
  }
  .cinematic .principles {
    gap: 16px;
  }
  .cinematic .principles article {
    padding: 24px;
  }
  .cinematic .principles p {
    font-size: 16px;
  }
  .cinematic .faq-items summary {
    padding: 18px;
    font-size: 16px;
  }
  .cinematic .faq-items details > p {
    padding: 0 18px 22px;
  }
}
@media (max-width: 360px) {
  .cinematic .site-header {
    padding-inline: 10px;
  }
  .cinematic .brand img {
    width: 96px;
  }
  .cinematic .button.small {
    min-width: 104px;
    font-size: 12px;
  }
}
