@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #fffdfa;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #24365f;
  --muted: #63728f;
  --yellow: #ffc95f;
  --yellow-soft: #fff3d2;
  --blue: #a7d7ff;
  --blue-soft: #edf7ff;
  --green: #8ecf92;
  --green-soft: #eefaf0;
  --orange: #ffbf82;
  --orange-soft: #fff2e6;
  --purple: #c9bbff;
  --purple-soft: #f5f2ff;
  --teal: #85d9d1;
  --teal-soft: #edfffc;
  --outline: rgba(109, 129, 170, 0.14);
  --shadow-lg: 0 34px 82px rgba(77, 103, 153, 0.18);
  --shadow-md: 0 20px 52px rgba(77, 103, 153, 0.14);
  --shadow-sm: 0 14px 28px rgba(77, 103, 153, 0.1);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --max-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 216, 120, 0.38), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(208, 180, 255, 0.34), transparent 26%),
    radial-gradient(circle at 76% 72%, rgba(130, 209, 255, 0.24), transparent 26%),
    linear-gradient(180deg, #f9fbff 0%, #f6f9fe 48%, #eef4fb 100%);
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-nav,
.btn,
.account-pill,
.eyebrow,
.proof-card strong,
.metric-card strong,
.step-number,
.category-card h3,
.product-copy h3,
.results-bar strong,
.footer-links a {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.58);
  border-bottom: 1px solid rgba(109, 129, 170, 0.08);
}

.site-header.compact {
  background: rgba(255, 255, 255, 0.72);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: 3.15rem;
  max-width: min(21rem, 44vw);
  object-fit: contain;
}

.nav-panel,
.header-actions {
  display: flex;
  align-items: center;
}

.nav-panel {
  gap: 1rem;
}

.header-actions {
  gap: 0.8rem;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(140, 164, 203, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(77, 103, 153, 0.1);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.account-pill:hover,
.account-pill:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(77, 103, 153, 0.14);
}

.account-pill.is-signed-in {
  border-color: rgba(108, 191, 144, 0.4);
  background: rgba(241, 255, 245, 0.92);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.98rem;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-pill {
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: rgba(229, 241, 255, 0.94);
  box-shadow: 0 12px 28px rgba(113, 145, 196, 0.16);
  color: var(--text) !important;
}

.nav-toggle {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.22rem auto;
  background: var(--text);
  border-radius: 999px;
}

.hero-section,
.sub-hero,
.product-hero {
  position: relative;
  overflow: clip;
}

.hero-section {
  padding: 2rem 0 2.6rem;
}

.hero-grid,
.sub-hero-grid,
.product-hero-grid,
.benefit-grid,
.shop-grid,
.product-detail-grid,
.footer-grid,
.cta-panel,
.info-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid,
.product-hero-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
}

.sub-hero {
  padding: 3.2rem 0 1rem;
}

.sub-hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.hero-copy h1,
.sub-hero h1,
.product-hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 6.8vw, 5rem);
  max-width: 9ch;
}

.sub-hero h1,
.product-hero h1,
.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-text,
.section-heading p,
.sub-hero p,
.cta-panel p,
.footer-copy,
.product-copy p,
.detail-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 32ch;
  margin: 1.2rem 0 0;
  font-size: 1.18rem;
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 219, 150, 0.6);
  background: rgba(255, 244, 218, 0.78);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(255, 209, 119, 0.18);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero-shell {
  position: relative;
}

.hero-kicker strong {
  font-weight: 800;
}

.hero-kicker span:last-child {
  color: var(--muted);
  font-weight: 500;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.45rem;
  padding: 0.95rem 1.55rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(145deg, #2a3f70, #345692);
  color: #fff;
  box-shadow: 0 18px 34px rgba(48, 72, 118, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(140, 164, 203, 0.3);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 12px 28px rgba(77, 103, 153, 0.1);
}

.btn-small {
  min-height: 2.8rem;
  padding-inline: 1rem;
}

.btn-block {
  width: 100%;
}

.trust-strip,
.product-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.trust-strip span,
.product-checklist span,
.results-chip,
.download-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(140, 164, 203, 0.2);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(77, 103, 153, 0.08);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 37rem;
}

.hero-feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-feature-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(140, 164, 203, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(77, 103, 153, 0.08);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(14px);
}

.hero-visual-showcase {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.showcase-stage {
  position: relative;
  width: min(100%, 42rem);
  min-height: 36rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(255, 245, 220, 0.98), rgba(250, 252, 255, 0.99) 48%, rgba(206, 232, 255, 0.98));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.showcase-stage::before,
.showcase-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.showcase-stage::before {
  inset: 2rem auto auto 3rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(255, 206, 101, 0.98), rgba(255, 206, 101, 0));
}

.showcase-stage::after {
  inset: auto -1rem -3rem auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(150, 208, 255, 0.98), rgba(150, 208, 255, 0));
}

.browser-stack {
  position: absolute;
  inset: 2.2rem 1.2rem 2rem 6.2rem;
}

.mock-window {
  position: absolute;
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 22px 44px rgba(112, 138, 184, 0.18);
  backdrop-filter: blur(18px);
}

.window-one {
  inset: 7.2rem 5.2rem 3rem 3.4rem;
  z-index: 4;
}

.window-two {
  inset: 4.8rem 2.6rem 5.4rem 8.4rem;
  z-index: 3;
  transform: rotate(3deg);
}

.window-three {
  inset: 2.4rem 0.8rem 7.6rem 10.2rem;
  z-index: 2;
  transform: rotate(6deg);
}

.window-four {
  inset: 1.6rem 1.4rem 10.2rem 12rem;
  z-index: 1;
  transform: rotate(10deg);
}

.window-topbar {
  display: flex;
  gap: 0.45rem;
  padding-bottom: 0.85rem;
}

.window-topbar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(80, 101, 142, 0.18);
}

.window-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  min-height: 100%;
  border-radius: 24px;
  color: var(--text);
}

.window-card strong {
  font-size: 1.55rem;
  line-height: 1.05;
}

.window-card small {
  color: rgba(36, 54, 95, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
}

.card-soft {
  background: linear-gradient(180deg, rgba(255, 251, 238, 0.95), rgba(255, 243, 215, 0.86));
}

.card-blue {
  background: linear-gradient(180deg, rgba(241, 248, 255, 0.98), rgba(228, 240, 255, 0.88));
}

.card-forest {
  background: linear-gradient(180deg, rgba(245, 255, 247, 0.98), rgba(231, 247, 237, 0.9));
}

.window-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
}

.window-mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.window-mini-grid span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 700;
}

.pack-card {
  position: relative;
  display: grid;
  gap: 1rem;
  height: calc(100% - 0.25rem);
  padding: 1.3rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffdf92, #fff0c9 54%, #eaf3b4 100%);
  box-shadow: 0 20px 36px rgba(88, 112, 154, 0.16);
}

.pack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 80% 12%, rgba(255, 216, 92, 0.36), rgba(255, 216, 92, 0));
  pointer-events: none;
}

.pack-age {
  position: relative;
  z-index: 1;
}

.pack-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 2rem;
  line-height: 0.95;
}

.pack-topics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pack-topics span {
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.pack-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.pack-bottom strong {
  font-size: 2.1rem;
  line-height: 1;
}

.pack-btn {
  min-height: 3rem;
  padding-inline: 1.35rem;
  background: linear-gradient(145deg, #8ed07e, #67bf8a);
  color: #fff;
  box-shadow: 0 14px 30px rgba(92, 171, 110, 0.32);
}

.floating-tile,
.spark {
  position: absolute;
  z-index: 5;
}

.floating-tile {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(93, 120, 171, 0.18);
}

.tile-a {
  top: 5rem;
  left: 1.8rem;
  background: linear-gradient(180deg, #5baeff, #3784d8);
  color: #fff;
}

.tile-b {
  top: 2.6rem;
  left: 4.5rem;
  width: 3.4rem;
  height: 3.4rem;
  background: linear-gradient(180deg, #ffcb93, #ffac7b);
  color: #fff;
  transform: rotate(12deg);
}

.spark {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.08);
}

.spark-one {
  top: 7rem;
  right: 3rem;
}

.spark-two {
  right: 8rem;
  bottom: 6rem;
}

.floating-pencil {
  position: absolute;
  z-index: 5;
  width: 4.9rem;
  height: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #5ec3ff 0 28%, #8adcf9 28% 56%, #f8c58d 56% 78%, #6987f1 78% 100%);
  box-shadow: 0 12px 26px rgba(93, 120, 171, 0.18);
}

.floating-pencil::before,
.floating-pencil::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.floating-pencil::before {
  left: -0.55rem;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-right: 0.6rem solid #f3d3a1;
}

.floating-pencil::after {
  right: -0.32rem;
  width: 0.5rem;
  height: 0.9rem;
  border-radius: 0.4rem;
  background: #ff8f88;
}

.pencil-top {
  top: 4rem;
  right: 1.8rem;
  transform: rotate(-34deg);
}

.pencil-bottom {
  left: 11rem;
  bottom: 5.6rem;
  transform: rotate(122deg);
}

.mini-book-cover,
.sub-hero-card,
.info-card,
.step-card,
.category-card,
.benefit-card,
.testimonial-card,
.filter-panel,
.detail-card,
.purchase-card,
.related-panel,
.empty-state,
.cta-panel,
.preview-dialog,
.results-bar {
  border: 1px solid var(--outline);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.mini-book-cover {
  padding: 1.1rem;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffe381, #ffbd6b);
}

.chip {
  display: inline-flex;
  align-self: start;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.mini-book-cover h3 {
  margin: 0.9rem 0 0.45rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.mini-book-cover p {
  margin: 0;
  color: rgba(32, 48, 76, 0.78);
}

.mini-book-pages {
  display: grid;
  gap: 0.85rem;
}

.page-card,
.sample-page,
.sample-detail-card {
  position: relative;
  padding: 1rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(77, 103, 153, 0.12);
}

.page-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.icon-circle,
.step-icon,
.category-icon {
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-weight: 800;
}

.icon-circle {
  width: 3rem;
  height: 3rem;
}

.yellow {
  background: var(--yellow-soft);
}

.blue {
  background: var(--blue-soft);
}

.green {
  background: var(--green-soft);
}

.orange {
  background: var(--orange-soft);
}

.purple {
  background: var(--purple-soft);
}

.teal {
  background: var(--teal-soft);
}

.floating-badge {
  position: absolute;
  z-index: 2;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

.badge-left {
  left: 4%;
  bottom: 24%;
}

.badge-right {
  right: 0;
  top: 18%;
}

.section-block {
  padding: 5.25rem 0;
}

.muted-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.64)),
    radial-gradient(circle at 14% 20%, rgba(255, 212, 92, 0.16), transparent 20%),
    radial-gradient(circle at 88% 30%, rgba(168, 213, 255, 0.18), transparent 18%);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.align-between {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.text-link,
.mini-link,
.back-link {
  color: #355b99;
  font-weight: 800;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.info-card,
.step-card,
.category-card,
.benefit-card,
.testimonial-card,
.detail-card,
.purchase-card {
  padding: 1.5rem;
  border-radius: 30px;
}

.info-card strong,
.sub-hero-card strong,
.detail-card h2,
.purchase-card strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.info-card p,
.sub-hero-card ul,
.step-card p,
.category-card p,
.benefit-card p,
.testimonial-card p,
.detail-list,
.purchase-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.steps-grid,
.category-grid,
.product-grid,
.testimonial-grid,
.sample-grid {
  display: grid;
  gap: 1.35rem;
}

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

.step-card {
  position: relative;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
}

.step-icon svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: #20304c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.step-number {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: #97a5bf;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step-card h3,
.category-card h3,
.product-copy h3,
.testimonial-card strong,
.sample-detail-card h3 {
  margin: 0 0 0.6rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
}

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

.category-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  min-height: 13rem;
  border-radius: 30px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.category-card:focus-visible,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.category-card.wide {
  grid-column: span 2;
}

.category-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

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

.product-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--outline);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cover-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 14rem;
  padding: 1.1rem;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--cover-a), var(--cover-b));
}

.cover-art.cover-art-image {
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.34)),
    linear-gradient(165deg, var(--cover-a), var(--cover-b));
}

.cover-art::after,
.cover-art::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.cover-art::before {
  inset: auto -2.5rem -2.5rem auto;
  width: 8rem;
  height: 8rem;
}

.cover-art::after {
  inset: 1rem auto auto -1.8rem;
  width: 5rem;
  height: 5rem;
}

.cover-badge {
  align-self: start;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.cover-art strong {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.02;
}

.cover-art small {
  position: relative;
  z-index: 1;
  margin-top: 0.4rem;
  font-weight: 700;
}

.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.product-meta,
.product-footer,
.results-bar,
.related-panel,
.preview-header,
.preview-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.product-meta {
  color: #8290a9;
  font-size: 0.88rem;
  font-weight: 700;
}

.results-bar p,
.preview-note p {
  margin: 0;
}

.price,
.purchase-price {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.benefit-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 1rem;
}

.benefit-badge {
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 800;
}

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

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
}

.cta-section {
  padding-bottom: 6rem;
}

.cta-panel {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 2.15rem;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(114, 196, 255, 0.15), rgba(255, 212, 92, 0.14)),
    rgba(255, 255, 255, 0.92);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(109, 129, 170, 0.12);
}

.footer-links {
  display: grid;
  gap: 0.8rem;
  justify-content: end;
  font-weight: 700;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand-logo {
  height: 3.8rem;
  max-width: min(23rem, 100%);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sub-hero-card ul,
.detail-list {
  padding-left: 1.2rem;
}

.shop-layout {
  padding-top: 2rem;
}

.shop-grid {
  grid-template-columns: 18rem minmax(0, 1fr);
  align-items: start;
}

.shop-grid-simple {
  grid-template-columns: minmax(0, 1fr);
}

.filter-panel {
  position: sticky;
  top: 6rem;
  padding: 1.3rem;
  border-radius: 28px;
}

.filter-group {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-group label {
  font-size: 0.92rem;
  font-weight: 800;
}

.filter-field span,
.filter-group label {
  font-size: 0.92rem;
  font-weight: 800;
}

.filter-field input,
.filter-field select,
.filter-group input,
.filter-group select {
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(76, 103, 144, 0.16);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
}

.results-bar {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 22px;
}

.empty-state {
  padding: 2rem;
  border-radius: 28px;
}

.empty-state.empty-state-catalog {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  min-height: 16rem;
  text-align: center;
  align-content: center;
}

.empty-state.empty-state-catalog h3,
.empty-state.empty-state-catalog p {
  margin: 0;
}

.empty-state.empty-state-catalog p {
  max-width: 34rem;
  color: var(--muted);
}

.empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.category-card.is-empty {
  justify-items: start;
}

.category-card.is-empty p {
  max-width: 18rem;
}

.product-detail-grid {
  grid-template-columns: 1fr 22rem;
  align-items: start;
}

.purchase-card {
  position: sticky;
  top: 6rem;
}

.trust-box {
  margin: 1rem 0 1.3rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(114, 196, 255, 0.08);
}

.fine-print {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.product-preview-stack {
  position: relative;
}

.flipbook-stack {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: -2rem;
  padding-left: 1.2rem;
}

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

.sample-page,
.sample-detail-card {
  min-height: 12rem;
  border: 1px solid rgba(76, 103, 144, 0.08);
}

.sample-index {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(32, 48, 76, 0.06);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tilt-1 {
  transform: rotate(-3deg);
}

.tilt-2 {
  transform: rotate(2deg);
}

.tilt-3 {
  transform: rotate(-1.5deg);
}

.preview-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

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

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 29, 45, 0.55);
}

.preview-dialog {
  position: relative;
  z-index: 1;
  width: min(56rem, calc(100% - 2rem));
  margin: 4vh auto;
  padding: 1.5rem;
  border-radius: 34px;
}

.preview-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 50%;
  background: rgba(32, 48, 76, 0.08);
  cursor: pointer;
  font-size: 1.6rem;
}

.preview-content {
  padding-top: 1rem;
}

.preview-header h2,
.preview-flipbook h4 {
  margin: 0;
}

.preview-flipbook {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.preview-flipbook .sample-page {
  min-height: 14rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.preview-flipbook .sample-page:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: var(--shadow-md);
}

.info-card,
.step-card,
.category-card,
.benefit-card,
.testimonial-card,
.product-card,
.sample-detail-card,
.sample-page,
.detail-card,
.purchase-card,
.preview-dialog,
.cta-panel {
  backdrop-filter: blur(16px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.accent-yellow .sample-page,
.accent-yellow .sample-detail-card {
  background: linear-gradient(180deg, #fffdfa, #fff3cf);
}

.accent-blue .sample-page,
.accent-blue .sample-detail-card {
  background: linear-gradient(180deg, #ffffff, #eef8ff);
}

.accent-green .sample-page,
.accent-green .sample-detail-card {
  background: linear-gradient(180deg, #ffffff, #effff1);
}

.accent-orange .sample-page,
.accent-orange .sample-detail-card {
  background: linear-gradient(180deg, #ffffff, #fff2e8);
}

.accent-purple .sample-page,
.accent-purple .sample-detail-card {
  background: linear-gradient(180deg, #ffffff, #f6f2ff);
}

.accent-teal .sample-page,
.accent-teal .sample-detail-card {
  background: linear-gradient(180deg, #ffffff, #ebfffd);
}

@media (max-width: 980px) {
  .hero-grid,
  .sub-hero-grid,
  .benefit-grid,
  .shop-grid,
  .product-detail-grid,
  .footer-grid,
  .cta-panel,
  .product-hero-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .product-grid,
  .testimonial-grid,
  .sample-grid,
  .preview-flipbook,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card.wide {
    grid-column: span 1;
  }

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

  .align-between,
  .results-bar,
  .preview-header,
  .preview-note {
    align-items: start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: start;
  }

  .filter-panel,
  .purchase-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    height: 2.6rem;
    max-width: min(16rem, 56vw);
  }

  .footer-brand .brand-logo {
    height: 3.2rem;
    max-width: min(18rem, 92vw);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    min-width: min(20rem, calc(100vw - 2rem));
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-panel {
    position: relative;
  }

  .hero-grid,
  .product-hero-grid {
    gap: 1.2rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-visual {
    min-height: auto;
  }

  .showcase-stage {
    min-height: 28rem;
  }

  .browser-stack {
    inset: 2rem 0.8rem 1.2rem 2.2rem;
  }

  .window-one {
    inset: 7.3rem 3rem 2.4rem 1.2rem;
  }

  .window-two {
    inset: 5.5rem 0.8rem 4.8rem 5.4rem;
  }

  .window-three {
    inset: 3rem 0 6.5rem 7.2rem;
  }

  .window-four {
    inset: 2rem 0.6rem 9.5rem 8rem;
  }

  .hero-feature-row {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .product-grid,
  .testimonial-grid,
  .sample-grid,
  .preview-flipbook,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .preview-dialog {
    width: calc(100% - 1rem);
    margin-top: 2vh;
    padding: 1.25rem;
  }

  .section-block {
    padding: 3.8rem 0;
  }

  .hero-section {
    padding-top: 2.5rem;
  }
}

.hidden {
  display: none !important;
}

.admin-body {
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #ebefff;
  background:
    radial-gradient(circle at 12% 14%, rgba(101, 132, 255, 0.24), transparent 23%),
    radial-gradient(circle at 82% 8%, rgba(255, 212, 144, 0.18), transparent 18%),
    radial-gradient(circle at 20% 84%, rgba(75, 110, 214, 0.18), transparent 24%),
    linear-gradient(180deg, #090d1f 0%, #101631 48%, #0b1127 100%);
}

.admin-body::before,
.admin-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.admin-body::before {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.5px),
    radial-gradient(circle at 22% 6%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 44% 10%, rgba(255, 255, 255, 0.14) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 66% 6%, rgba(255, 255, 255, 0.15) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 78% 15%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1.6px),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1.5px);
  opacity: 0.6;
}

.admin-body::after {
  background:
    radial-gradient(circle at 50% -12%, rgba(132, 106, 255, 0.22), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(88, 118, 255, 0.12), transparent 28%);
}

.admin-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.admin-login-view,
.admin-access-view,
.admin-app {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.admin-login-view,
.admin-access-view {
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
}

.admin-access-card {
  width: min(520px, 100%);
  padding: 2rem 2.1rem;
  border-radius: 30px;
  border: 1px solid rgba(143, 160, 255, 0.16);
  background: linear-gradient(180deg, rgba(15, 22, 51, 0.9), rgba(12, 18, 43, 0.84));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.admin-login-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: 1.35rem;
  width: min(1180px, 100%);
}

.admin-login-copy,
.admin-login-card,
.admin-card,
.admin-stat-card,
.admin-sidebar,
.admin-topbar,
.admin-user-item,
.admin-access-card {
  backdrop-filter: blur(18px) saturate(130%);
}

.admin-login-copy,
.admin-login-card {
  position: relative;
  overflow: hidden;
  padding: 2.2rem;
  border-radius: 34px;
  border: 1px solid rgba(136, 154, 255, 0.15);
  background:
    radial-gradient(circle at top right, rgba(127, 104, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(16, 24, 55, 0.92), rgba(11, 17, 41, 0.86));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.admin-kicker {
  display: inline-flex;
  margin-bottom: 0.95rem;
  color: #aab8ff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-login-copy h1,
.admin-topbar h2,
.admin-section-heading h3 {
  margin: 0;
  color: #f7f8ff;
  font-size: clamp(2.4rem, 4vw, 3.55rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.admin-topbar h2,
.admin-section-heading h3 {
  font-size: clamp(1.7rem, 2.6vw, 3rem);
}

.admin-login-copy p,
.admin-access-card p,
.admin-login-header small,
.admin-field span,
.admin-stat-card small,
.admin-activity-item span,
.admin-activity-item small,
.admin-user-item small,
.admin-table-row,
.admin-bullet-list,
.admin-code-block,
.admin-search span {
  color: #99a4d4;
}

.admin-security-list,
.admin-inline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-security-list {
  margin-top: 1.65rem;
}

.admin-security-list span,
.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(144, 161, 255, 0.12);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.admin-security-list span,
.admin-badge.neutral {
  background: rgba(90, 103, 165, 0.2);
  color: #dce4ff;
}

.admin-badge.success {
  border-color: rgba(111, 228, 171, 0.16);
  background: rgba(76, 178, 124, 0.2);
  color: #a6f0c7;
}

.admin-login-header {
  margin-bottom: 1.3rem;
}

.admin-form-note {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
}

.admin-login-header strong,
.admin-card-header strong,
.admin-user-item strong,
.admin-sidebar-brand strong {
  display: block;
  color: #f7f8ff;
  font-size: 1rem;
}

.admin-field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(146, 160, 235, 0.14);
  border-radius: 18px;
  background: rgba(17, 25, 56, 0.78);
  color: #f5f8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-field textarea {
  resize: vertical;
}

.admin-field input::placeholder,
.admin-field textarea::placeholder {
  color: rgba(178, 189, 229, 0.62);
}

.admin-btn-primary {
  border: 0;
  background: linear-gradient(135deg, #617bff, #455bd0);
  color: #fff;
  box-shadow: 0 18px 34px rgba(66, 88, 203, 0.34);
}

.admin-body .btn-secondary {
  border: 1px solid rgba(141, 156, 231, 0.16);
  background: rgba(76, 89, 153, 0.18);
  color: #eef2ff;
  box-shadow: none;
}

.admin-app {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 2rem);
  padding: 1.2rem;
  border: 1px solid rgba(140, 154, 233, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top center, rgba(100, 120, 229, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(14, 21, 49, 0.92), rgba(11, 16, 38, 0.88));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.admin-sidebar-inner {
  display: grid;
  gap: 1.4rem;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.35rem;
}

.admin-brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(72, 112, 255, 0.95), rgba(125, 88, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 16px 28px rgba(66, 88, 203, 0.28);
}

.admin-brand-mark svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: #f8faff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-nav {
  display: grid;
  gap: 0.45rem;
}

.admin-nav-link,
.admin-logout {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: #adb8e2;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.admin-nav-link:hover,
.admin-nav-link.is-active,
.admin-logout:hover {
  border-color: rgba(133, 149, 255, 0.18);
  background: rgba(93, 110, 189, 0.24);
  color: #f7fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-nav-link:hover,
.admin-logout:hover {
  transform: translateY(-1px);
}

.admin-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(118, 130, 204, 0.18);
  color: inherit;
  flex-shrink: 0;
}

.admin-nav-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-security-card {
  padding: 1rem 1rem 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(140, 154, 233, 0.12);
  background: linear-gradient(180deg, rgba(18, 26, 58, 0.8), rgba(13, 20, 46, 0.76));
}

.admin-security-card strong {
  display: block;
  margin-bottom: 0.7rem;
}

.admin-security-card ul,
.admin-bullet-list {
  margin: 0;
  padding-left: 1.1rem;
}

.admin-sidebar-footer {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.admin-profile-card {
  gap: 0.95rem;
}

.admin-profile-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.admin-avatar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #8da0ff, #5367d8);
  color: #f8fbff;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 16px 24px rgba(43, 59, 145, 0.28);
}

.admin-profile-card small {
  display: block;
  color: #a2add8;
}

.admin-profile-card ul {
  display: grid;
  gap: 0.55rem;
  color: #93a1d0;
}

.admin-main {
  min-width: 0;
  padding: 0.2rem 0.2rem 0.75rem 0;
}

.admin-decoy {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.admin-decoy-card {
  width: min(420px, 100%);
  padding: 2rem;
  border-radius: 30px;
  border: 1px solid rgba(143, 160, 255, 0.16);
  background: linear-gradient(180deg, rgba(16, 24, 55, 0.92), rgba(11, 17, 41, 0.86));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.admin-decoy-card h1 {
  margin: 0 0 0.8rem;
}

.admin-decoy-card p {
  margin: 0 0 1.2rem;
  color: #97a7c4;
}

.admin-topbar {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.9rem 2rem 2rem;
  border-radius: 34px;
  border: 1px solid rgba(135, 150, 230, 0.14);
  background:
    radial-gradient(circle at 80% -10%, rgba(255, 207, 145, 0.18), transparent 24%),
    radial-gradient(circle at 20% 120%, rgba(110, 90, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(17, 25, 58, 0.94), rgba(11, 17, 42, 0.9));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

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

.admin-topbar::before {
  inset: 0;
  background:
    radial-gradient(circle at 10% 24%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.4px),
    radial-gradient(circle at 46% 30%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 18%, rgba(255, 255, 255, 0.12) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 76% 46%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1.5px);
  opacity: 0.55;
}

.admin-topbar::after {
  inset: 20px auto auto -10%;
  width: 72%;
  height: 180px;
  border-radius: 50%;
  border-top: 1px solid rgba(168, 182, 255, 0.16);
  opacity: 0.45;
  filter: blur(0.2px);
}

.admin-topbar-copy,
.admin-heading-row {
  position: relative;
  z-index: 1;
}

.admin-topbar-copy {
  flex: 1 1 auto;
}

.admin-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-welcome {
  margin: 0.7rem 0 0;
  color: #cad3ff;
  font-size: clamp(1.2rem, 1.8vw, 1.9rem);
  font-weight: 600;
}

.admin-topbar-text {
  max-width: 40rem;
  margin: 0.42rem 0 0;
  color: #9ca7d7;
  line-height: 1.7;
}

.admin-topbar-book {
  position: relative;
  flex-shrink: 0;
  width: 9rem;
  height: 5.8rem;
  margin: -0.25rem -0.4rem 0 0;
}

.admin-topbar-book::before,
.admin-topbar-book::after,
.admin-topbar-book span {
  content: "";
  position: absolute;
  border-radius: 18px 18px 10px 10px;
}

.admin-topbar-book::before {
  right: 1.2rem;
  top: 0.2rem;
  width: 3.8rem;
  height: 4.5rem;
  background: linear-gradient(180deg, rgba(255, 237, 206, 0.98), rgba(232, 194, 145, 0.88));
  transform: skewY(-10deg) rotate(7deg);
  box-shadow: 0 16px 34px rgba(253, 210, 152, 0.24);
}

.admin-topbar-book::after {
  right: 3.7rem;
  top: 0.55rem;
  width: 3.4rem;
  height: 4rem;
  background: linear-gradient(180deg, rgba(209, 193, 255, 0.94), rgba(123, 110, 219, 0.72));
  transform: skewY(10deg) rotate(-7deg);
  opacity: 0.9;
}

.admin-topbar-book span {
  inset: auto 0.65rem 0 0;
  height: 1.35rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 214, 170, 0.62), rgba(255, 214, 170, 0));
  filter: blur(10px);
}

.admin-panel {
  display: none;
  margin-top: 1rem;
}

.admin-panel.is-active {
  display: block;
}

.admin-overview-grid,
.admin-two-column,
.admin-form-grid {
  display: grid;
  gap: 1rem;
}

.admin-overview-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stat-card,
.admin-card,
.admin-user-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(133, 147, 221, 0.14);
  background:
    radial-gradient(circle at 85% 100%, rgba(97, 116, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(19, 27, 60, 0.88), rgba(12, 19, 44, 0.82));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  padding: 1.3rem;
  border-radius: 26px;
}

.admin-stat-card span {
  display: block;
  color: #b1bcdf;
  font-size: 0.84rem;
  margin-bottom: 0.7rem;
}

.admin-stat-card strong {
  display: block;
  position: relative;
  z-index: 1;
  font-size: clamp(2.3rem, 3.2vw, 3.1rem);
  color: #f8fbff;
  line-height: 1;
}

.admin-stat-card small {
  position: relative;
  z-index: 1;
  max-width: 13rem;
  line-height: 1.5;
}

.admin-stat-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -44% auto;
  width: 11rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(98, 119, 255, 0.22), rgba(98, 119, 255, 0));
  filter: blur(18px);
}

.admin-stat-illustration {
  position: absolute;
  right: 1rem;
  bottom: 0.95rem;
  width: 5.1rem;
  height: 3.65rem;
  opacity: 0.92;
}

.admin-stat-illustration span {
  position: absolute;
  display: block;
  margin: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(188, 198, 255, 0.28));
  box-shadow: 0 12px 26px rgba(69, 91, 208, 0.2);
}

.admin-stat-card--catalog .admin-stat-illustration span:nth-child(1) {
  inset: 0.8rem auto 0 0.2rem;
  width: 1.4rem;
  height: 2.3rem;
  background: linear-gradient(180deg, #ffd885, #f2976c);
}

.admin-stat-card--catalog .admin-stat-illustration span:nth-child(2) {
  inset: 0.4rem auto 0 1.8rem;
  width: 1.45rem;
  height: 2.7rem;
  background: linear-gradient(180deg, #84b7ff, #6570ff);
}

.admin-stat-card--catalog .admin-stat-illustration span:nth-child(3) {
  inset: 0.95rem auto 0 3.4rem;
  width: 1.25rem;
  height: 2.15rem;
  background: linear-gradient(180deg, #bca8ff, #7b69df);
}

.admin-stat-card--orders .admin-stat-illustration span:nth-child(1) {
  inset: 1.25rem 1.25rem auto auto;
  width: 2.5rem;
  height: 1.6rem;
  border-radius: 14px 14px 16px 16px;
  background: linear-gradient(180deg, #8de2b3, #56b876);
}

.admin-stat-card--orders .admin-stat-illustration span:nth-child(2) {
  inset: 0.7rem 1.9rem auto auto;
  width: 1.25rem;
  height: 0.72rem;
  border-radius: 999px 999px 0 0;
  border: 2px solid rgba(145, 237, 191, 0.82);
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
}

.admin-stat-card--orders .admin-stat-illustration span:nth-child(3) {
  inset: 2.55rem 2.6rem auto auto;
  width: 1.7rem;
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(140, 160, 255, 0.18), rgba(140, 160, 255, 0.88));
}

.admin-stat-card--downloads .admin-stat-illustration span:nth-child(1) {
  inset: 0.45rem auto auto 2rem;
  width: 1rem;
  height: 1.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #9fe6ff, #5f9dff);
}

.admin-stat-card--downloads .admin-stat-illustration span:nth-child(2) {
  inset: 1.85rem auto auto 1.35rem;
  width: 2.3rem;
  height: 1.2rem;
  clip-path: polygon(50% 100%, 100% 0, 70% 0, 70% 0, 30% 0, 0 0);
  background: linear-gradient(180deg, #9fe6ff, #5f9dff);
  border-radius: 0;
}

.admin-stat-card--downloads .admin-stat-illustration span:nth-child(3) {
  inset: 3rem auto auto 1rem;
  width: 3.1rem;
  height: 0.36rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126, 217, 255, 0.28), rgba(126, 217, 255, 0.92));
}

.admin-stat-card--revenue .admin-stat-illustration span:nth-child(1) {
  inset: 0.5rem auto auto 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe2a5, #f3a96e);
}

.admin-stat-card--revenue .admin-stat-illustration span:nth-child(2) {
  inset: 1.25rem auto auto 2.2rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #b89cff, #7260eb);
}

.admin-stat-card--revenue .admin-stat-illustration span:nth-child(3) {
  inset: 1.48rem auto auto 1.82rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.admin-two-column {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.admin-stack-top {
  margin-top: 1rem;
}

.admin-card-header,
.admin-section-heading,
.admin-user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-card-header {
  position: relative;
  z-index: 1;
}

.admin-card-chip {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(141, 156, 231, 0.15);
  background: rgba(89, 102, 168, 0.22);
}

.admin-card-chip svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: #dce5ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-activity-list {
  display: grid;
  gap: 0.82rem;
  margin-top: 1rem;
}

.admin-activity-item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(147, 168, 207, 0.08);
}

.admin-activity-item:first-child {
  border-top: 0;
  padding-top: 0.25rem;
}

.admin-activity-item strong,
.admin-table-head,
.admin-user-item span {
  color: #f5f8ff;
}

.admin-chart {
  margin-top: 1rem;
}

.admin-chart-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: end;
  min-height: 180px;
}

.admin-chart-bars span {
  display: block;
  height: var(--bar);
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, #8bb0ff, #365dc8);
}

.admin-chart-labels {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.admin-field-help {
  display: block;
  margin-top: 0.45rem;
  color: #9ea9d4;
  font-size: 0.82rem;
  line-height: 1.5;
}

.admin-field-wide {
  grid-column: 1 / -1;
}

.admin-upload-preview {
  margin-top: -0.35rem;
}

.admin-upload-preview-frame {
  display: inline-flex;
  padding: 0.6rem;
  border-radius: 22px;
  border: 1px solid rgba(147, 168, 207, 0.14);
  background: rgba(16, 28, 48, 0.72);
}

.admin-upload-preview-frame img {
  display: block;
  width: min(240px, 100%);
  max-height: 320px;
  border-radius: 14px;
  object-fit: cover;
}

.admin-table {
  margin-top: 1rem;
}

.admin-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.8fr;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(147, 168, 207, 0.08);
  font-size: 0.92rem;
}

.admin-table-head {
  border-top: 0;
  padding-top: 0;
  font-weight: 700;
  color: #dee5ff;
}

.admin-search {
  display: grid;
  gap: 0.45rem;
  min-width: 240px;
}

.admin-search input {
  min-height: 3rem;
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(152, 177, 222, 0.14);
  border-radius: 16px;
  background: rgba(16, 28, 48, 0.82);
  color: #fff;
}

.admin-user-list {
  display: grid;
  gap: 0.8rem;
}

.admin-user-item {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-code-block {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-code-block code {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(16, 28, 48, 0.95);
  color: #bfd4ff;
  font-family: "SFMono-Regular", Consolas, monospace;
  overflow-wrap: anywhere;
}

@media (max-width: 1240px) {
  .admin-topbar {
    flex-direction: column;
  }

  .admin-inline-row {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .admin-login-panel,
  .admin-app,
  .admin-overview-grid,
  .admin-two-column,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-app {
    min-height: auto;
  }

  .admin-sidebar {
    min-height: auto;
  }

  .admin-main {
    padding: 0;
  }

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

  .admin-user-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-login-view,
  .admin-main {
    padding: 1rem;
  }

  .admin-app {
    padding: 0.75rem;
  }

  .admin-topbar,
  .admin-card-header,
  .admin-section-heading,
  .admin-user-item {
    flex-direction: column;
    align-items: start;
  }

  .admin-topbar {
    padding: 1.5rem;
  }

  .admin-login-copy,
  .admin-login-card,
  .admin-card,
  .admin-stat-card,
  .admin-sidebar {
    border-radius: 24px;
  }

  .admin-overview-grid {
    grid-template-columns: 1fr;
  }

  .admin-heading-row {
    flex-direction: column;
  }

  .admin-topbar-book {
    margin-left: auto;
  }

  .admin-table-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* 2026 storefront redesign overrides */

:root {
  --bg: #f7f1e3;
  --bg-2: #fbf8f1;
  --surface: rgba(255, 251, 245, 0.82);
  --surface-strong: rgba(255, 253, 249, 0.94);
  --ink: #1f2957;
  --ink-soft: #4d587f;
  --accent-gold: #f4c95d;
  --accent-coral: #ef8b6d;
  --accent-sky: #9dd0ff;
  --accent-leaf: #9ed39a;
  --accent-violet: #c7b4ff;
  --line: rgba(43, 53, 93, 0.1);
  --shadow-xl: 0 30px 80px rgba(63, 75, 118, 0.16);
  --shadow-lg: 0 24px 52px rgba(63, 75, 118, 0.14);
  --shadow-md: 0 16px 32px rgba(63, 75, 118, 0.12);
  --shadow-sm: 0 10px 20px rgba(63, 75, 118, 0.08);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1220px;
}

body:not(.admin-body) {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(244, 201, 93, 0.38), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(157, 208, 255, 0.36), transparent 24%),
    radial-gradient(circle at 78% 82%, rgba(158, 211, 154, 0.22), transparent 20%),
    linear-gradient(180deg, #fff7ea 0%, #fbf8f1 42%, #f1f6ff 100%);
}

body[data-page="shop"],
body[data-page="product"] {
  background:
    radial-gradient(circle at 10% 8%, rgba(244, 201, 93, 0.26), transparent 21%),
    radial-gradient(circle at 88% 14%, rgba(199, 180, 255, 0.18), transparent 18%),
    linear-gradient(180deg, #fff9ee 0%, #f8f9f7 50%, #eef4ff 100%);
}

body:not(.admin-body) a {
  color: inherit;
}

body:not(.admin-body) .container {
  width: min(var(--max-width), calc(100% - 2.2rem));
}

body:not(.admin-body) .site-header {
  background: rgba(255, 248, 238, 0.72);
  border-bottom: 1px solid rgba(43, 53, 93, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
}

body:not(.admin-body) .site-header.compact {
  background: rgba(255, 250, 244, 0.82);
}

body:not(.admin-body) .nav-wrap {
  padding: 1rem 0;
}

body:not(.admin-body) .brand-logo {
  height: 3rem;
  max-width: min(19rem, 42vw);
}

body:not(.admin-body) .site-nav {
  gap: 1.4rem;
}

body:not(.admin-body) .site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

body:not(.admin-body) .site-nav a:hover,
body:not(.admin-body) .site-nav a:focus-visible {
  color: var(--ink);
}

body:not(.admin-body) .nav-pill,
body:not(.admin-body) .btn,
body:not(.admin-body) .pack-btn {
  border-radius: 999px;
}

body:not(.admin-body) .nav-pill {
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 237, 208, 0.98));
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

body:not(.admin-body) .nav-toggle {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

body:not(.admin-body) .nav-toggle span {
  background: var(--ink);
}

body:not(.admin-body) .hero-section {
  padding: 2.25rem 0 2rem;
}

body:not(.admin-body) .hero-grid,
body:not(.admin-body) .product-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 2.6rem;
  align-items: center;
}

body:not(.admin-body) .sub-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: 2rem;
}

body:not(.admin-body) .hero-copy h1,
body:not(.admin-body) .sub-hero h1,
body:not(.admin-body) .product-hero h1,
body:not(.admin-body) .section-heading h2,
body:not(.admin-body) .cta-panel h2 {
  font-family: "Fraunces", serif;
  color: #17204a;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

body:not(.admin-body) .hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
}

body:not(.admin-body) .sub-hero h1,
body:not(.admin-body) .product-hero h1,
body:not(.admin-body) .section-heading h2,
body:not(.admin-body) .cta-panel h2 {
  font-size: clamp(2.3rem, 4.4vw, 4rem);
}

body:not(.admin-body) .hero-text,
body:not(.admin-body) .section-heading p,
body:not(.admin-body) .sub-hero p,
body:not(.admin-body) .cta-panel p,
body:not(.admin-body) .footer-copy,
body:not(.admin-body) .product-copy p,
body:not(.admin-body) .detail-card p,
body:not(.admin-body) .results-bar small {
  color: var(--ink-soft);
  line-height: 1.75;
}

body:not(.admin-body) .hero-text {
  max-width: 37rem;
  margin-top: 1.15rem;
  font-size: 1.08rem;
}

body:not(.admin-body) .eyebrow {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(244, 201, 93, 0.36);
  background: rgba(255, 247, 220, 0.82);
  color: #72520f;
  box-shadow: 0 10px 24px rgba(244, 201, 93, 0.14);
  font-weight: 800;
}

body:not(.admin-body) .hero-kicker {
  align-items: center;
  flex-wrap: wrap;
}

body:not(.admin-body) .hero-kicker span:last-child {
  color: rgba(114, 82, 15, 0.72);
}

body:not(.admin-body) .btn {
  min-height: 3.4rem;
  padding: 0.9rem 1.4rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

body:not(.admin-body) .btn-primary,
body:not(.admin-body) .pack-btn {
  background: linear-gradient(135deg, #1d2757, #2f4d95);
  color: #fff;
  box-shadow: 0 20px 34px rgba(30, 43, 92, 0.24);
}

body:not(.admin-body) .btn-secondary {
  border: 1px solid rgba(33, 44, 86, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

body:not(.admin-body) .hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

body:not(.admin-body) .proof-card,
body:not(.admin-body) .metric-card,
body:not(.admin-body) .hero-note-card,
body:not(.admin-body) .info-card,
body:not(.admin-body) .step-card,
body:not(.admin-body) .category-card,
body:not(.admin-body) .benefit-card,
body:not(.admin-body) .testimonial-card,
body:not(.admin-body) .filter-panel,
body:not(.admin-body) .detail-card,
body:not(.admin-body) .purchase-card,
body:not(.admin-body) .related-panel,
body:not(.admin-body) .empty-state,
body:not(.admin-body) .cta-panel,
body:not(.admin-body) .preview-dialog,
body:not(.admin-body) .results-bar,
body:not(.admin-body) .sub-hero-card {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

body:not(.admin-body) .proof-card,
body:not(.admin-body) .metric-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

body:not(.admin-body) .proof-card strong,
body:not(.admin-body) .metric-card strong,
body:not(.admin-body) .hero-note-card strong,
body:not(.admin-body) .sub-hero-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

body:not(.admin-body) .proof-card p,
body:not(.admin-body) .metric-card span,
body:not(.admin-body) .hero-note-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

body:not(.admin-body) .hero-visual {
  min-height: 38rem;
}

body:not(.admin-body) .hero-stage {
  position: relative;
  min-height: 38rem;
  padding: 1.5rem;
  border-radius: clamp(28px, 4vw, 44px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 246, 224, 0.96), rgba(255, 255, 255, 0.92) 42%, rgba(223, 238, 255, 0.96));
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

body:not(.admin-body) .hero-stage-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.88;
}

body:not(.admin-body) .glow-warm {
  inset: -2rem auto auto -2rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(244, 201, 93, 0.86), rgba(244, 201, 93, 0));
}

body:not(.admin-body) .glow-cool {
  inset: auto -3rem -4rem auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(157, 208, 255, 0.9), rgba(157, 208, 255, 0));
}

body:not(.admin-body) .hero-note-card {
  position: absolute;
  z-index: 3;
  width: min(18rem, 58%);
  padding: 1rem 1.1rem;
  border-radius: 24px;
}

body:not(.admin-body) .note-top {
  top: 1.3rem;
  right: 1.3rem;
}

body:not(.admin-body) .note-bottom {
  left: 1.3rem;
  bottom: 1.3rem;
}

body:not(.admin-body) .note-label,
body:not(.admin-body) .filter-panel-kicker {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: #6a7398;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.admin-body) .hero-mini-list,
body:not(.admin-body) .product-feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

body:not(.admin-body) .hero-book {
  position: absolute;
  display: grid;
  gap: 0.75rem;
  width: min(22rem, 68%);
  padding: 1.4rem;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

body:not(.admin-body) .hero-book-back {
  top: 5rem;
  right: 3.3rem;
  min-height: 15.5rem;
  background: linear-gradient(160deg, #d5edd5, #f8fff5);
  transform: rotate(7deg);
}

body:not(.admin-body) .hero-book-front {
  left: 3.2rem;
  top: 8.4rem;
  min-height: 17.5rem;
  background: linear-gradient(160deg, #ffd269, #fff7d9 60%, #eaf4cb);
  transform: rotate(-4deg);
}

body:not(.admin-body) .hero-book-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
}

body:not(.admin-body) .hero-book strong {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 0.95;
}

body:not(.admin-body) .hero-book small {
  color: rgba(31, 41, 87, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

body:not(.admin-body) .hero-book-tags,
body:not(.admin-body) .hero-book-footer,
body:not(.admin-body) .cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body:not(.admin-body) .hero-book-tags span,
body:not(.admin-body) .cover-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
}

body:not(.admin-body) .hero-book-footer {
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

body:not(.admin-body) .hero-book-price {
  font-size: 1.2rem;
  font-weight: 800;
}

body:not(.admin-body) .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

body:not(.admin-body) .metric-card strong {
  margin-bottom: 0.35rem;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

body:not(.admin-body) .section-block {
  padding: 5rem 0;
}

body:not(.admin-body) .muted-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at 8% 20%, rgba(244, 201, 93, 0.14), transparent 18%),
    radial-gradient(circle at 94% 28%, rgba(157, 208, 255, 0.16), transparent 20%);
}

body:not(.admin-body) .section-heading {
  margin-bottom: 2.25rem;
}

body:not(.admin-body) .align-between {
  gap: 1.4rem;
}

body:not(.admin-body) .info-grid,
body:not(.admin-body) .steps-grid,
body:not(.admin-body) .testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:not(.admin-body) .category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

body:not(.admin-body) .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

body:not(.admin-body) .benefit-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.4rem;
}

body:not(.admin-body) .info-card,
body:not(.admin-body) .step-card,
body:not(.admin-body) .category-card,
body:not(.admin-body) .benefit-card,
body:not(.admin-body) .testimonial-card,
body:not(.admin-body) .detail-card,
body:not(.admin-body) .purchase-card,
body:not(.admin-body) .sub-hero-card,
body:not(.admin-body) .empty-state {
  padding: 1.55rem;
  border-radius: var(--radius-lg);
}

body:not(.admin-body) .step-card,
body:not(.admin-body) .category-card,
body:not(.admin-body) .product-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body:not(.admin-body) .step-card:hover,
body:not(.admin-body) .category-card:hover,
body:not(.admin-body) .product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

body:not(.admin-body) .step-icon,
body:not(.admin-body) .category-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 22px;
}

body:not(.admin-body) .category-icon {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body:not(.admin-body) .category-card.wide {
  grid-column: span 2;
}

body:not(.admin-body) .product-card {
  gap: 1.1rem;
  padding: 1rem;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-md);
}

body:not(.admin-body) .cover-art {
  min-height: 15rem;
  padding: 1.15rem;
  border-radius: 26px;
  background: linear-gradient(160deg, var(--cover-a), var(--cover-b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body:not(.admin-body) .cover-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

body:not(.admin-body) .cover-art strong {
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
}

body:not(.admin-body) .cover-art small {
  color: rgba(31, 41, 87, 0.72);
  font-size: 0.9rem;
}

body:not(.admin-body) .cover-tags {
  margin-top: 1rem;
}

body:not(.admin-body) .product-copy {
  gap: 0.9rem;
}

body:not(.admin-body) .product-copy h3,
body:not(.admin-body) .detail-card h2,
body:not(.admin-body) .preview-header h2,
body:not(.admin-body) .preview-flipbook h4 {
  font-family: "Fraunces", serif;
  color: #17204a;
}

body:not(.admin-body) .product-meta {
  flex-wrap: wrap;
  justify-content: flex-start;
  color: #697397;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body:not(.admin-body) .product-feature-list {
  margin-top: -0.15rem;
}

body:not(.admin-body) .download-chip,
body:not(.admin-body) .results-chip {
  border: 1px solid rgba(43, 53, 93, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: none;
}

body:not(.admin-body) .mini-link,
body:not(.admin-body) .text-link,
body:not(.admin-body) .back-link {
  color: #28458d;
  font-weight: 800;
}

body:not(.admin-body) .benefit-list,
body:not(.admin-body) .detail-stack {
  display: grid;
  gap: 1rem;
}

body:not(.admin-body) .testimonial-card p {
  font-size: 1rem;
}

body:not(.admin-body) .testimonial-card strong {
  margin-top: 1.2rem;
}

body:not(.admin-body) .cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  padding: 2rem;
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(255, 241, 204, 0.92), rgba(255, 255, 255, 0.82) 45%, rgba(222, 238, 255, 0.92));
}

body:not(.admin-body) .site-footer {
  padding: 1.5rem 0 3rem;
}

body:not(.admin-body) .footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  border-top: 1px solid rgba(43, 53, 93, 0.08);
}

body:not(.admin-body) .footer-links {
  gap: 0.65rem;
}

body:not(.admin-body) .sub-hero {
  padding: 3.1rem 0 1.1rem;
}

body:not(.admin-body) .shop-highlight-card ul,
body:not(.admin-body) .detail-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

body:not(.admin-body) .shop-layout {
  padding-top: 1rem;
}

body:not(.admin-body) .shop-grid {
  grid-template-columns: minmax(250px, 18rem) minmax(0, 1fr);
  gap: 1.2rem;
}

body:not(.admin-body) .shop-grid-simple {
  grid-template-columns: minmax(0, 1fr);
}

body:not(.admin-body) .filter-panel {
  top: 5.6rem;
  padding: 1.4rem;
  border-radius: 28px;
}

body:not(.admin-body) .filter-panel-header h2 {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
}

body:not(.admin-body) .filter-group input,
body:not(.admin-body) .filter-group select,
body:not(.admin-body) .admin-field input,
body:not(.admin-body) .admin-field select,
body:not(.admin-body) .admin-field textarea {
  border-radius: 18px;
  border: 1px solid rgba(43, 53, 93, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

body:not(.admin-body) .results-bar {
  padding: 1rem 1.25rem;
  border-radius: 24px;
}

body:not(.admin-body) .results-bar p {
  margin: 0 0 0.15rem;
  font-weight: 800;
}

body:not(.admin-body) .product-detail-grid {
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: 1.1rem;
}

body:not(.admin-body) .purchase-card {
  top: 5.6rem;
}

body:not(.admin-body) .purchase-price {
  font-family: "Fraunces", serif;
  font-size: 2.3rem;
}

body:not(.admin-body) .trust-box {
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(235, 244, 255, 0.92), rgba(255, 247, 224, 0.92));
}

body:not(.admin-body) .sample-grid,
body:not(.admin-body) .preview-flipbook {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:not(.admin-body) .sample-page,
body:not(.admin-body) .sample-detail-card {
  border: 1px solid rgba(43, 53, 93, 0.08);
  border-radius: 24px;
}

body:not(.admin-body) .sample-detail-card h3 {
  font-family: "Fraunces", serif;
}

body:not(.admin-body) .related-panel {
  padding: 1.45rem 1.6rem;
  border-radius: 28px;
}

body:not(.admin-body) .preview-dialog {
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.96), rgba(240, 247, 255, 0.96));
}

body:not(.admin-body) .preview-close {
  background: rgba(26, 35, 72, 0.08);
  color: var(--ink);
}

body:not(.admin-body) .info-card,
body:not(.admin-body) .step-card,
body:not(.admin-body) .category-card,
body:not(.admin-body) .benefit-card,
body:not(.admin-body) .testimonial-card,
body:not(.admin-body) .sample-detail-card,
body:not(.admin-body) .sample-page,
body:not(.admin-body) .detail-card,
body:not(.admin-body) .purchase-card,
body:not(.admin-body) .preview-dialog,
body:not(.admin-body) .cta-panel,
body:not(.admin-body) .sub-hero-card,
body:not(.admin-body) .proof-card,
body:not(.admin-body) .metric-card {
  backdrop-filter: blur(12px);
}

@media (max-width: 1080px) {
  body:not(.admin-body) .hero-grid,
  body:not(.admin-body) .product-hero-grid,
  body:not(.admin-body) .sub-hero-grid,
  body:not(.admin-body) .benefit-grid,
  body:not(.admin-body) .shop-grid,
  body:not(.admin-body) .product-detail-grid,
  body:not(.admin-body) .footer-grid,
  body:not(.admin-body) .cta-panel {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .hero-proof-grid,
  body:not(.admin-body) .hero-metrics,
  body:not(.admin-body) .info-grid,
  body:not(.admin-body) .steps-grid,
  body:not(.admin-body) .testimonial-grid,
  body:not(.admin-body) .sample-grid,
  body:not(.admin-body) .preview-flipbook {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .category-grid,
  body:not(.admin-body) .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .category-card.wide {
    grid-column: span 1;
  }

  body:not(.admin-body) .purchase-card,
  body:not(.admin-body) .filter-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  body:not(.admin-body) .brand-logo {
    height: 2.5rem;
    max-width: min(15rem, 56vw);
  }

  body:not(.admin-body) .site-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem 1.1rem;
    padding: 0;
    min-width: 0;
    background: transparent;
    box-shadow: none;
  }

  body:not(.admin-body) .nav-panel {
    width: 100%;
    justify-content: center;
  }

  body:not(.admin-body) .header-actions {
    display: flex;
    justify-content: center;
  }

  body:not(.admin-body) .nav-toggle {
    display: none;
  }

  body:not(.admin-body) .nav-wrap {
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
  }

  body:not(.admin-body) .hero-section {
    padding-top: 2rem;
  }

  body:not(.admin-body) .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  body:not(.admin-body) .hero-proof-grid,
  body:not(.admin-body) .hero-metrics,
  body:not(.admin-body) .info-grid,
  body:not(.admin-body) .steps-grid,
  body:not(.admin-body) .category-grid,
  body:not(.admin-body) .product-grid,
  body:not(.admin-body) .testimonial-grid,
  body:not(.admin-body) .sample-grid,
  body:not(.admin-body) .preview-flipbook {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .hero-visual {
    min-height: auto;
  }

  body:not(.admin-body) .hero-stage {
    min-height: 33rem;
    padding: 1rem;
  }

  body:not(.admin-body) .hero-note-card {
    width: calc(100% - 2rem);
  }

  body:not(.admin-body) .note-top {
    top: 1rem;
    right: 1rem;
  }

  body:not(.admin-body) .note-bottom {
    left: 1rem;
    bottom: 1rem;
  }

  body:not(.admin-body) .hero-book {
    width: calc(100% - 4rem);
  }

  body:not(.admin-body) .hero-book-back {
    top: 6.4rem;
    right: 1.6rem;
  }

  body:not(.admin-body) .hero-book-front {
    left: 1.6rem;
    top: 10.2rem;
  }

  body:not(.admin-body) .align-between,
  body:not(.admin-body) .results-bar,
  body:not(.admin-body) .preview-header,
  body:not(.admin-body) .preview-note,
  body:not(.admin-body) .product-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  body:not(.admin-body) .section-block {
    padding: 3.8rem 0;
  }

  body:not(.admin-body) .preview-dialog {
    width: calc(100% - 1rem);
    margin-top: 2vh;
    padding: 1.1rem;
  }
}

body:not(.admin-body) .checkout-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}

body:not(.admin-body) .checkout-modal.is-open {
  display: block;
}

body:not(.admin-body) .checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 48, 0.56);
}

body:not(.admin-body) .checkout-dialog {
  position: relative;
  z-index: 1;
  width: min(38rem, calc(100% - 1rem));
  margin: 4vh auto;
  padding: 1.4rem;
  border-radius: 32px;
  border: 1px solid rgba(43, 53, 93, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 252, 244, 0.98), rgba(242, 248, 255, 0.96));
  box-shadow: var(--shadow-xl);
}

body:not(.admin-body) .checkout-header p,
body:not(.admin-body) .checkout-note p,
body:not(.admin-body) .checkout-inline-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

body:not(.admin-body) .checkout-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

body:not(.admin-body) .checkout-field {
  display: grid;
  gap: 0.45rem;
}

body:not(.admin-body) .checkout-field span {
  font-size: 0.92rem;
  font-weight: 800;
}

body:not(.admin-body) .checkout-field input {
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(43, 53, 93, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

body:not(.admin-body) .checkout-note,
body:not(.admin-body) .checkout-success-card {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(43, 53, 93, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

body:not(.admin-body) .checkout-note strong,
body:not(.admin-body) .checkout-success-card strong {
  display: block;
  margin-bottom: 0.45rem;
}

body:not(.admin-body) .checkout-success-card span {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}

body:not(.admin-body) .checkout-success-card p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

body:not(.admin-body) .checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

body:not(.admin-body) .checkout-message {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

body:not(.admin-body) .checkout-message.is-pending {
  color: #73571c;
}

body:not(.admin-body) .checkout-message.is-success {
  color: #24724d;
}

body:not(.admin-body) .checkout-message.is-error {
  color: #a03a3a;
}

body:not(.admin-body) .checkout-session-note,
body:not(.admin-body) .customer-auth-note,
body:not(.admin-body) .customer-library-card {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(43, 53, 93, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

body:not(.admin-body) .checkout-session-note strong,
body:not(.admin-body) .customer-auth-note strong,
body:not(.admin-body) .customer-library-card strong {
  display: block;
  margin-bottom: 0.45rem;
}

body:not(.admin-body) .checkout-session-note p,
body:not(.admin-body) .customer-auth-note p,
body:not(.admin-body) .customer-library-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

body:not(.admin-body) .customer-portal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 70;
}

body:not(.admin-body) .customer-portal.is-open {
  display: block;
}

body:not(.admin-body) .customer-portal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 48, 0.56);
}

body:not(.admin-body) .customer-portal-dialog {
  position: relative;
  z-index: 1;
  width: min(64rem, calc(100% - 1rem));
  margin: 4vh auto;
  padding: 1.4rem;
  border-radius: 32px;
  border: 1px solid rgba(43, 53, 93, 0.1);
  background: linear-gradient(145deg, rgba(255, 252, 244, 0.98), rgba(242, 248, 255, 0.96));
  box-shadow: var(--shadow-xl);
}

body:not(.admin-body) .customer-auth-shell,
body:not(.admin-body) .customer-library-grid {
  display: grid;
  gap: 1.1rem;
}

body:not(.admin-body) .customer-auth-shell {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

body:not(.admin-body) .customer-auth-copy h2,
body:not(.admin-body) .customer-account-header h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  color: var(--ink);
}

body:not(.admin-body) .customer-auth-copy p,
body:not(.admin-body) .customer-account-header p {
  color: var(--ink-soft);
  line-height: 1.75;
}

body:not(.admin-body) .customer-auth-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

body:not(.admin-body) .customer-auth-perks span,
body:not(.admin-body) .customer-library-state {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(43, 53, 93, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

body:not(.admin-body) .customer-auth-card {
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(43, 53, 93, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 34px rgba(77, 103, 153, 0.08);
}

body:not(.admin-body) .customer-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

body:not(.admin-body) .customer-auth-tab {
  min-height: 3rem;
  border: 1px solid rgba(43, 53, 93, 0.1);
  border-radius: 18px;
  background: rgba(248, 250, 255, 0.84);
  color: var(--ink-soft);
  font-weight: 800;
  cursor: pointer;
}

body:not(.admin-body) .customer-auth-tab.is-active {
  background: linear-gradient(145deg, #2a3f70, #345692);
  color: #fff;
  box-shadow: 0 14px 28px rgba(48, 72, 118, 0.22);
}

body:not(.admin-body) .customer-auth-form {
  display: grid;
  gap: 1rem;
}

body:not(.admin-body) .checkout-consent {
  display: flex;
  align-items: start;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(43, 53, 93, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

body:not(.admin-body) .checkout-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: #345692;
}

body:not(.admin-body) .checkout-consent span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

body:not(.admin-body) .checkout-consent a {
  color: #355b99;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

body:not(.admin-body) .customer-account-header,
body:not(.admin-body) .customer-library-card-header,
body:not(.admin-body) .customer-library-item,
body:not(.admin-body) .customer-library-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

body:not(.admin-body) .customer-account-header,
body:not(.admin-body) .customer-library-grid {
  margin-top: 0.4rem;
}

body:not(.admin-body) .customer-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

body:not(.admin-body) .customer-library-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-body) .customer-library-list {
  display: grid;
  gap: 0.8rem;
}

body:not(.admin-body) .customer-library-item {
  padding: 0.95rem 0;
  border-top: 1px solid rgba(43, 53, 93, 0.08);
}

body:not(.admin-body) .customer-library-item:first-child {
  border-top: 0;
  padding-top: 0.25rem;
}

body:not(.admin-body) .customer-library-item strong {
  margin-bottom: 0.25rem;
}

body:not(.admin-body) .customer-library-item-meta {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  body:not(.admin-body) .customer-auth-shell,
  body:not(.admin-body) .customer-library-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .customer-account-header,
  body:not(.admin-body) .customer-library-card-header,
  body:not(.admin-body) .customer-library-item {
    align-items: flex-start;
    flex-direction: column;
  }

  body:not(.admin-body) .customer-library-item-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body:not(.admin-body) .customer-portal-dialog {
    width: calc(100% - 0.75rem);
    margin-top: 2vh;
    padding: 1rem;
  }

  body:not(.admin-body) .header-actions {
    width: 100%;
  }

  body:not(.admin-body) .account-pill {
    width: 100%;
  }
}

.admin-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.admin-form-note.is-error {
  color: #ffb2bb;
}

.admin-form-note.is-success {
  color: #9ef0c0;
}

.admin-empty-state {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  min-height: 12rem;
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  color: #9aa6d4;
}

.admin-empty-state strong {
  color: #e8edff;
  font-size: 1.05rem;
}

.admin-empty-state p {
  max-width: 22rem;
  margin: 0;
  line-height: 1.65;
}

.admin-empty-orb {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(138, 153, 247, 0.88), rgba(88, 107, 212, 0.72));
  box-shadow: 0 18px 34px rgba(67, 83, 175, 0.24);
}

.admin-inline-button {
  min-height: 2rem;
  padding: 0 0.15rem;
  border: 0;
  background: transparent;
  color: #a9bcff;
  font-weight: 700;
  cursor: pointer;
}

.admin-inline-button + .admin-inline-button {
  margin-left: 0.7rem;
}

.admin-inline-button:hover,
.admin-inline-button:focus-visible {
  color: #f2f6ff;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: auto;
}

.admin-checkbox input {
  width: 1rem;
  height: 1rem;
}

.admin-checkbox span {
  color: #d8e4fb;
  font-weight: 600;
}

.admin-card a {
  color: #a9bcff;
}

.admin-card a:hover,
.admin-card a:focus-visible {
  color: #f2f6ff;
}

#admin-site-content-json {
  min-height: 38rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  body:not(.admin-body) .checkout-dialog {
    margin-top: 2vh;
    padding: 1.15rem;
  }

  body:not(.admin-body) .checkout-actions,
  .admin-auth-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

body[data-page="home"] {
  font-family: "Manrope", sans-serif;
  color: #23305f;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 212, 159, 0.9), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(178, 211, 255, 0.9), transparent 28%),
    radial-gradient(circle at 75% 65%, rgba(145, 197, 255, 0.32), transparent 24%),
    radial-gradient(circle at 28% 76%, rgba(255, 244, 224, 0.78), transparent 26%),
    linear-gradient(180deg, #fff7ef 0%, #f7f5f8 34%, #eef5ff 100%);
}

body[data-page="home"]::before,
body[data-page="home"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body[data-page="home"]::before {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px) 0 0 / 26px 26px,
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px) 12px 14px / 34px 34px;
  opacity: 0.45;
}

body[data-page="home"]::after {
  background:
    radial-gradient(ellipse at 20% 35%, rgba(255, 255, 255, 0.5), transparent 56%),
    radial-gradient(ellipse at 80% 40%, rgba(255, 255, 255, 0.44), transparent 54%),
    linear-gradient(125deg, transparent 14%, rgba(255, 255, 255, 0.22) 42%, transparent 64%);
  opacity: 0.7;
}

body[data-page="home"] .page-shell,
body[data-page="home"] main,
body[data-page="home"] .site-header,
body[data-page="home"] .site-footer {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .container {
  width: min(1240px, calc(100% - 2rem));
}

body[data-page="home"] .site-header {
  background: rgba(255, 251, 246, 0.18);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(180%);
}

body[data-page="home"] .nav-wrap {
  gap: 1.5rem;
  padding: 1.2rem 0 0.75rem;
}

body[data-page="home"] .brand-logo {
  height: 2.85rem;
  max-width: min(18rem, 42vw);
}

body[data-page="home"] .nav-panel {
  gap: 1.2rem;
}

body[data-page="home"] .site-nav {
  gap: 1.9rem;
}

body[data-page="home"] .site-nav a {
  color: #475481;
  font-size: 0.96rem;
  font-weight: 700;
}

body[data-page="home"] .site-nav a:hover,
body[data-page="home"] .site-nav a:focus-visible {
  color: #1f2d59;
}

body[data-page="home"] .nav-pill,
body[data-page="home"] .btn.btn-primary {
  background: linear-gradient(135deg, #ffde92, #f4c96d);
  color: #23305f !important;
  border: 1px solid rgba(239, 200, 108, 0.9);
  box-shadow: 0 14px 34px rgba(221, 187, 106, 0.32);
}

body[data-page="home"] .account-pill {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(205, 214, 238, 0.9);
  color: #4d587f;
}

body[data-page="home"] .nav-pill {
  padding: 0.95rem 1.45rem;
}

body[data-page="home"] .nav-toggle {
  width: 3.15rem;
  height: 3.15rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(207, 216, 241, 0.75);
  box-shadow: 0 14px 30px rgba(143, 162, 205, 0.18);
}

body[data-page="home"] .nav-toggle span {
  width: 1rem;
  background: #43517d;
}

body[data-page="home"] .hero-section {
  padding: 1.2rem 0 0.6rem;
}

body[data-page="home"] .hero-shell {
  overflow: visible;
}

body[data-page="home"] .hero-shell::before {
  content: "";
  position: absolute;
  inset: 8% -10% -6%;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 224, 177, 0.52), transparent 18%),
    radial-gradient(circle at 78% 24%, rgba(196, 221, 255, 0.68), transparent 20%),
    radial-gradient(circle at 62% 70%, rgba(255, 255, 255, 0.42), transparent 24%);
  filter: blur(30px);
  z-index: -1;
}

body[data-page="home"] .hero-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

body[data-page="home"] .hero-copy {
  max-width: 35rem;
}

body[data-page="home"] .eyebrow {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(250, 223, 170, 0.85);
  background: rgba(255, 249, 239, 0.72);
  color: #5f678b;
  box-shadow: 0 12px 30px rgba(255, 227, 181, 0.28);
}

body[data-page="home"] .hero-kicker strong {
  color: #5f678b;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

body[data-page="home"] .hero-copy h1,
body[data-page="home"] .section-heading h2,
body[data-page="home"] .cta-panel h2 {
  font-family: "Fraunces", serif;
  color: #1e2852;
  letter-spacing: -0.06em;
}

body[data-page="home"] .hero-copy h1 {
  max-width: 8ch;
  font-size: clamp(3.5rem, 6vw, 5.35rem);
  line-height: 0.95;
}

body[data-page="home"] .hero-text {
  max-width: 30ch;
  margin-top: 1.35rem;
  color: #657091;
  font-size: 1.24rem;
  line-height: 1.65;
}

body[data-page="home"] .btn {
  min-height: 3.55rem;
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
}

body[data-page="home"] .btn.btn-secondary {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(204, 215, 240, 0.85);
  color: #4d587f;
  box-shadow: 0 14px 30px rgba(146, 166, 207, 0.14);
}

body[data-page="home"] .btn:hover,
body[data-page="home"] .btn:focus-visible,
body[data-page="home"] .nav-pill:hover,
body[data-page="home"] .nav-pill:focus-visible {
  transform: translateY(-2px);
}

body[data-page="home"] .hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
}

body[data-page="home"] .proof-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(217, 227, 246, 0.86);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 32px rgba(151, 166, 201, 0.16);
}

body[data-page="home"] .proof-card strong {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.15;
}

body[data-page="home"] .proof-card p {
  display: none;
}

body[data-page="home"] .proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff2cf, #fffaf0);
  border: 1px solid rgba(245, 220, 164, 0.92);
  color: #7b6a3b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

body[data-page="home"] .hero-visual {
  min-height: 38rem;
}

body[data-page="home"] .hero-stage-library {
  min-height: 38rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body[data-page="home"] .hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.9;
}

body[data-page="home"] .hero-orb-warm {
  width: 18rem;
  height: 18rem;
  top: 3rem;
  left: 6rem;
  background: radial-gradient(circle, rgba(255, 226, 179, 0.95), rgba(255, 226, 179, 0.05));
}

body[data-page="home"] .hero-orb-cool {
  width: 20rem;
  height: 20rem;
  right: -1rem;
  top: 1rem;
  background: radial-gradient(circle, rgba(183, 216, 255, 0.95), rgba(183, 216, 255, 0.04));
}

body[data-page="home"] .activity-cluster {
  position: absolute;
  inset: 1rem 0 0 0;
}

body[data-page="home"] .showcase-sheet {
  position: absolute;
  width: 15rem;
  height: 20.5rem;
  padding: 1.2rem 1.15rem 1.35rem;
  border-radius: 1.9rem;
  border: 1px solid rgba(229, 229, 235, 0.9);
  box-shadow:
    0 24px 45px rgba(112, 133, 176, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

body[data-page="home"] .showcase-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 34%);
  pointer-events: none;
}

body[data-page="home"] .showcase-brand {
  position: relative;
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #5f698c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

body[data-page="home"] .showcase-sheet strong,
body[data-page="home"] .showcase-sheet small,
body[data-page="home"] .sheet-badges {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .showcase-sheet strong {
  display: block;
  max-width: 9ch;
  font-family: "Fraunces", serif;
  color: #293563;
  font-size: 2rem;
  line-height: 0.94;
}

body[data-page="home"] .showcase-sheet small {
  display: block;
  max-width: 16ch;
  margin-top: 0.8rem;
  color: #617092;
  font-size: 0.92rem;
  line-height: 1.45;
}

body[data-page="home"] .sheet-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.4rem;
}

body[data-page="home"] .sheet-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #60708f;
  font-size: 0.76rem;
  font-weight: 800;
}

body[data-page="home"] .sheet-back {
  right: 1rem;
  top: 2.3rem;
  transform: rotate(8deg);
  background: linear-gradient(180deg, rgba(224, 239, 255, 0.95), rgba(186, 215, 255, 0.88));
}

body[data-page="home"] .sheet-middle {
  right: 4.1rem;
  top: 1.1rem;
  transform: rotate(2deg);
  background: linear-gradient(180deg, rgba(254, 239, 216, 0.98), rgba(243, 214, 169, 0.88));
}

body[data-page="home"] .sheet-front {
  right: 6.7rem;
  top: 3rem;
  width: 17.2rem;
  height: 22.3rem;
  transform: rotate(-2deg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 240, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(250, 243, 235, 0.98));
}

body[data-page="home"] .sheet-front strong {
  font-size: 2.6rem;
}

body[data-page="home"] .sheet-front::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.2rem;
  height: 8rem;
  border-radius: 1.5rem 1.5rem 1.2rem 1.2rem;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 183, 89, 0.9), rgba(255, 183, 89, 0) 26%),
    linear-gradient(180deg, rgba(217, 235, 255, 0.82), rgba(140, 205, 149, 0.88));
  z-index: 0;
}

body[data-page="home"] .worksheet-dock {
  position: absolute;
  right: 2.8rem;
  bottom: 2.7rem;
  display: flex;
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(227, 231, 241, 0.9);
  box-shadow: 0 20px 35px rgba(111, 130, 171, 0.22);
  z-index: 4;
}

body[data-page="home"] .worksheet-card {
  width: 4.25rem;
  height: 5.25rem;
  padding: 0.7rem 0.55rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(243, 246, 255, 0.95));
  border: 1px solid rgba(231, 229, 224, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body[data-page="home"] .worksheet-card span {
  display: block;
  height: 0.42rem;
  margin-bottom: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 193, 116, 0.85), rgba(141, 186, 239, 0.88));
}

body[data-page="home"] .worksheet-card span:nth-child(2) {
  width: 78%;
}

body[data-page="home"] .worksheet-card span:nth-child(3) {
  width: 60%;
}

body[data-page="home"] .hero-pencil {
  position: absolute;
  right: 0.6rem;
  bottom: 4.6rem;
  width: 6.6rem;
  height: 1.1rem;
  border-radius: 999px;
  transform: rotate(-54deg);
  background: linear-gradient(90deg, #7caee7 0%, #7caee7 80%, #efb55c 80%, #efb55c 90%, #f7ddbd 90%);
  box-shadow: 0 12px 24px rgba(126, 155, 205, 0.18);
  z-index: 3;
}

body[data-page="home"] .hero-metrics,
body[data-page="home"] .info-band {
  display: none;
}

body[data-page="home"] .section-block {
  padding: 4.4rem 0;
}

body[data-page="home"] #how-it-works {
  padding-top: 2.4rem;
}

body[data-page="home"] .section-heading {
  max-width: 43rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

body[data-page="home"] .section-heading .eyebrow {
  display: none;
}

body[data-page="home"] .section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

body[data-page="home"] .section-heading p,
body[data-page="home"] .cta-panel p,
body[data-page="home"] .footer-copy {
  color: #657091;
  font-size: 1.08rem;
  line-height: 1.7;
}

body[data-page="home"] .steps-grid {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

body[data-page="home"] .steps-grid::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(250, 211, 119, 0.1), rgba(250, 211, 119, 0.95), rgba(250, 211, 119, 0.1));
  transform: translateY(-50%);
  z-index: 0;
}

body[data-page="home"] .step-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  min-height: 15rem;
  padding: 1.4rem 1.45rem 1.55rem;
  border-radius: 28px;
  border: 1px solid rgba(219, 228, 245, 0.95);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 38px rgba(125, 143, 183, 0.16);
  backdrop-filter: blur(12px);
}

body[data-page="home"] .step-icon {
  width: 3.55rem;
  height: 3.55rem;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body[data-page="home"] .step-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: #42517b;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="home"] .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  padding: 0.45rem 0;
  border-radius: 999px;
  background: rgba(255, 249, 234, 0.9);
  border: 1px solid rgba(246, 219, 160, 0.94);
  color: #8f7440;
  font-size: 1.1rem;
  font-weight: 800;
}

body[data-page="home"] .step-card h3 {
  margin: 0;
  color: #273460;
  font-size: 1.65rem;
}

body[data-page="home"] .step-card p {
  max-width: 18ch;
  margin: 0;
  color: #5e6888;
  font-size: 1.03rem;
  line-height: 1.55;
}

body[data-page="home"] .muted-section {
  background: transparent;
}

body[data-page="home"] .category-card,
body[data-page="home"] .benefit-card,
body[data-page="home"] .testimonial-card,
body[data-page="home"] .product-card,
body[data-page="home"] .cta-panel {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(222, 230, 247, 0.94);
  box-shadow: 0 18px 38px rgba(125, 143, 183, 0.14);
  backdrop-filter: blur(12px);
}

body[data-page="home"] .category-card:hover,
body[data-page="home"] .product-card:hover,
body[data-page="home"] .benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(125, 143, 183, 0.18);
}

body[data-page="home"] .product-card,
body[data-page="home"] .category-card,
body[data-page="home"] .benefit-card,
body[data-page="home"] .testimonial-card {
  border-radius: 30px;
}

.admin-dropzone {
  position: relative;
  display: grid;
  gap: 0.55rem;
  place-items: center;
  min-height: 12rem;
  padding: 1.4rem;
  border: 1px dashed rgba(152, 175, 255, 0.38);
  border-radius: 24px;
  background: rgba(18, 26, 58, 0.58);
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.admin-dropzone:hover,
.admin-dropzone.is-dragover {
  border-color: rgba(188, 202, 255, 0.72);
  background: rgba(28, 38, 82, 0.82);
  transform: translateY(-2px);
}

.admin-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-dropzone strong {
  color: #f4f7ff;
}

.admin-dropzone p {
  max-width: 26rem;
  margin: 0;
  color: #aab6e4;
}

.admin-packet-file-list,
.library-packet-grid,
.library-book-list,
.customer-library-download-group {
  display: grid;
  gap: 0.85rem;
}

.admin-packet-file-item,
.library-packet-card {
  border: 1px solid rgba(140, 157, 229, 0.16);
  border-radius: 24px;
  padding: 1rem 1.05rem;
  background: rgba(19, 27, 60, 0.62);
}

.admin-packet-file-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr) auto;
  align-items: end;
}

.admin-packet-file-meta strong,
.library-packet-header h2,
.library-book-row strong {
  margin: 0;
  color: #f7f9ff;
}

.admin-packet-file-meta small,
.library-packet-header p,
.library-book-row p {
  color: #9aa7d8;
}

.admin-packet-file-name {
  margin-bottom: 0;
}

.admin-empty-state-compact {
  min-height: auto;
  padding: 1rem;
}

.locked-label {
  display: inline-flex;
  margin-left: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(43, 53, 93, 0.08);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.checkout-session-note {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(43, 53, 93, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.library-packet-grid {
  margin-top: 1.25rem;
}

.library-packet-card {
  background: rgba(255, 253, 249, 0.82);
  box-shadow: var(--shadow-md);
}

.library-packet-header,
.library-book-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.library-packet-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(43, 53, 93, 0.08);
}

.library-packet-header h2 {
  font-family: "Fraunces", serif;
  color: #17204a;
}

.library-packet-header p,
.library-book-row p {
  margin: 0.25rem 0 0;
}

.library-book-list {
  margin-top: 1rem;
}

.library-book-row {
  padding-top: 0.8rem;
  border-top: 1px solid rgba(43, 53, 93, 0.08);
}

.library-book-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.customer-library-download-group {
  width: 100%;
}

@media (max-width: 980px) {
  .admin-packet-file-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .library-packet-header,
  .library-book-row {
    flex-direction: column;
  }
}

body[data-page="home"] .product-copy h3,
body[data-page="home"] .category-card h3,
body[data-page="home"] .testimonial-card strong {
  color: #293563;
}

body[data-page="home"] .text-link,
body[data-page="home"] .footer-links a {
  color: #4e5d89;
}

body[data-page="home"] .cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  border-radius: 34px;
}

body[data-page="home"] .cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

body[data-page="home"] .site-footer {
  padding: 1rem 0 3rem;
  background: transparent;
  border-top: 0;
}

body[data-page="home"] .footer-grid {
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(211, 220, 239, 0.7);
}

@media (max-width: 1080px) {
  body[data-page="home"] .hero-grid,
  body[data-page="home"] .cta-panel {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-copy,
  body[data-page="home"] .section-heading {
    max-width: 100%;
  }

  body[data-page="home"] .hero-copy {
    text-align: center;
    justify-self: center;
  }

  body[data-page="home"] .hero-text {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }

  body[data-page="home"] .cta-row,
  body[data-page="home"] .hero-proof-grid {
    justify-content: center;
  }

  body[data-page="home"] .hero-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 12rem));
  }

  body[data-page="home"] .hero-visual {
    min-height: 34rem;
  }

  body[data-page="home"] .activity-cluster {
    inset: 0;
    width: min(34rem, 100%);
    margin: 0 auto;
  }

  body[data-page="home"] .sheet-back {
    right: 2.2rem;
  }

  body[data-page="home"] .sheet-middle {
    right: 5rem;
  }

  body[data-page="home"] .sheet-front {
    right: 7.2rem;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .container {
    width: min(1240px, calc(100% - 1.2rem));
  }

  body[data-page="home"] .nav-wrap {
    align-items: flex-start;
  }

  body[data-page="home"] .site-nav {
    gap: 1rem;
  }

  body[data-page="home"] .hero-section {
    padding-top: 0.6rem;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(2.9rem, 13vw, 4.35rem);
  }

  body[data-page="home"] .hero-text {
    font-size: 1.08rem;
  }

  body[data-page="home"] .cta-row,
  body[data-page="home"] .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .cta-row {
    display: grid;
  }

  body[data-page="home"] .hero-visual {
    min-height: 28rem;
  }

  body[data-page="home"] .hero-stage-library {
    min-height: 28rem;
  }

  body[data-page="home"] .showcase-sheet {
    width: 11rem;
    height: 15.5rem;
    padding: 0.9rem;
    border-radius: 1.45rem;
  }

  body[data-page="home"] .showcase-sheet strong {
    font-size: 1.5rem;
  }

  body[data-page="home"] .sheet-front {
    right: 4rem;
    top: 2.5rem;
    width: 12.8rem;
    height: 17rem;
  }

  body[data-page="home"] .sheet-back {
    right: 0.4rem;
    top: 1.9rem;
  }

  body[data-page="home"] .sheet-middle {
    right: 2.1rem;
    top: 0.8rem;
  }

  body[data-page="home"] .worksheet-dock {
    right: 0.3rem;
    bottom: 1.4rem;
    gap: 0.45rem;
    padding: 0.55rem;
  }

  body[data-page="home"] .worksheet-card {
    width: 3.1rem;
    height: 4.1rem;
  }

  body[data-page="home"] .hero-pencil {
    right: -0.5rem;
    bottom: 2.7rem;
    width: 4.8rem;
  }

  body[data-page="home"] .steps-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .steps-grid::before {
    display: none;
  }

  body[data-page="home"] .step-card p {
    max-width: none;
  }

  body[data-page="home"] .cta-panel {
    padding: 1.7rem;
  }
}

.cover-art.resource-sheet {
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68)),
    linear-gradient(165deg, var(--cover-a), var(--cover-b));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 34px rgba(101, 123, 170, 0.18);
}

.cover-art.resource-sheet::before,
.cover-art.resource-sheet::after {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.26);
}

.cover-art.resource-sheet::before {
  inset: 1rem 1rem auto auto;
  width: 4.2rem;
  height: 1rem;
}

.cover-art.resource-sheet::after {
  inset: auto auto 1.1rem 1rem;
  width: 5.5rem;
  height: 1.1rem;
}

.resource-sheet-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  margin-top: 0.95rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.resource-line {
  display: block;
  height: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 196, 111, 0.78), rgba(125, 185, 241, 0.84));
}

.resource-line-medium {
  width: 76%;
}

.resource-line-short {
  width: 54%;
}

.resource-block-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.resource-block {
  display: block;
  height: 2.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(210, 223, 245, 0.8);
}

.resource-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.resource-pill-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(41, 57, 98, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
}

.cover-art.resource-sheet .cover-copy {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding: 0.15rem 0.2rem 0;
}

.cover-art.resource-sheet strong {
  font-family: "Fraunces", serif;
  color: #23305f;
}

.cover-art.resource-sheet small {
  color: rgba(39, 52, 90, 0.74);
  font-size: 0.88rem;
}

.cover-art.resource-sheet .cover-tags {
  position: relative;
  z-index: 1;
  margin-top: 0.95rem;
}

.legal-hero {
  padding-bottom: 1.5rem;
}

.legal-hero-card,
.legal-card {
  border: 1px solid var(--outline);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.legal-hero-card {
  max-width: 52rem;
  padding: 2rem;
  border-radius: 34px;
}

.legal-hero-card h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.legal-hero-card p {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.8;
}

.legal-section {
  padding-top: 0;
}

.legal-layout {
  display: grid;
}

.legal-card {
  padding: 1.8rem;
  border-radius: 32px;
}

.legal-list {
  display: grid;
  gap: 1.6rem;
  margin: 0;
  padding-left: 1.4rem;
}

.legal-list li {
  color: var(--text);
}

.legal-list h2 {
  margin: 0 0 0.6rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.legal-list p,
.legal-list ul {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.legal-list ul {
  padding-left: 1.2rem;
}

.website-editor-shell {
  position: relative;
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.35rem, 2vw, 2rem);
  border: 1px solid rgba(164, 177, 255, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(111, 154, 255, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(196, 98, 255, 0.18), transparent 26%),
    linear-gradient(160deg, rgba(7, 11, 28, 0.94), rgba(20, 17, 46, 0.92) 52%, rgba(15, 29, 63, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 70px rgba(4, 7, 18, 0.44);
  overflow: hidden;
}

.website-editor-shell::before,
.website-editor-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(12px);
}

.website-editor-shell::before {
  inset: auto auto -7rem -5rem;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(77, 167, 255, 0.3), rgba(77, 167, 255, 0));
}

.website-editor-shell::after {
  inset: -5rem -4rem auto auto;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(195, 103, 255, 0.24), rgba(195, 103, 255, 0));
}

.website-editor-hero,
.website-editor-preview-panel,
.website-editor-card,
.website-editor-modal-dialog {
  position: relative;
  border: 1px solid rgba(181, 194, 255, 0.16);
  background: rgba(14, 19, 45, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 54px rgba(5, 8, 21, 0.42);
  backdrop-filter: blur(22px);
}

.website-editor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  padding: 1.4rem;
  border-radius: 28px;
}

.website-editor-copy h3,
.website-editor-modal-header h4 {
  margin: 0;
  color: #f5f7ff;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.website-editor-modal-header h4 {
  font-size: 2rem;
}

.website-editor-copy p,
.website-editor-modal-header p,
.website-editor-card-copy small,
.website-editor-toggle-copy small,
.website-editor-helper,
.website-preview-mini-card small {
  color: rgba(202, 211, 242, 0.78);
  line-height: 1.6;
}

.website-editor-kicker,
.website-editor-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-bottom: 0.8rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(160, 178, 255, 0.18);
  background: rgba(139, 160, 255, 0.1);
  color: #d9e1ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.website-editor-pills,
.website-editor-actions,
.website-editor-status,
.website-preview-button-row,
.website-preview-nav-links,
.website-preview-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.website-editor-pills span,
.website-editor-preview-chip,
.website-preview-button-row span,
.website-preview-account,
.website-preview-pill-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 194, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #eef2ff;
  font-size: 0.84rem;
  font-weight: 700;
}

.website-editor-actions {
  align-items: start;
  justify-content: end;
}

.website-editor-save-btn {
  background: linear-gradient(135deg, #6e78ff, #b34dff);
  color: #fff;
  box-shadow: 0 20px 40px rgba(128, 92, 255, 0.36);
}

.website-editor-outline-btn {
  border: 1px solid rgba(184, 196, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #eef2ff;
  box-shadow: none;
}

.website-editor-status {
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
}

.website-editor-reset {
  border: 0;
  background: transparent;
  color: #c7d3ff;
  font-weight: 700;
  cursor: pointer;
}

.website-editor-reset:hover,
.website-editor-reset:focus-visible {
  color: #fff;
}

.website-editor-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.website-editor-sections {
  display: grid;
  gap: 1rem;
}

.website-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.website-editor-card {
  display: grid;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem;
  border-radius: 26px;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.website-editor-card:hover,
.website-editor-card:focus-visible,
.website-editor-card.is-active {
  transform: translateY(-5px);
  border-color: rgba(170, 184, 255, 0.34);
  background: rgba(18, 24, 58, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 56px rgba(86, 68, 180, 0.28);
}

.website-editor-card-icon {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(110, 120, 255, 0.28), rgba(169, 78, 255, 0.18));
  color: #f4f6ff;
}

.website-editor-card-icon svg,
.website-editor-close span,
.website-preview-settings-head strong {
  display: block;
}

.website-editor-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.website-editor-card-copy strong,
.website-editor-preview-header strong,
.website-preview-mini-card strong,
.website-editor-toggle-copy strong {
  color: #fff;
  font-size: 1.1rem;
}

.website-editor-card-summary {
  display: grid;
  gap: 0.45rem;
}

.website-editor-card-summary span,
.website-editor-card-footer span {
  color: rgba(226, 232, 255, 0.82);
  font-size: 0.88rem;
}

.website-editor-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.website-editor-card-action {
  color: #fff !important;
  font-weight: 800;
}

.website-editor-message {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(181, 194, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e9eeff;
}

.website-editor-preview-panel {
  position: sticky;
  top: 2rem;
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 28px;
}

.website-editor-preview-header,
.website-editor-modal-header,
.website-preview-topnav,
.website-preview-settings-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.website-editor-preview-window,
.website-editor-modal-preview-window {
  min-height: 38rem;
}

.website-preview-browser {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(181, 194, 255, 0.16);
  background: linear-gradient(180deg, rgba(8, 12, 31, 0.94), rgba(17, 24, 53, 0.92));
}

.website-preview-browser-bar {
  display: flex;
  gap: 0.45rem;
  padding-bottom: 0.9rem;
}

.website-preview-browser-bar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(230, 235, 255, 0.3);
}

.website-preview-content {
  display: grid;
  gap: 1rem;
}

.website-preview-topnav {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #eff3ff;
}

.website-preview-nav-links span {
  color: rgba(211, 220, 246, 0.76);
  font-size: 0.84rem;
  font-weight: 700;
}

.website-preview-hero-card,
.website-preview-mini-card,
.website-preview-settings {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(181, 194, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.website-preview-hero-card.is-spotlight,
.website-preview-mini-card.is-spotlight,
.website-preview-settings.is-spotlight {
  border-color: rgba(164, 130, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(164, 130, 255, 0.18);
}

.website-preview-hero-card {
  grid-template-columns: minmax(0, 1fr) 10rem;
  align-items: stretch;
}

.website-preview-hero-card h5 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.05;
}

.website-preview-hero-card p {
  margin: 0;
  color: rgba(214, 222, 246, 0.78);
}

.website-preview-art,
.website-preview-mini-art {
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.website-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.website-preview-mini-card {
  align-content: start;
}

.website-preview-mini-label {
  color: rgba(171, 187, 243, 0.86);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.website-preview-mini-art {
  min-height: 6rem;
}

.website-preview-settings {
  gap: 1rem;
}

.website-preview-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.website-preview-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(216, 223, 247, 0.82);
}

.website-preview-toggle.is-on {
  background: rgba(110, 120, 255, 0.16);
  color: #fff;
}

.website-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.website-editor-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 7, 18, 0.76);
  backdrop-filter: blur(10px);
}

.website-editor-modal-dialog {
  position: relative;
  width: min(1280px, calc(100% - 2rem));
  margin: 1rem auto;
  border-radius: 32px;
  overflow: hidden;
}

.website-editor-modal-main {
  padding: 1.3rem;
}

.website-editor-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.2rem;
  margin-top: 1rem;
}

.website-editor-form-wrap,
.website-editor-modal-preview {
  padding: 1rem;
  border: 1px solid rgba(181, 194, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.website-editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  max-height: min(72vh, 860px);
  padding-right: 0.2rem;
  overflow: auto;
}

.website-editor-group-title,
.website-editor-field.is-wide,
.website-editor-field-image.is-wide,
.website-editor-toggle-field.is-wide {
  grid-column: 1 / -1;
}

.website-editor-group-title {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.website-editor-field,
.website-editor-field-image {
  display: grid;
  gap: 0.5rem;
}

.website-editor-field span,
.website-editor-field-image span {
  color: #eef2ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.website-editor-field input,
.website-editor-field textarea,
.website-editor-field-image input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(181, 194, 255, 0.16);
  border-radius: 18px;
  background: rgba(8, 12, 31, 0.72);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.website-editor-field textarea {
  resize: vertical;
}

.website-editor-field input::placeholder,
.website-editor-field textarea::placeholder,
.website-editor-field-image input::placeholder {
  color: rgba(170, 181, 221, 0.5);
}

.website-editor-upload-box {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(181, 194, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.website-editor-upload-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 194, 255, 0.14);
  background: rgba(110, 120, 255, 0.12);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
}

.website-editor-upload-trigger input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.website-editor-image-preview {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(181, 194, 255, 0.14);
  background: rgba(8, 12, 31, 0.72);
}

.website-editor-image-preview img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.website-editor-toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(181, 194, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.website-editor-toggle-control {
  position: relative;
  flex-shrink: 0;
}

.website-editor-toggle-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.website-editor-toggle-ui {
  display: block;
  width: 3.6rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(132, 146, 199, 0.28);
  transition: background 180ms ease;
}

.website-editor-toggle-ui::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.22rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(9, 13, 28, 0.38);
  transition: transform 180ms ease;
}

.website-editor-toggle-control input:checked + .website-editor-toggle-ui {
  background: linear-gradient(135deg, #6e78ff, #b34dff);
}

.website-editor-toggle-control input:checked + .website-editor-toggle-ui::after {
  transform: translateX(1.48rem);
}

.website-editor-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(181, 194, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.website-editor-close span {
  position: absolute;
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.website-editor-close span:first-child {
  transform: rotate(45deg);
}

.website-editor-close span:last-child {
  transform: rotate(-45deg);
}

@media (max-width: 1180px) {
  .website-editor-body,
  .website-editor-modal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .website-editor-preview-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .website-editor-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .website-editor-actions {
    justify-content: start;
  }

  .website-editor-grid,
  .website-preview-grid,
  .website-editor-form,
  .website-preview-toggle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .website-preview-hero-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .website-editor-modal-dialog {
    width: min(100%, calc(100% - 1rem));
    margin: 0.5rem auto;
  }
}

/* Stitch-inspired public refresh */
body:not(.admin-body) .site-header {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 44px rgba(79, 88, 130, 0.08);
}

body:not(.admin-body) .site-header.compact {
  background: rgba(255, 255, 255, 0.82);
}

body:not(.admin-body) .nav-wrap {
  padding: 1rem 0;
}

body:not(.admin-body) .site-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body:not(.admin-body) .btn {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body:not(.admin-body) .btn-primary {
  background: linear-gradient(135deg, #7049b3 0%, #a587f7 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 18px 36px rgba(112, 73, 179, 0.22);
}

body:not(.admin-body) .btn-primary:hover,
body:not(.admin-body) .btn-primary:focus-visible {
  box-shadow: 0 22px 40px rgba(112, 73, 179, 0.28);
}

body:not(.admin-body) .btn-secondary {
  background: rgba(255, 223, 147, 0.82);
  color: #6b5200;
  border-color: rgba(255, 214, 110, 0.58);
}

body[data-page="home"] .hero-section {
  padding-top: 3.6rem;
  padding-bottom: 3.4rem;
}

body[data-page="home"] .hero-grid {
  gap: 3rem;
  align-items: center;
}

body[data-page="home"] .hero-copy h1 {
  max-width: 9.4ch;
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

body[data-page="home"] .hero-text {
  max-width: 34ch;
  font-size: 1.08rem;
  line-height: 1.78;
}

body[data-page="home"] .cta-row {
  gap: 0.95rem;
  margin-top: 2rem;
}

body[data-page="home"] .hero-proof-grid {
  gap: 0.9rem;
  margin-top: 2rem;
}

body[data-page="home"] .proof-card {
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(146, 162, 205, 0.16);
  box-shadow: 0 18px 34px rgba(78, 91, 136, 0.1);
}

body[data-page="home"] .proof-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(112, 73, 179, 0.16), rgba(255, 223, 147, 0.34));
  color: #5c38a2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body[data-page="home"] .hero-stage-library {
  min-height: 37rem;
  padding: 2.2rem;
  border-radius: 40px;
  border: 1px solid rgba(162, 178, 214, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(240, 245, 252, 0.96)),
    radial-gradient(circle at 16% 12%, rgba(255, 223, 147, 0.26), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(160, 131, 247, 0.22), transparent 28%);
  box-shadow: 0 34px 82px rgba(77, 103, 153, 0.18);
}

body[data-page="home"] .hero-orb-soft {
  position: absolute;
  inset: auto auto 8% 10%;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: rgba(132, 209, 255, 0.2);
  filter: blur(8px);
}

body[data-page="home"] .stitch-stage {
  position: relative;
  min-height: 32rem;
}

body[data-page="home"] .stitch-card {
  position: absolute;
  overflow: hidden;
  padding: 0.85rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(165, 180, 214, 0.2);
  box-shadow: 0 30px 54px rgba(88, 101, 146, 0.16);
}

body[data-page="home"] .stitch-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  box-shadow: 0 12px 24px rgba(86, 99, 141, 0.12);
}

body[data-page="home"] .stitch-card-main {
  inset: 2.5rem 6rem 6.5rem 0;
  transform: rotate(-5deg);
}

body[data-page="home"] .stitch-card-side {
  top: 1rem;
  right: 0;
  width: 43%;
  height: 60%;
  transform: rotate(7deg);
}

body[data-page="home"] .stitch-card-mini {
  left: 9%;
  bottom: 1.2rem;
  width: 38%;
  height: 34%;
  transform: rotate(-7deg);
}

body[data-page="home"] .stitch-card-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #5f469c;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(94, 70, 156, 0.12);
}

body[data-page="home"] .hero-floating-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.35rem;
  max-width: 16rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(165, 180, 214, 0.18);
  box-shadow: 0 18px 34px rgba(88, 101, 146, 0.16);
  backdrop-filter: blur(18px);
}

body[data-page="home"] .hero-floating-note strong {
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}

body[data-page="home"] .hero-floating-note span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

body[data-page="home"] .hero-metrics {
  gap: 1rem;
  margin-top: 2rem;
}

body[data-page="home"] .metric-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(165, 180, 214, 0.16);
  box-shadow: 0 16px 30px rgba(83, 97, 140, 0.08);
}

body[data-page="home"] .info-band {
  padding: 0 0 1rem;
}

body[data-page="home"] .info-grid {
  gap: 1rem;
}

body[data-page="home"] .info-card {
  padding: 1.5rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(165, 180, 214, 0.14);
  box-shadow: 0 16px 32px rgba(83, 97, 140, 0.07);
}

body[data-page="home"] .steps-grid {
  gap: 1rem;
}

body[data-page="home"] .step-card {
  padding: 2rem 1.5rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 246, 252, 0.96));
  border: 1px solid rgba(165, 180, 214, 0.14);
  box-shadow: 0 20px 38px rgba(83, 97, 140, 0.08);
}

body[data-page="home"] .step-number {
  color: #8c74d7;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

body[data-page="home"] .benefit-section .section-heading,
body[data-page="home"] .cta-section .cta-panel {
  background: linear-gradient(135deg, #5b33a2 0%, #7b53c1 48%, #8f7df0 100%);
  color: #fff;
  border-radius: 38px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 32px 60px rgba(91, 51, 162, 0.22);
}

body[data-page="home"] .benefit-section .section-heading p,
body[data-page="home"] .cta-section .cta-panel p {
  color: rgba(255, 255, 255, 0.84);
}

body[data-page="home"] .benefit-list {
  gap: 1rem;
}

body[data-page="home"] .benefit-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(165, 180, 214, 0.14);
  box-shadow: 0 16px 32px rgba(83, 97, 140, 0.08);
}

body[data-page="shop"] .sub-hero {
  padding-top: 4rem;
}

body[data-page="shop"] .sub-hero-grid {
  gap: 2rem;
  align-items: center;
}

body[data-page="shop"] .sub-hero h1 {
  max-width: 8ch;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

body[data-page="shop"] .sub-hero p {
  max-width: 35rem;
}

body[data-page="shop"] .trust-strip {
  gap: 0.8rem;
  margin-top: 1.8rem;
}

body[data-page="shop"] .trust-strip span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(165, 180, 214, 0.16);
  box-shadow: 0 12px 24px rgba(83, 97, 140, 0.08);
}

body[data-page="shop"] .shop-highlight-showcase {
  gap: 1.2rem;
  padding: 1rem;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(240, 245, 252, 0.98)),
    radial-gradient(circle at 18% 12%, rgba(255, 223, 147, 0.24), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(160, 131, 247, 0.2), transparent 26%);
  border: 1px solid rgba(165, 180, 214, 0.14);
  box-shadow: 0 28px 52px rgba(83, 97, 140, 0.12);
}

body[data-page="shop"] .shop-highlight-preview {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.75rem;
  box-shadow: 0 20px 34px rgba(83, 97, 140, 0.1);
}

body[data-page="shop"] .shop-highlight-preview img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
}

body[data-page="shop"] .results-bar {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(165, 180, 214, 0.14);
  box-shadow: 0 16px 32px rgba(83, 97, 140, 0.08);
}

body[data-page="shop"] .product-grid {
  gap: 1.35rem;
}

body[data-page="shop"] .product-card {
  gap: 1rem;
  padding: 1rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(165, 180, 214, 0.14);
  box-shadow: 0 18px 34px rgba(83, 97, 140, 0.09);
}

body[data-page="shop"] .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 48px rgba(83, 97, 140, 0.14);
}

body[data-page="shop"] .cover-art {
  min-height: 23rem;
  border-radius: 26px;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(165, 180, 214, 0.14);
}

body[data-page="shop"] .cover-art.cover-art-image {
  padding: 0.7rem;
}

body[data-page="shop"] .cover-image {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

body[data-page="shop"] .cover-art.resource-sheet {
  background: linear-gradient(180deg, #fcfdff 0%, #f2effd 100%);
}

body[data-page="shop"] .cover-art.resource-sheet::before,
body[data-page="shop"] .cover-art.resource-sheet::after {
  opacity: 0.45;
}

body[data-page="shop"] .resource-sheet-grid {
  padding: 1.35rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.9), rgba(230, 222, 255, 0.56));
}

body[data-page="shop"] .cover-badge {
  top: 1rem;
  left: 1rem;
  background: rgba(255, 223, 147, 0.95);
  color: #6b5200;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
}

body[data-page="shop"] .cover-copy {
  display: none;
}

body[data-page="shop"] .cover-art strong {
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

body[data-page="shop"] .cover-tags {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  gap: 0.45rem;
}

body[data-page="shop"] .cover-tags span,
body[data-page="shop"] .product-meta span {
  border-radius: 999px;
  background: rgba(244, 247, 253, 0.96);
  border: 1px solid rgba(165, 180, 214, 0.18);
}

body[data-page="shop"] .product-copy {
  padding: 0.2rem 0.15rem 0.15rem;
  gap: 0.9rem;
}

body[data-page="shop"] .product-copy h3 {
  font-size: 1.55rem;
  letter-spacing: -0.05em;
}

body[data-page="shop"] .product-feature-list li {
  border-radius: 16px;
  background: rgba(246, 249, 255, 0.86);
}

body[data-page="shop"] .product-footer {
  align-items: center;
}

body[data-page="shop"] .price {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

body[data-page="shop"] .empty-state,
body[data-page="shop"] .empty-state-catalog {
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(165, 180, 214, 0.14);
  box-shadow: 0 16px 32px rgba(83, 97, 140, 0.08);
}

@media (max-width: 1080px) {
  body[data-page="home"] .hero-grid,
  body[data-page="shop"] .sub-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="home"] .hero-stage-library {
    min-height: 32rem;
  }

  body[data-page="home"] .stitch-card-main {
    inset: 2.25rem 4rem 6rem 0;
  }

  body[data-page="home"] .stitch-card-side {
    width: 39%;
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .hero-section {
    padding-top: 2.4rem;
  }

  body[data-page="home"] .hero-stage-library {
    min-height: 28rem;
    padding: 1.3rem;
  }

  body[data-page="home"] .stitch-stage {
    min-height: 24rem;
  }

  body[data-page="home"] .stitch-card-main {
    inset: 1.2rem 3rem 5.4rem 0;
  }

  body[data-page="home"] .stitch-card-side {
    top: 0.2rem;
    width: 42%;
    height: 54%;
  }

  body[data-page="home"] .stitch-card-mini {
    width: 42%;
    height: 30%;
  }

  body[data-page="home"] .hero-floating-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 14.5rem;
    max-width: 100%;
  }

  body[data-page="home"] .hero-proof-grid,
  body[data-page="home"] .hero-metrics,
  body[data-page="home"] .info-grid,
  body[data-page="home"] .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="shop"] .shop-highlight-showcase {
    padding: 0.85rem;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .hero-copy h1,
  body[data-page="shop"] .sub-hero h1 {
    letter-spacing: -0.06em;
  }

  body[data-page="home"] .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="home"] .hero-stage-library {
    min-height: 24rem;
  }

  body[data-page="home"] .stitch-card {
    border-radius: 24px;
    padding: 0.55rem;
  }

  body[data-page="home"] .stitch-card img {
    border-radius: 18px;
  }

  body[data-page="home"] .stitch-card-main {
    inset: 0.8rem 2.2rem 5.4rem 0;
  }

  body[data-page="home"] .stitch-card-side {
    width: 46%;
    height: 49%;
  }

  body[data-page="home"] .stitch-card-mini {
    left: 6%;
    width: 46%;
    height: 27%;
  }

  body[data-page="home"] .hero-floating-note {
    margin-top: 12rem;
    padding: 0.9rem 0.95rem;
  }

  body[data-page="shop"] .results-bar {
    gap: 0.75rem;
  }
}

/* Keep content visible even if the reveal observer does not run. */
[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

body[data-page="home"] .stitch-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  min-height: auto;
  align-items: start;
}

body[data-page="home"] .stitch-card {
  position: relative;
  z-index: 2;
  min-height: 0;
}

body[data-page="home"] .stitch-card-main {
  inset: auto;
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 31rem;
  transform: rotate(-3deg);
}

body[data-page="home"] .stitch-card-side {
  top: auto;
  right: auto;
  width: auto;
  height: auto;
  grid-column: 2;
  grid-row: 1;
  min-height: 15rem;
  transform: rotate(4deg);
}

body[data-page="home"] .stitch-card-mini {
  left: auto;
  bottom: auto;
  width: auto;
  height: auto;
  grid-column: 2;
  grid-row: 2;
  min-height: 11rem;
  transform: rotate(-4deg);
}

body[data-page="home"] .hero-floating-note {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 3;
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: -5rem;
}

@media (max-width: 860px) {
  body[data-page="home"] .stitch-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  body[data-page="home"] .stitch-card-main,
  body[data-page="home"] .stitch-card-side,
  body[data-page="home"] .stitch-card-mini {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
    transform: none;
  }

  body[data-page="home"] .hero-floating-note {
    grid-column: auto;
    justify-self: stretch;
    margin-top: 0;
  }
}

body:not(.admin-body) .customer-auth-shell.auth-mode-signup .customer-auth-art-signin,
body:not(.admin-body) .customer-auth-shell.auth-mode-signin .customer-auth-art-signup {
  display: none;
}

body:not(.admin-body) .customer-auth-visual {
  padding-right: 0.35rem;
}

body:not(.admin-body) .customer-auth-showcase {
  position: relative;
  min-height: 22rem;
  margin-bottom: 1.35rem;
}

body:not(.admin-body) .customer-auth-art {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 0.85rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(165, 180, 214, 0.18);
  box-shadow: 0 28px 52px rgba(83, 97, 140, 0.16);
}

body:not(.admin-body) .customer-auth-art img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

body:not(.admin-body) .customer-auth-art-signin {
  max-width: 27rem;
  transform: rotate(-3deg);
}

body:not(.admin-body) .customer-auth-art-signup {
  max-width: 28rem;
  margin-left: auto;
  transform: rotate(3deg);
}

body:not(.admin-body) .customer-auth-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
}

body:not(.admin-body) .customer-auth-orb-warm {
  right: 0;
  bottom: 0.5rem;
  width: 9rem;
  height: 9rem;
  background: rgba(255, 223, 147, 0.3);
}

body:not(.admin-body) .customer-auth-orb-cool {
  top: 0;
  left: -1rem;
  width: 10rem;
  height: 10rem;
  background: rgba(180, 198, 255, 0.22);
}

body:not(.admin-body) #customer-portal-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body:not(.admin-body) .customer-auth-summary {
  max-width: 34ch;
}

body:not(.admin-body) .customer-auth-card {
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 60px rgba(83, 97, 140, 0.14);
}

body:not(.admin-body) .customer-auth-tab.is-active {
  background: linear-gradient(135deg, #8b62d2, #b48df0);
}

body:not(.admin-body) .customer-auth-form .btn-primary {
  width: 100%;
}

body:not(.admin-body) .customer-auth-form .checkout-actions {
  grid-template-columns: minmax(0, 1fr);
}

body[data-page="library"] .library-entry-section {
  padding-top: 3rem;
}

body[data-page="library"] .library-entry-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

body[data-page="library"] .library-entry-copy h1 {
  margin: 1rem 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

body[data-page="library"] .library-entry-copy p {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

body[data-page="library"] .library-entry-art {
  overflow: hidden;
  max-width: 28rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(165, 180, 214, 0.18);
  box-shadow: 0 28px 54px rgba(83, 97, 140, 0.16);
  transform: rotate(-3deg);
}

body[data-page="library"] .library-entry-art img {
  width: 100%;
  border-radius: 24px;
}

body[data-page="library"] .library-entry-card {
  padding: 2rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(165, 180, 214, 0.16);
  box-shadow: 0 28px 54px rgba(83, 97, 140, 0.14);
}

body[data-page="library"] .library-entry-card strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

body[data-page="library"] .library-entry-card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

body[data-page="library"] .library-entry-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

body[data-page="library"] .library-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.15rem;
}

body[data-page="library"] .library-entry-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-body {
  margin: 0;
  font-family: "Be Vietnam Pro", sans-serif;
  color: #24365f;
  background:
    radial-gradient(circle at 12% 18%, rgba(211, 189, 255, 0.28), transparent 24%),
    radial-gradient(circle at 86% 76%, rgba(255, 223, 147, 0.26), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.admin-access-shell {
  width: min(1220px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: center;
}

.admin-access-panel {
  display: grid;
  gap: 1.25rem;
}

.admin-access-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.admin-access-brand span {
  font-size: 1rem;
}

.admin-access-card {
  padding: 2rem;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(165, 180, 214, 0.18);
  box-shadow: 0 30px 60px rgba(83, 97, 140, 0.14);
}

.admin-access-card h1 {
  margin: 0.9rem 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.admin-access-card p {
  margin: 1rem 0 0;
  color: #667793;
  line-height: 1.8;
}

.admin-access-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-access-form .btn {
  width: 100%;
}

.admin-access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.1rem;
}

.admin-access-links a {
  color: #6c57b9;
  font-weight: 800;
  text-decoration: none;
}

.admin-preview-stack {
  position: relative;
  min-height: 42rem;
}

.admin-preview-card {
  position: absolute;
  overflow: hidden;
  padding: 0.85rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(165, 180, 214, 0.18);
  box-shadow: 0 30px 60px rgba(83, 97, 140, 0.14);
}

.admin-preview-card img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.admin-preview-card-main {
  inset: 1.2rem 10rem 0 0;
  transform: rotate(-3deg);
}

.admin-preview-card-side {
  right: 0;
  bottom: 2rem;
  width: 52%;
  transform: rotate(5deg);
}

.admin-preview-tag {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #6c57b9;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(108, 87, 185, 0.12);
}

@media (max-width: 960px) {
  body[data-page="library"] .library-entry-shell,
  .admin-access-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-preview-stack {
    min-height: 34rem;
  }

  .admin-preview-card-main {
    inset: 0 6rem 0 0;
  }
}

@media (max-width: 720px) {
  body:not(.admin-body) .customer-auth-showcase {
    min-height: auto;
  }

  body:not(.admin-body) .customer-auth-art-signin,
  body:not(.admin-body) .customer-auth-art-signup,
  body[data-page="library"] .library-entry-art,
  .admin-preview-card-main,
  .admin-preview-card-side {
    transform: none;
  }

  .admin-preview-stack {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .admin-preview-card {
    position: relative;
    inset: auto;
    width: auto;
  }
}

/* Stitch redesign overrides */
:root {
  --bg: #f4f7fd;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #202a39;
  --muted: #5f6c7d;
  --yellow: #ffd978;
  --yellow-soft: #fff3cf;
  --blue: #9fd8ff;
  --blue-soft: #e9f5ff;
  --green: #a8d79b;
  --green-soft: #eff9ef;
  --orange: #ffc07f;
  --orange-soft: #fff0df;
  --purple: #6f42d7;
  --purple-soft: #efe7ff;
  --teal: #8fd7d1;
  --teal-soft: #ebfbfa;
  --outline: rgba(133, 150, 184, 0.16);
  --shadow-lg: 0 32px 72px rgba(112, 127, 168, 0.18);
  --shadow-md: 0 22px 52px rgba(112, 127, 168, 0.14);
  --shadow-sm: 0 14px 28px rgba(112, 127, 168, 0.1);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --max-width: 1240px;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(194, 179, 255, 0.22), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(255, 226, 157, 0.22), transparent 20%),
    radial-gradient(circle at 50% 52%, rgba(185, 216, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f9fe 0%, #f2f6fd 48%, #eef4fb 100%);
}

.page-shell {
  position: relative;
}

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

.site-header,
.site-header.compact {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(165, 180, 206, 0.18);
}

.nav-wrap {
  padding: 1rem 0;
}

.brand-logo {
  height: 2.85rem;
  max-width: min(17rem, 42vw);
}

.nav-panel {
  gap: 1.1rem;
}

.site-nav {
  gap: 0.6rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(237, 242, 251, 0.92);
  box-shadow: inset 0 0 0 1px rgba(188, 200, 223, 0.2);
}

.site-nav a {
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #61708b;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--purple);
  background: rgba(255, 255, 255, 0.92);
  transform: none;
}

.account-pill,
.btn {
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.account-pill,
.btn.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(189, 202, 225, 0.68);
  box-shadow: 0 10px 22px rgba(125, 144, 179, 0.12);
}

.account-pill {
  min-height: 3.05rem;
  padding: 0.8rem 1.25rem;
  color: #3f4b60;
}

.account-pill:hover,
.account-pill:focus-visible,
.btn.btn-secondary:hover,
.btn.btn-secondary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(125, 144, 179, 0.16);
}

.btn {
  min-height: 3.25rem;
  padding: 0.85rem 1.45rem;
  border: 0;
  box-shadow: 0 16px 34px rgba(125, 144, 179, 0.16);
}

.btn.btn-primary,
.btn.btn-block {
  color: #fff;
  background: linear-gradient(90deg, #7b4bd5 0%, #b997f7 100%);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus-visible,
.btn.btn-block:hover,
.btn.btn-block:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(111, 66, 215, 0.24);
}

.btn.btn-secondary {
  color: #7c5d12;
  background: linear-gradient(180deg, #ffe29b 0%, #ffd776 100%);
  border-color: rgba(255, 214, 124, 0.82);
}

.btn.btn-small {
  min-height: 2.8rem;
  padding: 0.7rem 1.1rem;
}

.hero-section,
.sub-hero,
.product-hero {
  padding-top: 2.5rem;
}

.hero-section {
  padding-bottom: 3rem;
}

.hero-grid,
.sub-hero-grid,
.product-hero-grid {
  gap: 2.75rem;
}

.hero-copy h1,
.sub-hero h1,
.product-hero h1,
.section-heading h2,
.cta-panel h2,
.story-panel-copy h2,
.reading-preview-copy h2 {
  color: #232d3b;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  max-width: 8.8ch;
}

.hero-text,
.section-heading p,
.sub-hero p,
.cta-panel p,
.product-copy p,
.detail-card p,
.reading-preview-copy p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.92rem;
  border-radius: 999px;
  background: rgba(239, 244, 252, 0.92);
  color: var(--purple);
  box-shadow: inset 0 0 0 1px rgba(190, 201, 221, 0.22);
}

.hero-shell,
.sub-hero-grid,
.shop-layout .container,
.legal-layout,
.cta-panel,
.story-panel,
.reading-preview-shell,
.library-entry-shell,
.product-detail-grid,
.related-panel {
  position: relative;
  z-index: 1;
}

.hero-visual-showcase,
.shop-highlight-showcase,
.product-preview-stack,
.reading-preview-image,
.story-panel-image {
  position: relative;
}

.stitch-stage {
  position: relative;
  min-height: 38rem;
}

.stitch-card,
.sub-hero-card,
.story-panel,
.reading-preview-image,
.bundle-shop-note,
.legal-hero-card,
.legal-card,
.product-card,
.detail-card,
.purchase-card,
.library-packet-card,
.library-entry-card,
.library-entry-copy,
.customer-auth-card,
.customer-auth-visual,
.customer-library-card,
.customer-library-item,
.customer-account-header,
.admin-access-card,
.admin-preview-card,
.results-bar,
.metric-card,
.info-card,
.step-card,
.category-card,
.cta-panel,
.related-panel {
  background: var(--surface-strong);
  border: 1px solid rgba(189, 201, 220, 0.18);
  box-shadow: var(--shadow-md);
}

.stitch-card {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
}

.stitch-card img,
.shop-highlight-preview img,
.story-panel-image img,
.reading-preview-image img,
.admin-preview-card img,
.library-entry-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-card-main {
  inset: 1rem 5rem 6rem 0;
}

.stitch-card-side {
  width: 18rem;
  height: 23rem;
  right: 0;
  top: 4rem;
}

.stitch-card-mini {
  width: 16rem;
  height: 12rem;
  left: 2rem;
  bottom: 0;
}

.stitch-card-tag,
.admin-preview-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #49576c;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-floating-note {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  max-width: 16rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 42px rgba(117, 132, 164, 0.2);
}

.hero-floating-note strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.hero-floating-note span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-proof-grid,
.hero-metrics,
.info-grid,
.steps-grid,
.category-grid,
.product-grid,
.customer-library-grid,
.library-packet-grid {
  gap: 1.4rem;
}

.proof-card,
.metric-card,
.info-card,
.step-card {
  border-radius: 28px;
}

.proof-card,
.metric-card {
  padding: 1.2rem 1.25rem;
}

.proof-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.proof-icon,
.category-icon,
.step-icon {
  border-radius: 22px;
}

.proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(239, 231, 255, 0.86);
  color: var(--purple);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
}

.metric-card strong,
.proof-card strong,
.results-bar strong {
  color: #27313f;
}

.metric-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.6;
}

.info-band,
.muted-section,
body[data-page="legal"] .legal-section,
body[data-page="categories"] .section-block:first-of-type + .section-block {
  background: transparent;
}

.info-card,
.step-card,
.category-card {
  padding: 1.4rem;
}

.step-card {
  min-height: 100%;
}

.step-icon {
  width: 4.25rem;
  height: 4.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 244, 252, 0.96);
}

.step-icon svg {
  width: 1.9rem;
  height: 1.9rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.step-number {
  color: rgba(111, 66, 215, 0.48);
}

.story-panel,
.reading-preview-shell,
.cta-panel {
  border-radius: 38px;
  padding: 1.6rem;
}

.story-panel,
.reading-preview-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 1.6rem;
}

.story-panel-copy,
.reading-preview-copy {
  padding: 1.2rem;
}

.story-panel-copy p,
.reading-preview-copy p {
  max-width: 34rem;
  line-height: 1.7;
}

.story-panel-image,
.reading-preview-image {
  overflow: hidden;
  border-radius: 30px;
  min-height: 26rem;
}

.bundle-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.bundle-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: rgba(234, 240, 250, 0.9);
  color: #4f5e76;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
}

.bundle-chip.is-active {
  background: linear-gradient(90deg, #7b4bd5 0%, #9466e8 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(111, 66, 215, 0.18);
}

.reading-feature-list,
.product-feature-list,
.detail-list,
.shop-highlight-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.reading-feature-list li,
.product-feature-list li,
.detail-list li,
.shop-highlight-card li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.65;
}

.reading-feature-list li + li,
.product-feature-list li + li,
.detail-list li + li,
.shop-highlight-card li + li {
  margin-top: 0.75rem;
}

.reading-feature-list li::before,
.product-feature-list li::before,
.detail-list li::before,
.shop-highlight-card li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(111, 66, 215, 0.82);
}

.sub-hero {
  padding-bottom: 1.25rem;
}

.sub-hero-card,
.bundle-shop-note,
.results-bar,
.library-entry-card,
.customer-library-card,
.customer-library-item,
.customer-account-header,
.legal-hero-card,
.legal-card,
.admin-access-card,
.admin-preview-card {
  border-radius: 32px;
  padding: 1.35rem;
}

.shop-highlight-preview {
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 1rem;
  min-height: 14rem;
}

.shop-highlight-preview img {
  min-height: 14rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.trust-strip span,
.download-chip,
.product-meta span,
.checkout-message.is-pending,
.checkout-message.is-success,
.checkout-message.is-error {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(236, 242, 251, 0.9);
  color: #53627a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.results-bar .text-link,
.mini-link,
.library-entry-links a,
.admin-access-links a,
.legal-card a {
  color: var(--purple);
  font-weight: 700;
}

.bundle-shop-note p,
.legal-hero-card p,
.legal-card p,
.legal-card li,
.admin-access-card p,
.customer-library-item p,
.library-book-row p {
  color: var(--muted);
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
  border-radius: 34px;
  overflow: hidden;
}

.cover-art {
  min-height: 17rem;
  border-radius: 30px;
  margin: 1.15rem;
}

.product-copy {
  padding: 0 1.35rem 1.4rem;
}

.product-copy h3 {
  font-size: 1.6rem;
  line-height: 1.05;
  margin-top: 0.8rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.price,
.purchase-price {
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
}

.empty-state,
.admin-empty-state,
.customer-library-state {
  padding: 1.4rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  border: 1px solid rgba(189, 201, 220, 0.18);
}

.product-hero {
  padding-bottom: 1rem;
}

.product-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.3rem 0;
}

.product-checklist span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(236, 242, 251, 0.94);
  color: #596982;
  font-size: 0.88rem;
  font-weight: 700;
}

.flipbook-stack,
.preview-flipbook,
.sample-grid {
  gap: 1rem;
}

.sample-detail-card,
.sample-page {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(189, 201, 220, 0.18);
  box-shadow: var(--shadow-sm);
}

.detail-card h2,
.purchase-card strong,
.related-panel h2,
.legal-list h2 {
  color: #25303f;
}

.purchase-card,
.detail-stack,
.product-detail-grid {
  align-self: start;
}

.trust-box {
  margin: 1rem 0 1.2rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(238, 243, 252, 0.82);
}

.library-entry-shell,
.customer-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 30rem);
  gap: 1.4rem;
}

.library-entry-copy,
.customer-auth-visual {
  overflow: hidden;
}

.library-entry-art {
  overflow: hidden;
  border-radius: 26px;
  margin-bottom: 1rem;
}

.library-entry-copy h1,
.customer-auth-visual h2,
.customer-account-header h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 0.7rem 0 0.9rem;
}

.library-entry-actions,
.customer-account-actions,
.checkout-actions,
.admin-access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.library-entry-links,
.customer-auth-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 1rem;
}

.customer-portal-dialog,
.preview-dialog {
  max-width: min(1160px, calc(100% - 1.5rem));
  border-radius: 34px;
  background: rgba(248, 250, 254, 0.98);
  border: 1px solid rgba(189, 201, 220, 0.16);
  box-shadow: 0 30px 90px rgba(79, 96, 130, 0.26);
}

.preview-close {
  background: rgba(236, 242, 251, 0.96);
}

body:not(.admin-body) .customer-auth-showcase {
  min-height: 20rem;
}

body:not(.admin-body) .customer-auth-art {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.customer-auth-card,
.customer-auth-visual,
.customer-account-shell,
.customer-library-card {
  min-height: 100%;
}

.customer-auth-tabs {
  padding: 0.32rem;
  border-radius: 999px;
  background: rgba(236, 242, 251, 0.94);
}

.customer-auth-tab {
  border-radius: 999px;
  font-weight: 800;
}

.customer-auth-tab.is-active {
  background: linear-gradient(90deg, #7b4bd5 0%, #a580f0 100%);
  color: #fff;
}

.checkout-field input,
.checkout-field textarea,
.checkout-field select {
  border-radius: 20px;
  border: 1px solid rgba(189, 201, 220, 0.4);
  background: rgba(237, 242, 251, 0.82);
}

.customer-library-item,
.library-book-row {
  gap: 1rem;
}

.library-book-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid rgba(189, 201, 220, 0.24);
}

.library-book-row:first-child {
  border-top: 0;
}

body[data-page="legal"] .legal-layout {
  grid-template-columns: minmax(0, 1fr);
}

.legal-hero-card {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.legal-card {
  max-width: 58rem;
  margin: 0 auto;
}

.legal-list {
  padding-left: 1.2rem;
}

.legal-list > li + li {
  margin-top: 1.5rem;
}

.legal-list ul {
  margin-top: 0.6rem;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 14%, rgba(197, 181, 255, 0.2), transparent 24%),
    radial-gradient(circle at 82% 66%, rgba(255, 223, 150, 0.18), transparent 22%),
    linear-gradient(180deg, #f7f9fe 0%, #eef4fb 100%);
}

.admin-access-shell {
  width: min(1240px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1.5rem;
}

.admin-access-brand {
  margin-bottom: 1rem;
}

.admin-access-card {
  max-width: 34rem;
}

.admin-preview-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-content: start;
}

.admin-preview-card {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
}

.admin-preview-card-main {
  grid-column: 1 / -1;
  min-height: 30rem;
}

.site-footer {
  padding: 1.25rem 0 2rem;
  background: transparent;
}

.footer-grid {
  align-items: start;
  padding: 1.5rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(189, 201, 220, 0.18);
  box-shadow: var(--shadow-sm);
}

.footer-copy {
  max-width: 28rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.1rem;
}

.footer-links a {
  color: #55657d;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--purple);
}

@media (max-width: 1100px) {
  .hero-grid,
  .sub-hero-grid,
  .product-hero-grid,
  .story-panel,
  .reading-preview-shell,
  .library-entry-shell,
  .customer-auth-shell,
  .admin-access-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .stitch-stage {
    min-height: 32rem;
  }

  .stitch-card-main {
    inset: 0 4rem 6rem 0;
  }

  .admin-preview-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-preview-card-main {
    min-height: 24rem;
  }
}

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

  .nav-wrap,
  .nav-panel,
  .header-actions,
  .footer-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stitch-stage,
  .reading-preview-image,
  .story-panel-image {
    min-height: auto;
  }

  .stitch-card {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    margin-bottom: 1rem;
  }

  .hero-floating-note {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
  }

  .results-bar,
  .library-book-row,
  .customer-account-header,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 620px) {
  .hero-section,
  .sub-hero,
  .product-hero,
  .section-block {
    padding-top: 1.6rem;
  }

  .story-panel,
  .reading-preview-shell,
  .cta-panel,
  .sub-hero-card,
  .bundle-shop-note,
  .legal-card,
  .admin-access-card,
  .admin-preview-card,
  .product-card,
  .library-entry-card,
  .library-entry-copy,
  .customer-auth-card,
  .customer-auth-visual {
    padding: 1.1rem;
    border-radius: 26px;
  }

  .hero-copy h1,
  .sub-hero h1,
  .product-hero h1,
  .section-heading h2,
  .cta-panel h2,
  .story-panel-copy h2,
  .reading-preview-copy h2,
  .library-entry-copy h1,
  .customer-auth-visual h2,
  .customer-account-header h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .site-nav a,
  .account-pill,
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* April 2026 mockup implementation overrides */

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

body[data-page="home"],
body[data-page="shop"] {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 221, 157, 0.42), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(208, 223, 255, 0.95), transparent 22%),
    radial-gradient(circle at 76% 78%, rgba(195, 224, 255, 0.78), transparent 28%),
    linear-gradient(180deg, #fdfefe 0%, #f6f9ff 48%, #ebf3ff 100%);
}

body[data-page="home"] .site-header,
body[data-page="shop"] .site-header {
  position: static;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  padding-top: 1.15rem;
}

body[data-page="home"] .nav-wrap,
body[data-page="shop"] .nav-wrap {
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(207, 220, 243, 0.85);
  box-shadow: 0 20px 40px rgba(119, 144, 186, 0.14);
}

body[data-page="home"] .brand-logo,
body[data-page="shop"] .brand-logo {
  height: 2.45rem;
}

body[data-page="home"] .site-nav a,
body[data-page="shop"] .site-nav a {
  font-size: 0.92rem;
}

body[data-page="home"] .account-pill,
body[data-page="shop"] .account-pill {
  min-height: 2.7rem;
  padding: 0.72rem 1.05rem;
  background: #f8fbff;
}

.mockup-main {
  padding-bottom: 3.5rem;
}

.mockup-home-shell,
.bundle-library-shell {
  padding: 0.8rem 0 1.8rem;
}

.mockup-home-board,
.bundle-library-board {
  position: relative;
  border-radius: 46px;
  border: 1px solid rgba(216, 226, 244, 0.95);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 34px 90px rgba(122, 149, 198, 0.2);
  backdrop-filter: blur(20px);
}

.mockup-home-board {
  padding: 1.1rem;
}

.bundle-library-board {
  padding: 1.2rem;
}

.page-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.55rem 1.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #6f4bd5;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(145, 132, 214, 0.16);
}

.page-pill-purple {
  color: #5c38c7;
}

body[data-page="home"] .hero-copy .hero-kicker,
body[data-page="shop"] .sub-hero-shop .eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  letter-spacing: 0;
  color: #7b60c9;
}

body[data-page="home"] .hero-copy h1,
body[data-page="shop"] .sub-hero-shop h1 {
  margin: 0;
  color: #5b2db8;
  font-size: clamp(2.8rem, 4.8vw, 4.85rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

body[data-page="home"] .hero-copy .hero-text,
body[data-page="shop"] .sub-hero-shop p {
  margin-top: 1rem;
  max-width: 32rem;
  color: #697694;
  font-size: 1rem;
  line-height: 1.7;
}

body[data-page="home"] .mockup-main .btn,
body[data-page="shop"] .mockup-main .btn {
  min-height: 2.85rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  box-shadow: none;
}

body[data-page="home"] .mockup-main .btn-primary,
body[data-page="shop"] .mockup-main .btn-primary {
  background: linear-gradient(135deg, #6f40dd 0%, #8c64ef 100%);
  color: #fff;
}

body[data-page="home"] .mockup-main .btn-secondary,
body[data-page="shop"] .mockup-main .btn-secondary {
  background: #ffd985;
  border-color: #ffd985;
  color: #6c4a11;
}

.home-stage-card {
  display: grid;
  gap: 1.6rem;
  padding: 1.35rem;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(224, 232, 245, 0.92);
}

.home-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
  align-items: center;
}

.home-hero-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.home-hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 14%;
  border-radius: 34px;
  background:
    radial-gradient(circle at 22% 20%, rgba(233, 225, 255, 0.92), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(208, 227, 255, 0.92), transparent 36%),
    linear-gradient(180deg, rgba(252, 252, 255, 0.98), rgba(245, 249, 255, 0.98));
  filter: blur(1px);
}

.floating-book-card {
  position: relative;
  width: min(100%, 230px);
  aspect-ratio: 0.86;
  transform: rotate(-13deg);
  z-index: 1;
}

.floating-book-shadow {
  position: absolute;
  inset: 10px 12px -4px;
  border-radius: 32px;
  background: rgba(160, 132, 247, 0.24);
  filter: blur(18px);
}

.floating-book-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 28px 55px rgba(125, 148, 187, 0.28);
}

.floating-book-face svg {
  width: 50%;
  height: auto;
}

.home-how-panel {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.95), rgba(237, 243, 253, 0.92));
  border: 1px solid rgba(225, 232, 245, 0.94);
}

body[data-page="home"] #how-it-works .section-heading {
  margin: 0 auto;
  text-align: center;
}

body[data-page="home"] #how-it-works .section-heading h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.55rem, 2vw, 2rem);
  color: #262a35;
}

body[data-page="home"] #how-it-works .section-heading p {
  margin: 0;
  color: #7b859d;
}

body[data-page="home"] .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body[data-page="home"] .step-card {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 1.05rem 0.8rem;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-page="home"] .step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ece6ff;
  color: #7b60c9;
}

body[data-page="home"] .step-icon.soft-yellow {
  background: #fff3cf;
  color: #bb8b20;
}

body[data-page="home"] .step-icon.cool-blue {
  background: #e5f0ff;
  color: #5e88d3;
}

body[data-page="home"] .step-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="home"] .step-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #1c1f29;
}

body[data-page="home"] .step-card p {
  margin: 0;
  color: #717b93;
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-curated-panel {
  margin-top: 1.2rem;
  padding: 1.55rem;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(224, 232, 245, 0.94);
}

.home-curated-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.home-curated-heading h2 {
  margin: 0.25rem 0 0;
  color: #242a37;
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.home-inline-link {
  color: #7250da;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
}

.home-inline-link:hover,
.home-inline-link:focus-visible {
  color: #5831c8;
}

.home-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.bundle-preview-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 26px;
  border: 1px solid rgba(234, 239, 247, 0.98);
  background: #fff;
  box-shadow: 0 18px 36px rgba(129, 149, 183, 0.12);
}

.bundle-preview-art {
  min-height: 150px;
  border-radius: 22px;
  display: grid;
  place-items: center;
}

.bundle-preview-lilac .bundle-preview-art {
  background: linear-gradient(180deg, #ece8ff, #f6f4ff);
}

.bundle-preview-yellow .bundle-preview-art {
  background: linear-gradient(180deg, #fff4d6, #fff9ec);
}

.bundle-preview-mint .bundle-preview-art {
  background: linear-gradient(180deg, #e4fbf6, #f2fffb);
}

.bundle-preview-rose .bundle-preview-art {
  background: linear-gradient(180deg, #fbecef, #fff7f8);
}

.bundle-preview-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: #c9c8d5;
}

.bundle-preview-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bundle-preview-card strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  color: #272d3b;
}

.bundle-preview-card span:last-child {
  color: #7a859c;
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-why-panel {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: 40px;
  background: linear-gradient(135deg, #7039d8 0%, #5d31c0 100%);
  color: #fff;
  overflow: hidden;
}

.home-why-copy .eyebrow,
.home-curated-heading .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.home-curated-heading .eyebrow {
  color: #8d79c5;
}

.home-why-copy h2 {
  margin: 0.35rem 0 1.1rem;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.home-why-list {
  display: grid;
  gap: 0.95rem;
}

.why-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.why-point-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
}

.why-point strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
}

.why-point p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.home-why-visual {
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 32px;
  background: linear-gradient(180deg, #1eb7bb 0%, #1481a1 100%);
  min-height: 320px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-why-visual svg {
  width: min(100%, 320px);
  height: auto;
}

.bundle-library-header {
  display: grid;
  gap: 1rem;
  padding: 0.35rem;
}

.bundle-library-utility {
  display: grid;
  gap: 0.95rem;
}

.bundle-filter-pills {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.bundle-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #f5f3ff;
  color: #7250da;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.bundle-filter-pill.is-active {
  background: linear-gradient(135deg, #6f40dd 0%, #8b66ef 100%);
  color: #fff;
}

.bundle-library-controls {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.bundle-search-field,
.bundle-select-field {
  flex: 1 1 220px;
}

.bundle-search-field input,
.bundle-select-field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.86rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(220, 227, 241, 0.98);
  background: rgba(248, 251, 255, 0.98);
  color: #3a4660;
}

.bundle-library-board .shop-layout {
  padding-top: 1rem;
}

body[data-page="shop"] .results-bar {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  background: rgba(245, 248, 255, 0.96);
  border: 1px solid rgba(225, 232, 245, 0.94);
  box-shadow: none;
}

body[data-page="shop"] .results-bar strong {
  font-size: 1rem;
  color: #2a3242;
}

body[data-page="shop"] .results-bar .text-link {
  color: #7350d8;
  font-weight: 700;
}

body[data-page="shop"] .bundle-shop-note {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.96), rgba(239, 244, 253, 0.96));
  border: 1px solid rgba(225, 232, 245, 0.94);
}

body[data-page="shop"] .bundle-shop-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #273040;
}

body[data-page="shop"] .bundle-shop-note p {
  margin: 0;
  color: #6f7b95;
}

body[data-page="shop"] .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body[data-page="shop"] .product-card {
  display: grid;
  gap: 0.95rem;
  padding: 0.95rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(234, 239, 247, 0.98);
  box-shadow: 0 18px 40px rgba(129, 149, 183, 0.12);
}

body[data-page="shop"] .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(129, 149, 183, 0.16);
}

body[data-page="shop"] .cover-art {
  min-height: 172px;
  padding: 1rem;
  border-radius: 24px;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(245, 240, 255, 0.95), rgba(251, 250, 255, 0.98));
  border: 1px solid rgba(231, 224, 249, 0.9);
}

body[data-page="shop"] .cover-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #7a60ca;
  font-size: 0.76rem;
  font-weight: 700;
}

body[data-page="shop"] .cover-copy {
  gap: 0.15rem;
}

body[data-page="shop"] .cover-copy strong {
  font-size: 1rem;
  color: #222b39;
}

body[data-page="shop"] .cover-copy small,
body[data-page="shop"] .cover-tags span {
  color: #79849a;
}

body[data-page="shop"] .product-copy {
  gap: 0.9rem;
  padding: 0;
}

body[data-page="shop"] .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body[data-page="shop"] .product-meta span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f3f6ff;
  color: #74809a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body[data-page="shop"] .product-copy h3 {
  margin: 0;
  color: #252d3a;
  font-size: 1.08rem;
}

body[data-page="shop"] .product-copy p {
  margin: 0;
  color: #7a859c;
  font-size: 0.92rem;
  line-height: 1.65;
}

body[data-page="shop"] .product-feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #6c7791;
}

body[data-page="shop"] .product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

body[data-page="shop"] .price {
  font-size: 1.1rem;
  color: #2a3241;
}

body[data-page="shop"] .btn-small {
  min-height: 2.55rem;
  padding: 0.72rem 1.15rem;
}

body[data-page="shop"] .product-actions .btn-primary,
body[data-page="shop"] .bundle-placeholder-button {
  background: #fff;
  color: #7455d9;
  border: 1px solid rgba(129, 97, 219, 0.4);
  box-shadow: none;
}

body[data-page="shop"] .product-actions .btn-primary:hover,
body[data-page="shop"] .product-actions .btn-primary:focus-visible {
  background: #f8f4ff;
}

body[data-page="shop"] .empty-state-catalog.bundle-placeholder-state {
  display: grid;
  gap: 1rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

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

.bundle-placeholder-card {
  display: grid;
  gap: 0.95rem;
  padding: 0.95rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(234, 239, 247, 0.98);
  box-shadow: 0 18px 40px rgba(129, 149, 183, 0.12);
}

.bundle-placeholder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: #5d5f7c;
  font-size: 0.76rem;
  font-weight: 700;
}

.bundle-placeholder-lilac .bundle-placeholder-badge {
  background: #f0e8ff;
  color: #7455d9;
}

.bundle-placeholder-yellow .bundle-placeholder-badge,
.bundle-placeholder-sun .bundle-placeholder-badge {
  background: #fff0c8;
  color: #bf8c16;
}

.bundle-placeholder-blue .bundle-placeholder-badge {
  background: #e7f0ff;
  color: #4c7ed3;
}

.bundle-placeholder-mint .bundle-placeholder-badge {
  background: #dff8f2;
  color: #21907f;
}

.bundle-placeholder-violet .bundle-placeholder-badge {
  background: #efe6ff;
  color: #7b5ec8;
}

.bundle-placeholder-lines {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.bundle-placeholder-lines span {
  display: block;
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef2fb, #f7f9fd);
}

.bundle-placeholder-lines span:nth-child(1) {
  width: 72%;
}

.bundle-placeholder-lines span:nth-child(2) {
  width: 62%;
}

.bundle-placeholder-lines span:nth-child(3) {
  width: 48%;
}

.bundle-placeholder-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.45rem;
  padding: 0.66rem 1rem;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.bundle-empty-copy {
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.96), rgba(239, 244, 253, 0.96));
  border: 1px solid rgba(225, 232, 245, 0.94);
}

.bundle-empty-copy h3 {
  margin: 0 0 0.35rem;
  color: #273040;
  font-size: 1.15rem;
}

.bundle-empty-copy p {
  margin: 0;
  color: #6f7b95;
}

.bundle-empty-copy .empty-state-actions {
  margin-top: 0.9rem;
}

@media (max-width: 1100px) {
  .home-stage-grid,
  .home-why-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-shelf-grid,
  body[data-page="shop"] .product-grid,
  .bundle-placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body[data-page="home"] .nav-wrap,
  body[data-page="shop"] .nav-wrap {
    border-radius: 28px;
  }

  .mockup-home-board,
  .bundle-library-board,
  .home-stage-card,
  .home-curated-panel,
  .home-why-panel {
    border-radius: 30px;
  }

  .home-curated-heading,
  .bundle-library-controls,
  body[data-page="shop"] .results-bar,
  body[data-page="shop"] .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="home"] .steps-grid,
  .home-shelf-grid,
  body[data-page="shop"] .product-grid,
  .bundle-placeholder-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .mockup-home-board,
  .bundle-library-board {
    padding: 0.8rem;
  }

  .home-stage-card,
  .home-curated-panel,
  .home-why-panel,
  .home-how-panel {
    padding: 1.1rem;
  }

  .page-pill {
    min-height: 2.8rem;
    padding: 0.5rem 1.15rem;
  }

  .home-hero-visual {
    min-height: 240px;
  }
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(140, 164, 203, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(77, 103, 153, 0.1);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.cart-trigger:hover,
.cart-trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(77, 103, 153, 0.14);
}

.cart-trigger-icon {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
}

.cart-trigger-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-trigger-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #6f40dd 0%, #8c64ef 100%);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 75;
}

.cart-drawer.is-open {
  display: block;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 48, 0.56);
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(31rem, 100%);
  height: 100%;
  padding: 1.35rem;
  background: rgba(248, 250, 254, 0.99);
  border-left: 1px solid rgba(189, 201, 220, 0.18);
  box-shadow: -24px 0 70px rgba(79, 96, 130, 0.22);
}

.cart-drawer-header h2 {
  margin: 0.3rem 0 0.45rem;
  color: #243046;
}

.cart-drawer-header p {
  margin: 0;
  color: #6f7b95;
}

.cart-drawer-body {
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1rem 0;
}

.cart-item-card,
.cart-empty-state {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(225, 232, 245, 0.92);
  box-shadow: 0 18px 36px rgba(129, 149, 183, 0.12);
}

.cart-item-card {
  display: grid;
  gap: 0.9rem;
}

.cart-item-copy strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #243046;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
}

.cart-item-copy p,
.cart-item-copy span,
.cart-empty-state p {
  margin: 0;
  color: #6f7b95;
  line-height: 1.6;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: #f4f7fd;
}

.cart-qty-controls button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #5f46c9;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.cart-qty-controls span {
  min-width: 1.6rem;
  text-align: center;
  color: #243046;
  font-weight: 700;
}

.cart-remove-button {
  border: 0;
  background: transparent;
  color: #7b60c9;
  font-weight: 700;
  cursor: pointer;
}

.cart-drawer-footer {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(225, 232, 245, 0.92);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.cart-total-row strong,
.cart-total-row span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  color: #243046;
}

.cart-actions {
  display: grid;
  gap: 0.75rem;
}

.cart-empty-state h3 {
  margin: 0 0 0.35rem;
  color: #243046;
}

.checkout-order-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #5c6781;
}

.purchase-card-actions {
  display: grid;
  gap: 0.8rem;
}

.btn-cart-add {
  color: #fff;
  background: linear-gradient(90deg, #7b4bd5 0%, #b997f7 100%);
}

.btn-cart-add:hover,
.btn-cart-add:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(111, 66, 215, 0.24);
}

body[data-page="shop"] .product-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-page="shop"] .product-actions .btn-cart-add {
  background: linear-gradient(135deg, #6f40dd 0%, #8c64ef 100%);
  color: #fff;
  border-color: transparent;
}

body[data-page="shop"] .product-actions .btn-secondary {
  background: #fff8e2;
  border-color: #ffe7a6;
  color: #7c5d12;
}

@media (max-width: 820px) {
  .cart-drawer-panel {
    width: min(100%, 32rem);
  }
}

@media (max-width: 620px) {
  .cart-trigger {
    width: 100%;
    justify-content: center;
  }

  .cart-drawer-panel {
    width: 100%;
    padding: 1rem;
  }
}
