:root {
  --ink: #2c173f;
  --muted: #705b7f;
  --paper: #f7efff;
  --surface: #fffaff;
  --line: #decaf5;
  --lilac: #d9c2ff;
  --purple: #7b49c8;
  --deep: #341e4a;
  --pink: #ec78ad;
  --green: #4ea778;
  --amber: #d89b3d;
  --shadow: 0 18px 45px rgba(75, 39, 115, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 194, 255, 0.42), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.site-header {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(56, 31, 77, 0.5);
  color: #fff;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(252, 247, 255, 0.94);
  color: var(--ink);
  border-color: rgba(107, 63, 176, 0.18);
  box-shadow: 0 12px 30px rgba(36, 27, 47, 0.1);
}

.brand,
.cart-button,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(44, 23, 63, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header.is-scrolled .brand-mark {
  background: #fff;
}

.nav-links {
  gap: 20px;
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.cart-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.cart-button {
  gap: 8px;
  min-width: 64px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  font-weight: 800;
}

.cart-button svg,
.primary-action svg,
.secondary-action svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  min-height: calc(92svh - 34px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 118px 24px 74px;
  color: #fff;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(46, 22, 68, 0.9) 0%, rgba(76, 43, 111, 0.72) 40%, rgba(144, 101, 188, 0.26) 74%),
    linear-gradient(0deg, rgba(58, 31, 82, 0.62), rgba(109, 75, 145, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin: 0 auto;
  transform: translateX(-250px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #f4cb75;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.about-copy h2,
.section-heading h2,
.section-grid h2,
.purpose-panel h2,
.bundle-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 540px;
  font-size: clamp(2.45rem, 5.4vw, 4.75rem);
}

.hero-copy {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions,
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-action {
  background: linear-gradient(135deg, #8a56d8, #6e39bd);
  color: #fff;
  box-shadow: 0 14px 28px rgba(107, 63, 176, 0.26);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.hero-metrics {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-metrics span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-metrics strong {
  color: #fff;
}

section:not(.hero) {
  padding: 86px 24px;
}

.section-grid,
.about-section,
.purpose-section,
.catalog-section,
.bundle-section,
.access-section,
.faq-section,
.site-footer {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: #fff;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  overflow: hidden;
  width: 100%;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: #efe3ff;
  color: var(--deep);
  box-shadow: none;
}

.about-photo {
  min-height: 560px;
  background: #d9c6f3;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 68px);
  border-left: 1px solid rgba(107, 63, 176, 0.14);
}

.about-copy h2 {
  max-width: 540px;
  color: var(--deep);
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  line-height: 1;
}

.about-copy p {
  max-width: 650px;
  color: #5f4d70;
  font-size: 1.03rem;
  font-weight: 620;
}

.about-lead {
  margin: 16px 0 10px;
  color: var(--purple);
  font-size: 1.18rem;
  font-weight: 850;
}

.about-text {
  margin: 0 0 18px;
}

.about-points {
  display: grid;
  gap: 12px;
  margin: 8px 0 16px;
}

.about-points article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(107, 63, 176, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.about-points svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--purple);
}

.about-points strong {
  display: block;
  color: var(--deep);
  font-size: 1rem;
}

.about-points p {
  margin: 5px 0 0;
  font-size: 0.95rem;
}

.about-signature {
  margin: 10px 0 0;
  color: #4f3a61;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  border: 1px solid rgba(107, 63, 176, 0.2);
  background: rgba(255, 255, 255, 0.35);
}

.about-stats div {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 146px;
  padding: 22px;
}

.about-stats div + div {
  border-left: 1px solid rgba(107, 63, 176, 0.2);
}

.about-stats strong {
  color: var(--purple);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-stats span {
  color: var(--deep);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.15;
}

.about-name {
  margin: 16px 0 0;
  color: #6b5578;
  font-size: 0.92rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
}

.section-grid h2,
.purpose-panel h2,
.bundle-copy h2,
.section-heading h2 {
  font-size: clamp(2rem, 4.2vw, 3.55rem);
}

.text-flow p,
.purpose-panel p,
.bundle-copy p,
.section-heading p,
.access-steps p,
.faq-list p {
  color: var(--muted);
}

.text-flow p:first-child {
  margin-top: 0;
}

.purpose-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 96px;
}

.purpose-panel {
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6f42b8, #9c72df);
  color: #fff;
  box-shadow: var(--shadow);
}

.purpose-panel p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.78);
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 15px;
  border: 1px solid #d9c1f3;
  border-radius: 8px;
  background: #fbf6ff;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(54, 29, 78, 0.06);
}

.benefit-list svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 8px;
  color: var(--purple);
  background: #f2e9ff;
}

.catalog-section {
  padding-top: 0;
  padding-bottom: 96px;
  background:
    linear-gradient(180deg, rgba(247, 239, 255, 0), rgba(239, 227, 255, 0.72) 48%, rgba(247, 239, 255, 0));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-chip {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.filter-chip.is-active {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaff;
  box-shadow: 0 18px 38px rgba(75, 39, 115, 0.11);
}

.product-card.is-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 0;
}

.product-card.is-featured .cover {
  min-height: 100%;
}

.product-card.is-featured .product-body {
  align-self: center;
  padding: 30px 30px 18px;
}

.product-card.is-featured .product-body h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.product-card.is-featured .product-body p {
  max-width: 680px;
  font-size: 1.05rem;
}

.product-card.is-featured .product-footer {
  grid-column: 2;
  align-items: flex-start;
  padding: 0 30px 30px;
}

.product-card.is-featured .inline-preview {
  grid-column: 1 / -1;
}

.cover {
  min-height: 270px;
  padding: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.32), transparent 38%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 48%),
    var(--cover-color);
}

.cover-book {
  position: relative;
  display: grid;
  align-content: space-between;
  width: min(210px, 100%);
  min-height: 232px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 30px rgba(36, 20, 54, 0.18);
}

.cover-book::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 12px;
  background: rgba(255, 255, 255, 0.28);
}

.cover-book::before {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.cover-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.cover-book svg {
  width: 34px;
  height: 34px;
  margin-top: 22px;
  opacity: 0.92;
}

.cover-book strong {
  display: block;
  margin-top: 12px;
  font-size: 1.16rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.cover-book small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 850;
}

.product-body {
  padding: 20px;
}

.product-body h3 {
  margin: 0;
  font-size: 1.26rem;
  line-height: 1.12;
}

.product-body p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span {
  padding: 6px 9px;
  border-radius: 8px;
  background: #f8f1fb;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 20px;
}

.price {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.old-price {
  width: fit-content;
  color: #917d9f;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: line-through;
}

.price strong {
  color: var(--deep);
  font-size: 1.36rem;
  font-weight: 950;
  line-height: 1;
}

.promo-note,
.soon-note {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.promo-note {
  background: #efe3ff;
  color: var(--purple);
}

.soon-note {
  background: #f1eaf4;
  color: #7d6a86;
}

.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  border: 0;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  cursor: pointer;
  font-weight: 850;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-button,
.add-button {
  min-width: 148px;
}

.preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #dac5f4;
  border-radius: 8px;
  background: #fff;
  color: var(--purple);
  cursor: pointer;
  font-weight: 850;
}

.preview-button svg {
  width: 17px;
  height: 17px;
}

.add-button.is-selected {
  background: var(--green);
}

.add-button:disabled {
  cursor: not-allowed;
  background: #efe6ee;
  color: #8a7a8d;
}

.add-button svg {
  width: 17px;
  height: 17px;
}

.bundle-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  gap: 28px;
  align-items: center;
  padding: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7ff, #efe3ff);
  box-shadow: var(--shadow);
}

.preview-viewer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.inline-preview {
  display: none;
  padding: 0 30px 30px;
  background: #fffaff;
}

.inline-preview.is-open {
  display: block;
}

.material-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  min-height: 42px;
  margin: 0 0 14px;
  padding: 0 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8a56d8, #6e39bd);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.material-strip svg {
  width: 19px;
  height: 19px;
}

.preview-slide {
  width: min(210px, 100%);
  overflow: hidden;
  border: 1px solid #d9c1f3;
  border-radius: 8px;
  background: #fffaff;
  box-shadow: 0 18px 38px rgba(75, 39, 115, 0.11);
}

.preview-label {
  display: block;
  padding: 10px 12px;
  background: var(--purple);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
}

.preview-cover {
  display: grid;
}

.preview-cover-art {
  display: grid;
  align-content: space-between;
  min-height: 232px;
  margin: 12px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(135deg, #e875ad, #8a56d8);
}

.preview-cover-art span {
  width: fit-content;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-cover-art svg {
  width: 30px;
  height: 30px;
  margin-top: 14px;
}

.preview-cover-art strong {
  max-width: 150px;
  font-size: 1.2rem;
  line-height: 1.02;
}

.preview-cover-art small {
  max-width: 160px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 850;
}

.preview-page {
  display: grid;
}

.preview-paper {
  min-height: 232px;
  margin: 12px;
  padding: 16px;
  border: 1px solid #eadcf8;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(123, 73, 200, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(123, 73, 200, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 20px 20px;
}

.preview-page-title {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 1.25rem;
  font-weight: 950;
}

.preview-paper ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--deep);
  font-size: 0.76rem;
  font-weight: 750;
}

.sample-box {
  margin-top: 14px;
  padding: 10px;
  border-radius: 8px;
  background: #efe3ff;
}

.sample-box strong {
  color: var(--purple);
  font-size: 0.78rem;
}

.sample-box p {
  margin: 4px 0 0;
  color: var(--deep);
  font-size: 0.76rem;
  font-weight: 750;
}

.bundle-summary {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: #efe3ff;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9d8ee;
}

.wide {
  width: 100%;
}

.access-section {
  padding-bottom: 40px;
  background: #f3e9ff;
  max-width: none;
  width: 100%;
}

.access-section > * {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.access-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.access-steps article {
  min-height: 236px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaff;
}

.access-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #efe3ff;
  color: var(--purple);
  font-weight: 900;
}

.access-steps h3 {
  margin: 18px 0 8px;
}

.faq-section {
  padding-top: 50px;
  background: linear-gradient(180deg, #f3e9ff, #fffafd);
  max-width: none;
  width: 100%;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaff;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 24px 44px;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong,
.site-footer a {
  color: var(--ink);
}

.sticky-buy {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: linear-gradient(135deg, #8a56d8, #6e39bd);
  color: #fff;
  box-shadow: 0 16px 32px rgba(75, 39, 115, 0.28);
  font-size: 0.88rem;
  font-weight: 950;
}

.sticky-buy svg {
  width: 18px;
  height: 18px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.cart-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 11, 27, 0.48);
}

.drawer-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(440px, 100%);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 22px;
  background: #fff;
  box-shadow: -20px 0 45px rgba(19, 11, 27, 0.22);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.cart-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.drawer-header h2 {
  margin: 0;
  font-size: 2rem;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f3edf5;
  color: var(--ink);
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
}

.cart-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed #dccbe5;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  padding: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item strong {
  display: block;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.remove-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #fff2f4;
  color: #bd3151;
  cursor: pointer;
}

.checkout-form {
  display: grid;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.checkout-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9c9e1;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  outline: none;
}

.checkout-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107, 63, 176, 0.14);
}

.checkout-total,
.bonus-note {
  padding: 12px;
  border-radius: 8px;
  background: #f8f1fb;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout-total strong {
  font-size: 1.2rem;
}

.bonus-note,
.checkout-small {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1120px) {
  .hero-content {
    margin-left: 0;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    inset: 10px 10px auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: calc(88svh - 28px);
    padding: 104px 18px 54px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(46, 22, 68, 0.9), rgba(76, 43, 111, 0.62)),
      linear-gradient(0deg, rgba(58, 31, 82, 0.62), rgba(109, 75, 145, 0.18));
  }

  section:not(.hero) {
    padding: 62px 18px;
  }

  .section-grid,
  .about-section,
  .purpose-section,
  .bundle-section {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 460px;
  }

  .about-copy {
    border-left: 0;
    border-top: 1px solid rgba(107, 63, 176, 0.14);
  }

  .product-grid,
  .access-steps,
  .preview-viewer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card.is-featured {
    grid-template-columns: 1fr;
  }

  .product-card.is-featured .product-footer,
  .product-card.is-featured .inline-preview {
    grid-column: auto;
  }

  .bundle-section {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.25rem);
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-grid,
  .access-steps,
  .about-stats,
  .preview-viewer {
    grid-template-columns: 1fr;
  }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .product-actions {
    width: 100%;
    flex-direction: column;
  }

  .preview-button,
  .add-button {
    width: 100%;
  }

  .inline-preview {
    padding: 0 20px 20px;
  }

  .preview-slide {
    width: 100%;
  }

  .preview-cover-art,
  .preview-paper {
    min-height: 232px;
    margin: 12px;
    padding: 16px;
  }

  .about-section {
    border-radius: 0;
  }

  .about-photo {
    min-height: 390px;
  }

  .about-stats div + div {
    border-left: 0;
    border-top: 1px solid rgba(107, 63, 176, 0.2);
  }

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

  .product-card.is-featured {
    grid-template-columns: 1fr;
  }

  .product-card.is-featured .product-footer {
    grid-column: auto;
    padding: 0 20px 20px;
  }

  .product-card.is-featured .inline-preview {
    grid-column: auto;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .sticky-buy {
    inset: auto 12px 12px;
    width: calc(100% - 24px);
  }
}
