/* RichterFoundation — premium finance literacy, EN (blue–cyan + luxury layer) */
:root {
  --bg-deep: #060910;
  --bg-elevated: #0e1522;
  --bg-card: rgba(255, 255, 255, 0.045);
  --border: rgba(100, 190, 235, 0.22);
  /* Accent: синий–голубой (имя --gold сохранено для совместимости) */
  --gold: #5ec8f0;
  --gold-dim: #2a8eb8;
  --gold-glow: rgba(77, 184, 232, 0.42);
  --text: #e8eef5;
  --text-muted: #8a9bb0;
  --text-soft: #a8b8cc;
  --white: #f6faff;

  /* Дороговизна: платина, «ночной» глубокий, кромка-блик */
  --luxe-platinum: #c5d2e3;
  --luxe-silver: #8fa3bc;
  --luxe-frost: rgba(230, 240, 255, 0.14);
  --luxe-midnight: #03050a;
  --luxe-ink: #0a1020;
  --luxe-velvet: rgba(12, 22, 42, 0.65);
  --luxe-rim: rgba(200, 225, 255, 0.14);
  --luxe-glow-soft: rgba(180, 215, 255, 0.09);
  --luxe-shadow-deep: 0 28px 90px rgba(0, 0, 0, 0.58);
  --luxe-shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.42), 0 0 0 1px var(--luxe-rim) inset;

  --danger: #c45c5c;
  --success: #6b9e7d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: var(--luxe-shadow-deep);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 76px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

/* Faster offscreen rendering on long pages */
main > section,
main > article,
.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -18%, rgba(56, 150, 220, 0.13), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 35%, rgba(40, 90, 160, 0.11), transparent),
    radial-gradient(ellipse 90% 70% at 50% 120%, var(--luxe-velvet), transparent 52%),
    linear-gradient(180deg, var(--luxe-midnight) 0%, var(--bg-deep) 28%, var(--bg-deep) 100%);
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--white);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 220;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.92) 0%, rgba(6, 10, 18, 0.88) 100%);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 1px 0 0 var(--luxe-rim), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
}

.logo:hover {
  color: var(--gold);
}

.logo span {
  font-weight: 500;
  color: var(--gold);
  text-shadow: 0 0 28px rgba(94, 200, 240, 0.35);
}

/* Nav desktop */
.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
  background: rgba(77, 184, 232, 0.1);
}

/* Header: nav + cart + burger */
.site-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

/* Cart (header) */
.header-cart {
  position: relative;
  flex-shrink: 0;
}

.header-cart__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.header-cart__toggle:hover,
.header-cart__toggle.is-open {
  border-color: var(--gold);
  background: rgba(77, 184, 232, 0.1);
  color: var(--white);
}

.header-cart__icon {
  display: flex;
  line-height: 0;
}

.header-cart__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--bg-deep);
  background: var(--gold);
  border-radius: 9px;
}

.header-cart__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(70vh, 420px);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: linear-gradient(165deg, var(--bg-elevated) 0%, rgba(12, 18, 30, 0.98) 100%);
  border: 1px solid var(--luxe-rim);
  border-radius: var(--radius);
  box-shadow: var(--luxe-shadow-lift);
  z-index: 120;
  overflow: hidden;
}

.header-cart__panel[hidden] {
  display: none !important;
}

.header-cart__head {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.75rem;
}

.header-cart__empty {
  margin: 0;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.header-cart__list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.header-cart__list[hidden] {
  display: none !important;
}

.header-cart__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.65rem;
  align-items: start;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(100, 190, 235, 0.12);
}

.header-cart__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.header-cart__thumb {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--luxe-rim);
}

.header-cart__item-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.header-cart__item-title a {
  color: inherit;
}

.header-cart__item-title a:hover {
  color: var(--gold);
}

.header-cart__item-meta {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.header-cart__remove {
  padding: 0.2rem 0.45rem;
  font-size: 0.75rem;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid rgba(100, 190, 235, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.header-cart__remove:hover {
  color: var(--danger);
  border-color: rgba(196, 92, 92, 0.45);
}

.header-cart__footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(100, 190, 235, 0.15);
}

.header-cart__footer[hidden] {
  display: none !important;
}

.header-cart__total {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--text-soft);
}

.header-cart__checkout {
  width: 100%;
}

/* Order modal (checkout form) */
body.order-modal-open {
  overflow: hidden;
}

.order-modal[hidden] {
  display: none !important;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem 1rem;
  overflow-y: auto;
}

.order-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.order-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  margin-block: auto;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(165deg, var(--bg-elevated) 0%, rgba(10, 16, 28, 0.98) 100%);
  border: 1px solid var(--luxe-rim);
  border-radius: var(--radius);
  box-shadow: var(--luxe-shadow-lift);
}

.order-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.order-modal__close:hover {
  color: var(--white);
  background: rgba(77, 184, 232, 0.1);
  border-color: rgba(77, 184, 232, 0.25);
}

.order-modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 2rem 0.5rem 0;
}

.order-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.order-modal__summary {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(100, 190, 235, 0.12);
  max-height: 200px;
  overflow-y: auto;
}

.order-modal__items {
  margin: 0 0 0.75rem;
  padding: 0 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.order-modal__item {
  margin-bottom: 0.35rem;
}

.order-modal__sum {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.order-modal__sum strong {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.order-form__label {
  display: block;
  margin-bottom: 1rem;
}

.order-form__text {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.order-form__hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 0.35rem;
}

.order-form__input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(100, 190, 235, 0.2);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.order-form__input:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(77, 184, 232, 0.15);
}

.order-form__textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.order-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.order-modal__thanks-wrap {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.order-modal__thanks {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 1.25rem;
  line-height: 1.4;
}

.order-modal__thanks-wrap .btn {
  min-width: 140px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(100, 190, 235, 0.28);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s, box-shadow 0.25s, transform 0.2s var(--ease);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.burger:hover {
  border-color: rgba(94, 200, 240, 0.55);
  background: rgba(77, 184, 232, 0.12);
}

.burger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.burger.is-open {
  border-color: rgba(94, 200, 240, 0.65);
  background: rgba(77, 184, 232, 0.18);
  box-shadow: 0 0 0 1px rgba(94, 200, 240, 0.2), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: linear-gradient(90deg, var(--text-soft), var(--white));
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.25s, background 0.2s;
}

.burger.is-open span {
  background: var(--white);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu: dim page behind drawer */
body.nav-open::before {
  content: "";
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  background: linear-gradient(105deg, rgba(2, 4, 10, 0.78) 0%, rgba(2, 4, 10, 0.45) 55%, transparent 100%);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  pointer-events: none;
  animation: nav-backdrop-in 0.35s var(--ease) forwards;
}

@keyframes nav-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes nav-link-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .site-header,
  .site-header__inner {
    overflow: visible;
  }

  .site-header__inner {
    width: min(100% - 1.25rem, var(--max));
    gap: 0.5rem;
    padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
  }

  .logo {
    font-size: clamp(1.28rem, 4.2vw, 1.6rem);
    min-width: 0;
  }

  .site-header__end {
    gap: 0.4rem;
  }

  .header-cart__toggle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border-color: rgba(100, 190, 235, 0.28);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 280;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    width: min(92vw, 400px);
    max-height: min(80dvh, calc(100dvh - var(--header-h) - 1rem));
    max-width: 100%;
    margin: 0;
    padding: 1.25rem 1rem max(1.75rem, env(safe-area-inset-bottom)) 1.25rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: linear-gradient(200deg, rgba(14, 20, 32, 0.99) 0%, rgba(6, 9, 16, 0.985) 45%, rgba(8, 12, 20, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-left: 1px solid rgba(77, 184, 232, 0.28);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.42s var(--ease), opacity 0.32s ease, visibility 0.32s;
    z-index: 260;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav::before {
    content: "Menu";
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(77, 184, 232, 0.18);
    opacity: 0.95;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav__list li {
    opacity: 0;
    animation: none;
  }

  .nav.is-open .nav__list li {
    opacity: 1;
    animation: nav-link-in 0.42s var(--ease) forwards;
  }

  .nav.is-open .nav__list li:nth-child(1) {
    animation-delay: 0.04s;
  }

  .nav.is-open .nav__list li:nth-child(2) {
    animation-delay: 0.09s;
  }

  .nav.is-open .nav__list li:nth-child(3) {
    animation-delay: 0.14s;
  }

  .nav.is-open .nav__list li:nth-child(4) {
    animation-delay: 0.19s;
  }

  .nav.is-open .nav__list li:nth-child(5) {
    animation-delay: 0.24s;
  }

  .nav.is-open .nav__list li:nth-child(6) {
    animation-delay: 0.29s;
  }

  .nav__link {
    padding: 1.05rem 1.2rem;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: 12px;
    border: 1px solid rgba(77, 184, 232, 0.14);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
  }

  .nav__link:active {
    transform: scale(0.98);
  }

  .nav__link:hover,
  .nav__link.is-active {
    border-color: rgba(94, 200, 240, 0.4);
    background: rgba(77, 184, 232, 0.12);
  }

  body.nav-open {
    overflow: hidden;
    overflow-x: hidden;
  }

  .header-cart {
    z-index: 265;
  }

  .header-cart__panel {
    z-index: 270;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .site-header__inner {
    width: min(100% - 1rem, var(--max));
  }
}

@media (min-width: 992px) {
  .nav {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    overflow: visible;
    flex: 0 0 auto;
  }

  .nav__list {
    flex-direction: row;
  }

  .nav__link {
    border: none;
  }
}

/* Buttons */
.btn.is-added {
  box-shadow: 0 0 0 2px var(--gold-glow);
  transition: box-shadow 0.35s var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background:
    linear-gradient(180deg, var(--luxe-frost) 0%, transparent 38%),
    linear-gradient(135deg, #7ad4f7 0%, var(--gold) 38%, var(--gold-dim) 100%);
  color: var(--luxe-midnight);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 10px 36px var(--gold-glow),
    0 4px 12px rgba(0, 0, 0, 0.35);
}

.btn--primary:hover {
  color: var(--luxe-midnight);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 14px 48px rgba(77, 184, 232, 0.5),
    0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--luxe-rim);
  color: var(--luxe-platinum);
}

.btn--ghost:hover {
  border-color: rgba(120, 200, 245, 0.45);
  color: var(--white);
  background: var(--luxe-glow-soft);
  box-shadow: 0 0 0 1px rgba(200, 225, 255, 0.08) inset;
}

.btn--small {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 8, 14, 0.97) 0%, rgba(8, 18, 32, 0.82) 42%, rgba(14, 40, 62, 0.55) 68%, rgba(20, 70, 98, 0.35) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23121a28'/%3E%3Cstop offset='100%25' style='stop-color:%23070b12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='800' height='600'/%3E%3Cpath d='M0 400 Q200 300 400 380 T800 320 L800 600 L0 600 Z' fill='%2312151c' opacity='0.9'/%3E%3Ccircle cx='650' cy='120' r='180' fill='%235ec8f0' opacity='0.1'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 82% 35%, rgba(94, 200, 240, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 0%, rgba(120, 220, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.hero__content {
  min-width: 0;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--luxe-platinum);
  margin: 0 0 1rem;
  opacity: 0.92;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.2vw, 3.55rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 1.25rem;
  max-width: 22ch;
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.55), 0 0 60px rgba(160, 200, 255, 0.07);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 48ch;
  margin: 0;
}

.hero__line {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--luxe-platinum), var(--gold) 55%, transparent);
  margin: 1.5rem 0;
  border-radius: 2px;
}

/* Hero spotlight — fills right column, high-contrast banner */
.hero__spotlight {
  min-width: 0;
}

.hero__spotlight-card {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.85rem 2.1rem;
  overflow: hidden;
  background:
    linear-gradient(155deg, #3db8e8 0%, #1e8fc4 28%, #0d5a82 58%, #06324a 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 28px 70px rgba(30, 143, 196, 0.45),
    0 12px 36px rgba(0, 0, 0, 0.45);
}

.hero__spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(255, 255, 255, 0.35), transparent 52%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(0, 40, 60, 0.35), transparent 55%);
  pointer-events: none;
}

.hero__spotlight-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 90%;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 55%);
  transform: rotate(-12deg);
  pointer-events: none;
}

.hero__spotlight-kicker,
.hero__spotlight-title,
.hero__spotlight-text,
.hero__spotlight-stats {
  position: relative;
  z-index: 1;
}

.hero__spotlight-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 20px rgba(0, 30, 50, 0.45);
}

.hero__spotlight-text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.25rem;
}

.hero__spotlight-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero__spotlight-stats li {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.hero__spotlight-stats strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.btn--hero-spotlight {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #06324a;
  background: #fff;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform var(--ease) 0.22s, box-shadow 0.22s, background 0.22s;
}

.btn--hero-spotlight:hover {
  color: #042030;
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.btn--hero-spotlight:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__spotlight {
    order: -1;
  }

  .hero h1 {
    max-width: none;
  }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--luxe-silver);
  margin: 0 0 0.75rem;
  text-shadow: 0 1px 18px var(--luxe-glow-soft);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.45), 0 0 40px rgba(180, 210, 255, 0.06);
}

.section__lead {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.bg-muted {
  background: linear-gradient(180deg, rgba(12, 20, 32, 0.55) 0%, transparent 100%);
  border-top: 1px solid rgba(77, 184, 232, 0.08);
  border-bottom: 1px solid rgba(77, 184, 232, 0.08);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: stretch;
}

.card-icon {
  --card-accent: var(--gold);
  --card-accent-dim: rgba(94, 200, 240, 0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.65rem 1.55rem 1.75rem;
  border: 1px solid var(--luxe-rim);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07) 0%, transparent 38%),
    linear-gradient(195deg, rgba(10, 18, 32, 0.92) 0%, rgba(6, 10, 18, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 20px 48px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.3s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.card-icon:nth-child(1) {
  --card-accent: #7ad4f7;
  --card-accent-dim: rgba(122, 212, 247, 0.16);
}

.card-icon:nth-child(2) {
  --card-accent: #5ec8f0;
  --card-accent-dim: rgba(94, 200, 240, 0.14);
}

.card-icon:nth-child(3) {
  --card-accent: #9ae0ff;
  --card-accent-dim: rgba(154, 224, 255, 0.14);
}

.card-icon:nth-child(4) {
  --card-accent: #b8c9e8;
  --card-accent-dim: rgba(184, 201, 232, 0.14);
}

.card-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--card-accent) 22%,
    var(--gold) 50%,
    var(--card-accent) 78%,
    transparent 100%
  );
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}

.card-icon::after {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--card-accent-dim), transparent 68%);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.35s var(--ease);
}

.card-icon:hover {
  border-color: rgba(140, 210, 250, 0.35);
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 28px 56px rgba(0, 0, 0, 0.42),
    0 0 40px rgba(94, 200, 240, 0.1);
}

.card-icon:hover::before {
  opacity: 1;
}

.card-icon:hover::after {
  opacity: 1;
}

.card-icon__icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  font-size: 1.7rem;
  line-height: 1;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--card-accent-dim), rgba(8, 16, 28, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card-icon:hover .card-icon__icon {
  transform: scale(1.06);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 24px rgba(94, 200, 240, 0.12);
}

.card-icon h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.card-icon p {
  position: relative;
  z-index: 1;
  margin: 0;
  flex-grow: 1;
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.62;
}

/* Carousel */
.carousel-wrap {
  position: relative;
  margin: 0 -1rem;
  padding: 0 3rem;
}

@media (max-width: 640px) {
  .carousel-wrap {
    padding: 0 2.5rem;
  }
}

.carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}

.carousel::-webkit-scrollbar {
  height: 6px;
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--white);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.2s, border-color 0.2s;
}

.carousel__btn:hover {
  border-color: var(--gold);
  background: rgba(77, 184, 232, 0.15);
}

.carousel__btn--prev {
  left: 0;
}

.carousel__btn--next {
  right: 0;
}

.book-card {
  flex: 0 0 min(260px, 85vw);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.book-card__cover {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #152535 0%, #080c14 100%);
}

.book-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease);
}

.book-card:hover .book-card__cover img {
  transform: scale(1.04);
}

.book-card__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
}

.book-card__meta .book-card__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.28;
}

.book-card__meta .book-card__title a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.book-card__meta .book-card__title a:hover {
  color: var(--gold);
}

.book-card__meta {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.book-card__author {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.book-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

/* Feature rows */
.split-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .split-features {
    grid-template-columns: 1fr;
  }
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.85;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.review-card__name {
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.review-card__age {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}

.review-card__stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

.review-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Blog preview */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}

.blog-card:hover {
  border-color: rgba(77, 184, 232, 0.4);
}

.blog-card__img {
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f2a, #12151c);
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 1.35rem 1.5rem 1.5rem;
}

/* CTA link pinned to bottom of card */
.blog-card__body > a:last-child {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold);
  text-decoration: none;
}

.blog-card__body > a:last-child:hover {
  text-decoration: underline;
}

.blog-card__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.blog-card h2,
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.35;
}

.blog-card h2 a,
.blog-card h3 a {
  color: var(--white);
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
  color: var(--gold);
}

.blog-card__excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

/* Lead magnet */
.lead-banner {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  padding: 3rem 2.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(125deg, #101a28 0%, #0a1018 50%, #121c2a 100%);
}

.lead-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(77, 184, 232, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.lead-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .lead-banner__inner {
    grid-template-columns: 1fr;
  }
}

.lead-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
  color: var(--white);
}

.lead-banner p {
  margin: 0;
  color: var(--text-soft);
  max-width: 48ch;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 3.5rem 0 2.25rem;
  margin-top: 3rem;
  border-top: 1px solid var(--luxe-rim);
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.65) 0%, transparent 48%);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.25);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 65%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--luxe-platinum) 22%, rgba(94, 200, 240, 0.65) 50%, var(--luxe-platinum) 78%, transparent);
  opacity: 0.55;
  pointer-events: none;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  align-items: start;
}

/* Brand column polish */
.site-footer__grid > div:first-child {
  padding-right: 0.5rem;
}

.site-footer__grid > div:not(.footer-contact) {
  padding-top: 0.15rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 34ch;
  margin: 0;
  line-height: 1.55;
}

.footer-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.footer-pay__img {
  height: 30px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  opacity: 0.95;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-pay__img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Contact: full row below nav columns */
.footer-contact {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.footer-contact__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1.5rem 2rem;
  padding: 1.5rem 1.65rem 1.55rem;
  border-radius: 18px;
  border: 1px solid rgba(77, 184, 232, 0.22);
  background:
    linear-gradient(145deg, rgba(77, 184, 232, 0.09) 0%, transparent 42%),
    linear-gradient(180deg, rgba(16, 24, 36, 0.97) 0%, rgba(7, 11, 18, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 20px 56px rgba(0, 0, 0, 0.38),
    0 0 80px rgba(77, 184, 232, 0.04);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.footer-contact__bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 184, 232, 0.35), transparent);
  pointer-events: none;
}

.footer-contact__title {
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
  line-height: 1.2;
  background: rgba(77, 184, 232, 0.11);
  border: 1px solid rgba(77, 184, 232, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.footer-contact__meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  flex: 1 1 220px;
  min-width: 0;
  padding: 1rem 1.2rem 1.05rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(77, 184, 232, 0.45);
}

.footer-contact__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.65rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(77, 184, 232, 0.12);
}

.footer-contact__address {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-soft);
  line-height: 1.5;
  max-width: 50ch;
}

.footer-contact__email {
  margin: 0;
  font-size: 0.9rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-contact__email::before {
  content: "";
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(77, 184, 232, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ec8f0' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid rgba(77, 184, 232, 0.18);
}

.footer-contact__phone {
  margin: 0;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-contact__phone::before {
  content: "";
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(77, 184, 232, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ec8f0' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid rgba(77, 184, 232, 0.2);
}

.footer-contact__phone a {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}

.footer-contact__email a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.footer-contact__phone a:hover,
.footer-contact__email a:hover {
  color: var(--gold);
}

.footer-contact__map-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.55rem;
  margin-left: auto;
  min-height: 100%;
}

.footer-contact__map {
  position: relative;
  width: min(332px, 46vw);
  min-width: 224px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(77, 184, 232, 0.28);
  background: var(--bg-elevated);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.footer-contact__map:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(77, 184, 232, 0.15) inset;
}

.footer-contact__map::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.footer-contact__map iframe {
  width: 100%;
  height: 162px;
  border: 0;
  display: block;
}

.footer-contact__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s var(--ease);
  padding: 0.35rem 0;
}

.footer-contact__map-link::after {
  content: "→";
  font-size: 0.85em;
  opacity: 0.65;
  transition: transform 0.25s var(--ease);
}

.footer-contact__map-link:hover {
  color: var(--gold);
}

.footer-contact__map-link:hover::after {
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(77, 184, 232, 0.14);
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(77, 184, 232, 0.18);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.footer-social__link:hover {
  color: var(--gold);
  border-color: rgba(94, 200, 240, 0.45);
  background: rgba(77, 184, 232, 0.1);
  transform: translateY(-2px);
}

.footer-social__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact__map-col {
    align-items: flex-start;
    margin-left: 0;
    width: 100%;
  }

  .footer-contact__map {
    width: 100%;
    max-width: 400px;
  }

  .footer-contact__map iframe {
    height: 180px;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-contact__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
    padding: 1.35rem 1.2rem;
  }

  .footer-contact__title {
    align-self: center;
    width: auto;
    max-width: 100%;
  }

  .footer-contact__meta {
    padding: 0.95rem 1rem;
  }

  .footer-contact__topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-contact__phone,
  .footer-contact__email {
    white-space: normal;
  }
}

.site-footer h4:not(.footer-contact__title) {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--luxe-silver);
  margin: 0 0 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer .site-footer__grid > div:not(.footer-contact) a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s var(--ease);
  display: inline-block;
}

.site-footer .site-footer__grid > div:not(.footer-contact) a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--white);
  margin: 0 0 0.65rem;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4), 0 0 32px rgba(200, 220, 255, 0.08);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--luxe-rim);
  text-align: center;
  letter-spacing: 0.03em;
}

/* Floating chat widget */
.chat-widget {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 950;
}

.chat-widget__fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(120, 210, 250, 0.4);
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(20, 36, 56, 0.96) 0%, rgba(8, 14, 24, 0.98) 100%);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(180, 225, 255, 0.08) inset;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.25s;
}

.chat-widget__fab:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 220, 255, 0.65);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(180, 225, 255, 0.12) inset;
}

.chat-widget__fab-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(77, 184, 232, 0.2);
  font-size: 1rem;
}

.chat-widget__fab-label {
  display: none;
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 1rem));
  border-radius: 16px;
  border: 1px solid rgba(120, 210, 250, 0.28);
  background: linear-gradient(180deg, rgba(11, 20, 34, 0.98) 0%, rgba(7, 12, 21, 0.99) 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(180, 225, 255, 0.06) inset;
  overflow: hidden;
}

.chat-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(120, 210, 250, 0.16);
}

.chat-widget__title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.chat-widget__close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.chat-widget__close:hover {
  color: var(--white);
  border-color: rgba(120, 210, 250, 0.24);
  background: rgba(77, 184, 232, 0.1);
}

.chat-widget__body {
  max-height: min(46vh, 320px);
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-widget__msg {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.chat-widget__msg--bot {
  align-self: flex-start;
  max-width: 96%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(120, 210, 250, 0.16);
}

.chat-widget__msg--user {
  align-self: flex-end;
  max-width: 92%;
  color: #05293c;
  background: linear-gradient(135deg, #8ddfff 0%, #5ec8f0 100%);
}

.chat-widget__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 0.85rem 0.75rem;
}

.chat-widget__quick button {
  border: 1px solid rgba(120, 210, 250, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  padding: 0.35rem 0.62rem;
  font-size: 0.72rem;
  cursor: pointer;
}

.chat-widget__quick button:hover {
  color: var(--white);
  border-color: rgba(140, 220, 255, 0.4);
}

.chat-widget__form {
  display: flex;
  gap: 0.55rem;
  padding: 0.85rem;
  border-top: 1px solid rgba(120, 210, 250, 0.15);
}

.chat-widget__input {
  width: 100%;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid rgba(120, 210, 250, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.58rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.chat-widget__input:focus {
  outline: none;
  border-color: rgba(140, 220, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(77, 184, 232, 0.16);
}

.chat-widget__send {
  flex-shrink: 0;
  border: 1px solid rgba(120, 210, 250, 0.35);
  border-radius: 10px;
  padding: 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: #05293c;
  background: linear-gradient(135deg, #8ddfff 0%, #5ec8f0 100%);
  cursor: pointer;
}

@media (max-width: 640px) {
  .chat-widget {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
  }

  .chat-widget__fab {
    width: 52px;
    height: 52px;
  }

  .chat-widget__panel {
    width: min(94vw, 360px);
    bottom: calc(100% + 10px);
  }
}

/* Shop layout */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
}

.filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.filters h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
  color: var(--white);
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.filter-checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
  cursor: pointer;
}

.filter-checks input {
  accent-color: var(--gold);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.shop-toolbar select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}

.product-card:hover {
  border-color: rgba(77, 184, 232, 0.35);
}

.product-card__cover {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #222836, #12151c);
}

.product-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.product-card h3 a {
  color: var(--white);
}

.product-card__author {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}

.product-card__desc {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0 0 1rem;
  flex: 1;
  line-height: 1.5;
}

.product-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.product-card__rating {
  font-size: 0.88rem;
  color: var(--gold);
}

.product-card__price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.product-card__actions {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card__actions .product-card__btn {
  width: 100%;
  margin-top: 0;
}

.product-card__btn--view {
  text-align: center;
}

/* Shop page — catalogue */
.page-shop .page-hero {
  padding-bottom: 2.75rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(77, 184, 232, 0.1);
  background: radial-gradient(ellipse 75% 80% at 50% 0%, rgba(77, 184, 232, 0.09), transparent 58%);
}

.page-shop .filters {
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(77, 184, 232, 0.16);
  background: linear-gradient(165deg, rgba(22, 26, 34, 0.9) 0%, rgba(12, 14, 18, 0.95) 100%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  padding: 1.65rem 1.5rem;
}

.page-shop .filters h3 {
  font-size: 1.2rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(77, 184, 232, 0.12);
}

.page-shop .shop-toolbar {
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(77, 184, 232, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.page-shop .shop-toolbar select {
  min-width: 200px;
  border-color: rgba(77, 184, 232, 0.2);
  cursor: pointer;
}

.page-shop .shop-toolbar select:focus {
  outline: none;
  border-color: rgba(77, 184, 232, 0.45);
  box-shadow: 0 0 0 3px rgba(77, 184, 232, 0.12);
}

.page-shop .product-grid {
  gap: 1.75rem;
}

.page-shop .product-card {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(77, 184, 232, 0.14);
  background: linear-gradient(180deg, rgba(24, 28, 36, 0.55) 0%, rgba(10, 12, 15, 0.92) 100%);
  box-shadow:
    0 14px 42px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.page-shop .product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(77, 184, 232, 0.38);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(77, 184, 232, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-shop .product-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(155deg, #1c2230 0%, #0c0e12 100%);
}

.page-shop .product-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 -18px 28px rgba(0, 0, 0, 0.22);
  background: linear-gradient(180deg, transparent 62%, rgba(10, 12, 15, 0.28) 100%);
}

.page-shop .product-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s var(--ease);
}

.page-shop .product-card:hover .product-card__cover img {
  transform: scale(1.06);
}

.page-shop .product-card__body {
  padding: 1.35rem 1.35rem 1.45rem;
}

.page-shop .product-card h3 {
  font-size: 1.18rem;
  line-height: 1.28;
}

.page-shop .product-card h3 a {
  transition: color 0.2s;
}

.page-shop .product-card h3 a:hover {
  color: var(--gold);
}

.page-shop .product-card__row {
  padding-top: 0.35rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Product detail */
.product-breadcrumb {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.product-breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.product-breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    max-width: 340px;
    margin-inline: auto;
  }
}

.product-gallery {
  position: relative;
  margin: 0;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--luxe-rim);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 420px;
  box-shadow: var(--luxe-shadow-lift), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.product-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
}

.product-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--luxe-rim);
  color: var(--luxe-silver);
  background: rgba(14, 22, 36, 0.6);
}

.product-tags span.product-tags__accent {
  border-color: rgba(94, 200, 240, 0.45);
  color: var(--gold);
}

.product-rating-line {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 0 0 1rem;
}

.product-rating-line strong {
  color: var(--gold);
  font-weight: 600;
}

.product-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.product-highlights {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.product-highlights li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.product-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.product-specs {
  display: grid;
  grid-template-columns: minmax(7rem, auto) 1fr;
  gap: 0.5rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--luxe-rim);
  background: rgba(8, 14, 24, 0.55);
  font-size: 0.9rem;
}

.product-specs dt {
  margin: 0;
  color: var(--text-muted);
}

.product-specs dd {
  margin: 0;
  color: var(--text-soft);
}

.product-long {
  max-width: 720px;
}

.product-long .prose h2:first-of-type {
  margin-top: 0;
}

.mini-book__cover {
  height: 128px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid var(--luxe-rim);
  background: #12151c;
}

.mini-book__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  margin: 0 0 0.5rem;
}

.product-info .product-author {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.product-info .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1rem;
}

.prose {
  color: var(--text-soft);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin: 1.5rem 0 0.5rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.info-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .info-boxes {
    grid-template-columns: 1fr;
  }
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.info-box strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.mini-book {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.mini-book .mini-cover {
  height: 120px;
  background: linear-gradient(145deg, #1e2433, #12151c);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.mini-book a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

/* Blog page */
.blog-search {
  max-width: 420px;
  margin: 0 auto 2.5rem;
}

.blog-search input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.blog-search input::placeholder {
  color: var(--text-muted);
}

.article-hero {
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  max-width: 20ch;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-meta a {
  color: var(--gold);
  text-decoration: none;
}

.article-meta a:hover {
  text-decoration: underline;
}

/* Article pages (long reads) */
.article-page {
  max-width: 720px;
  margin-inline: auto;
  padding-bottom: 3rem;
}

.article-page .article-hero {
  padding: 2rem 0 1.25rem;
  margin-bottom: 0;
  border-bottom: none;
  text-align: left;
  background: none;
}

.article-page .article-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35), 0 0 40px rgba(180, 210, 255, 0.05);
}

.article-featured {
  margin: 0 0 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--luxe-rim);
  box-shadow: var(--luxe-shadow-lift), 0 20px 50px rgba(0, 0, 0, 0.35);
  aspect-ratio: 21 / 9;
  max-height: 300px;
}

.article-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 600px) {
  .article-featured {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
}

.article-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--luxe-rim);
}

.article-keypoints {
  background:
    linear-gradient(145deg, rgba(94, 200, 240, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, rgba(14, 22, 36, 0.85) 0%, rgba(8, 12, 20, 0.95) 100%);
  border: 1px solid var(--luxe-rim);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.4rem;
  margin: 0 0 2rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset;
}

.article-keypoints__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
}

.article-keypoints ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.58;
}

.article-keypoints li {
  margin-bottom: 0.45rem;
}

.article-keypoints li:last-child {
  margin-bottom: 0;
}

.article-callout {
  margin: 1.75rem 0;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(77, 184, 232, 0.07);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.article-callout strong {
  color: var(--luxe-platinum);
}

.prose.article-body {
  margin-top: 0;
}

.prose.article-body a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.prose.article-body a:hover {
  text-decoration: underline;
}

.prose.article-body ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
  color: var(--text-soft);
}

.prose.article-body ol li {
  margin-bottom: 0.65rem;
}

.prose.article-body ul li {
  margin-bottom: 0.5rem;
}

.prose.article-body .article-steps {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.prose.article-body .article-steps li {
  position: relative;
  padding-left: 2.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.58;
}

.prose.article-body .article-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(94, 200, 240, 0.25), rgba(94, 200, 240, 0.08));
  border: 1px solid var(--luxe-rim);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-end {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--luxe-rim);
}

.article-end a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold);
  text-decoration: none;
}

.article-end a:hover {
  text-decoration: underline;
}

/* Reviews page filters */
.age-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.age-filters button {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.age-filters button.is-active,
.age-filters button:hover {
  border-color: var(--gold);
  background: rgba(77, 184, 232, 0.12);
  color: var(--white);
}

.review-card.is-hidden {
  display: none;
}

/* Investing page steps */
.steps-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.steps-nav a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-soft);
}

.steps-nav a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.step-block {
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(77, 184, 232, 0.12);
}

.step-block:last-of-type {
  border-bottom: 0;
}

.step-visual {
  height: 200px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1c2230, #141820);
  border: 1px solid var(--border);
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.9;
}

.bonus-callout {
  background: rgba(77, 184, 232, 0.1);
  border: 1px solid rgba(77, 184, 232, 0.35);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.bonus-callout strong {
  color: var(--gold);
}

/* Investing for beginners — landing layout & imagery */
.page-investing .invest-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.page-investing .invest-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(77, 184, 232, 0.14), transparent 52%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(40, 90, 160, 0.1), transparent 45%);
  pointer-events: none;
}

.page-investing .invest-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .page-investing .invest-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
  }
}

.page-investing .invest-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--white);
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.35);
  max-width: 22ch;
}

@media (min-width: 900px) {
  .page-investing .invest-hero__copy h1 {
    max-width: none;
  }
}

.page-investing .invest-hero__figure {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(100, 190, 235, 0.22);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(200, 225, 255, 0.06) inset;
  background: var(--luxe-ink);
}

.page-investing .invest-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.page-investing .invest-hero__cta {
  margin-top: 0.25rem;
}

.page-investing .invest-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .page-investing .invest-highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.page-investing .invest-stat {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(77, 184, 232, 0.18);
  background: linear-gradient(165deg, rgba(22, 28, 40, 0.85) 0%, rgba(10, 14, 22, 0.92) 100%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.page-investing .invest-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.page-investing .invest-stat__label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.page-investing .invest-strip {
  margin: 0 0 2.5rem;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(100, 190, 235, 0.2);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.page-investing .invest-strip__inner {
  min-height: min(280px, 36vw);
  background-image: url("../assets/investing/strip-market.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-investing .invest-strip__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 9, 16, 0.75) 0%, rgba(6, 9, 16, 0.25) 55%, transparent 100%);
  pointer-events: none;
}

.page-investing .invest-prose {
  max-width: 720px;
  margin-inline: auto;
}

.page-investing .invest-prose__footer-btns {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.page-investing .step-visual--photo {
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(100, 190, 235, 0.2);
  background: var(--luxe-ink);
}

.page-investing .step-visual--photo img {
  display: block;
  width: 100%;
  height: clamp(200px, 32vw, 280px);
  object-fit: cover;
  object-position: center;
}

.page-investing .invest-section {
  padding-top: 0.5rem;
}

/* Page header inner */
.page-hero {
  padding: 2.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--luxe-rim);
  margin-bottom: 2.5rem;
  background: radial-gradient(ellipse 70% 120% at 50% 0%, var(--luxe-glow-soft), transparent 55%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4), 0 0 36px rgba(180, 210, 255, 0.06);
}

.page-hero p {
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto;
}

/* About page */
.about-intro {
  max-width: 720px;
  margin: 0 auto;
}

.about-intro .section__eyebrow {
  text-align: center;
}

.about-intro .section__title {
  text-align: center;
  margin-bottom: 1rem;
}

.about-after-intro {
  margin-top: 3rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
}

.about-value-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.45rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--luxe-rim);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, transparent 45%),
    linear-gradient(195deg, rgba(12, 20, 34, 0.95) 0%, rgba(6, 10, 18, 0.98) 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28) inset, 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.about-value-card:hover {
  border-color: rgba(120, 200, 245, 0.35);
  transform: translateY(-3px);
}

.about-value-card__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.about-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--white);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.about-value-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--text-soft);
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  margin: 2rem 0 0;
}

@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
  }
}

.about-panel {
  padding: 1.65rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--luxe-rim);
  background: rgba(14, 22, 36, 0.55);
}

.about-panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin: 0 0 0.85rem;
}

.about-panel p {
  margin: 0 0 0.85rem;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--text-soft);
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.about-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.about-timeline li:last-child {
  margin-bottom: 0;
}

.about-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(94, 200, 240, 0.45);
}

.about-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
}

.about-photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--luxe-rim);
  background: var(--bg-card);
  box-shadow: var(--luxe-shadow-lift);
}

.about-photo-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

.about-photo-card figcaption {
  padding: 1.15rem 1.35rem 1.25rem;
  border-top: 1px solid var(--luxe-rim);
}

.about-photo-card figcaption strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.about-photo-card figcaption span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--luxe-rim);
}
