:root {
  --paper: #f8f6f1;
  --paper-deep: #ece6dc;
  --ink: #121619;
  --ink-soft: #526068;
  --sage: #21363a;
  --sage-soft: #617278;
  --terracotta: #8f4f2e;
  --gold: #b69162;
  --card: rgba(255, 255, 252, 0.88);
  --line: rgba(18, 22, 25, 0.11);
  --shadow: 0 22px 70px rgba(18, 22, 25, 0.09);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(182, 145, 98, 0.14), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(33, 54, 58, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfbf8 0%, #f6f1e8 100%);
  min-height: 100vh;
}

body.dashboard-body {
  font-family: "Geist", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(33, 54, 58, 0.14), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(182, 145, 98, 0.14), transparent 22%),
    linear-gradient(180deg, #f6f7f8 0%, #eef1f2 100%);
}

body.dashboard-auth-body {
  font-family: "Geist", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(33, 54, 58, 0.14), transparent 22%),
    radial-gradient(circle at 84% 0%, rgba(182, 145, 98, 0.14), transparent 20%),
    linear-gradient(180deg, #f6f7f8 0%, #edf1f3 100%);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(182, 145, 98, 0.55);
  outline-offset: 3px;
}

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

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

.page-glow {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.65;
}

.page-glow-a {
  width: 320px;
  height: 320px;
  background: rgba(177, 91, 52, 0.18);
  top: -60px;
  right: 10%;
}

.page-glow-b {
  width: 420px;
  height: 420px;
  background: rgba(40, 70, 68, 0.12);
  bottom: 8%;
  left: -120px;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  position: relative;
}

.editorial-topbar {
  align-items: flex-start;
}

.footer-owner {
  display: block;
  color: var(--ink-soft);
  margin-top: 8px;
}

.topbar,
.footer,
.hero-card,
.hero-showcase-card,
.product-card,
.access-card,
.purchase-card,
.status-card,
.lookup-card,
.result-card,
.empty-state,
.notice,
.info-panel,
.selling-point,
.proof-card,
.feature-card,
.course-section-panel,
.course-stat,
.upload-card,
.backend-hero-card {
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  background: rgba(255, 248, 238, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
}

.logo small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--sage) 0%, #1b2f2f 100%);
  color: #fff8ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-soft);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--sage);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: rgba(143, 79, 46, 0.75);
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

main {
  display: grid;
  gap: 36px;
  padding-top: 32px;
}

.hero-grid,
.detail-grid,
.lookup-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.green-card,
.newsletter-card,
.final-cta-card {
  background: linear-gradient(180deg, rgba(35, 56, 56, 0.98), rgba(28, 45, 45, 0.98));
  color: #f8f3ea;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 28px 80px rgba(15, 24, 24, 0.28);
}

.green-card h3,
.green-card strong,
.green-card .button,
.newsletter-card h2,
.final-cta-card h2 {
  color: #fff8ef;
}

.green-card p,
.green-card li,
.green-card-note,
.newsletter-card p,
.final-cta-card p {
  color: rgba(248, 243, 234, 0.78);
}

.green-card .eyebrow,
.newsletter-card .eyebrow,
.final-cta-card .eyebrow {
  color: rgba(222, 194, 156, 0.92);
}

.green-card-grid,
.founder-cred-grid {
  display: grid;
  gap: 20px;
}

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

.green-card-grid-three,
.founder-cred-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.green-card-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.green-card-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.green-card-list li::marker {
  color: rgba(222, 194, 156, 0.92);
}

.green-card-note {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.green-statement-card h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
}

.section-head-top-gap {
  margin-top: 22px;
}

.zts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.zts-hero-card {
  padding: 34px;
}

.zts-platform-card {
  height: 100%;
}

.platform-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.platform-overview-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(18, 22, 25, 0.04);
  border: 1px solid rgba(18, 22, 25, 0.08);
}

.platform-overview-item .eyebrow {
  margin-bottom: 0;
}

.platform-overview-item strong {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
}

.platform-overview-item span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.platform-dashboard-grid,
.platform-quick-grid,
.platform-surface-grid,
.platform-surface-card,
.platform-surface-copy,
.surface-card-actions,
.platform-owner-card,
.platform-quick-card {
  display: grid;
}

.platform-dashboard-grid {
  gap: 20px;
}

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

.platform-quick-card,
.platform-surface-card {
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(247, 238, 224, 0.84)),
    rgba(255, 251, 245, 0.8);
  border: 1px solid rgba(22, 33, 38, 0.08);
  box-shadow: 0 22px 60px rgba(30, 39, 41, 0.08);
}

.platform-quick-card h3,
.platform-surface-card h3,
.platform-owner-card h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.02;
}

.platform-quick-card h3,
.platform-surface-card h3 {
  font-size: 1.45rem;
}

.platform-quick-card p:last-of-type,
.platform-surface-card p:last-of-type {
  margin-bottom: 0;
}

.platform-surface-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.platform-surface-featured,
.platform-surface-card-wide {
  grid-column: span 2;
}

.platform-surface-featured {
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
}

.platform-surface-cover {
  min-height: 360px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(248, 244, 236, 0.94), rgba(239, 232, 219, 0.82)),
    rgba(255, 252, 246, 0.88);
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 18px;
}

.platform-surface-featured .detail-cover {
  width: min(100%, 300px);
  object-fit: contain;
}

.platform-surface-copy {
  gap: 14px;
  align-content: center;
}

.platform-surface-card-dark {
  color: #f8f3ea;
  background: linear-gradient(180deg, rgba(35, 56, 56, 0.98), rgba(28, 45, 45, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(15, 24, 24, 0.28);
}

.platform-surface-card-dark p,
.platform-surface-card-dark .mini-meta span {
  color: rgba(248, 243, 234, 0.82);
}

.platform-surface-card-dark .eyebrow,
.platform-surface-card-dark h3,
.platform-surface-card-dark strong {
  color: #fff8ef;
}

.surface-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(18, 22, 25, 0.04);
  border: 1px solid rgba(18, 22, 25, 0.08);
}

.surface-metric strong {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
}

.surface-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.surface-list li::marker {
  color: rgba(143, 79, 46, 0.72);
}

.surface-list-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-left: 0;
  list-style: none;
}

.surface-list-columns li {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(18, 22, 25, 0.04);
  border: 1px solid rgba(18, 22, 25, 0.08);
}

.surface-card-actions {
  gap: 12px;
}

.platform-owner-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 8px 0;
}

.platform-owner-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.platform-owner-card p {
  max-width: 58ch;
  margin-bottom: 0;
}

.founder-cred-strip {
  padding-top: 8px;
}

.platform-story-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.platform-story-band h3 {
  margin: 0 0 8px;
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
}

.platform-story-band p:last-child {
  margin: 0;
}

.green-metric-card h3 {
  margin: 0 0 10px;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
}

.premium-feature-card {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
}

.premium-feature-card .editorial-feature-cover {
  min-height: 560px;
}

.premium-feature-card .detail-cover {
  object-fit: contain;
  padding: 24px;
}

.founder-writing-section .inline-actions {
  margin-top: 18px;
}

.bookshelf-card {
  min-height: 100%;
}

.bookshelf-cover-link {
  min-height: 430px;
  background:
    linear-gradient(180deg, rgba(248, 244, 236, 0.94), rgba(239, 232, 219, 0.82)),
    rgba(255, 252, 246, 0.88);
}

.bookshelf-cover {
  width: min(92%, 290px);
  margin: 58px auto 24px;
  object-fit: contain;
}

.newsletter-card,
.final-cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.newsletter-card h2,
.final-cta-card h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.legal-stage {
  display: grid;
  gap: 24px;
}

.support-contact-card,
.legal-card {
  padding: 30px;
}

.detail-note-card-green {
  background:
    linear-gradient(180deg, rgba(35, 56, 56, 0.98), rgba(28, 45, 45, 0.98));
  color: #fff8ef;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-note-card-green .eyebrow,
.detail-note-card-green .proof-item span,
.detail-note-card-green .proof-item strong {
  color: #fff8ef;
}

.purchase-trust-green-card,
.bundle-highlight-card {
  margin-top: 4px;
}

.product-final-cta {
  justify-content: flex-start;
}

.publication-lane .publication-card {
  border-radius: 22px;
}

.student-access-band,
.newsletter-shell,
.final-cta-shell {
  margin-top: 4px;
}

.access-hub-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.access-portal-grid .green-card {
  min-height: 100%;
}

@media (max-width: 1100px) {
  .green-card-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .platform-surface-featured,
  .platform-surface-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .zts-hero,
  .platform-surface-featured,
  .premium-feature-card,
  .newsletter-card,
  .final-cta-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .green-card-grid-two,
  .green-card-grid-three,
  .green-card-grid-four,
  .green-card-grid-five,
  .founder-cred-grid,
  .platform-overview-grid,
  .platform-story-band,
  .platform-owner-card {
    grid-template-columns: 1fr;
  }

  .platform-quick-grid,
  .platform-surface-grid,
  .surface-list-columns {
    grid-template-columns: 1fr;
  }

  .editorial-topbar {
    border-radius: 34px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 18px;
  }

  .topbar {
    padding: 16px;
    border-radius: 28px;
  }

  .topbar-actions,
  .nav-links {
    width: 100%;
  }

  .nav-links {
    gap: 12px 16px;
  }

  .topbar-button {
    width: 100%;
    justify-content: center;
  }

  .zts-hero-card,
  .green-card,
  .newsletter-card,
  .final-cta-card,
  .support-contact-card,
  .legal-card {
    padding: 22px;
  }

  .premium-feature-card .editorial-feature-cover,
  .bookshelf-cover-link {
    min-height: 320px;
  }
}

.hero-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
}

.hero-grid-commerce {
  align-items: stretch;
}

.detail-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.1fr);
}

.lookup-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.hero-copy,
.detail-copy {
  padding: 24px 8px;
  animation: fadeUp 0.7s ease both;
}

.hero-copy h1,
.detail-copy h1,
.status-card h1,
.lookup-grid h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.detail-copy h1,
.status-card h1,
.lookup-grid h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.hero-text,
.lead,
.rich-copy,
.section-note,
.product-body p,
.metric span,
.info-panel,
.footer p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--terracotta);
}

.chip-row,
.mini-meta,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions,
.hero-showcase-footer,
.product-card-head,
.purchase-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chip,
.mini-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.72);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
}

.hero-card,
.purchase-card,
.status-card,
.lookup-card,
.result-card,
.empty-state,
.dashboard-card,
.hero-showcase-card,
.selling-point,
.proof-card,
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 26px;
  animation: floatCard 6s ease-in-out infinite;
}

.metric-row {
  display: grid;
  gap: 16px;
}

.hero-showcase {
  animation: fadeUp 0.8s ease both;
}

.hero-showcase-card {
  height: 100%;
  padding: 22px;
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.9), rgba(249, 241, 227, 0.82)),
    rgba(255, 252, 246, 0.82);
}

.hero-showcase-cover,
.cover-link,
.detail-visual {
  position: relative;
}

.cover-link,
.spotlight-media {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-showcase-cover {
  overflow: hidden;
  border-radius: 26px;
}

.hero-showcase-body {
  display: grid;
  gap: 12px;
}

.hero-showcase-body h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.hero-showcase-price {
  margin: 0 0 4px;
  color: var(--sage);
  font-weight: 800;
  font-size: 1.3rem;
}

.hero-showcase-footer {
  justify-content: space-between;
  align-items: end;
}

.hero-stat-grid,
.selling-grid,
.proof-grid,
.feature-strip,
.course-stat-grid,
.course-section-grid,
.access-product-grid {
  display: grid;
  gap: 16px;
}

.hero-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 6px;
}

.hero-stat {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 248, 238, 0.72);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.hero-stat strong,
.proof-item strong,
.purchase-amount strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  line-height: 1;
}

.hero-stat span,
.proof-item span,
.pricing-note,
.price-note,
.purchase-amount span {
  color: var(--ink-soft);
}

.metric {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.metric strong {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: var(--sage);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-head h2,
.selling-point h2,
.product-body h3,
.purchase-card h2,
.result-card h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.product-grid,
.results-stack {
  display: grid;
  gap: 22px;
}

.selling-grid,
.feature-strip {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.selling-point,
.feature-card {
  padding: 24px;
  display: grid;
  gap: 10px;
}

.course-section-grid {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.course-section-panel {
  padding: 28px;
  display: grid;
  gap: 18px;
  color: #fff8ee;
  background:
    linear-gradient(160deg, rgba(26, 44, 44, 0.96), rgba(40, 70, 68, 0.9)),
    rgba(26, 44, 44, 0.92);
  border: 1px solid rgba(255, 248, 238, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.course-section-panel .eyebrow,
.course-section-panel h3,
.course-section-panel p,
.course-section-panel .mini-meta span,
.course-stat span,
.course-stat strong {
  color: #fff8ee;
}

.course-section-panel h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  line-height: 1.02;
}

.course-section-panel p {
  margin: 0;
  color: rgba(255, 248, 238, 0.78);
}

.course-section-panel .mini-meta span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

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

.course-stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.course-stat strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
}

.course-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 248, 238, 0.76);
}

.access-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.access-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.access-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(28, 40, 42, 0.16);
}

.access-card-banner {
  display: grid;
  gap: 12px;
  min-height: 220px;
  align-content: end;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(22, 33, 38, 0.12), rgba(22, 33, 38, 0.48)),
    linear-gradient(135deg, rgba(177, 91, 52, 0.2), rgba(40, 70, 68, 0.28)),
    linear-gradient(135deg, #f5ead7, #ead9c0);
}

.access-card-banner strong {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1.02;
}

.access-card-banner p,
.access-card-body p,
.access-card-footer small {
  color: var(--ink-soft);
  line-height: 1.7;
}

.access-card-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.access-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.course-empty-state {
  display: grid;
  gap: 14px;
  align-content: center;
}

.learning-lane-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.learning-lane-panel,
.learning-lane-empty {
  padding: 28px;
}

.learning-lane-panel h3,
.learning-lane-empty h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 2.1vw, 2.3rem);
  line-height: 1.05;
}

.learning-lane-panel p,
.learning-lane-empty p {
  margin: 0;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
  overflow: hidden;
  display: grid;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(28, 40, 42, 0.16);
}

.cover-badges {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cover-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 33, 38, 0.78);
  color: #fff8ee;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cover-pill-accent {
  background: linear-gradient(135deg, var(--terracotta), #8e4322);
}

.product-cover,
.detail-cover {
  display: block;
  width: min(100%, 440px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 26px 70px rgba(18, 30, 35, 0.16);
  border-radius: 8px;
}

.product-cover,
.placeholder-cover {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.product-cover {
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 24px 64px rgba(18, 30, 35, 0.14);
  border-radius: 8px;
}

.placeholder-cover {
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(40, 70, 68, 0.16), rgba(177, 91, 52, 0.2)),
    linear-gradient(135deg, #f2e4cf, #f8f4ed);
}

.placeholder-cover span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--sage);
  font-weight: 800;
}

.placeholder-cover strong {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.placeholder-cover.showcase {
  min-height: 420px;
}

.placeholder-cover.large {
  min-height: 620px;
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.product-card-head,
.purchase-card-head {
  justify-content: space-between;
  align-items: start;
}

.product-price,
.detail-price {
  margin: 0;
  color: var(--sage);
  font-weight: 800;
}

.detail-price {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.price-note {
  font-size: 0.92rem;
  text-align: right;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  color: #fff8ee;
  background: linear-gradient(135deg, var(--sage) 0%, #203837 100%);
  box-shadow: 0 16px 36px rgba(40, 70, 68, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(40, 70, 68, 0.28);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.button.secondary {
  background: rgba(255, 250, 243, 0.8);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.detail-visual {
  animation: fadeUp 0.8s ease both;
}

.detail-visual-stack {
  display: grid;
  gap: 18px;
}

.detail-cover {
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.detail-grid-commerce {
  align-items: start;
}

.detail-cover-badges {
  top: 22px;
  left: 22px;
}

.pricing-banner {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  margin: 18px 0;
  border-radius: 24px;
  background: rgba(255, 248, 238, 0.72);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.proof-card {
  padding: 22px;
}

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

.proof-item {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.feature-strip {
  margin-top: 20px;
}

.feature-card p:last-child,
.selling-point p:last-child {
  margin-bottom: 0;
}

.rich-copy p:first-child {
  margin-top: 0;
}

.purchase-card,
.status-card,
.lookup-card,
.result-card,
.empty-state {
  padding: 28px;
}

.legal-card {
  max-width: 920px;
}

.purchase-card {
  display: grid;
  gap: 20px;
  margin-top: 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(249, 241, 227, 0.86)),
    rgba(255, 252, 246, 0.82);
}

.purchase-amount {
  text-align: right;
}

.list-clean {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.notice,
.flash {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(177, 91, 52, 0.16);
  background: rgba(255, 248, 241, 0.72);
  color: var(--ink);
}

.notice.compact {
  padding: 12px 14px;
}

.message-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.flash-error {
  background: rgba(255, 237, 232, 0.82);
}

.download-card,
.info-grid {
  display: grid;
  gap: 14px;
}

.download-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
}

.download-card-prominent {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.9), rgba(249, 241, 227, 0.78)),
    rgba(255, 255, 255, 0.5);
}

.download-card-copy {
  display: grid;
  gap: 4px;
}

.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.info-panel {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
}

.panel-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  margin-bottom: 8px;
  font-weight: 800;
}

.lookup-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 33, 38, 0.14);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
}

.field-error {
  color: #8b2f21;
}

.privacy-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: -0.2rem 0 0.85rem;
}

/* 2026-06-03 Doktorinn Academy editorial platform redesign */
:root {
  --da-bg: #f9f9fb;
  --da-panel: #ffffff;
  --da-ink: #111111;
  --da-muted: #646b78;
  --da-line: #e2e8f0;
  --da-green: #1a2f23;
  --da-bronze: #8b7a5b;
  --da-stone: #efede7;
  --da-shadow: 0 28px 90px rgba(17, 17, 17, 0.08);
  --da-serif: "Cormorant Garamond", "Times New Roman", serif;
  --da-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

body.storefront-body,
.storefront-body {
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--da-ink);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 78% 6%, rgba(26, 47, 35, 0.08), transparent 32%),
    linear-gradient(180deg, var(--da-bg) 0%, #f2f4f5 100%);
}

.storefront-body .site-shell {
  width: min(1440px, calc(100% - 56px));
  padding: 28px 0 64px;
}

.storefront-body main {
  gap: 0;
  padding-top: 22px;
}

.storefront-body .topbar {
  border-radius: 0;
  border: 1px solid var(--da-line);
  background: rgba(249, 249, 251, 0.92);
  box-shadow: none;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
}

.storefront-body .logo-mark {
  border-radius: 4px;
  background: var(--da-green);
  font-family: var(--da-serif);
  box-shadow: none;
}

.storefront-body .logo strong {
  font-family: var(--da-sans);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.storefront-body .logo small {
  color: var(--da-muted);
}

.storefront-body .nav-links,
.storefront-body .topbar-account-links {
  font-family: var(--da-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-body .nav-links > a,
.storefront-body .nav-dropdown summary,
.storefront-body .topbar-account-links a {
  border-radius: 0;
  color: var(--da-muted);
}

.storefront-body .nav-links > a:hover,
.storefront-body .nav-dropdown summary:hover,
.storefront-body .topbar-account-links a:hover {
  color: var(--da-ink);
}

.da-kicker,
.da-product-price,
.da-product-meta,
.da-text-link,
.da-button,
.da-command-card span,
.da-stone-panel span,
.da-stone-panel small,
.da-feature-aside span {
  font-family: var(--da-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.da-kicker {
  margin: 0 0 16px;
  color: var(--da-bronze);
  font-size: 0.78rem;
  font-weight: 700;
}

.da-home-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
  border: 1px solid var(--da-line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,247,248,0.92)),
    var(--da-bg);
}

.da-hero-copy {
  padding: clamp(72px, 8vw, 128px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--da-line);
}

.da-hero-copy h1 {
  margin: 0;
  max-width: 980px;
  font-family: var(--da-serif);
  font-weight: 700;
  font-size: clamp(5rem, 11vw, 12.5rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.da-abstract {
  max-width: 740px;
  margin: 42px 0 0;
  color: var(--da-muted);
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.da-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.da-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--da-line);
  border-radius: 2px;
  background: #fff;
  color: var(--da-ink);
  font-size: 0.78rem;
  font-weight: 700;
  transition: letter-spacing 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.da-button:hover,
.da-button:focus-visible {
  letter-spacing: 0.18em;
  border-color: var(--da-ink);
}

.da-button-primary {
  background: var(--da-green);
  border-color: var(--da-green);
  color: #f3f4f6;
}

.da-button-primary:hover,
.da-button-primary:focus-visible {
  background: #111;
  border-color: #111;
}

.da-button-light {
  background: #f9f9fb;
  color: var(--da-ink);
}

.da-hero-plate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100%;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 42%),
    linear-gradient(150deg, #161616, #0f1210 62%, #1a2f23);
  color: #f3f4f6;
}

.da-stone-panel,
.da-hero-statement {
  min-height: 220px;
  padding: 34px;
  border-right: 1px solid rgba(255,255,255,0.13);
  border-bottom: 1px solid rgba(255,255,255,0.13);
}

.da-stone-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.da-stone-panel strong {
  font-family: var(--da-serif);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.06em;
}

.da-stone-panel span,
.da-stone-panel small {
  color: rgba(243, 244, 246, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
}

.da-hero-statement {
  grid-column: 1 / -1;
  min-height: 300px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 18px);
}

.da-hero-statement p {
  max-width: 440px;
  margin: 0;
  font-family: var(--da-serif);
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.da-command-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--da-line);
  border-right: 1px solid var(--da-line);
  border-bottom: 1px solid var(--da-line);
  background: var(--da-panel);
}

.da-command-card {
  min-height: 190px;
  padding: 32px;
  border-right: 1px solid var(--da-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.18s ease;
}

.da-command-card:last-child {
  border-right: 0;
}

.da-command-card:hover {
  background: #f2f4f5;
}

.da-command-card span {
  color: var(--da-bronze);
  font-size: 0.72rem;
  font-weight: 700;
}

.da-command-card strong {
  max-width: 320px;
  font-family: var(--da-serif);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.da-section {
  border-left: 1px solid var(--da-line);
  border-right: 1px solid var(--da-line);
  border-bottom: 1px solid var(--da-line);
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(72px, 8vw, 128px);
}

.da-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.42fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.da-section-head h2,
.da-access h2 {
  margin: 0;
  font-family: var(--da-serif);
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.da-section-head p,
.da-access p {
  margin: 0;
  color: var(--da-muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.da-section-head-split {
  border-bottom: 1px solid var(--da-line);
  padding-bottom: 42px;
}

.da-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--da-line);
  border: 1px solid var(--da-line);
}

.da-product-card {
  background: #fff;
  min-width: 0;
}

.da-cover-frame {
  min-height: 480px;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, #f9f9fb, #ebece9);
  border-bottom: 1px solid var(--da-line);
}

.da-cover-frame img {
  max-height: 410px;
  width: auto;
  box-shadow: 0 26px 70px rgba(17, 17, 17, 0.18);
}

.da-cover-placeholder {
  width: 72%;
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--da-stone);
  border: 1px solid var(--da-line);
}

.da-cover-placeholder span {
  color: var(--da-bronze);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.da-cover-placeholder strong {
  font-family: var(--da-serif);
  font-size: 2.3rem;
  line-height: 1;
}

.da-product-copy {
  padding: 30px;
}

.da-product-price {
  color: var(--da-bronze);
  font-size: 0.75rem;
  font-weight: 800;
}

.da-product-copy h3,
.da-course-card h3,
.da-feature-assessment h3,
.da-assessment-card h3 {
  margin: 14px 0;
  font-family: var(--da-serif);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.da-product-copy p:not(.da-product-price),
.da-course-card p,
.da-feature-assessment p {
  color: var(--da-muted);
  line-height: 1.55;
}

.da-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  color: var(--da-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.da-product-meta span {
  border: 1px solid var(--da-line);
  padding: 7px 9px;
}

.da-text-link {
  display: inline-flex;
  border-bottom: 1px solid currentColor;
  color: var(--da-green);
  font-size: 0.72rem;
  font-weight: 800;
}

.da-studio {
  background: #111;
  color: #f3f4f6;
}

.da-studio .da-section-head,
.da-assessments .da-section-head {
  color: inherit;
}

.da-studio .da-section-head p,
.da-course-card p {
  color: rgba(243, 244, 246, 0.68);
}

.da-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.16);
}

.da-course-card {
  min-height: 360px;
  padding: 38px;
  background:
    linear-gradient(150deg, rgba(26, 47, 35, 0.96), rgba(17, 17, 17, 0.98));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.da-course-card .da-product-price {
  color: rgba(243, 244, 246, 0.58);
}

.da-assessments {
  background: #f9f9fb;
}

.da-feature-assessment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: center;
  padding: clamp(38px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(26, 47, 35, 0.98), rgba(17, 17, 17, 0.98));
  color: #f3f4f6;
}

.da-feature-assessment p {
  max-width: 720px;
  color: rgba(243, 244, 246, 0.72);
  font-size: 1.12rem;
}

.da-feature-aside {
  display: grid;
  gap: 18px;
}

.da-feature-aside span {
  font-weight: 800;
  color: rgba(243, 244, 246, 0.72);
}

.da-assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--da-line);
  border: 1px solid var(--da-line);
}

.da-assessment-card {
  min-height: 230px;
  padding: 30px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.da-assessment-card span {
  color: var(--da-bronze);
  font-weight: 800;
}

.da-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  background:
    linear-gradient(90deg, #fff, #f4f5f3);
}

.footer.editorial-footer,
.storefront-body .footer.editorial-footer {
  border-radius: 0;
  border: 1px solid #262626;
  background: #111;
  color: #f3f4f6;
  box-shadow: none;
}

.footer.editorial-footer .footer-brand strong {
  font-family: var(--da-serif);
  color: #f3f4f6;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.footer.editorial-footer a,
.footer.editorial-footer span,
.footer.editorial-footer p {
  color: rgba(243, 244, 246, 0.64);
}

.footer.editorial-footer a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .da-home-hero,
  .da-section-head,
  .da-feature-assessment,
  .da-access {
    grid-template-columns: 1fr;
  }

  .da-hero-copy {
    border-right: 0;
    border-bottom: 1px solid var(--da-line);
  }

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

@media (max-width: 720px) {
  .storefront-body .site-shell {
    width: min(100% - 20px, 1440px);
    padding-top: 10px;
  }

  .da-home-hero {
    min-height: auto;
  }

  .da-hero-copy,
  .da-section {
    padding: 42px 22px;
  }

  .da-hero-copy h1,
  .da-section-head h2,
  .da-access h2 {
    font-size: clamp(4.1rem, 18vw, 6.2rem);
  }

  .da-hero-plate,
  .da-command-grid,
  .da-product-grid,
  .da-course-grid,
  .da-assessment-grid {
    grid-template-columns: 1fr;
  }

  .da-command-card,
  .da-stone-panel,
  .da-hero-statement,
  .da-course-card {
    min-height: 180px;
    padding: 24px;
  }

  .da-cover-frame {
    min-height: 360px;
    padding: 22px;
  }

  .da-cover-frame img {
    max-height: 310px;
  }

  .da-actions,
  .da-button {
    width: 100%;
  }
}

.privacy-note a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.checkbox-field {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(22, 33, 38, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
}

.checkbox-field label {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.checkbox-field input[type="checkbox"] {
  flex: 0 0 auto;
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.result-card {
  display: grid;
  gap: 16px;
}

.footer {
  margin-top: 42px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 248, 238, 0.76);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.footer strong {
  font-family: "Fraunces", serif;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-weight: 700;
}

.status-card-expanded {
  max-width: 920px;
}

.auth-card {
  max-width: 620px;
  margin: 60px auto;
}

.setup-card {
  max-width: 760px;
  margin: 60px auto;
}

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
}

.dashboard-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  min-height: calc(100vh - 48px);
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(20, 34, 39, 0.97) 0%, rgba(28, 46, 52, 0.96) 100%);
  box-shadow: 0 24px 60px rgba(18, 22, 25, 0.18);
  display: grid;
  align-content: start;
  gap: 28px;
  color: rgba(247, 249, 250, 0.94);
}

.dashboard-logo {
  align-items: flex-start;
}

.dashboard-logo .logo-mark {
  background: linear-gradient(180deg, #315159 0%, #243c42 100%);
  color: #f7f2ea;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-logo strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dashboard-logo small {
  color: rgba(231, 236, 238, 0.72);
}

.dashboard-nav {
  display: grid;
  gap: 8px;
}

.dashboard-nav-label {
  margin: 14px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(182, 199, 203, 0.54);
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 600;
  color: rgba(243, 247, 248, 0.78);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.dashboard-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.dashboard-nav a.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(58, 90, 96, 0.96) 0%, rgba(45, 71, 76, 0.96) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-sidebar-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
  color: rgba(231, 236, 238, 0.76);
  font-size: 0.94rem;
}

.dashboard-sidebar-footer p {
  margin: 0;
}

.dashboard-content-wrap {
  min-width: 0;
  padding: 8px 8px 28px 0;
  display: grid;
  gap: 24px;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(18, 22, 25, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 44px rgba(18, 22, 25, 0.07);
  backdrop-filter: blur(18px);
}

.dashboard-topbar .eyebrow {
  color: #6f7f85;
  letter-spacing: 0.14em;
}

.dashboard-topbar h1,
.dashboard-card h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  letter-spacing: -0.03em;
}

.dashboard-topbar h1 {
  font-size: clamp(2rem, 2.2vw, 2.6rem);
  line-height: 0.95;
}

.dashboard-topbar .inline-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-main,
.dashboard-grid,
.dashboard-metrics,
.status-grid {
  display: grid;
  gap: 20px;
}

.dashboard-grid-feature {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.dashboard-metrics {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.status-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 18px;
}

.dashboard-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(18, 22, 25, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(18, 22, 25, 0.06);
}

.backend-hero-card {
  display: grid;
  gap: 16px;
}

.backend-hero-card h2,
.dashboard-form-head h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  letter-spacing: -0.03em;
}

.backend-hero-card p,
.dashboard-form-head p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.upload-card-grid,
.dashboard-field-grid,
.crm-summary-grid,
.crm-order-stack {
  display: grid;
  gap: 16px;
}

.upload-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.upload-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 250, 250, 0.96) 0%, rgba(241, 245, 246, 0.96) 100%);
  border: 1px solid rgba(18, 22, 25, 0.07);
  display: grid;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.upload-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(18, 22, 25, 0.08);
}

.upload-card strong {
  font-family: "Geist", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.upload-card span {
  color: var(--ink-soft);
  line-height: 1.6;
}

.crm-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.crm-summary-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(247, 249, 250, 0.94);
  border: 1px solid rgba(18, 22, 25, 0.07);
}

.crm-summary-card strong {
  display: block;
  font-family: "Newsreader", serif;
  font-size: 1.6rem;
  line-height: 1;
}

.crm-summary-card span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
}

.status-pill {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(18, 22, 25, 0.08);
  background: rgba(248, 250, 251, 0.96);
}

.status-pill strong {
  font-family: "Geist", sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.status-pill span,
.status-pill p {
  color: var(--ink-soft);
}

.status-pill-ok {
  border-color: rgba(40, 70, 68, 0.18);
  background: rgba(237, 246, 244, 0.82);
}

.status-pill-warn {
  border-color: rgba(177, 91, 52, 0.16);
  background: rgba(255, 246, 240, 0.84);
}

.dashboard-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-list {
  display: grid;
  gap: 10px;
}

.dashboard-list-row,
.dashboard-table-row,
.dashboard-table-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
}

.dashboard-table-head {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #66767d;
  background: rgba(240, 244, 245, 0.92);
  border: 1px solid rgba(18, 22, 25, 0.06);
}

.dashboard-list-row,
.dashboard-table-row {
  background: rgba(250, 252, 252, 0.94);
  border: 1px solid rgba(18, 22, 25, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-list-row:hover,
.dashboard-table-row:hover {
  transform: translateY(-1px);
  border-color: rgba(33, 54, 58, 0.12);
  box-shadow: 0 14px 26px rgba(18, 22, 25, 0.05);
}

.dashboard-table-row:last-child,
.dashboard-list-row:last-child {
  margin-bottom: 0;
}

.dashboard-table-row.clickable-row {
  color: inherit;
}

.dashboard-table {
  display: grid;
  gap: 10px;
}

.dashboard-table-head,
.dashboard-table-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(120px, 0.7fr) minmax(160px, 0.9fr);
}

.crm-order-head,
.crm-order-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(150px, 0.8fr) minmax(180px, 0.9fr) minmax(180px, 0.9fr);
}

.crm-customer-head,
.crm-customer-row {
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.7fr) minmax(170px, 0.8fr) minmax(150px, 0.7fr);
}

.catalog-dashboard-head,
.catalog-dashboard-row {
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.9fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr) minmax(90px, 0.6fr) minmax(180px, 1fr);
}

.publication-dashboard-head,
.publication-dashboard-row {
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.9fr) minmax(150px, 0.9fr) minmax(110px, 0.75fr) minmax(120px, 0.8fr) minmax(180px, 1fr);
}

.sales-report-head,
.sales-report-row {
  grid-template-columns: minmax(280px, 1fr) 90px 150px 150px;
}

.sales-report-grid {
  grid-template-columns: minmax(520px, 1.25fr) minmax(360px, 0.75fr);
  align-items: start;
}

.sales-card-wide {
  grid-column: 1 / -1;
}

.sales-report-table {
  overflow-x: auto;
}

.sales-report-table .dashboard-table-head,
.sales-report-table .dashboard-table-row {
  min-width: 720px;
}

.sales-report-row > span:first-child {
  min-width: 0;
}

.sales-report-row strong {
  display: block;
  max-width: 52ch;
  white-space: normal;
}

.sales-number,
.sales-money {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

.sales-compact-list .dashboard-list-row {
  grid-template-columns: minmax(0, 1fr) max-content;
}

.sales-compact-list.sales-three-list .dashboard-list-row {
  grid-template-columns: minmax(0, 1fr) max-content max-content;
}

.sales-compact-list .dashboard-list-row > span:first-child {
  min-width: 0;
}

.dashboard-filters,
.dashboard-form {
  display: grid;
  gap: 18px;
}

.dashboard-filters {
  grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
  margin-bottom: 18px;
}

.dashboard-form-section {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(18, 22, 25, 0.08);
}

.dashboard-form-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.dashboard-form-head {
  display: grid;
  gap: 8px;
}

.dashboard-field-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dashboard-filters input,
.dashboard-filters select,
.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea,
.dashboard-form input[type="file"] {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(18, 22, 25, 0.12);
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.dashboard-filters input:focus,
.dashboard-filters select:focus,
.dashboard-form input:focus,
.dashboard-form select:focus,
.dashboard-form textarea:focus,
.dashboard-form input[type="file"]:focus {
  border-color: rgba(33, 54, 58, 0.34);
  box-shadow: 0 0 0 4px rgba(33, 54, 58, 0.08);
  background: #ffffff;
}

.dashboard-form textarea {
  min-height: 120px;
  resize: vertical;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--sage);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.crm-status {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  border: 1px solid transparent;
}

.crm-status-paid,
.crm-status-ready {
  color: var(--sage);
  background: rgba(237, 246, 244, 0.9);
  border-color: rgba(40, 70, 68, 0.12);
}

.crm-status-pending {
  color: var(--terracotta);
  background: rgba(255, 246, 240, 0.9);
  border-color: rgba(177, 91, 52, 0.14);
}

.crm-status-failed {
  color: #8b2f21;
  background: rgba(255, 237, 232, 0.9);
  border-color: rgba(139, 47, 33, 0.12);
}

.crm-activity-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.8fr) minmax(140px, 0.8fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(22, 33, 38, 0.08);
}

.crm-activity-row:last-child {
  border-bottom: 0;
}

.crm-order-row small,
.crm-customer-row small,
.crm-activity-row small,
.dashboard-list-row small {
  color: var(--ink-soft);
}

.dashboard-card .info-panel {
  background: rgba(250, 252, 252, 0.96);
  border: 1px solid rgba(18, 22, 25, 0.06);
  box-shadow: none;
}

.dashboard-main .info-panel strong,
.dashboard-auth-card h1 {
  font-family: "Newsreader", serif;
  letter-spacing: -0.03em;
}

.dashboard-auth-card {
  border-radius: 32px;
  border: 1px solid rgba(18, 22, 25, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 54px rgba(18, 22, 25, 0.08);
}

.dashboard-auth-card .lead {
  color: #5d6b71;
}

.dashboard-auth-body .site-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.dashboard-auth-card .lookup-form,
.dashboard-auth-card .dashboard-form {
  gap: 18px;
}

.dashboard-auth-card .button {
  width: 100%;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .detail-grid,
  .lookup-grid,
  .download-card,
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer,
  .section-head,
  .dashboard-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .dashboard-sidebar {
    position: static;
    min-height: auto;
  }

  .dashboard-filters,
  .dashboard-table-head,
  .dashboard-table-row {
    grid-template-columns: 1fr;
  }

  .hero-stat-grid,
  .proof-grid,
  .course-stat-grid,
  .course-section-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase-footer,
  .purchase-card-head,
  .access-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .purchase-amount,
  .price-note {
    text-align: left;
  }

  .crm-activity-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    border-radius: 28px;
  }

  .dashboard-shell {
    padding: 14px;
    gap: 14px;
  }

  .dashboard-content-wrap {
    padding: 0 0 18px;
  }

  .dashboard-topbar,
  .dashboard-card {
    border-radius: 24px;
  }

  .hero-copy,
  .detail-copy {
    padding: 12px 0;
  }

  .placeholder-cover.large {
    min-height: 420px;
  }

  .purchase-card,
  .status-card,
  .lookup-card,
  .result-card,
  .empty-state {
    padding: 22px;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .inline-actions .button,
  .download-card .button {
    width: 100%;
  }
}

body.storefront-body {
  background:
    radial-gradient(circle at 14% 12%, rgba(202, 164, 107, 0.28), transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(40, 70, 68, 0.2), transparent 20%),
    linear-gradient(180deg, #f8f4ee 0%, #efe3d1 42%, #f6f0e8 100%);
  position: relative;
}

body.storefront-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.22;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 82%);
}

.storefront-body .site-shell {
  width: min(1280px, calc(100% - 40px));
  padding: 30px 0 64px;
}

.storefront-body main {
  gap: 48px;
  padding-top: 36px;
}

.storefront-body .topbar {
  padding: 18px 20px 18px 24px;
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.84);
  border-color: rgba(22, 33, 38, 0.09);
  box-shadow: 0 28px 80px rgba(27, 37, 39, 0.12);
}

.topbar-brand,
.topbar-actions,
.footer-columns,
.footer-column,
.footer-brand,
.premium-hero,
.premium-hero-stage,
.hero-proof-row,
.collection-rail,
.section-shell,
.section-shell-head,
.catalog-stage,
.catalog-intro,
.catalog-stats,
.support-band,
.product-detail-stage,
.detail-side-stack,
.detail-main-stack,
.about-teaser-grid,
.about-publications,
.access-portal-grid,
.about-social-grid,
.customer-stage,
.customer-hero-card,
.experience-card {
  display: grid;
}

.topbar-brand {
  gap: 12px;
}

.topbar-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-left: 62px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.topbar-note span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--terracotta);
}

.topbar-note small {
  max-width: 46ch;
}

.topbar-actions {
  gap: 16px;
  align-items: center;
  justify-items: end;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.78);
  border: 1px solid rgba(22, 33, 38, 0.1);
}

.language-switch a {
  min-width: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.language-switch a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.language-switch a.active {
  color: #fff8ee;
  background: linear-gradient(135deg, #274745 0%, #172b2b 100%);
  box-shadow: 0 10px 24px rgba(24, 45, 44, 0.2);
}

.topbar-account-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.topbar-account-links a {
  white-space: nowrap;
  color: inherit;
}

.topbar-account-links a:hover,
.topbar-account-links a:focus-visible {
  color: var(--sage);
}

.storefront-body .nav-links {
  gap: 16px;
  align-items: center;
}

.storefront-body .nav-links a {
  position: relative;
  padding-bottom: 3px;
}

.storefront-body .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.storefront-body .nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.storefront-body .button {
  min-height: 54px;
  padding: 0 24px;
  background: linear-gradient(135deg, #274745 0%, #172b2b 100%);
  box-shadow: 0 18px 40px rgba(24, 45, 44, 0.22);
}

.storefront-body .button.secondary {
  color: var(--ink);
  background: rgba(255, 251, 245, 0.72);
  border: 1px solid rgba(22, 33, 38, 0.1);
}

.topbar-button {
  min-height: 48px;
  padding: 0 18px;
}

.premium-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hero-editorial-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 90% 18%, rgba(202, 164, 107, 0.24), transparent 22%),
    linear-gradient(145deg, #102020 0%, #1f3d3b 52%, #2b524f 100%);
  color: #fff8ee;
  box-shadow: 0 34px 90px rgba(20, 30, 32, 0.22);
}

.hero-editorial-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
}

.hero-editorial-card .eyebrow,
.hero-editorial-card .hero-text,
.hero-editorial-card .hero-editorial-note,
.section-shell-dark .section-note,
.section-shell-dark .course-section-panel p,
.section-shell-dark .course-section-panel .mini-meta span {
  color: rgba(255, 248, 238, 0.82);
}

.hero-editorial-card .eyebrow,
.section-shell-dark .eyebrow {
  color: rgba(255, 248, 238, 0.72);
}

.hero-editorial-card h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-editorial-card .chip {
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ee;
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-editorial-note {
  margin: 2px 0 0;
  max-width: 58ch;
}

.hero-proof-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.hero-proof-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-proof-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff8ee;
}

.hero-proof-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 248, 238, 0.76);
}

.premium-hero-stage {
  gap: 18px;
  align-content: start;
}

.spotlight-card,
.section-shell,
.detail-media-card,
.detail-note-card,
.detail-intro-card,
.support-band,
.customer-hero-card,
.customer-lookup-card,
.experience-card {
  border: 1px solid rgba(22, 33, 38, 0.09);
  box-shadow: 0 28px 80px rgba(27, 37, 39, 0.12);
}

.spotlight-card {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 251, 245, 0.82);
}

.spotlight-media {
  position: relative;
  min-height: 560px;
  padding: 34px 24px;
  background: linear-gradient(135deg, #f2e7d5, #f8f3eb);
}

.cover-link {
  min-height: 520px;
  padding: 28px 22px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.7), transparent 22%),
    linear-gradient(135deg, #f5ead7, #ead9c0);
}

.spotlight-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.spotlight-panel h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1;
}

.spotlight-panel p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.spotlight-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.spotlight-stat {
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 251, 245, 0.78);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.spotlight-stat strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--sage);
}

.spotlight-stat span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
}

.collection-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.collection-tile {
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.72);
  border: 1px solid rgba(22, 33, 38, 0.08);
  box-shadow: 0 22px 60px rgba(30, 39, 41, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.collection-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(30, 39, 41, 0.12);
}

.collection-tile strong {
  display: block;
  margin-top: 8px;
  font-family: "Fraunces", serif;
  font-size: 1.85rem;
  line-height: 1;
}

.collection-tile p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.storefront-body .selling-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.storefront-body .selling-point {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.76);
  border-color: rgba(22, 33, 38, 0.08);
}

.storefront-body .selling-point p {
  margin: 0;
}

.storefront-body .selling-point h2 {
  margin: 0 0 8px;
}

.section-shell {
  gap: 28px;
  padding: 34px;
  border-radius: 38px;
  background: rgba(255, 251, 245, 0.8);
}

.section-shell-light .section-note {
  max-width: 42ch;
}

.section-shell-dark {
  background:
    radial-gradient(circle at 88% 12%, rgba(202, 164, 107, 0.14), transparent 18%),
    linear-gradient(160deg, #0f1c1d 0%, #1f3b39 55%, #274644 100%);
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff8ee;
}

.section-shell-dark h2,
.section-shell-dark h3,
.section-shell-dark strong,
.section-shell-dark .product-price,
.section-shell-dark .access-card-banner strong {
  color: #fff8ee;
}

.section-shell-head {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: end;
}

.section-shell-head h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

.section-shell-head h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.about-teaser-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-publications {
  gap: 18px;
}

.about-beliefs-section,
.about-social-section {
  display: grid;
  gap: 18px;
}

.about-social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-social-card {
  gap: 14px;
}

.zero-preview-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: 30px;
  border: 1px solid rgba(16, 47, 41, 0.14);
  background:
    radial-gradient(circle at 88% 12%, rgba(202, 164, 107, 0.13), transparent 30%),
    linear-gradient(135deg, #173a32, #0f2421);
  color: #fffaf2;
  box-shadow: 0 22px 54px rgba(18, 29, 27, 0.16);
}

.zero-preview-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.08);
  font-weight: 850;
  letter-spacing: -0.05em;
}

.zero-preview-copy {
  max-width: 760px;
}

.zero-preview-copy .eyebrow {
  margin-bottom: 8px;
  color: rgba(255, 250, 242, 0.72);
}

.zero-preview-copy h2 {
  margin: 0;
  color: #fffaf2;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.zero-preview-copy p:not(.eyebrow) {
  max-width: 66ch;
  margin: 12px 0 0;
  color: rgba(255, 250, 242, 0.76);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
}

.zero-preview-actions {
  display: flex;
  justify-content: flex-end;
}

.zero-preview-actions .button {
  background: #fffaf2;
  color: #173a32;
}

.zero-preview-actions .button:hover {
  background: #f0e8d8;
}

.social-preview-card {
  align-content: start;
}

.social-preview-head,
.social-preview-copy {
  display: grid;
}

.social-preview-head {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.social-preview-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  background: rgba(18, 22, 25, 0.05);
  border: 1px solid rgba(22, 33, 38, 0.08);
  box-shadow: 0 14px 34px rgba(30, 39, 41, 0.12);
}

.social-preview-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: #fff8ee;
  background: linear-gradient(135deg, var(--sage), #1b2f2f);
}

.social-preview-copy {
  gap: 4px;
}

.social-preview-copy .eyebrow {
  margin-bottom: 0;
}

.social-preview-copy strong {
  margin-top: 0;
}

.social-preview-handle {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.social-preview-stats {
  gap: 8px;
}

.social-preview-stats span {
  background: rgba(255, 250, 243, 0.88);
}

.about-social-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Fraunces", serif;
  font-size: 1.65rem;
  line-height: 1.02;
}

.about-social-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.about-quote-card .lead {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.55;
}

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

.about-page-stage,
.access-portal-shell,
.support-layout-grid,
.support-cases-shell {
  gap: 18px;
}

.about-actions,
.support-actions {
  justify-content: flex-start;
}

.recovery-step-card,
.support-step-card,
.support-topic-card {
  min-height: 100%;
}

.access-portal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.access-hub-card {
  gap: 14px;
}

.access-hub-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  line-height: 1.02;
}

.access-hub-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.access-recovery-card {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.82);
}

.access-recovery-card h2 {
  margin: 0 0 8px;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  line-height: 1.02;
}

.access-library-shell {
  gap: 20px;
}

.support-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  align-items: start;
}

.support-contact-card {
  height: 100%;
  align-content: start;
}

.support-contact-card h2 {
  word-break: break-word;
}

.support-stage {
  padding: clamp(28px, 5vw, 58px);
  border-radius: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 86% 10%, rgba(214, 189, 130, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(246, 248, 246, 0.92));
}

.support-hero-head {
  align-items: start;
  border-bottom: 1px solid rgba(18, 59, 50, 0.09);
  padding-bottom: clamp(20px, 3vw, 34px);
}

.support-hero-head h1 {
  max-width: 11ch;
  font-family: "Geist", sans-serif;
  font-size: clamp(2.8rem, 5.2vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.support-hero-head .section-note {
  max-width: 42ch;
  color: #667085;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.support-path-grid,
.support-detail-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

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

.support-path-card,
.support-detail-card,
.support-contact-panel {
  border: 1px solid rgba(18, 59, 50, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(16, 47, 41, 0.07);
}

.support-path-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 310px;
  padding: clamp(22px, 3vw, 30px);
}

.support-path-primary {
  background:
    radial-gradient(circle at 88% 12%, rgba(214, 189, 130, 0.14), transparent 32%),
    linear-gradient(135deg, #173a32, #102620);
  color: #fffaf2;
}

.support-path-number {
  color: #8f6a45;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.support-path-primary .support-path-number {
  color: rgba(255, 250, 242, 0.66);
}

.support-path-card h2 {
  margin: 0;
  color: #101524;
  font-family: "Newsreader", serif;
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.support-path-primary h2 {
  color: #fffaf2;
}

.support-path-card p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.support-path-primary p {
  color: rgba(255, 250, 242, 0.76);
}

.support-path-card .button {
  align-self: end;
  justify-self: start;
  margin-top: auto;
}

.support-path-primary .button {
  background: #fffaf2;
  color: #173a32;
}

.support-detail-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.support-detail-card,
.support-contact-panel {
  padding: clamp(22px, 3vw, 32px);
}

.support-case-list {
  display: grid;
  gap: 10px;
}

.support-case-list article {
  border-top: 1px solid rgba(18, 59, 50, 0.08);
  padding-top: 16px;
}

.support-case-list h3,
.support-contact-panel h2 {
  margin: 0;
  color: #101524;
}

.support-case-list h3 {
  font-size: 1rem;
}

.support-case-list p,
.support-contact-panel p {
  margin: 8px 0 0;
  color: #667085;
  line-height: 1.6;
}

.support-contact-panel h2 {
  word-break: break-word;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

@media (max-width: 980px) {
  .support-path-grid,
  .support-detail-grid {
    grid-template-columns: 1fr;
  }
}

.publication-overview-grid {
  margin-bottom: 6px;
}

.publication-overview-card h3 {
  font-size: 1.12rem;
}

.owned-access-grid {
  gap: 20px;
}

.owned-access-card .inline-actions {
  align-items: center;
}

.access-disabled {
  pointer-events: none;
}

.storefront-body .course-section-grid {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
}

.section-shell-dark .course-section-panel {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section-shell-dark .course-section-panel h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 0.98;
}

.section-shell-dark .course-stat {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.storefront-body .access-product-grid,
.storefront-body .product-grid {
  gap: 20px;
}

.storefront-body .access-card,
.storefront-body .product-card {
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.9);
  border-color: rgba(22, 33, 38, 0.08);
  box-shadow: 0 24px 64px rgba(30, 39, 41, 0.1);
}

.storefront-body .access-card-banner {
  min-height: 240px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(15, 28, 29, 0.1), rgba(15, 28, 29, 0.52)),
    linear-gradient(135deg, rgba(202, 164, 107, 0.18), rgba(40, 70, 68, 0.32)),
    linear-gradient(135deg, #f5ead7, #ead9c0);
}

.storefront-body .access-card-banner p {
  color: rgba(255, 248, 238, 0.82);
}

.storefront-body .access-card-body,
.storefront-body .product-body {
  gap: 14px;
  padding: 24px;
}

.storefront-body .product-body h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.storefront-body .product-price {
  font-size: 1.24rem;
}

.storefront-body .price-note {
  max-width: 170px;
  font-size: 0.85rem;
}

.catalog-stage {
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 22px;
  align-items: start;
}

.publication-lane-grid,
.publication-card-stack,
.publication-lane,
.publication-lane-head,
.publication-card,
.publication-card-copy {
  display: grid;
}

.publication-lane-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.publication-lane {
  gap: 16px;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(247, 238, 224, 0.84)),
    rgba(255, 251, 245, 0.8);
  border: 1px solid rgba(22, 33, 38, 0.08);
  box-shadow: 0 22px 60px rgba(30, 39, 41, 0.08);
}

.publication-lane-head {
  gap: 10px;
}

.publication-lane-head h3,
.publication-card h4 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.02;
}

.publication-lane-head h3 {
  font-size: 2rem;
}

.publication-lane-head p,
.publication-card p,
.publication-empty-state p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.publication-card-stack {
  gap: 14px;
}

.publication-card {
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.publication-card-copy {
  gap: 12px;
}

.publication-card h4 {
  font-size: 1.4rem;
}

.publication-link {
  justify-self: start;
}

.publication-empty-state {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px dashed rgba(22, 33, 38, 0.18);
}

.publication-empty-state strong {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
}

.catalog-intro {
  position: sticky;
  top: 24px;
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(247, 238, 224, 0.84)),
    rgba(255, 251, 245, 0.8);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.catalog-intro h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
}

.catalog-intro p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.catalog-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.catalog-stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.catalog-stat strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--sage);
}

.catalog-stat span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
}

.support-band {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 20px;
  align-items: center;
  padding: 30px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.92), rgba(248, 240, 227, 0.8)),
    rgba(255, 251, 245, 0.78);
}

.support-band h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 0.98;
}

.product-detail-stage {
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
  gap: 24px;
  align-items: start;
}

.detail-side-stack {
  gap: 18px;
  position: sticky;
  top: 24px;
}

.detail-media-card {
  position: relative;
  padding: 16px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(245, 233, 216, 0.8)),
    rgba(255, 251, 245, 0.76);
}

.detail-note-card {
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.8);
}

.detail-main-stack {
  gap: 18px;
}

.detail-intro-card {
  gap: 18px;
  padding: 34px;
  border-radius: 36px;
  background: rgba(255, 251, 245, 0.82);
}

.detail-intro-card h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 4vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.storefront-body .pricing-banner {
  margin: 0;
  padding: 22px 24px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(245, 236, 221, 0.88)),
    rgba(255, 255, 255, 0.56);
  border-color: rgba(22, 33, 38, 0.07);
}

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

.landing-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audience-section,
.related-products-section {
  display: grid;
  gap: 18px;
}

.landing-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 251, 245, 0.8);
  border: 1px solid rgba(22, 33, 38, 0.08);
  box-shadow: 0 22px 60px rgba(30, 39, 41, 0.08);
}

.landing-panel h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  line-height: 1;
}

.landing-highlight-list {
  display: grid;
  gap: 14px;
}

.landing-highlight-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(22, 33, 38, 0.08);
}

.landing-highlight-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.landing-highlight-item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 16px;
  background: rgba(40, 70, 68, 0.09);
  color: var(--sage);
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
}

.landing-highlight-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.section-head-compact {
  margin-bottom: 0;
}

.section-head-compact h2 {
  margin: 0;
}

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

.audience-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.8);
  border: 1px solid rgba(22, 33, 38, 0.08);
  box-shadow: 0 20px 56px rgba(30, 39, 41, 0.08);
}

.audience-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 44px;
  border-radius: 15px;
  background: rgba(177, 91, 52, 0.1);
  color: var(--terracotta);
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
}

.audience-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.storefront-body .feature-card {
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.8);
  border-color: rgba(22, 33, 38, 0.08);
}

.purchase-card-premium {
  padding: 32px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(245, 235, 220, 0.88)),
    rgba(255, 251, 245, 0.84);
}

.purchase-card-premium .list-clean li + li {
  margin-top: 10px;
}

.checkout-inline-form,
.checkout-purchase-form {
  display: grid;
  gap: 12px;
}

.checkout-inline-form {
  grid-template-columns: minmax(180px, 240px) auto;
  align-items: end;
}

.checkout-inline-form .checkout-discount-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.checkout-inline-form .checkout-discount-field input,
.checkout-purchase-form input[type="text"],
.checkout-purchase-form input[type="date"] {
  width: 100%;
}

.assessment-stage {
  align-items: start;
}

.temperament-hero-card .assessment-subtitle {
  margin: -10px 0 18px;
  color: var(--sage);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assessment-badges {
  margin: 22px 0;
}

.assessment-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
  margin: 22px 0 28px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(20, 49, 43, 0.05);
  border: 1px solid rgba(20, 49, 43, 0.1);
  color: var(--ink);
  font-weight: 800;
}

.assessment-progress-bar {
  grid-column: 1 / -1;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 49, 43, 0.12);
}

.assessment-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
  transition: width 160ms ease;
}

.assessment-form {
  display: grid;
  gap: 28px;
}

.assessment-group {
  display: grid;
  gap: 16px;
}

.assessment-question-list {
  display: grid;
  gap: 14px;
}

.assessment-question-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.84);
  border: 1px solid rgba(20, 49, 43, 0.08);
  display: grid;
  gap: 12px;
}

.assessment-question-label {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink);
}

.assessment-question-label strong {
  color: var(--sage);
}

.assessment-choice-row ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
}

.assessment-choice-row li {
  margin: 0;
}

.assessment-choice-row label {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  padding: 10px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 49, 43, 0.1);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.assessment-choice-row input[type="radio"] {
  accent-color: var(--sage);
}

.assessment-proof-grid {
  margin-bottom: 24px;
}

@media (max-width: 880px) {
  .assessment-choice-row ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.customer-stage {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 24px;
  align-items: start;
}

.customer-hero-card,
.customer-lookup-card,
.experience-card {
  padding: 32px;
  border-radius: 34px;
  background: rgba(255, 251, 245, 0.82);
}

.customer-hero-card h1,
.experience-card h1 {
  margin: 0;
}

.customer-proof-row {
  margin-top: 10px;
}

.customer-proof-row .hero-proof-card {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(22, 33, 38, 0.08);
}

.customer-proof-row .hero-proof-card strong {
  color: var(--sage);
}

.customer-proof-row .hero-proof-card span {
  color: var(--ink-soft);
}

.storefront-body .lookup-form {
  gap: 16px;
}

.storefront-body .field input {
  background: rgba(255, 255, 255, 0.82);
}

.storefront-body .result-card {
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 251, 245, 0.82);
  border-color: rgba(22, 33, 38, 0.08);
}

.experience-card {
  gap: 20px;
}

.storefront-body .download-card {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.58);
}

.storefront-body .download-card-prominent {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(245, 236, 222, 0.84)),
    rgba(255, 255, 255, 0.6);
}

.storefront-body .info-panel,
.storefront-body .notice,
.storefront-body .empty-state,
.storefront-body .lookup-card,
.storefront-body .status-card,
.storefront-body .result-card {
  border-color: rgba(22, 33, 38, 0.08);
}

.storefront-body .footer {
  margin-top: 56px;
  padding: 32px;
  border-radius: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.92), rgba(245, 235, 220, 0.84)),
    rgba(255, 251, 245, 0.78);
}

.footer-brand {
  gap: 14px;
}

.footer-brand p {
  margin: 0;
  max-width: 58ch;
}

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

.footer-column {
  gap: 10px;
  color: var(--ink-soft);
}

.footer-column a,
.footer-column span {
  line-height: 1.6;
}

.footer-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--terracotta);
}

.storefront-body .footer-links {
  gap: 12px;
}

.manual-grid {
  align-items: stretch;
}

.manual-card {
  display: grid;
  gap: 18px;
}

.manual-step-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.manual-step-list li {
  color: var(--ink-soft);
}

.compact-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (max-width: 1080px) {
  .premium-hero,
  .catalog-stage,
  .product-detail-stage,
  .about-teaser-grid,
  .zero-preview-card,
  .access-portal-grid,
  .support-layout-grid,
  .about-social-grid,
  .customer-stage,
  .support-band,
  .storefront-body .footer,
  .section-shell-head {
    grid-template-columns: 1fr;
  }

  .catalog-intro,
  .detail-side-stack {
    position: static;
  }

  .zero-preview-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .zero-preview-card {
    border-radius: 24px;
  }

  .zero-preview-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .zero-preview-actions .button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .topbar-actions,
  .topbar-brand,
  .collection-rail,
  .hero-proof-row,
  .storefront-body .selling-grid,
  .spotlight-stats,
  .catalog-stats,
  .publication-lane-grid,
  .landing-section-grid,
  .audience-grid,
  .value-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .topbar-note {
    margin-left: 0;
  }

  .storefront-body .topbar {
    gap: 18px;
  }

  .storefront-body .course-section-grid {
    grid-template-columns: 1fr;
  }

  .learning-lane-grid {
    grid-template-columns: 1fr;
  }

  .topbar-account-links {
    justify-content: flex-start;
  }

  .storefront-body .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .storefront-body .site-shell {
    width: min(100% - 20px, 1280px);
    padding-top: 18px;
  }

  .hero-editorial-card,
  .section-shell,
  .detail-intro-card,
  .customer-hero-card,
  .customer-lookup-card,
  .experience-card,
  .storefront-body .footer {
    padding: 24px;
    border-radius: 30px;
  }

  .detail-media-card {
    padding: 12px;
  }

  .storefront-body .button,
  .topbar-button {
    width: 100%;
  }

  .topbar-actions {
    justify-items: stretch;
  }

  .topbar-account-links {
    width: 100%;
  }
}

.premium-hero-editorial {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  align-items: stretch;
}

.hero-editorial-card-wide {
  min-height: 100%;
}

.hero-trust-card,
.editorial-feature-card,
.topic-card,
.serious-learning-grid .feature-card,
.format-access-item {
  background: rgba(255, 252, 246, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-trust-card {
  padding: 30px;
  border-radius: 34px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.hero-trust-card h2,
.editorial-feature-copy h3,
.topic-card h3,
.format-access-item strong + p,
.serious-learning-grid .feature-card h3 {
  margin: 0;
}

.hero-credential-list {
  gap: 8px;
}

.hero-credential-list span {
  background: rgba(18, 22, 25, 0.04);
}

.editorial-feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: 28px;
  padding: 26px;
  border-radius: 34px;
}

.editorial-feature-cover {
  display: block;
}

.editorial-feature-cover .detail-cover,
.editorial-feature-cover .placeholder-cover.large {
  height: 100%;
  min-height: 420px;
}

.editorial-feature-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.editorial-feature-copy h3 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.editorial-meta-list {
  gap: 10px;
}

.editorial-feature-actions {
  margin-top: 8px;
}

.bookshelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.bookshelf-card {
  align-content: start;
}

.bookshelf-cover-link {
  padding: 20px;
  align-items: center;
  justify-items: center;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.92), rgba(247, 240, 226, 0.84)),
    linear-gradient(180deg, rgba(212, 199, 174, 0.2), rgba(212, 199, 174, 0));
}

.bookshelf-cover {
  width: min(100%, 320px);
  max-height: 420px;
}

.editorial-topic-grid,
.serious-learning-grid,
.format-access-grid {
  display: grid;
  gap: 18px;
}

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

.topic-card {
  min-height: 100%;
}

.topic-card h3,
.serious-learning-grid .feature-card h3 {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.serious-learning-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.serious-learning-grid .feature-card {
  min-height: 100%;
}

.founder-section .section-note {
  max-width: 780px;
}

.premium-product-stage .detail-side-stack {
  gap: 18px;
}

.premium-intro-card {
  display: grid;
  gap: 16px;
}

.premium-detail-meta {
  gap: 10px;
}

.detail-cta-row {
  margin-top: 6px;
}

.premium-learning-grid {
  align-items: stretch;
}

.editorial-list-grid {
  grid-template-columns: 1fr;
}

.format-access-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.format-access-item {
  padding: 18px;
  border-radius: 22px;
  display: grid;
  gap: 10px;
}

.format-access-item strong {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
}

.purchase-license-note {
  margin-top: -4px;
}

.access-note-inset {
  margin-top: 0;
  margin-bottom: 18px;
}

.student-access-band .lead {
  max-width: 560px;
}

.path-section .green-card,
.founder-topic-grid .green-card,
.belief-grid .green-card,
.start-here-section .green-card,
.bundle-section .green-card,
.best-of-grid .green-card,
.trust-card-grid .green-card {
  min-height: 100%;
}

.hero-trust-card .section-note,
.section-shell-head .section-note {
  margin: 0;
}

.path-section .section-note,
.start-here-section .section-note,
.bundle-section .section-note,
.best-of-section .section-note,
.trust-section .section-note,
.bookshelf-section .section-note {
  max-width: 34ch;
}

.founder-focus-section .section-shell-head .section-note {
  max-width: 42ch;
}

.journey-card h3,
.start-card h3,
.bundle-card h3,
.best-of-card h3,
.trust-card h3,
.topic-card-green h3 {
  font-size: 1.28rem;
}

.belief-card {
  justify-content: space-between;
}

.belief-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}

.bookshelf-section .product-body p {
  max-width: 28ch;
}

.product-side-green-card {
  gap: 14px;
}

.product-side-green-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
}

.product-editorial-grid {
  align-items: stretch;
}

.compact-highlight-list .landing-highlight-item {
  grid-template-columns: 48px minmax(0, 1fr);
}

.warning-panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(244, 234, 219, 0.82)),
    rgba(255, 251, 245, 0.8);
}

.purchase-trust-lead {
  max-width: 54ch;
  margin-top: 10px;
}

@media (max-width: 1080px) {
  .premium-hero-editorial,
  .editorial-feature-card,
  .product-detail-stage {
    grid-template-columns: 1fr;
  }

  .editorial-topic-grid,
  .serious-learning-grid,
  .format-access-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .editorial-topic-grid,
  .serious-learning-grid,
  .format-access-grid {
    grid-template-columns: 1fr;
  }

  .checkout-inline-form {
    grid-template-columns: 1fr;
  }

  .hero-trust-card,
  .editorial-feature-card {
    padding: 22px;
  }

  .editorial-feature-cover .detail-cover,
  .editorial-feature-cover .placeholder-cover.large {
    min-height: 320px;
  }
}

/* Claude design proposal override layer: forest palette, bronze accent,
   Newsreader display, and a quieter editorial platform surface. */
:root {
  --paper: #f5efe5;
  --paper-deep: #ece3d4;
  --ink: #191613;
  --ink-soft: #625b53;
  --sage: #253733;
  --sage-soft: #52625c;
  --terracotta: #9c7350;
  --gold: #c2a173;
  --card: rgba(255, 250, 244, 0.94);
  --line: rgba(36, 29, 24, 0.12);
  --shadow: 0 18px 50px rgba(28, 23, 19, 0.08);
  --radius: 32px;
}

body {
  font-family: "Geist", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(194, 161, 115, 0.12), transparent 34%),
    linear-gradient(180deg, #fcfaf6 0%, #f4ecde 100%);
}

.page-glow {
  display: none;
}

.logo strong,
.section-shell-head h1,
.section-shell-head h2,
.hero-editorial-card h1,
.product-body h3 a,
.editorial-feature-copy h3,
.detail-intro-card h1,
.landing-panel h2,
.detail-note-card-green strong,
.product-side-green-card h3,
.platform-overview-item strong {
  font-family: "Newsreader", serif;
  letter-spacing: -0.03em;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 22px;
  padding: 24px 28px 20px;
  background: rgba(255, 250, 244, 0.96);
  border: 1px solid rgba(27, 22, 18, 0.1);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.topbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  color: var(--sage);
  border: 1.5px solid rgba(37, 55, 51, 0.85);
  box-shadow: none;
  font-family: "Newsreader", serif;
  font-weight: 600;
}

.logo strong {
  font-size: 1.22rem;
}

.topbar-note {
  margin-left: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.topbar-note span {
  color: var(--terracotta);
  letter-spacing: 0.22em;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  gap: 22px;
  font-weight: 500;
}

.nav-links a::after {
  background: rgba(156, 115, 80, 0.85);
}

.language-switch {
  background: transparent;
}

.language-switch a.active {
  background: var(--sage);
  box-shadow: none;
}

.platform-ribbon {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  margin-top: 12px;
  border-radius: 0 0 22px 22px;
  background: #171311;
  color: #f7efe2;
}

.platform-ribbon span,
.platform-ribbon small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.platform-ribbon small {
  color: rgba(247, 239, 226, 0.72);
}

.topbar-button {
  display: none;
}

.section-shell,
.hero-trust-card,
.detail-media-card,
.detail-note-card,
.detail-intro-card,
.landing-panel,
.notice,
.product-card,
.collection-tile,
.support-band,
.storefront-body .footer {
  background: rgba(255, 250, 244, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-shell {
  border-radius: 34px;
}

.premium-hero {
  gap: 20px;
}

.hero-editorial-card {
  padding: 42px 40px 38px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 16%, rgba(194, 161, 115, 0.16), transparent 18%),
    rgba(255, 250, 244, 0.98);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-editorial-card::after {
  display: none;
}

.hero-editorial-card .eyebrow {
  color: var(--terracotta);
}

.hero-editorial-card h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero-editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 0 0 26px;
  color: var(--terracotta);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.hero-editorial-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 18px;
  color: rgba(156, 115, 80, 0.7);
}

.hero-editorial-card .hero-text {
  color: var(--ink-soft);
  max-width: 32ch;
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero-trust-card.zts-platform-card {
  padding: 28px;
  border-radius: 32px;
}

.platform-overview-item {
  padding: 18px;
  border-radius: 22px;
  background: #f7f2e8;
  border: 1px solid var(--line);
}

.platform-overview-item strong {
  font-size: 2rem;
}

.button {
  background: var(--sage);
  border-color: var(--sage);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(37, 55, 51, 0.05);
}

.bookshelf-cover-link,
.editorial-feature-cover {
  background: linear-gradient(180deg, rgba(242, 234, 220, 0.7), rgba(249, 244, 236, 0.98));
}

.bookshelf-cover-link {
  padding: 18px;
}

.editorial-feature-card {
  padding: 28px;
  border-radius: 34px;
}

.editorial-feature-cover {
  padding: 18px;
  border-radius: 28px;
}

.cover-pill {
  background: rgba(27, 23, 20, 0.9);
  color: #faf5ed;
}

.cover-pill-accent {
  background: var(--terracotta);
}

.green-card,
.newsletter-card,
.final-cta-card,
.detail-note-card-green,
.product-side-green-card,
.section-shell-dark {
  background: linear-gradient(180deg, rgba(35, 54, 50, 0.98), rgba(29, 42, 39, 0.98));
  color: #f8f3ea;
  box-shadow: 0 24px 60px rgba(18, 24, 23, 0.18);
}

.section-shell-dark,
.green-card,
.detail-note-card-green,
.product-side-green-card {
  border-color: rgba(255, 255, 255, 0.06);
}

.green-card .eyebrow,
.detail-note-card-green .eyebrow,
.product-side-green-card .eyebrow,
.section-shell-dark .eyebrow {
  color: rgba(247, 240, 228, 0.74);
}

.green-card p,
.detail-note-card-green span,
.product-side-green-card p,
.section-shell-dark .section-note {
  color: rgba(247, 240, 228, 0.82);
}

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

@media (max-width: 640px) {
  .platform-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Final refinement pass: closer to the Claude layout with flatter editorial
   sections, a simpler homepage rhythm, and a less stacked product page. */
.topbar {
  gap: 18px;
}

.topbar-note {
  margin-top: 2px;
}

.platform-ribbon {
  margin-top: 10px;
  border-radius: 0 0 24px 24px;
}

.premium-hero.zts-hero-split {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: stretch;
}

.hero-feature-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 36px;
  background: rgba(255, 250, 244, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-feature-cover {
  display: block;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(242, 234, 220, 0.72), rgba(249, 244, 236, 0.98));
}

.hero-feature-summary {
  display: grid;
  gap: 10px;
}

.hero-feature-summary h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  letter-spacing: -0.035em;
}

.hero-feature-summary p {
  margin: 0;
  color: var(--ink-soft);
}

.platform-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
}

.platform-strip-item {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 24px;
  background: #f7f2e8;
  border: 1px solid var(--line);
}

.platform-strip-item strong {
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.platform-strip-item span {
  color: var(--ink-soft);
}

.bookshelf-section .section-shell-head,
.related-products-section .section-shell-head {
  align-items: end;
}

.bookshelf-grid {
  gap: 24px;
}

.bookshelf-card {
  padding: 0;
  overflow: hidden;
}

.bookshelf-card .product-body {
  padding: 24px 24px 26px;
}

.bookshelf-card .product-price {
  margin-bottom: 8px;
}

.test-focus-section {
  display: block;
  padding: 34px 36px;
}

.test-focus-copy {
  max-width: 760px;
  display: grid;
  gap: 14px;
}

.test-focus-copy h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.test-focus-copy p {
  margin: 0;
}

.product-detail-stage-refined {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 24px;
}

.detail-media-card-refined {
  position: sticky;
  top: 24px;
  padding: 22px;
}

.detail-main-stack-refined {
  display: grid;
  gap: 22px;
}

.premium-intro-card {
  padding: 34px;
}

.premium-intro-card h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.detail-proof-grid {
  margin-top: 22px;
  gap: 14px;
}

.detail-proof-grid .proof-item {
  border-radius: 22px;
  background: #f7f2e8;
  border: 1px solid var(--line);
}

.purchase-card-inline {
  margin: 0;
  background: rgba(255, 250, 244, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-utility-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-note-card-refined {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 28px;
}

.detail-note-card-refined h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.detail-note-card-refined p {
  margin: 0;
  color: var(--ink-soft);
}

.detail-note-card-refined .button {
  justify-self: start;
}

.landing-panel,
.notice.compact,
.purchase-license-note {
  border-radius: 30px;
}

.landing-panel.warning-panel {
  background: rgba(255, 250, 244, 0.96);
}

.support-band.student-access-band {
  margin-top: 26px;
}

@media (max-width: 980px) {
  .premium-hero.zts-hero-split,
  .product-detail-stage-refined,
  .platform-summary-strip,
  .product-utility-row {
    grid-template-columns: 1fr;
  }

  .detail-media-card-refined {
    position: static;
  }
}

/* Claude export fidelity pass: tighter radii, flatter cards, clearer rules. */
:root {
  --radius: 4px;
  --shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.storefront-body .site-shell {
  gap: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0 16px;
  background: rgba(250, 247, 240, 0.92);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.topbar-brand {
  gap: 10px;
}

.logo strong {
  font-size: 1.28rem;
  font-weight: 500;
}

.topbar-note {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.topbar-note span,
.platform-ribbon span,
.platform-ribbon small,
.hero-editorial-meta,
.eyebrow {
  font-family: "JetBrains Mono", "Geist", monospace;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.topbar-account-links a {
  font-weight: 500;
}

.platform-ribbon {
  padding: 14px 18px;
  margin-top: 0;
  border-radius: 0 0 6px 6px;
  background: #161513;
}

.section-shell,
.hero-feature-card,
.detail-media-card,
.detail-note-card,
.detail-intro-card,
.landing-panel,
.notice,
.product-card,
.support-band,
.storefront-body .footer,
.purchase-card-inline {
  border-radius: 2px;
  box-shadow: none;
}

.section-shell,
.hero-feature-card,
.detail-media-card,
.detail-note-card,
.detail-intro-card,
.landing-panel,
.notice,
.product-card,
.support-band,
.purchase-card-inline {
  border-color: rgba(22, 21, 19, 0.12);
}

.hero-editorial-card,
.hero-feature-card,
.platform-summary-strip,
.section-shell,
.purchase-card-inline {
  background: var(--bone);
}

.hero-editorial-card {
  padding: 56px 44px 44px;
  border-radius: 2px;
  box-shadow: none;
  background: var(--bone);
}

.hero-editorial-card h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 0.97;
}

.hero-editorial-card .hero-text {
  max-width: 40ch;
  font-size: 1.12rem;
  line-height: 1.6;
}

.button,
.button.secondary {
  border-radius: 2px;
  box-shadow: none;
}

.button {
  padding: 14px 22px;
}

.hero-actions {
  gap: 14px;
}

.hero-feature-card {
  padding: 0;
  border: none;
  background: transparent;
}

.hero-feature-cover {
  padding: 0;
  border-radius: 2px;
  background: transparent;
}

.hero-feature-summary {
  padding-top: 4px;
}

.hero-feature-summary h2 {
  font-size: clamp(2.3rem, 3.2vw, 3.5rem);
  font-weight: 400;
}

.platform-summary-strip {
  padding: 0;
  border: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform-strip-item {
  min-height: 0;
  padding: 20px 18px;
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--line);
  background: transparent;
}

.platform-strip-item:last-child {
  border-right: 0;
}

.bookshelf-section .section-shell-head,
.related-products-section .section-shell-head,
.section-shell-head {
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.bookshelf-grid {
  gap: 20px;
}

.bookshelf-card .product-body {
  padding: 22px 20px 22px;
}

.bookshelf-cover-link {
  padding: 14px;
  background: transparent;
}

.test-focus-section {
  padding: 46px 40px;
  border-radius: 2px;
}

.test-focus-copy h2 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 400;
}

.product-detail-stage-refined {
  gap: 40px;
}

.detail-media-card-refined {
  padding: 14px;
  background: transparent;
}

.premium-intro-card {
  padding: 0 0 22px;
  border: none;
  background: transparent;
}

.premium-intro-card h1 {
  font-size: clamp(3.4rem, 5.4vw, 5.6rem);
  font-weight: 400;
}

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

.detail-proof-grid .proof-item {
  padding: 18px 16px;
  border-radius: 2px;
  background: var(--paper);
}

.purchase-card-inline {
  padding: 28px;
}

.product-utility-row {
  gap: 14px;
}

.detail-note-card-refined {
  padding: 20px;
  border-radius: 2px;
}

.detail-note-card-refined h3 {
  font-size: 1.55rem;
  font-weight: 450;
}

.landing-panel,
.notice.compact,
.purchase-license-note {
  padding: 26px;
  border-radius: 2px;
}

.product-final-cta {
  margin-top: 6px;
}

.storefront-body .footer {
  background: #161513;
  border: none;
  border-radius: 0;
}

@media (max-width: 980px) {
  .detail-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-editorial-card {
    padding: 40px 26px 30px;
  }

  .detail-proof-grid,
  .platform-summary-strip,
  .product-utility-row {
    grid-template-columns: 1fr;
  }

  .platform-strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .platform-strip-item:last-child {
    border-bottom: 0;
  }
}

/* Restore the older signature green-box treatment for the Big Five block. */
.test-focus-section {
  position: relative;
  overflow: hidden;
  padding: 40px 42px;
  background: linear-gradient(135deg, var(--forest-deep) 0%, #0a2520 100%);
  color: var(--paper);
  border: 1px solid rgba(201, 169, 97, 0.18);
  box-shadow: 0 24px 60px rgba(18, 24, 23, 0.18);
}

.test-focus-section::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 169, 97, 0.26);
  pointer-events: none;
}

.test-focus-section .eyebrow,
.test-focus-section .mini-meta span {
  color: rgba(247, 240, 228, 0.74);
}

.test-focus-section h2,
.test-focus-section p,
.test-focus-section strong {
  color: #f8f3ea;
}

.test-focus-section .button.secondary {
  background: var(--paper);
  color: var(--forest-deep);
  border-color: var(--paper);
}

.test-focus-section .button.secondary:hover,
.test-focus-section .button.secondary:focus-visible {
  background: var(--bone);
  color: var(--forest-deep);
  border-color: var(--bone);
}

/* 2026-05-16 storefront cleanup: one quiet platform system for books/tests. */
:root {
  --paper: #f4efe3;
  --paper-deep: #ebe3d3;
  --surface: #faf7f0;
  --surface-strong: #f0e7d8;
  --ink: #161310;
  --ink-soft: #625c54;
  --forest-deep: #173a32;
  --forest-soft: #22463d;
  --bronze: #a08053;
  --line: rgba(22, 19, 16, 0.12);
  --radius: 6px;
  --shadow: none;
}

body.storefront-body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", sans-serif;
}

.page-glow {
  display: none;
}

.site-shell {
  width: min(1200px, calc(100% - 40px));
  padding: 0 0 56px;
}

.topbar.editorial-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
  margin-bottom: 22px;
  background: rgba(244, 239, 227, 0.95);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.topbar-brand,
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--forest-deep);
  color: #f8f3ea;
  border: 0;
  box-shadow: none;
  font-family: "Newsreader", serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.logo-copy {
  display: grid;
  gap: 2px;
}

.logo strong,
.section-shell-head h2,
.hero-feature-summary h2,
.clean-hero-copy h1,
.product-body h3 a,
.clean-product-intro h1,
.landing-panel h2,
.test-focus-copy h2,
.purchase-card-head h2 {
  font-family: "Newsreader", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.logo strong {
  font-size: 1.12rem;
}

.logo small,
.product-body p,
.lead,
.section-note,
.hero-text,
.mini-meta span,
.footer p,
.footer span,
.purchase-card .section-note,
.landing-highlight-item p,
.format-access-item p,
.audience-card p {
  color: var(--ink-soft);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links,
.topbar-account-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.topbar-account-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover,
.topbar-account-links a:hover {
  color: var(--ink);
}

.nav-links a::after {
  display: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  align-items: center;
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 7px;
  list-style: none;
  padding: 8px 2px;
  transition: color 0.18s ease;
  user-select: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  opacity: 0.72;
  transition: transform 0.18s ease;
}

.nav-dropdown[open] summary,
.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible {
  color: var(--ink);
}

.nav-dropdown[open] summary::after {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  background: rgba(255, 252, 246, 0.98);
  border: 1px solid rgba(22, 33, 38, 0.1);
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(18, 22, 25, 0.14);
  display: grid;
  gap: 3px;
  left: 50%;
  min-width: 210px;
  padding: 8px;
  position: absolute;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  z-index: 80;
}

.nav-dropdown-panel a {
  border-radius: 13px;
  color: var(--ink);
  display: block;
  padding: 11px 12px;
  white-space: nowrap;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  background: rgba(20, 49, 43, 0.08);
  color: var(--forest-deep);
}

.storefront-body .topbar {
  backdrop-filter: blur(18px);
}

.storefront-body .topbar-actions {
  gap: 12px;
}

.storefront-body .nav-links {
  background: rgba(255, 252, 246, 0.64);
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  gap: 4px;
  padding: 5px;
}

.storefront-body .nav-links > a,
.storefront-body .nav-dropdown summary,
.storefront-body .topbar-account-links a {
  border-radius: 999px;
  color: #5f6878;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1;
  min-height: 40px;
  padding: 0 14px;
}

.storefront-body .nav-links > a,
.storefront-body .nav-dropdown summary {
  align-items: center;
  display: inline-flex;
}

.storefront-body .nav-links > a:hover,
.storefront-body .nav-links > a:focus-visible,
.storefront-body .nav-dropdown[open] summary,
.storefront-body .nav-dropdown summary:hover,
.storefront-body .nav-dropdown summary:focus-visible {
  background: rgba(18, 59, 50, 0.08);
  color: #123b32;
}

.storefront-body .topbar-account-links {
  background: rgba(18, 59, 50, 0.08);
  border: 1px solid rgba(18, 59, 50, 0.1);
  border-radius: 999px;
  gap: 2px;
  padding: 5px;
}

.storefront-body .topbar-account-links a:hover,
.storefront-body .topbar-account-links a:focus-visible {
  background: #123b32;
  color: #fffaf0;
}

.storefront-body .nav-dropdown-panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(248, 244, 235, 0.98));
  border: 1px solid rgba(18, 59, 50, 0.12);
  border-radius: 22px;
  box-shadow:
    0 26px 65px rgba(18, 22, 25, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  min-width: 230px;
  padding: 9px;
}

.storefront-body .nav-dropdown-panel::before {
  background: inherit;
  border-left: 1px solid rgba(18, 59, 50, 0.1);
  border-top: 1px solid rgba(18, 59, 50, 0.1);
  content: "";
  height: 12px;
  left: 50%;
  position: absolute;
  top: -7px;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
}

.storefront-body .nav-dropdown-panel a {
  align-items: center;
  border-radius: 16px;
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 13px;
}

.storefront-body .nav-dropdown-panel a::after {
  color: rgba(18, 59, 50, 0.36);
  content: ">";
  font-size: 1.05rem;
}

.language-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
}

.language-switch a {
  min-width: 38px;
  padding: 8px 10px;
  border-radius: 999px;
  text-align: center;
  color: var(--ink-soft);
}

.language-switch a.active {
  background: var(--forest-deep);
  color: #f8f3ea;
}

.topbar-button,
.platform-ribbon,
.topbar-note,
.product-utility-row {
  display: none;
}

main {
  gap: 56px;
  padding-top: 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bronze);
  font-family: "Geist", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-hero.clean-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: start;
  padding: 16px 0 4px;
}

.clean-hero-copy,
.hero-feature-card.clean-hero-feature,
.clean-product-intro,
.clean-purchase-card,
.landing-panel,
.product-card.clean-book-card,
.support-band.student-access-band,
.related-products-section,
.bookshelf-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.clean-hero-copy {
  padding: 10px 0 0;
}

.clean-hero-copy h1 {
  margin: 0 0 18px;
  max-width: 9ch;
  font-size: clamp(2.9rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.clean-hero-copy .hero-text {
  max-width: 30ch;
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.6;
}

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

.button,
.button.secondary {
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.96rem;
  font-weight: 600;
}

.button {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: #f8f3ea;
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(22, 19, 16, 0.04);
}

.hero-feature-card.clean-hero-feature {
  display: grid;
  gap: 18px;
  align-content: start;
}

.clean-platform-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.clean-platform-summary {
  display: grid;
  gap: 10px;
}

.clean-platform-summary h2,
.platform-lead-card h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.clean-platform-summary h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  line-height: 1.05;
}

.clean-platform-summary p,
.platform-lead-card p {
  margin: 0;
}

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

.platform-panel-item,
.platform-lead-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.platform-panel-item {
  display: grid;
  gap: 8px;
}

.platform-panel-item strong {
  font-family: "Newsreader", serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.platform-panel-item span {
  color: var(--ink-soft);
}

.platform-surface-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-surface-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.platform-lead-card {
  display: grid;
  gap: 10px;
}

.platform-lead-card h3 {
  font-size: 1.8rem;
  line-height: 1.02;
}

.hero-feature-cover.clean-hero-cover,
.clean-book-cover,
.clean-detail-media {
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-feature-cover.clean-hero-cover img,
.clean-book-cover img,
.clean-detail-media img {
  object-fit: contain;
}

.clean-hero-summary {
  display: grid;
  gap: 10px;
}

.hero-feature-summary h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3.3rem);
  line-height: 0.98;
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.section-shell {
  padding: 0;
}

.section-shell-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-shell-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.7vw, 2.6rem);
  line-height: 1;
}

.bookshelf-grid.clean-shelf-grid,
.product-grid.clean-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card.clean-book-card {
  display: grid;
  gap: 0;
}

.clean-book-cover {
  min-height: 300px;
}

.bookshelf-cover,
.product-card .product-cover {
  width: min(100%, 240px);
  margin: 0 auto;
}

.product-card .product-body {
  display: grid;
  gap: 10px;
  padding: 14px 0 0;
}

.product-price {
  margin: 0;
  color: var(--forest-deep);
  font-size: 1.1rem;
  font-weight: 700;
}

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

.product-body p {
  margin: 0;
}

.product-body .button.secondary {
  justify-self: start;
}

.test-focus-section {
  position: relative;
  overflow: hidden;
  padding: 30px;
  margin-top: -8px;
  background: linear-gradient(135deg, var(--forest-deep) 0%, #0c2b25 100%);
  color: #f8f3ea;
  border: 1px solid rgba(201, 169, 97, 0.22);
  border-radius: var(--radius);
  box-shadow: none;
}

.test-focus-section::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 169, 97, 0.26);
  pointer-events: none;
}

.test-focus-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  display: grid;
  gap: 14px;
}

.test-focus-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
  color: #f8f3ea;
}

.test-focus-copy p,
.test-focus-section .mini-meta span,
.test-focus-section .eyebrow {
  color: rgba(248, 243, 234, 0.86);
}

.test-focus-section .mini-meta span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.test-focus-section .button.secondary {
  background: var(--surface);
  color: var(--forest-deep);
  border-color: var(--surface);
}

.support-band.student-access-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.support-band.student-access-band h2 {
  margin: 0 0 8px;
  font-family: "Newsreader", serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.support-band.student-access-band .lead {
  margin: 0;
}

.clean-product-stage {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.clean-detail-media {
  position: sticky;
  top: 96px;
}

.detail-main-stack-refined {
  display: grid;
  gap: 22px;
}

.clean-product-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 4.8vw, 4.1rem);
  line-height: 0.98;
}

.clean-product-intro .lead {
  margin: 0 0 18px;
  max-width: 34ch;
}

.clean-purchase-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.purchase-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.purchase-card-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: 1;
}

.purchase-amount strong,
.proof-item strong {
  font-family: "Newsreader", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.purchase-amount strong {
  font-size: 2.1rem;
}

.checkout-purchase-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
}

.clean-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.proof-item {
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-item strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.clean-product-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.landing-panel {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.landing-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 2.1vw, 2.1rem);
  line-height: 1;
}

.audience-grid,
.landing-highlight-list,
.format-access-grid {
  display: grid;
  gap: 12px;
}

.audience-card,
.landing-highlight-item,
.format-access-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.audience-card:first-child,
.landing-highlight-item:first-child,
.format-access-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.audience-card strong,
.landing-highlight-item strong,
.format-access-item strong {
  color: var(--bronze);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.purchase-license-note {
  margin-top: 18px;
}

.product-final-cta {
  margin-top: -8px;
}

.related-products-section {
  padding-top: 8px;
}

.footer.editorial-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  margin-top: 68px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Newsreader", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

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

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column a,
.footer-column span {
  color: var(--ink-soft);
}

.footer-eyebrow {
  margin-bottom: 6px;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .bookshelf-grid.clean-shelf-grid,
  .product-grid.clean-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clean-product-stage,
  .clean-product-sections {
    grid-template-columns: 1fr;
  }

  .clean-detail-media {
    position: static;
  }

  .footer.editorial-footer,
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 24px, 1200px);
  }

  .topbar.editorial-topbar,
  .topbar-actions,
  .nav-links,
  .topbar-account-links,
  .support-band.student-access-band,
  .footer.editorial-footer,
  .footer-columns {
    display: grid;
  }

  .topbar.editorial-topbar,
  .topbar-actions {
    gap: 14px;
  }

  .nav-links,
  .topbar-account-links {
    gap: 10px;
  }

  .premium-hero.clean-hero,
  .platform-panel-grid,
  .bookshelf-grid.clean-shelf-grid,
  .product-grid.clean-shelf-grid,
  .clean-proof-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .clean-hero-copy h1,
  .clean-product-intro h1 {
    font-size: clamp(2.8rem, 12vw, 4.1rem);
  }

  .test-focus-section,
  .clean-purchase-card,
  .landing-panel {
    padding: 22px;
  }

  .clean-book-cover {
    min-height: 300px;
  }
}

/* 2026-05-17 modern platform refresh */
:root {
  --paper: #f4f6f7;
  --surface: #ffffff;
  --surface-strong: #eef3f1;
  --ink: #101828;
  --ink-soft: #667085;
  --forest-deep: #144735;
  --forest-soft: #1b5a45;
  --bronze: #8f7a57;
  --line: rgba(16, 24, 40, 0.10);
  --radius: 22px;
}

body.storefront-body {
  background:
    radial-gradient(circle at top left, rgba(20, 71, 53, 0.06), transparent 28%),
    linear-gradient(180deg, #f8fafb 0%, #f3f5f7 100%);
}

.site-shell {
  width: min(1280px, calc(100% - 40px));
}

.topbar.editorial-topbar {
  padding: 18px 0;
  margin-bottom: 28px;
  background: rgba(248, 250, 251, 0.84);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(14px);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--forest-deep), #0f3428);
  font-family: "Geist", sans-serif;
  font-weight: 700;
}

.logo strong {
  font-family: "Geist", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo small {
  font-size: 0.82rem;
}

.nav-links a,
.topbar-account-links a,
.language-switch a {
  font-size: 0.92rem;
}

.clean-hero-copy h1,
.clean-platform-summary h2,
.section-shell-head h2,
.product-body h3,
.clean-product-intro h1,
.purchase-card-head h2,
.landing-panel h2,
.support-band.student-access-band h2 {
  font-family: "Geist", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.premium-hero.clean-hero {
  gap: 26px;
}

.clean-hero-copy h1 {
  max-width: 7ch;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.clean-platform-panel,
.clean-book-card,
.clean-detail-media,
.clean-purchase-card,
.landing-panel,
.support-band.student-access-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 251, 251, 0.94));
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.06);
}

.clean-platform-panel {
  padding: 24px;
}

.clean-platform-summary h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

.platform-panel-grid {
  gap: 14px;
}

.platform-panel-item {
  border-radius: 18px;
  background: #f8fafb;
  border: 1px solid rgba(16, 24, 40, 0.06);
}

.platform-panel-item strong {
  font-family: "Geist", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.platform-surface-list span {
  background: #eef4f1;
  border-color: rgba(20, 71, 53, 0.10);
  color: var(--forest-deep);
  font-weight: 600;
}

.button {
  background: linear-gradient(180deg, var(--forest-soft), var(--forest-deep));
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(20, 71, 53, 0.18);
}

.button.secondary {
  background: #ffffff;
  border-color: rgba(16, 24, 40, 0.10);
}

.checkout-purchase-form button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.88;
}

.clean-book-card {
  padding: 16px;
}

.clean-book-cover {
  min-height: 320px;
  padding: 22px;
  background: linear-gradient(180deg, #f4f7f6, #edf2f0);
  border: 1px solid rgba(16, 24, 40, 0.05);
  border-radius: 18px;
}

.product-card .product-body {
  padding-top: 16px;
  gap: 12px;
}

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

.product-price {
  font-size: 1.02rem;
}

.product-body .button.secondary {
  width: 100%;
  justify-content: center;
}

.mini-meta span {
  background: #f8fafb;
  border-color: rgba(16, 24, 40, 0.08);
}

.test-focus-section {
  padding: 34px;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(20, 71, 53, 0.18);
}

.test-focus-copy h2 {
  font-family: "Geist", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.support-band.student-access-band {
  padding: 24px 28px;
}

.clean-product-stage {
  gap: 34px;
}

.clean-product-intro h1 {
  font-size: clamp(2.7rem, 4.7vw, 4.2rem);
}

.clean-detail-media,
.clean-purchase-card,
.landing-panel {
  padding: 24px;
}

.purchase-card-head h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.clean-proof-grid .proof-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 251, 0.96));
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.05);
}

.proof-item strong {
  font-family: "Geist", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.landing-panel h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.footer.editorial-footer {
  margin-top: 64px;
  align-items: start;
  padding: 36px 0 40px;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.footer.editorial-footer .footer-brand {
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.footer.editorial-footer .footer-brand p {
  margin: 0;
}

.footer.editorial-footer .footer-columns {
  align-items: start;
  gap: clamp(22px, 3vw, 38px);
}

.footer.editorial-footer .footer-column {
  min-width: 0;
}

.footer.editorial-footer .footer-column a,
.footer.editorial-footer .footer-column span {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .clean-hero-copy h1,
  .clean-product-intro h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .clean-book-cover {
    min-height: 280px;
  }

  .clean-platform-panel,
  .clean-book-card,
  .clean-detail-media,
  .clean-purchase-card,
  .landing-panel,
  .support-band.student-access-band,
  .test-focus-section {
    border-radius: 18px;
  }
}

/* Dashboard polish overrides live at the end of the file so storefront refreshes
   later in the stylesheet do not accidentally restyle the owner backend. */
body.dashboard-body .button,
body.dashboard-auth-body .button {
  min-height: 48px;
  border-radius: 14px;
  font-family: "Geist", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: none;
}

body.dashboard-body .button,
body.dashboard-auth-body .button:not(.secondary) {
  background: linear-gradient(180deg, #243c42 0%, #1d3036 100%);
  border-color: rgba(18, 22, 25, 0.12);
  color: #f7f9fa;
}

body.dashboard-body .button:hover,
body.dashboard-auth-body .button:not(.secondary):hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(18, 22, 25, 0.12);
}

body.dashboard-body .button.secondary,
body.dashboard-auth-body .button.secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(18, 22, 25, 0.08);
  color: #24363b;
}

body.dashboard-body .button.secondary:hover,
body.dashboard-auth-body .button.secondary:hover {
  background: #ffffff;
  border-color: rgba(18, 22, 25, 0.12);
}

body.dashboard-body .dashboard-card a:not(.button):not(.dashboard-list-row):not(.upload-card),
body.dashboard-auth-body .dashboard-auth-card a:not(.button) {
  color: #2f5960;
  font-weight: 600;
}

body.dashboard-body .dashboard-card a:not(.button):not(.dashboard-list-row):not(.upload-card):hover,
body.dashboard-auth-body .dashboard-auth-card a:not(.button):hover {
  color: #1d3036;
}

body.dashboard-body .link-button {
  color: #2f5960;
  font-weight: 600;
}

body.dashboard-body .dashboard-form label,
body.dashboard-auth-body .field label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #33474d;
}

body.dashboard-body .dashboard-table-row.clickable-row:hover,
body.dashboard-body .dashboard-list-row:hover {
  color: inherit;
}

/* 2026-05-18 backend refinement: quieter owner console with denser, cleaner admin surfaces. */
body.dashboard-body,
body.dashboard-auth-body {
  background:
    radial-gradient(circle at top left, rgba(226, 234, 231, 0.8), transparent 36%),
    linear-gradient(135deg, #f7f8f6 0%, #eef2f1 100%);
  color: #111827;
  font-family: "Geist", sans-serif;
}

body.dashboard-body .dashboard-shell {
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 18px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 18px;
}

body.dashboard-body .dashboard-sidebar {
  top: 18px;
  min-height: calc(100vh - 36px);
  padding: 22px 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #102f29 0%, #0d2522 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

body.dashboard-body .dashboard-logo {
  padding: 4px 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dashboard-body .dashboard-logo .logo-mark {
  width: 42px;
  height: 42px;
  background: #f8faf9;
  color: #102f29;
}

body.dashboard-body .dashboard-nav {
  gap: 4px;
}

body.dashboard-body .dashboard-nav-label {
  margin: 16px 8px 6px;
  color: rgba(236, 242, 240, 0.48);
  font-size: 0.68rem;
}

body.dashboard-body .dashboard-nav a {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(248, 250, 249, 0.76);
  background: transparent;
  font-size: 0.94rem;
}

body.dashboard-body .dashboard-nav a:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.07);
}

body.dashboard-body .dashboard-nav a.is-active {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

body.dashboard-body .dashboard-sidebar-footer {
  padding: 14px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

body.dashboard-body .dashboard-content-wrap {
  gap: 18px;
  padding: 0 0 24px;
}

body.dashboard-body .dashboard-topbar {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

body.dashboard-body .dashboard-topbar h1 {
  font-family: "Geist", sans-serif;
  font-size: clamp(1.7rem, 2vw, 2.25rem);
  font-weight: 750;
  line-height: 1.08;
}

body.dashboard-body .dashboard-topbar .eyebrow,
body.dashboard-body .eyebrow {
  color: #7a5b3f;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

body.dashboard-body .dashboard-main,
body.dashboard-body .dashboard-grid,
body.dashboard-body .dashboard-metrics,
body.dashboard-body .status-grid {
  gap: 16px;
}

body.dashboard-body .dashboard-card,
body.dashboard-body .status-card,
body.dashboard-body .empty-state {
  border-radius: 22px;
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

body.dashboard-body .dashboard-card {
  padding: 20px;
}

body.dashboard-body .backend-hero-card {
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 248, 0.94));
}

body.dashboard-body .backend-hero-card h2,
body.dashboard-body .dashboard-card h2,
body.dashboard-body .dashboard-form-head h2 {
  font-family: "Geist", sans-serif;
  font-weight: 750;
  letter-spacing: -0.035em;
}

body.dashboard-body .backend-hero-card p,
body.dashboard-body .dashboard-form-head p,
body.dashboard-body .section-note,
body.dashboard-body .dashboard-list-row small {
  color: #64748b;
  line-height: 1.55;
}

body.dashboard-body .crm-summary-card,
body.dashboard-body .status-pill,
body.dashboard-body .upload-card {
  border-radius: 16px;
  background: #f8faf9;
  box-shadow: none;
}

body.dashboard-body .crm-summary-card strong {
  font-family: "Geist", sans-serif;
  font-weight: 750;
}

body.dashboard-body .dashboard-table {
  gap: 8px;
}

body.dashboard-body .dashboard-table-head,
body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row {
  border-radius: 14px;
  padding: 12px 14px;
}

body.dashboard-body .dashboard-table-head {
  background: #eef3f1;
  color: #475569;
  font-size: 0.76rem;
}

body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row {
  background: #ffffff;
}

body.dashboard-body .dashboard-table-row:hover,
body.dashboard-body .dashboard-list-row:hover,
body.dashboard-body .upload-card:hover {
  transform: none;
  border-color: rgba(16, 47, 41, 0.18);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body.dashboard-body .dashboard-filters {
  grid-template-columns: minmax(240px, 1fr) 170px 170px auto;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: #f8faf9;
}

body.dashboard-body .sales-period-filter {
  grid-template-columns: minmax(180px, 1fr) auto;
  max-width: 360px;
}

body.dashboard-body .dashboard-form-section {
  gap: 14px;
  padding: 20px 0;
}

body.dashboard-body .dashboard-field-grid {
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body.dashboard-body .dashboard-filters input,
body.dashboard-body .dashboard-filters select,
body.dashboard-body .dashboard-form input,
body.dashboard-body .dashboard-form select,
body.dashboard-body .dashboard-form textarea,
body.dashboard-body .dashboard-form input[type="file"],
body.dashboard-auth-body .dashboard-form input,
body.dashboard-auth-body .dashboard-form select,
body.dashboard-auth-body .dashboard-form textarea {
  min-height: 48px;
  border-radius: 12px;
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

body.dashboard-body .dashboard-filters input:focus,
body.dashboard-body .dashboard-filters select:focus,
body.dashboard-body .dashboard-form input:focus,
body.dashboard-body .dashboard-form select:focus,
body.dashboard-body .dashboard-form textarea:focus,
body.dashboard-body .dashboard-form input[type="file"]:focus,
body.dashboard-auth-body .dashboard-form input:focus,
body.dashboard-auth-body .dashboard-form select:focus,
body.dashboard-auth-body .dashboard-form textarea:focus {
  border-color: rgba(16, 47, 41, 0.42);
  box-shadow: 0 0 0 4px rgba(16, 47, 41, 0.08);
}

body.dashboard-body .dashboard-form input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  border-radius: 5px;
  flex: 0 0 auto;
  accent-color: #102f29;
}

body.dashboard-body .discount-scope-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(380px, 1.18fr);
  gap: 18px;
  align-items: start;
  max-width: 1040px;
}

body.dashboard-body .field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: #263a3d;
}

body.dashboard-body .discount-scope-main,
body.dashboard-body .discount-product-picker {
  display: grid;
  gap: 14px;
  min-width: 0;
}

body.dashboard-body .discount-minimum-field,
body.dashboard-body .discount-toggle-panel,
body.dashboard-body .discount-product-picker {
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.035);
}

body.dashboard-body .dashboard-check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: #f8faf9;
  color: #102f29;
  cursor: pointer;
}

body.dashboard-body .dashboard-check-row strong {
  display: block;
  font-weight: 850;
}

body.dashboard-body .dashboard-check-row small {
  display: block;
  margin-top: 3px;
  color: #6b7280;
  line-height: 1.45;
}

body.dashboard-body .dashboard-checkbox-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: #f8faf9;
}

body.dashboard-body .discount-picker-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

body.dashboard-body .discount-picker-head label {
  margin: 0;
}

body.dashboard-body .discount-picker-head small {
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: right;
}

body.dashboard-body .dashboard-product-check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  color: #24383b;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

body.dashboard-body .dashboard-product-check span {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.dashboard-body .dashboard-product-check:hover {
  border-color: rgba(16, 47, 41, 0.2);
  background: #eef3f0;
}

body.dashboard-body .dashboard-product-check input[type="checkbox"] {
  margin: 0;
}

body.dashboard-body .dashboard-checkbox-list > div,
body.dashboard-body .dashboard-checkbox-list li {
  list-style: none;
  margin: 0;
}

body.dashboard-body .dashboard-checkbox-list ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

body.dashboard-body .dashboard-checkbox-list ul label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  color: #24383b;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

body.dashboard-body .dashboard-checkbox-list ul label:hover {
  background: #eef3f0;
}

body.dashboard-body .crm-status {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
}

body.dashboard-body .button,
body.dashboard-auth-body .button {
  min-height: 44px;
  border-radius: 12px;
  padding-inline: 16px;
}

body.dashboard-body .button,
body.dashboard-auth-body .button:not(.secondary) {
  background: #102f29;
}

body.dashboard-body .button:hover,
body.dashboard-auth-body .button:not(.secondary):hover,
body.dashboard-body .button.secondary:hover,
body.dashboard-auth-body .button.secondary:hover {
  transform: none;
}

@media (max-width: 1080px) {
  body.dashboard-body .dashboard-shell {
    grid-template-columns: 1fr;
  }

  body.dashboard-body .dashboard-sidebar {
    position: static;
    min-height: 0;
  }

  body.dashboard-body .dashboard-nav {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 720px) {
  body.dashboard-body .dashboard-shell {
    padding: 10px;
  }

  body.dashboard-body .dashboard-topbar,
  body.dashboard-body .dashboard-card {
    border-radius: 18px;
    padding: 16px;
  }

  body.dashboard-body .dashboard-filters,
  body.dashboard-body .dashboard-table-head,
  body.dashboard-body .dashboard-table-row {
    grid-template-columns: 1fr;
  }

  body.dashboard-body .sales-report-grid,
  body.dashboard-body .sales-compact-list .dashboard-list-row,
  body.dashboard-body .sales-compact-list.sales-three-list .dashboard-list-row,
  body.dashboard-body .discount-scope-panel {
    grid-template-columns: 1fr;
  }

  body.dashboard-body .sales-number,
  body.dashboard-body .sales-money {
    justify-self: start;
    text-align: left;
  }
}

/* Professional owner console pass */
body.dashboard-body {
  --console-bg: #f5f7f6;
  --console-panel: #ffffff;
  --console-panel-soft: #f8faf9;
  --console-ink: #101828;
  --console-muted: #667085;
  --console-line: rgba(16, 24, 40, 0.09);
  --console-green: #123b32;
  --console-green-deep: #0b2722;
  --console-gold: #8a6f41;
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 58, 49, 0.08), transparent 28%),
    linear-gradient(135deg, #f8faf9 0%, #eef3f2 100%);
  color: var(--console-ink);
}

body.dashboard-body .dashboard-shell {
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 22px;
  max-width: 1760px;
  padding: 20px;
}

body.dashboard-body .dashboard-sidebar {
  padding: 20px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(18, 59, 50, 0.98), rgba(9, 34, 30, 0.98));
  box-shadow: 0 28px 70px rgba(11, 39, 34, 0.2);
}

body.dashboard-body .dashboard-logo {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 2px 2px 18px;
}

body.dashboard-body .dashboard-logo .logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #f5f7f2;
  color: var(--console-green);
  font-size: 1rem;
  font-weight: 800;
}

body.dashboard-body .dashboard-logo strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.15;
}

body.dashboard-body .dashboard-logo small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

body.dashboard-body .dashboard-status-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 650;
}

body.dashboard-body .dashboard-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #8ee0bb;
  box-shadow: 0 0 0 4px rgba(142, 224, 187, 0.12);
}

body.dashboard-body .dashboard-nav-label {
  margin: 18px 8px 7px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
  letter-spacing: 0.17em;
}

body.dashboard-body .dashboard-nav a {
  position: relative;
  min-height: 40px;
  padding: 10px 12px 10px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.9rem;
  font-weight: 650;
}

body.dashboard-body .dashboard-nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.dashboard-body .dashboard-nav a.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 999px;
  background: #d6c29a;
}

body.dashboard-body .dashboard-sidebar-footer {
  gap: 4px;
  padding: 16px 8px 0;
}

body.dashboard-body .dashboard-user-label {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.dashboard-body .dashboard-user-name {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dashboard-body .dashboard-content-wrap {
  gap: 20px;
}

body.dashboard-body .dashboard-topbar {
  min-height: 92px;
  padding: 18px 22px;
  border-radius: 24px;
  border: 1px solid var(--console-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.06);
}

body.dashboard-body .dashboard-topbar-copy {
  display: grid;
  gap: 5px;
}

body.dashboard-body .dashboard-topbar h1 {
  font-size: clamp(1.45rem, 1.7vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

body.dashboard-body .dashboard-topbar .inline-actions {
  max-width: 680px;
  gap: 8px;
}

body.dashboard-body .dashboard-topbar .button {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.88rem;
}

body.dashboard-body .dashboard-main {
  gap: 18px;
}

body.dashboard-body .dashboard-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--console-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.055);
}

body.dashboard-body .dashboard-card-head {
  align-items: center;
  margin-bottom: 16px;
}

body.dashboard-body .dashboard-card h2,
body.dashboard-body .backend-hero-card h2,
body.dashboard-body .dashboard-form-head h2 {
  color: var(--console-ink);
  font-size: clamp(1.28rem, 1.45vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

body.dashboard-body .dashboard-card p,
body.dashboard-body .dashboard-form-head p {
  color: var(--console-muted);
}

body.dashboard-body .dashboard-metrics {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

body.dashboard-body .info-panel {
  min-height: 128px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--console-line);
  background: var(--console-panel);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.045);
}

body.dashboard-body .info-panel .panel-label {
  color: #7a6a4f;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

body.dashboard-body .info-panel strong {
  margin-top: 10px;
  color: var(--console-ink);
  font-family: "Geist", sans-serif;
  font-size: clamp(1.65rem, 2vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

body.dashboard-body .info-panel p {
  margin-top: 7px;
  color: var(--console-muted);
  line-height: 1.45;
}

body.dashboard-body .dashboard-table {
  overflow-x: auto;
  border-radius: 18px;
}

body.dashboard-body .dashboard-table-head,
body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row {
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
}

body.dashboard-body .dashboard-table-head {
  min-width: 760px;
  border-color: rgba(16, 24, 40, 0.06);
  background: #edf3f1;
  color: #52615f;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

body.dashboard-body .dashboard-table-row {
  min-width: 760px;
}

body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row {
  border-color: rgba(16, 24, 40, 0.07);
  background: #ffffff;
}

body.dashboard-body .dashboard-table-row strong,
body.dashboard-body .dashboard-list-row strong {
  color: var(--console-ink);
  font-weight: 750;
  letter-spacing: -0.025em;
}

body.dashboard-body .dashboard-table-row small,
body.dashboard-body .dashboard-list-row small {
  color: var(--console-muted);
}

body.dashboard-body .dashboard-list {
  gap: 9px;
}

body.dashboard-body .sales-report-grid {
  grid-template-columns: minmax(620px, 1.25fr) minmax(360px, 0.75fr);
  gap: 18px;
}

body.dashboard-body .sales-card-wide {
  grid-column: auto;
}

body.dashboard-body .sales-report-head,
body.dashboard-body .sales-report-row {
  grid-template-columns: minmax(280px, 1.5fr) 86px minmax(120px, 0.7fr) minmax(120px, 0.7fr);
}

body.dashboard-body .activity-table-head,
body.dashboard-body .activity-table-row {
  grid-template-columns: minmax(280px, 1fr) 96px 96px;
}

body.dashboard-body .sales-report-table .dashboard-table-head,
body.dashboard-body .sales-report-table .dashboard-table-row {
  min-width: 680px;
}

body.dashboard-body .sales-compact-list .dashboard-list-row {
  grid-template-columns: minmax(0, 1fr) max-content;
}

body.dashboard-body .sales-compact-list.sales-three-list .dashboard-list-row {
  grid-template-columns: minmax(0, 1fr) max-content max-content;
}

body.dashboard-body .catalog-dashboard-head,
body.dashboard-body .catalog-dashboard-row {
  grid-template-columns: minmax(260px, 1.4fr) minmax(110px, 0.65fr) minmax(110px, 0.65fr) minmax(100px, 0.55fr) 80px minmax(190px, 0.9fr);
}

body.dashboard-body .publication-dashboard-head,
body.dashboard-body .publication-dashboard-row {
  grid-template-columns: minmax(220px, 1.2fr) minmax(120px, 0.75fr) minmax(140px, 0.8fr) minmax(100px, 0.6fr) minmax(100px, 0.6fr) minmax(180px, 0.9fr);
}

body.dashboard-body .crm-order-head,
body.dashboard-body .crm-order-row {
  grid-template-columns: minmax(220px, 1.2fr) minmax(240px, 1.2fr) minmax(120px, 0.7fr) minmax(180px, 0.9fr) minmax(170px, 0.8fr);
}

body.dashboard-body .crm-customer-head,
body.dashboard-body .crm-customer-row {
  grid-template-columns: minmax(260px, 1.35fr) minmax(150px, 0.7fr) minmax(180px, 0.8fr) minmax(150px, 0.7fr);
}

body.dashboard-body .inline-actions {
  gap: 9px;
}

body.dashboard-body .inline-actions a:not(.button),
body.dashboard-body .inline-actions .link-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: #2c5a50;
  font-size: 0.9rem;
}

body.dashboard-body .dashboard-filters {
  align-items: center;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid rgba(16, 24, 40, 0.06);
  background: var(--console-panel-soft);
}

body.dashboard-body .dashboard-filters input,
body.dashboard-body .dashboard-filters select,
body.dashboard-body .dashboard-form input,
body.dashboard-body .dashboard-form select,
body.dashboard-body .dashboard-form textarea,
body.dashboard-body .dashboard-form input[type="file"] {
  min-height: 46px;
  border-radius: 12px;
  font-size: 0.95rem;
}

body.dashboard-body .status-pill,
body.dashboard-body .upload-card,
body.dashboard-body .crm-summary-card {
  border: 1px solid rgba(16, 24, 40, 0.07);
  background: var(--console-panel-soft);
}

body.dashboard-body .crm-status {
  margin: 0 0 5px;
  padding: 6px 10px;
  font-size: 0.74rem;
}

body.dashboard-body .delivery-console-grid {
  display: grid;
  gap: 18px;
}

body.dashboard-body .delivery-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
}

body.dashboard-body .delivery-panel-head {
  display: grid;
  gap: 5px;
  max-width: 820px;
}

body.dashboard-body .delivery-panel-head h3 {
  margin: 0;
  color: #111827;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

body.dashboard-body .delivery-panel-head p {
  margin: 0;
  color: #64748b;
}

body.dashboard-body .delivery-upload-grid,
body.dashboard-body .delivery-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.dashboard-body .delivery-rules-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.dashboard-body .file-field {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

body.dashboard-body .file-field a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.dashboard-body .file-field input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  line-height: 1.4;
}

body.dashboard-body .file-field input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin: 12px 8px 0 0;
  transform: translateY(2px);
}

body.dashboard-body .file-field br {
  display: none;
}

body.dashboard-body .file-field label:not(:first-child) {
  margin-top: 12px;
}

body.dashboard-body .delivery-panel textarea {
  min-height: 132px;
  resize: vertical;
}

@media (min-width: 1180px) {
  body.dashboard-body .dashboard-grid:not(.dashboard-grid-feature):not(.sales-report-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  body.dashboard-body .sales-report-grid,
  body.dashboard-body .sales-card-wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  body.dashboard-body .dashboard-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  body.dashboard-body .dashboard-topbar .inline-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  body.dashboard-body .dashboard-shell {
    padding: 8px;
  }

  body.dashboard-body .dashboard-sidebar,
  body.dashboard-body .dashboard-topbar,
  body.dashboard-body .dashboard-card,
  body.dashboard-body .info-panel {
    border-radius: 18px;
  }

  body.dashboard-body .dashboard-table-head,
  body.dashboard-body .dashboard-table-row,
  body.dashboard-body .sales-report-table .dashboard-table-head,
  body.dashboard-body .sales-report-table .dashboard-table-row {
    min-width: 0;
  }

  body.dashboard-body .dashboard-table-head,
  body.dashboard-body .dashboard-table-row,
  body.dashboard-body .dashboard-list-row,
  body.dashboard-body .sales-report-head,
  body.dashboard-body .sales-report-row,
  body.dashboard-body .sales-compact-list .dashboard-list-row,
  body.dashboard-body .sales-compact-list.sales-three-list .dashboard-list-row,
  body.dashboard-body .catalog-dashboard-head,
  body.dashboard-body .catalog-dashboard-row,
  body.dashboard-body .publication-dashboard-head,
  body.dashboard-body .publication-dashboard-row,
  body.dashboard-body .crm-order-head,
  body.dashboard-body .crm-order-row,
  body.dashboard-body .crm-customer-head,
  body.dashboard-body .crm-customer-row {
    grid-template-columns: 1fr;
  }

  body.dashboard-body .delivery-upload-grid,
  body.dashboard-body .delivery-access-grid,
  body.dashboard-body .delivery-rules-grid {
    grid-template-columns: 1fr;
  }
}

/* Doktorinn Academy platform homepage */
.academy-platform-hero {
  align-items: stretch;
  gap: clamp(20px, 4vw, 52px);
  padding-top: clamp(34px, 6vw, 72px);
  padding-bottom: clamp(34px, 6vw, 72px);
}

.academy-platform-hero .clean-hero-copy h1 {
  max-width: 13ch;
  letter-spacing: -0.065em;
}

.academy-platform-hero .hero-text {
  max-width: 760px;
  color: #4f5b66;
}

.academy-status-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  border-color: rgba(16, 47, 41, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 239, 227, 0.94)),
    var(--surface);
}

.academy-status-panel .clean-platform-summary h2 {
  font-family: "Geist", sans-serif;
  max-width: 14ch;
  font-size: clamp(1.75rem, 2.6vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.academy-status-panel .clean-platform-summary p {
  max-width: 34rem;
  color: #5f6872;
}

.academy-status-panel .platform-panel-item {
  min-height: 118px;
  border-color: rgba(16, 47, 41, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.academy-status-panel .platform-surface-list span {
  border-color: rgba(16, 47, 41, 0.12);
  background: rgba(16, 47, 41, 0.06);
  color: #173a32;
}

.academy-section .section-shell-head {
  align-items: end;
}

.academy-section .section-shell-head h2,
.platform-trust-strip h2 {
  letter-spacing: -0.055em;
}

.study-studio-section {
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(18, 59, 50, 0.1);
  border-radius: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 88% 10%, rgba(214, 189, 130, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(244, 248, 246, 0.92));
  box-shadow: 0 28px 80px rgba(16, 47, 41, 0.08);
}

.study-studio-head {
  align-items: start;
  border-bottom: 1px solid rgba(18, 59, 50, 0.09);
  margin-bottom: clamp(8px, 2vw, 18px);
  padding-bottom: clamp(18px, 3vw, 30px);
}

.study-studio-head h2 {
  max-width: 12ch;
  font-family: "Geist", sans-serif;
  font-size: clamp(2.35rem, 4.5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.study-studio-head .section-note {
  max-width: 38ch;
  color: #667085;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.studio-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.studio-access-card {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  min-height: 330px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(18, 59, 50, 0.11);
  border-radius: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 247, 239, 0.9));
  box-shadow:
    0 22px 60px rgba(16, 47, 41, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.studio-access-card-top,
.studio-access-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.studio-access-price {
  margin: 0;
  color: #123b32;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-access-card-top span,
.studio-access-meta span {
  border: 1px solid rgba(18, 59, 50, 0.11);
  border-radius: 999px;
  background: rgba(18, 59, 50, 0.06);
  color: #5f6878;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 8px 12px;
}

.studio-access-card-body h3 {
  max-width: 18ch;
  margin: 0;
  color: #101524;
  font-family: "Newsreader", serif;
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.studio-access-card-body p {
  max-width: 46ch;
  margin: 14px 0 0;
  color: #667085;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
}

.studio-access-card .button {
  align-self: end;
  justify-self: start;
  margin-top: auto;
  min-height: 50px;
  padding-inline: 22px;
}

.academy-founder-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(16, 47, 41, 0.12);
  border-radius: 30px;
  background: rgba(255, 250, 244, 0.92);
  box-shadow: 0 18px 44px rgba(18, 29, 27, 0.07);
}

.transparency-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(16, 47, 41, 0.12);
  border-radius: clamp(26px, 4vw, 38px);
  background:
    radial-gradient(circle at 92% 8%, rgba(214, 189, 130, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(247, 249, 248, 0.94));
  box-shadow: 0 22px 58px rgba(16, 47, 41, 0.07);
}

.transparency-copy h2 {
  max-width: 10ch;
  margin: 0;
  color: #101524;
  font-family: "Newsreader", serif;
  font-size: clamp(2.25rem, 4vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.transparency-copy p:not(.eyebrow) {
  max-width: 38rem;
  margin: 18px 0 0;
  color: #667085;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.62;
}

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.transparency-grid article {
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 20px;
  border: 1px solid rgba(16, 47, 41, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.transparency-grid span,
.support-business-panel dt,
.legal-identity-card dt {
  color: #8f6a45;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.transparency-grid strong {
  color: #101524;
  font-size: 1.05rem;
  line-height: 1.2;
}

.transparency-grid small {
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.5;
}

.transparency-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-business-panel,
.legal-identity-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(16, 47, 41, 0.1);
  border-radius: 28px;
  background: rgba(255, 250, 244, 0.92);
  box-shadow: 0 18px 46px rgba(16, 47, 41, 0.06);
}

.support-business-panel h2,
.legal-identity-card h2 {
  margin: 0;
  color: #101524;
  font-family: "Newsreader", serif;
  font-size: clamp(1.8rem, 2.8vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.support-business-panel p:not(.eyebrow),
.legal-identity-card p:not(.eyebrow) {
  max-width: 42rem;
  margin: 12px 0 0;
  color: #667085;
  line-height: 1.6;
}

.support-business-panel dl,
.legal-identity-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.support-business-panel dl div,
.legal-identity-card dl div {
  padding: 16px;
  border: 1px solid rgba(16, 47, 41, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.support-business-panel dd,
.legal-identity-card dd {
  margin: 7px 0 0;
  color: #101524;
  font-weight: 760;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.support-business-panel a,
.legal-identity-card a {
  color: #173a32;
}

.academy-founder-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #173a32;
  color: #fffaf2;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.academy-founder-copy {
  max-width: 780px;
}

.academy-founder-copy .eyebrow {
  margin-bottom: 8px;
  color: #8f6a45;
}

.academy-founder-copy h2 {
  margin: 0;
  color: #101524;
  font-family: "Newsreader", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.academy-founder-copy p:not(.eyebrow) {
  max-width: 68ch;
  margin: 12px 0 0;
  color: #667085;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.6;
}

.academy-founder-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.academy-founder-actions .button {
  min-height: 48px;
  padding-inline: 20px;
}

@media (max-width: 900px) {
  .study-studio-head,
  .studio-access-grid,
  .transparency-panel,
  .support-business-panel,
  .legal-identity-card {
    grid-template-columns: 1fr;
  }

  .study-studio-head h2 {
    max-width: 14ch;
  }

  .academy-founder-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .academy-founder-actions {
    justify-content: flex-start;
  }

  .transparency-copy h2 {
    max-width: 14ch;
  }
}

@media (max-width: 640px) {
  .study-studio-section {
    padding: 22px;
  }

  .studio-access-card {
    min-height: 0;
    padding: 22px;
  }

  .studio-access-card .button {
    width: 100%;
  }

  .academy-founder-card {
    border-radius: 24px;
  }

  .academy-founder-mark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .academy-founder-actions .button {
    width: 100%;
  }

  .transparency-grid,
  .support-business-panel dl,
  .legal-identity-card dl {
    grid-template-columns: 1fr;
  }

  .transparency-actions .button {
    width: 100%;
  }
}

.academy-assessment-focus {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background:
    radial-gradient(circle at 84% 18%, rgba(212, 184, 130, 0.16), transparent 34%),
    linear-gradient(135deg, #143a31, #0f2d27);
}

.academy-assessment-focus::after {
  content: "";
  position: absolute;
  right: clamp(22px, 7vw, 110px);
  bottom: clamp(20px, 6vw, 82px);
  width: clamp(170px, 22vw, 310px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 227, 0.18);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 26px rgba(244, 239, 227, 0.035),
    inset 0 0 0 72px rgba(244, 239, 227, 0.025);
}

.academy-assessment-focus .test-focus-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.academy-assessment-focus .test-focus-copy h2 {
  max-width: 12ch;
  font-family: "Geist", sans-serif;
  letter-spacing: -0.07em;
}

.assessment-card-grid .assessment-library-card {
  min-height: 310px;
}

.assessment-library-card .button {
  margin-top: auto;
}

.snapshot-hero,
.snapshot-home-card,
.snapshot-form-shell,
.snapshot-results-shell,
.snapshot-upsell {
  margin: clamp(24px, 5vw, 70px) var(--page-gutter);
}

.snapshot-hero,
.snapshot-home-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: end;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid rgba(16, 47, 41, 0.12);
  border-radius: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(circle at 84% 14%, rgba(212, 184, 130, 0.14), transparent 36%),
    linear-gradient(135deg, #f8f6ef 0%, #ffffff 100%);
  box-shadow: 0 28px 90px rgba(16, 47, 41, 0.1);
}

.snapshot-hero h1,
.snapshot-result-hero h2 {
  max-width: 12ch;
  margin: 0;
  font-family: "Geist", sans-serif;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.snapshot-subtitle {
  max-width: 900px;
  margin: 22px 0 0;
  color: var(--sage);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.snapshot-badges {
  margin: 26px 0;
}

.snapshot-form-shell,
.snapshot-results-shell {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(16, 47, 41, 0.1);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 70px rgba(16, 47, 41, 0.08);
}

.snapshot-question-group {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(16, 47, 41, 0.08);
  border-radius: 28px;
  background: rgba(248, 246, 239, 0.58);
}

.snapshot-lead-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 30px;
  background: #14312b;
  color: #f8f6ef;
}

.snapshot-lead-card h2,
.snapshot-lead-card p {
  color: inherit;
}

.snapshot-lead-fields {
  display: grid;
  gap: 14px;
}

.snapshot-lead-fields label {
  color: #f8f6ef;
}

.snapshot-result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  margin-bottom: 32px;
}

.snapshot-result-hero p {
  max-width: 760px;
}

.snapshot-score-ring {
  display: grid;
  place-items: center;
  width: clamp(160px, 18vw, 240px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: #14312b;
  color: #f8f6ef;
  text-align: center;
  box-shadow: 0 22px 60px rgba(16, 47, 41, 0.2);
}

.snapshot-score-ring strong {
  font-family: "Geist", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.85;
}

.snapshot-score-ring span {
  max-width: 9ch;
  color: rgba(248, 246, 239, 0.78);
  font-weight: 800;
}

.snapshot-score-grid,
.snapshot-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

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

.snapshot-score-card {
  padding: 22px;
  border: 1px solid rgba(16, 47, 41, 0.1);
  border-radius: 24px;
  background: #f8f6ef;
}

.snapshot-score-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--sage);
  font-weight: 900;
}

.snapshot-score-card h3 {
  margin: 18px 0 8px;
}

.snapshot-upsell {
  margin-inline: 0;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 184, 130, 0.18), transparent 32%),
    linear-gradient(135deg, #14312b, #102720);
  color: #f8f6ef;
}

.snapshot-upsell h2,
.snapshot-upsell p {
  color: inherit;
}

.snapshot-upsell-line {
  font-weight: 900;
}

.snapshot-home-card {
  align-items: center;
}

.snapshot-home-card h2 {
  max-width: 12ch;
  margin: 0;
  font-family: "Geist", sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.snapshot-home-action {
  justify-self: end;
}

@media (max-width: 900px) {
  .snapshot-hero,
  .snapshot-home-card,
  .snapshot-result-hero,
  .snapshot-lead-card {
    grid-template-columns: 1fr;
  }

  .snapshot-home-action {
    justify-self: start;
  }

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

@media (max-width: 640px) {
  .snapshot-score-grid,
  .snapshot-insight-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-score-ring {
    width: 170px;
  }
}

.platform-trust-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  margin: clamp(26px, 5vw, 64px) var(--page-gutter);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(16, 47, 41, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 60px rgba(16, 47, 41, 0.08);
}

.platform-trust-strip h2 {
  margin: 0;
  max-width: 11ch;
  font-family: "Geist", sans-serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 0.98;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trust-strip-grid article {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(16, 47, 41, 0.1);
  border-radius: 20px;
  background: #f8f6ef;
}

.trust-strip-grid strong {
  color: #111827;
  font-size: 1rem;
}

.trust-strip-grid span {
  color: #65707b;
  font-size: 0.94rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .platform-trust-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .academy-platform-hero .clean-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .academy-status-panel .clean-platform-summary h2,
  .academy-assessment-focus .test-focus-copy h2 {
    max-width: 100%;
  }

  .academy-assessment-focus {
    min-height: 0;
  }

  .academy-assessment-focus::after {
    display: none;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr;
  }

  .platform-trust-strip {
    border-radius: 22px;
    padding: 20px;
  }
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  align-items: center;
  background: #14312b;
  border-radius: 999px;
  color: #fffaf0;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  line-height: 1;
  list-style: none;
  min-height: 46px;
  padding: 0 18px;
  user-select: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::after {
  content: "v";
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(-1px);
}

.mobile-menu[open] summary::after {
  transform: rotate(180deg) translateY(1px);
}

.mobile-menu-panel {
  background: rgba(255, 252, 246, 0.98);
  border: 1px solid rgba(22, 33, 38, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(18, 22, 25, 0.18);
  display: grid;
  gap: 14px;
  min-width: min(82vw, 340px);
  padding: 14px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 40;
}

.mobile-menu-links {
  display: grid;
  gap: 6px;
}

.mobile-menu-label {
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  padding: 10px 14px 3px;
  text-transform: uppercase;
}

.mobile-menu-links a {
  border-radius: 16px;
  color: #121619;
  font-weight: 800;
  padding: 13px 14px;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible {
  background: rgba(20, 49, 43, 0.08);
}

.mobile-language-switch {
  justify-self: start;
}

.checkout-expectation-box,
.customer-guidance-strip,
.customer-next-steps article,
.operations-tile {
  border: 1px solid rgba(22, 33, 38, 0.1);
  border-radius: 22px;
  background: rgba(255, 252, 246, 0.72);
}

.checkout-expectation-box {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px 18px;
}

.checkout-expectation-box strong,
.customer-guidance-strip strong {
  color: var(--ink);
  font-weight: 900;
}

.checkout-expectation-box p,
.customer-guidance-strip p {
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.customer-guidance-strip {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
  padding: 18px 20px;
}

.customer-next-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0;
}

.customer-next-steps article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.customer-next-steps strong {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.customer-next-steps span {
  color: var(--ink);
  font-weight: 900;
}

.customer-next-steps p {
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

body.dashboard-body .operations-card {
  padding: clamp(22px, 3vw, 32px);
}

body.dashboard-body .operations-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.dashboard-body .operations-tile {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.dashboard-body .operations-tile:hover,
body.dashboard-body .operations-tile:focus-visible {
  border-color: rgba(20, 49, 43, 0.24);
  box-shadow: 0 18px 45px rgba(18, 22, 25, 0.1);
  transform: translateY(-2px);
}

body.dashboard-body .operations-tile span {
  color: #66707f;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.dashboard-body .operations-tile strong {
  color: #101525;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

body.dashboard-body .operations-tile p {
  color: #66707f;
  line-height: 1.45;
  margin: 0;
}

body.dashboard-body .operations-tile.needs-attention {
  background: rgba(255, 247, 232, 0.94);
  border-color: rgba(182, 145, 98, 0.36);
}

.study-studio-addon-card {
  align-items: center;
  display: flex;
  gap: clamp(20px, 4vw, 56px);
  justify-content: space-between;
}

.study-studio-addon-card .lead {
  max-width: 780px;
}

.study-studio-addon-card .inline-actions {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .topbar.editorial-topbar {
    align-items: center;
    border-radius: 26px;
    display: flex;
    gap: 12px;
    padding: 12px;
    position: sticky;
    top: 10px;
    z-index: 30;
  }

  .topbar.editorial-topbar .logo {
    min-width: 0;
  }

  .topbar.editorial-topbar .logo-mark {
    border-radius: 14px;
    flex: 0 0 auto;
    height: 48px;
    width: 48px;
  }

  .topbar.editorial-topbar .logo-copy {
    min-width: 0;
  }

  .topbar.editorial-topbar .logo-copy strong,
  .topbar.editorial-topbar .logo-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar.editorial-topbar .logo-copy strong {
    font-size: 1rem;
  }

  .topbar.editorial-topbar .logo-copy small {
    font-size: 0.78rem;
  }

  .topbar.editorial-topbar > .topbar-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .customer-next-steps,
  body.dashboard-body .operations-grid {
    grid-template-columns: 1fr;
  }

  .study-studio-addon-card {
    align-items: stretch;
    flex-direction: column;
  }

  .study-studio-addon-card .inline-actions,
  .study-studio-addon-card .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .topbar.editorial-topbar {
    width: calc(100vw - 20px);
  }

  .topbar.editorial-topbar .logo {
    gap: 10px;
  }

  .topbar.editorial-topbar .logo-mark {
    height: 42px;
    width: 42px;
  }

  .mobile-menu summary {
    min-height: 42px;
    padding: 0 14px;
  }
}

/* Customer account portal */
.customer-account-shell,
.customer-auth-shell {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 54px) 0;
}

.customer-account-hero,
.customer-library-panel,
.customer-auth-card,
.customer-access-card {
  border: 1px solid rgba(22, 33, 38, 0.08);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 28px 80px rgba(29, 42, 44, 0.12);
}

.customer-account-hero,
.customer-library-panel,
.customer-auth-card {
  border-radius: 34px;
}

.customer-account-hero {
  overflow: hidden;
}

.customer-account-hero > .customer-account-kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding: clamp(24px, 4vw, 38px) clamp(30px, 5vw, 64px) 0;
}

.customer-account-hero > .customer-account-kicker strong {
  color: #12251d;
  letter-spacing: normal;
  text-transform: none;
}

.customer-account-hero > .customer-account-actions {
  padding: 0 clamp(30px, 5vw, 64px) clamp(30px, 5vw, 54px);
}

.customer-account-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: end;
  padding: clamp(30px, 5vw, 64px);
}

.customer-account-kicker,
.customer-access-date {
  margin: 0 0 12px;
  color: #8b7d5e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.customer-account-hero h1,
.customer-auth-copy h1 {
  margin: 0;
  color: #111827;
  font-family: "Newsreader", serif;
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.customer-account-hero p,
.customer-auth-copy p,
.customer-empty-state p {
  color: #697386;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.customer-account-actions,
.customer-auth-links,
.customer-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.customer-account-stats {
  display: grid;
  gap: 14px;
}

.customer-account-stat {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.customer-account-stat span {
  color: #697386;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.customer-account-stat strong {
  color: #12251d;
  font-family: "Newsreader", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.customer-library-panel {
  display: grid;
  gap: 26px;
  padding: clamp(24px, 4vw, 42px);
}

.customer-library-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(22, 33, 38, 0.08);
}

.customer-library-head h2,
.customer-empty-state h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.customer-owned-grid {
  display: grid;
  gap: 18px;
}

.customer-empty-state {
  display: grid;
  gap: 14px;
  max-width: 760px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px dashed rgba(22, 33, 38, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
}

.customer-access-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
}

.customer-access-cover {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 26px;
  background: linear-gradient(145deg, #eef3ef, #fbf6ea);
  color: inherit;
  text-decoration: none;
}

.customer-access-cover img {
  max-height: 250px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.2);
}

.customer-access-badges {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-access-badges span,
.customer-access-meta span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #56616f;
  font-size: 0.82rem;
  font-weight: 750;
}

.customer-access-badges span {
  padding: 7px 11px;
}

.customer-access-placeholder {
  display: grid;
  gap: 12px;
  max-width: 180px;
  color: #111827;
  text-align: center;
}

.customer-access-placeholder span {
  color: #8b7d5e;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.customer-access-placeholder strong {
  font-family: "Newsreader", serif;
  font-size: 1.65rem;
  line-height: 1;
}

.customer-access-body {
  display: grid;
  gap: 18px;
  align-content: center;
  padding: clamp(24px, 4vw, 40px);
}

.customer-access-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.customer-access-top h3 {
  margin: 0;
  color: #111827;
  font-family: "Newsreader", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.customer-access-top h3 a {
  color: inherit;
  text-decoration: none;
}

.customer-access-top strong {
  flex: 0 0 auto;
  color: #12251d;
  font-size: 1.12rem;
}

.customer-access-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-access-meta span {
  padding: 8px 12px;
}

.customer-access-body > p {
  margin: 0;
  max-width: 720px;
  color: #697386;
  line-height: 1.65;
}

.customer-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1fr);
  min-height: 640px;
  overflow: hidden;
}

.customer-auth-copy {
  display: grid;
  gap: 24px;
  align-content: center;
  padding: clamp(34px, 5vw, 64px);
  background: linear-gradient(150deg, #12251d, #20362e);
  color: #f8f4ea;
}

.customer-auth-copy h1,
.customer-auth-copy p {
  color: inherit;
}

.customer-auth-copy p {
  opacity: 0.78;
}

.customer-auth-benefits {
  display: grid;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.customer-auth-benefits li,
.customer-auth-benefits span {
  padding: 14px 16px;
  border: 1px solid rgba(248, 244, 234, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 244, 234, 0.86);
  font-weight: 700;
}

.customer-auth-form-panel {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(28px, 5vw, 60px);
}

.customer-auth-form {
  display: grid;
  gap: 18px;
}

.customer-auth-form p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.customer-auth-form label {
  color: #111827;
  font-weight: 800;
}

.customer-auth-form input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(22, 33, 38, 0.14);
  border-radius: 18px;
  background: #fff;
  color: #111827;
  font: inherit;
  padding: 0 18px;
}

.customer-auth-form input:focus {
  border-color: #294a3e;
  box-shadow: 0 0 0 4px rgba(41, 74, 62, 0.12);
  outline: none;
}

.customer-auth-form-panel > p,
.customer-auth-links {
  color: #697386;
}

@media (max-width: 980px) {
  .customer-account-hero-grid,
  .customer-auth-card,
  .customer-access-card {
    grid-template-columns: 1fr;
  }

  .customer-account-hero-grid {
    align-items: start;
  }

  .customer-library-head,
  .customer-access-top {
    align-items: start;
    flex-direction: column;
  }

  .customer-access-cover {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .customer-account-shell,
  .customer-auth-shell {
    padding: 16px 0 28px;
  }

  .customer-account-hero,
  .customer-library-panel,
  .customer-auth-card,
  .customer-access-card {
    border-radius: 24px;
  }

  .customer-account-hero-grid,
  .customer-account-hero > .customer-account-kicker,
  .customer-account-hero > .customer-account-actions,
  .customer-library-panel,
  .customer-auth-copy,
  .customer-auth-form-panel,
  .customer-access-body {
    padding: 24px;
  }

  .customer-account-hero h1,
  .customer-auth-copy h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .customer-account-actions .button,
  .customer-auth-links .button,
  .customer-access-actions .button {
    width: 100%;
  }
}

body.dashboard-body .dashboard-account-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(18, 22, 25, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

body.dashboard-body .dashboard-account-actions strong {
  display: block;
  color: #111827;
  font-weight: 850;
}

body.dashboard-body .dashboard-account-actions p {
  margin: 6px 0 0;
  color: #667085;
  line-height: 1.5;
}

body.dashboard-body .dashboard-account-actions form {
  margin: 0;
}

body.dashboard-body .dashboard-account-actions .button {
  white-space: nowrap;
}

body.dashboard-body .dashboard-muted {
  color: #667085;
  line-height: 1.55;
  margin: 0;
}

body.dashboard-body .dashboard-action-form {
  margin-top: 22px;
}

body.dashboard-body .customer-grant-form {
  gap: 12px;
  margin-top: 4px;
}

body.dashboard-body .customer-grant-form label:not(.dashboard-checkbox-row) {
  color: #24383d;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.dashboard-body .dashboard-checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(18, 22, 25, 0.08);
  border-radius: 16px;
  background: rgba(248, 250, 251, 0.9);
  color: #667085;
  font-weight: 650;
}

body.dashboard-body .dashboard-checkbox-row input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  margin: 0;
  accent-color: #123b32;
}

body.dashboard-body .customer-grant-form .button,
body.dashboard-body .dashboard-action-form .button {
  width: 100%;
}

@media (max-width: 760px) {
  body.dashboard-body .dashboard-account-actions {
    grid-template-columns: 1fr;
  }

  body.dashboard-body .dashboard-account-actions .button {
    width: 100%;
  }
}

/* Final authority layer for the Doktorinn Academy public storefront. */
.storefront-body {
  font-family: var(--da-sans);
  color: var(--da-ink);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 78% 6%, rgba(26, 47, 35, 0.08), transparent 32%),
    linear-gradient(180deg, var(--da-bg) 0%, #f2f4f5 100%);
}

.storefront-body .site-shell {
  width: min(1440px, calc(100% - 56px));
}

.storefront-body .topbar {
  border-radius: 0;
  border: 1px solid var(--da-line);
  background: rgba(249, 249, 251, 0.92);
  box-shadow: none;
}

.storefront-body .logo-mark {
  border-radius: 4px;
  background: var(--da-green);
  box-shadow: none;
}

.storefront-body .logo strong {
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

.storefront-body .da-hero-copy h1,
.storefront-body .da-section-head h2,
.storefront-body .da-access h2,
.storefront-body .da-command-card strong,
.storefront-body .da-stone-panel strong,
.storefront-body .da-hero-statement p,
.storefront-body .da-product-copy h3,
.storefront-body .da-course-card h3,
.storefront-body .da-feature-assessment h3,
.storefront-body .da-assessment-card h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.storefront-body .footer.editorial-footer {
  border-radius: 0;
  border: 1px solid #262626;
  background: #111;
  box-shadow: none;
}

@media (max-width: 720px) {
  .storefront-body .site-shell {
    width: min(100% - 20px, 1440px);
  }
}

body.storefront-body {
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

/* My Academy account page aligned with the 2026 platform redesign. */
.da-account-page {
  display: grid;
  gap: 1px;
  border: 1px solid var(--da-line);
  background: var(--da-line);
}

.da-account-header,
.da-account-overview,
.da-account-library {
  background: rgba(255, 255, 255, 0.88);
}

.da-account-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  gap: 32px;
  align-items: end;
  padding: clamp(42px, 7vw, 88px);
}

.da-account-header h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(4.2rem, 10vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.da-account-identity {
  display: grid;
  gap: 8px;
  justify-items: end;
  padding: 18px 20px;
  border: 1px solid var(--da-line);
  background: #f9f9fb;
}

.da-account-identity span,
.da-account-overview article span,
.da-account-actions-card span {
  color: var(--da-bronze);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.da-account-identity strong {
  font-size: 1rem;
  color: var(--da-ink);
}

.da-account-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--da-line);
}

.da-account-overview article {
  min-height: 180px;
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.da-account-overview article strong {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
}

.da-account-overview article p {
  margin: 0;
  color: var(--da-muted);
}

.da-account-actions-card {
  background: linear-gradient(145deg, #1a2f23, #111) !important;
  color: #f3f4f6;
}

.da-account-actions-card .da-actions {
  margin-top: 24px;
}

.da-account-library {
  padding: clamp(36px, 6vw, 72px);
}

.da-account-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 32px;
  align-items: end;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--da-line);
}

.da-account-section-head h2,
.da-empty-account h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.da-account-section-head p,
.da-empty-account p {
  margin: 0;
  color: var(--da-muted);
  line-height: 1.6;
}

.da-owned-grid {
  gap: 1px;
  background: var(--da-line);
  border: 1px solid var(--da-line);
}

.storefront-body .customer-access-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.storefront-body .customer-access-cover {
  min-height: 240px;
  border-right: 1px solid var(--da-line);
  background: linear-gradient(180deg, #f9f9fb, #edece7);
}

.storefront-body .customer-access-cover img {
  max-height: 210px;
  width: auto;
  margin: auto;
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.12);
}

.storefront-body .customer-access-body {
  padding: 28px;
}

.storefront-body .customer-access-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.storefront-body .customer-access-top h3 {
  margin: 6px 0 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.storefront-body .customer-access-top > strong {
  color: var(--da-bronze);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-body .customer-access-date {
  margin: 0;
  color: var(--da-bronze);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.storefront-body .customer-access-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.storefront-body .customer-access-meta span,
.storefront-body .customer-access-badges span {
  border: 1px solid var(--da-line);
  border-radius: 0;
  background: #f9f9fb;
  color: var(--da-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.storefront-body .customer-access-body > p {
  color: var(--da-muted);
  line-height: 1.55;
}

.storefront-body .customer-access-actions .button {
  border-radius: 2px;
}

.da-empty-account {
  display: grid;
  gap: 18px;
  max-width: 860px;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--da-line);
  background: #fff;
}

@media (max-width: 900px) {
  .da-account-header,
  .da-account-section-head,
  .storefront-body .customer-access-card {
    grid-template-columns: 1fr;
  }

  .da-account-identity {
    justify-items: start;
  }

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

  .storefront-body .customer-access-cover {
    border-right: 0;
    border-bottom: 1px solid var(--da-line);
  }
}

@media (max-width: 620px) {
  .da-account-header,
  .da-account-library {
    padding: 28px 20px;
  }

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

  .storefront-body .customer-access-top {
    grid-template-columns: 1fr;
  }
}

/* Public subpage authority layer for the 2026 Doktorinn Academy platform look. */
.storefront-body .section-shell,
.storefront-body .product-detail-stage,
.storefront-body .landing-panel,
.storefront-body .status-card,
.storefront-body .lookup-card,
.storefront-body .customer-auth-card,
.storefront-body .legal-card,
.storefront-body .support-path-card,
.storefront-body .support-business-panel,
.storefront-body .support-detail-card,
.storefront-body .support-contact-panel,
.storefront-body .download-card,
.storefront-body .info-panel,
.storefront-body .notice,
.storefront-body .empty-state,
.storefront-body .result-card {
  border: 1px solid var(--da-line) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: none !important;
}

.storefront-body .section-shell,
.storefront-body .status-card,
.storefront-body .customer-auth-shell {
  margin-block: 0 clamp(36px, 6vw, 72px);
}

.storefront-body .section-shell,
.storefront-body .status-card,
.storefront-body .customer-auth-card,
.storefront-body .legal-stage,
.storefront-body .support-stage,
.storefront-body .access-portal-shell,
.storefront-body .about-page-stage {
  padding: clamp(32px, 6vw, 72px) !important;
}

.storefront-body .section-shell-head,
.storefront-body .support-hero-head,
.storefront-body .purchase-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
  padding-bottom: clamp(24px, 4vw, 42px);
  margin-bottom: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid var(--da-line);
}

.storefront-body .section-shell-head h1,
.storefront-body .section-shell-head h2,
.storefront-body .product-detail-stage h1,
.storefront-body .status-card h1,
.storefront-body .customer-auth-copy h1,
.storefront-body .landing-panel h2,
.storefront-body .purchase-card h2,
.storefront-body .legal-stage h1,
.storefront-body .support-stage h1,
.storefront-body .about-page-stage h1,
.storefront-body .assessment-form-panel h2 {
  margin: 0;
  font-family: var(--da-serif);
  color: var(--da-ink);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.storefront-body .section-shell-head h1,
.storefront-body .product-detail-stage h1,
.storefront-body .status-card h1,
.storefront-body .customer-auth-copy h1,
.storefront-body .support-stage h1,
.storefront-body .legal-stage h1,
.storefront-body .about-page-stage h1 {
  font-size: clamp(4rem, 8vw, 8rem);
}

.storefront-body .section-shell-head h2,
.storefront-body .landing-panel h2,
.storefront-body .purchase-card h2,
.storefront-body .assessment-form-panel h2 {
  font-size: clamp(2.7rem, 5vw, 5.6rem);
}

.storefront-body .section-note,
.storefront-body .lead,
.storefront-body .status-card > p,
.storefront-body .customer-auth-copy > p,
.storefront-body .support-stage p,
.storefront-body .legal-stage p,
.storefront-body .about-page-stage p,
.storefront-body .landing-panel p,
.storefront-body .purchase-card p {
  color: var(--da-muted);
  font-family: var(--da-sans);
  line-height: 1.58;
}

.storefront-body .eyebrow,
.storefront-body .kicker,
.storefront-body .status-card .eyebrow,
.storefront-body .section-shell-head .eyebrow,
.storefront-body .purchase-card .eyebrow,
.storefront-body .landing-panel .eyebrow {
  color: var(--da-bronze) !important;
  font-family: var(--da-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.storefront-body .button,
.storefront-body button.button,
.storefront-body input[type="submit"].button,
.storefront-body .purchase-card button[type="submit"],
.storefront-body .lookup-form button[type="submit"],
.storefront-body .customer-auth-form button[type="submit"],
.storefront-body .assessment-form button[type="submit"] {
  min-height: 50px;
  border-radius: 2px !important;
  border: 1px solid var(--da-green) !important;
  background: var(--da-green) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: var(--da-sans);
  font-weight: 800;
  letter-spacing: -0.015em;
  transition: opacity 160ms ease, transform 160ms ease, letter-spacing 160ms ease;
}

.storefront-body .button:hover,
.storefront-body button.button:hover,
.storefront-body input[type="submit"].button:hover,
.storefront-body .purchase-card button[type="submit"]:hover,
.storefront-body .lookup-form button[type="submit"]:hover,
.storefront-body .customer-auth-form button[type="submit"]:hover,
.storefront-body .assessment-form button[type="submit"]:hover {
  opacity: 0.9;
  letter-spacing: 0.005em;
}

.storefront-body .button.secondary,
.storefront-body .button.outline,
.storefront-body a.button.secondary,
.storefront-body a.button.outline {
  border-color: var(--da-line) !important;
  background: #fff !important;
  color: var(--da-ink) !important;
}

.storefront-body input,
.storefront-body select,
.storefront-body textarea {
  border-radius: 2px !important;
  border: 1px solid var(--da-line) !important;
  background: #fff !important;
  color: var(--da-ink);
  box-shadow: none !important;
  font-family: var(--da-sans);
}

.storefront-body input:focus,
.storefront-body select:focus,
.storefront-body textarea:focus {
  border-color: var(--da-green) !important;
  outline: 2px solid rgba(26, 47, 35, 0.12);
  outline-offset: 2px;
}

.storefront-body label,
.storefront-body .field label,
.storefront-body .customer-auth-form label {
  color: var(--da-ink);
  font-family: var(--da-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.storefront-body .product-detail-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 1px;
  padding: 0 !important;
  background: var(--da-line) !important;
  overflow: hidden;
}

.storefront-body .detail-media-card,
.storefront-body .detail-intro-card,
.storefront-body .purchase-card,
.storefront-body .clean-product-detail-panel,
.storefront-body .study-studio-addon-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none !important;
}

.storefront-body .detail-media-card,
.storefront-body .detail-intro-card {
  padding: clamp(28px, 5vw, 64px) !important;
}

.storefront-body .detail-media-card img,
.storefront-body .clean-detail-media img,
.storefront-body .product-cover-img {
  display: block;
  width: auto;
  max-width: min(100%, 520px);
  max-height: 680px;
  margin: auto;
  object-fit: contain;
  border-radius: 0 !important;
  box-shadow: 0 26px 70px rgba(17, 17, 17, 0.13);
}

.storefront-body .detail-main-stack {
  display: grid;
  gap: 1px;
  background: var(--da-line);
}

.storefront-body .mini-meta,
.storefront-body .assessment-badges,
.storefront-body .customer-access-meta,
.storefront-body .customer-access-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.storefront-body .mini-meta span,
.storefront-body .assessment-badges span,
.storefront-body .customer-guidance-strip span,
.storefront-body .status-pill,
.storefront-body .pill {
  border: 1px solid var(--da-line) !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: var(--da-muted) !important;
  font-family: var(--da-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-body .purchase-card {
  padding: clamp(28px, 5vw, 56px) !important;
}

.storefront-body .purchase-card form,
.storefront-body .customer-auth-form,
.storefront-body .lookup-form,
.storefront-body .assessment-form {
  display: grid;
  gap: 18px;
}

.storefront-body .detail-proof-grid,
.storefront-body .proof-grid,
.storefront-body .info-grid,
.storefront-body .green-card-grid,
.storefront-body .support-path-grid,
.storefront-body .support-detail-grid,
.storefront-body .about-teaser-grid,
.storefront-body .access-portal-grid,
.storefront-body .access-library-grid,
.storefront-body .assessment-card-grid {
  display: grid;
  gap: 1px !important;
  background: var(--da-line);
  border: 1px solid var(--da-line);
}

.storefront-body .detail-proof-grid,
.storefront-body .proof-grid,
.storefront-body .info-grid,
.storefront-body .green-card-grid-three,
.storefront-body .support-path-grid,
.storefront-body .assessment-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storefront-body .green-card-grid-two,
.storefront-body .support-detail-grid,
.storefront-body .about-teaser-grid,
.storefront-body .access-portal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-body .green-card,
.storefront-body .proof-card,
.storefront-body .support-path-card,
.storefront-body .support-detail-card,
.storefront-body .access-hub-card,
.storefront-body .recovery-step-card,
.storefront-body .assessment-library-card,
.storefront-body .assessment-question-card {
  min-height: 170px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--da-ink) !important;
  box-shadow: none !important;
  padding: clamp(22px, 4vw, 38px) !important;
}

.storefront-body .green-card h2,
.storefront-body .green-card h3,
.storefront-body .proof-card h3,
.storefront-body .support-path-card h2,
.storefront-body .support-detail-card h2,
.storefront-body .access-hub-card h2,
.storefront-body .assessment-library-card h3 {
  margin-top: 0;
  color: var(--da-ink) !important;
  font-family: var(--da-serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.storefront-body .green-card p,
.storefront-body .proof-card p,
.storefront-body .support-path-card p,
.storefront-body .support-detail-card p,
.storefront-body .access-hub-card p,
.storefront-body .assessment-library-card p {
  color: var(--da-muted) !important;
}

.storefront-body .customer-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.58fr);
  gap: 1px;
  padding: 0 !important;
  background: var(--da-line) !important;
  overflow: hidden;
}

.storefront-body .customer-auth-copy,
.storefront-body .customer-auth-form-panel {
  padding: clamp(32px, 6vw, 72px);
  background: #fff;
}

.storefront-body .customer-auth-benefits,
.storefront-body .customer-auth-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.storefront-body .customer-auth-benefits span,
.storefront-body .customer-auth-links a {
  border-top: 1px solid var(--da-line);
  padding-top: 12px;
  color: var(--da-muted);
}

.storefront-body .status-card {
  max-width: none !important;
}

.storefront-body .status-card-expanded {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
}

.storefront-body .download-card,
.storefront-body .customer-next-steps,
.storefront-body .receipt-panel {
  border: 1px solid var(--da-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.storefront-body .assessment-progress {
  border: 1px solid var(--da-line);
  border-radius: 0;
  background: #fff;
  padding: 16px;
}

.storefront-body .assessment-progress-bar {
  height: 6px;
  border-radius: 0;
  background: #eceff1;
}

.storefront-body .assessment-progress-bar span {
  border-radius: 0;
  background: var(--da-green);
}

.storefront-body .assessment-choice-row ul,
.storefront-body .assessment-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.storefront-body .assessment-choice-row label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--da-line);
  padding: 10px 12px;
  background: #fff;
  text-transform: none;
  letter-spacing: 0;
}

.storefront-body .legal-content,
.storefront-body .support-business-panel,
.storefront-body .support-contact-panel,
.storefront-body .zero-preview-card {
  border-radius: 0 !important;
  border: 1px solid var(--da-line) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.storefront-body .legal-content h2,
.storefront-body .support-business-panel h2,
.storefront-body .support-contact-panel h2,
.storefront-body .zero-preview-card h2 {
  font-family: var(--da-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

@media (max-width: 980px) {
  .storefront-body .section-shell-head,
  .storefront-body .support-hero-head,
  .storefront-body .purchase-card-head,
  .storefront-body .product-detail-stage,
  .storefront-body .customer-auth-card {
    grid-template-columns: 1fr;
  }

  .storefront-body .detail-proof-grid,
  .storefront-body .proof-grid,
  .storefront-body .info-grid,
  .storefront-body .green-card-grid-three,
  .storefront-body .support-path-grid,
  .storefront-body .assessment-card-grid,
  .storefront-body .green-card-grid-two,
  .storefront-body .support-detail-grid,
  .storefront-body .about-teaser-grid,
  .storefront-body .access-portal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .storefront-body .section-shell,
  .storefront-body .status-card,
  .storefront-body .customer-auth-copy,
  .storefront-body .customer-auth-form-panel,
  .storefront-body .detail-media-card,
  .storefront-body .detail-intro-card,
  .storefront-body .purchase-card,
  .storefront-body .legal-stage,
  .storefront-body .support-stage,
  .storefront-body .about-page-stage {
    padding: 24px 18px !important;
  }

  .storefront-body .section-shell-head h1,
  .storefront-body .product-detail-stage h1,
  .storefront-body .status-card h1,
  .storefront-body .customer-auth-copy h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .storefront-body .button,
  .storefront-body button.button,
  .storefront-body input[type="submit"].button,
  .storefront-body .purchase-card button[type="submit"],
  .storefront-body .lookup-form button[type="submit"],
  .storefront-body .customer-auth-form button[type="submit"],
  .storefront-body .assessment-form button[type="submit"] {
    width: 100%;
  }
}
/* ==========================================================================
   Doktorinn Academy final institutional design layer
   ========================================================================== */

:root {
  --paper: #f7f3ec;
  --paper-deep: #ebe4d8;
  --paper-card: rgba(255, 253, 248, 0.94);
  --ink: #10131d;
  --ink-soft: #626a78;
  --ink-faint: #858b96;
  --academic-green: #1a2f23;
  --academic-green-2: #24382d;
  --bronze: #86754f;
  --line: rgba(16, 19, 29, 0.12);
  --line-strong: rgba(16, 19, 29, 0.2);
  --shadow: 0 28px 80px rgba(28, 31, 36, 0.08);
  --shadow-soft: 0 14px 40px rgba(28, 31, 36, 0.06);
  --radius: 18px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body,
body.storefront-body,
body.dashboard-body,
body.dashboard-auth-body {
  background:
    linear-gradient(135deg, rgba(26, 47, 35, 0.035), transparent 34%),
    var(--paper) !important;
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif !important;
  letter-spacing: -0.015em;
}

h1,
h2,
h3,
.dashboard-topbar h1,
.dashboard-card h2,
.backend-hero-card h2,
.da-home-hero h1,
.da-section h2,
.product-detail-stage h1,
.purchase-card h2,
.customer-auth-card h1,
.da-account-header h1 {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 700;
  letter-spacing: -0.045em;
}

p,
li,
small,
span,
label,
input,
textarea,
select,
button,
a {
  font-family: "Instrument Sans", sans-serif;
}

.eyebrow,
.da-kicker,
.footer-eyebrow,
.dashboard-nav-label,
.mobile-menu-label {
  color: var(--bronze) !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-shell {
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: 0 24px 42px;
}

.topbar.editorial-topbar,
.storefront-body .topbar.editorial-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto 42px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(247, 243, 236, 0.9);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.logo,
.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 12px;
  background: var(--academic-green);
  color: #fffdf7;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.logo-copy strong,
.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-copy small,
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.topbar-actions,
.nav-links,
.topbar-account-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.storefront-body .nav-links > a,
.storefront-body .nav-dropdown summary,
.storefront-body .topbar-account-links a,
.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.storefront-body .nav-links > a:hover,
.storefront-body .nav-dropdown summary:hover,
.storefront-body .topbar-account-links a:hover,
.storefront-body .nav-dropdown[open] summary,
.mobile-menu summary:hover {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.68);
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow-soft);
}

.nav-dropdown-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-dropdown-panel a:hover {
  background: rgba(26, 47, 35, 0.07);
}

.mobile-menu {
  display: none;
}

.da-home-hero,
.da-section,
.da-founder-panel,
.da-trust-grid,
.da-command-grid,
.product-detail-stage,
.section-shell,
.landing-panel,
.customer-auth-shell,
.da-account-page,
.checkout-status-shell,
.support-shell,
.legal-shell {
  width: min(100%, 1480px);
  margin-right: auto;
  margin-left: auto;
}

.da-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  min-height: 640px;
  padding: clamp(44px, 8vw, 108px);
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(238, 230, 216, 0.52)),
    var(--paper-card);
  box-shadow: var(--shadow);
}

.da-home-hero h1 {
  max-width: 940px;
  margin: 18px 0 26px;
  font-size: clamp(4.4rem, 10vw, 10rem);
  line-height: 0.82;
}

.da-abstract,
.da-section-head p,
.da-founder-panel p,
.da-access p,
.product-detail-subtitle,
.detail-intro-card p,
.customer-auth-copy p,
.da-account-section-head p {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.da-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button,
.da-button,
.topbar-button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.da-button:hover,
button.button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.button:not(.secondary),
.da-button-primary,
.checkout-purchase-form .button {
  border-color: var(--academic-green);
  background: var(--academic-green);
  color: #fffdf8;
}

.button.secondary,
.da-button-light,
.da-button:not(.da-button-primary) {
  background: rgba(255, 253, 248, 0.8);
  color: var(--ink);
}

.da-hero-plate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.da-stone-panel,
.da-hero-statement,
.da-command-card,
.da-product-card,
.da-feature-assessment,
.da-assessment-card,
.da-founder-panel,
.da-trust-grid article,
.da-access,
.detail-intro-card,
.purchase-card,
.proof-item,
.related-products-section,
.customer-auth-card,
.da-account-overview article,
.da-account-library,
.da-empty-account {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  box-shadow: var(--shadow-soft);
}

.da-stone-panel {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.da-stone-panel span,
.da-trust-grid article span,
.da-command-card span {
  color: var(--bronze);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.da-stone-panel strong {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 4.2rem;
  line-height: 0.85;
}

.da-stone-panel small {
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 700;
}

.da-hero-statement {
  display: flex;
  grid-column: 1 / -1;
  min-height: 180px;
  align-items: flex-end;
  padding: 28px;
  background: var(--academic-green);
}

.da-hero-statement p {
  max-width: 360px;
  margin: 0;
  color: #fffdf8;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.05;
}

.da-authority-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 1480px);
  margin: 22px auto 90px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(255, 253, 248, 0.74);
}

.da-authority-strip span {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.da-authority-strip span + span {
  border-left: 1px solid var(--line);
}

.da-command-grid,
.da-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 110px;
}

.da-command-card,
.da-trust-grid article {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  text-decoration: none;
}

.da-command-card strong,
.da-trust-grid article strong {
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.35;
}

.da-trust-grid article p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.da-section {
  margin-bottom: 120px;
}

.da-section-head,
.da-section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 36px;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.da-section-head h2,
.da-founder-panel h2 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.9;
}

.da-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.da-product-card {
  overflow: hidden;
  border-radius: 0;
}

.da-cover-frame {
  display: flex;
  min-height: 430px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #eee7da);
}

.da-cover-frame img,
.detail-cover,
.product-cover {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(16, 19, 29, 0.16));
}

.da-product-copy {
  padding: 26px;
}

.da-product-price,
.product-price {
  color: var(--bronze);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.da-product-copy h3 {
  margin: 12px 0;
  font-size: 2rem;
  line-height: 0.96;
}

.da-product-copy h3 a,
.da-text-link,
.product-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.da-product-meta,
.mini-meta,
.premium-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.da-product-meta span,
.mini-meta span,
.premium-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.64);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.da-text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--academic-green);
  font-weight: 800;
}

.da-course-grid,
.da-assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.da-course-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--academic-green), #111b16);
  color: #fffdf8;
  box-shadow: var(--shadow);
}

.da-course-card h3,
.da-feature-assessment h3 {
  margin: 12px 0;
  color: inherit;
  font-size: 2rem;
  line-height: 1;
}

.da-course-card p,
.da-course-card .da-product-price {
  color: rgba(255, 253, 248, 0.72);
}

.da-feature-assessment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
  padding: 42px;
  background: var(--academic-green);
  color: #fffdf8;
}

.da-feature-assessment h3,
.da-feature-assessment p,
.da-feature-assessment .da-kicker {
  color: #fffdf8 !important;
}

.da-feature-aside {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.da-feature-aside span {
  color: rgba(255, 253, 248, 0.76);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.da-assessment-card {
  padding: 28px;
}

.da-assessment-card h3 {
  margin: 14px 0 0;
  font-size: 1.7rem;
}

.da-founder-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.9fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 80px;
  padding: 42px;
}

.da-access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
}

.footer.editorial-footer,
.storefront-body .footer.editorial-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 110px);
  width: min(100%, 1480px);
  margin: 90px auto 0;
  padding: 46px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 28px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-column a,
.footer-column span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--ink);
}

.product-detail-stage,
.product-detail-stage-refined {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 46px;
}

.detail-media-card,
.clean-detail-media {
  display: flex;
  min-height: 720px;
  align-items: center;
  justify-content: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: linear-gradient(180deg, #fffdf8, #eee6d8);
  box-shadow: var(--shadow);
}

.detail-main-stack {
  display: grid;
  gap: 22px;
}

.detail-intro-card,
.purchase-card {
  padding: clamp(30px, 4vw, 56px);
}

.detail-intro-card h1 {
  margin: 12px 0 20px;
  font-size: clamp(4rem, 7vw, 7.8rem);
  line-height: 0.85;
}

.product-detail-subtitle {
  max-width: 780px;
  margin-bottom: 26px;
}

.purchase-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.purchase-card h2 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.92;
}

.purchase-amount strong {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
}

.checkout-purchase-form,
.customer-auth-form,
.dashboard-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.field-label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select,
.dashboard-form input,
.dashboard-form textarea,
.dashboard-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-size: 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea,
.dashboard-form textarea {
  min-height: 150px;
  padding-top: 14px;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.dashboard-form input:focus,
.dashboard-form textarea:focus,
.dashboard-form select:focus {
  border-color: rgba(26, 47, 35, 0.48);
  box-shadow: 0 0 0 4px rgba(26, 47, 35, 0.08);
}

.checkbox-field label,
.dashboard-check-row,
.dashboard-product-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.72);
}

.checkbox-field input[type="checkbox"],
.dashboard-form input[type="checkbox"],
.dashboard-checkbox-list input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 2px 0 0;
  accent-color: var(--academic-green);
}

.privacy-note,
.field small,
.section-note {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.detail-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.proof-item {
  padding: 24px;
}

.proof-item strong {
  display: block;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.proof-item span {
  color: var(--ink-soft);
  font-weight: 700;
}

.section-shell,
.related-products-section {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  box-shadow: var(--shadow-soft);
}

.customer-auth-shell {
  padding: 40px 0 90px;
}

.customer-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.55fr);
  gap: 44px;
  padding: clamp(34px, 6vw, 76px);
}

.customer-auth-card h1,
.da-account-header h1 {
  margin: 12px 0 20px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.82;
}

.customer-auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.customer-auth-benefits span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 700;
}

.customer-auth-form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdf8;
}

.customer-auth-links {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.customer-auth-links a {
  color: var(--academic-green);
  font-weight: 800;
}

.da-account-page {
  display: grid;
  gap: 28px;
}

.da-account-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  box-shadow: var(--shadow);
}

.da-account-identity {
  display: grid;
  justify-items: end;
  color: var(--ink-soft);
  font-weight: 700;
}

.da-account-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.da-account-overview article {
  min-height: 180px;
  padding: 28px;
}

.da-account-overview strong {
  display: block;
  margin-top: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  line-height: 0.8;
}

.da-account-library {
  padding: 36px;
}

.da-account-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

body.dashboard-body,
body.dashboard-auth-body {
  background: #f5f2ec !important;
}

body.dashboard-body .dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  gap: 0;
}

body.dashboard-body .dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: #111a15;
  color: #fffdf8;
}

body.dashboard-body .dashboard-logo strong,
body.dashboard-body .dashboard-sidebar a,
body.dashboard-body .dashboard-user-name {
  color: #fffdf8;
}

body.dashboard-body .dashboard-logo small,
body.dashboard-body .dashboard-sidebar-footer p,
body.dashboard-body .dashboard-status-card {
  color: rgba(255, 253, 248, 0.58);
}

body.dashboard-body .dashboard-nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 253, 248, 0.68);
  font-weight: 750;
  text-decoration: none;
}

body.dashboard-body .dashboard-nav a:hover,
body.dashboard-body .dashboard-nav a.is-active {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
}

body.dashboard-body .dashboard-content-wrap {
  min-width: 0;
  padding: 34px;
}

body.dashboard-body .dashboard-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  box-shadow: var(--shadow-soft);
}

body.dashboard-body .dashboard-topbar h1 {
  margin: 8px 0 0;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.82;
}

body.dashboard-body .dashboard-main,
body.dashboard-body .dashboard-grid,
body.dashboard-body .dashboard-metrics {
  gap: 20px;
}

body.dashboard-body .dashboard-card,
body.dashboard-body .status-card,
body.dashboard-body .empty-state,
body.dashboard-body .backend-hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  box-shadow: var(--shadow-soft);
}

body.dashboard-body .dashboard-card {
  padding: 30px;
}

body.dashboard-body .dashboard-card h2,
body.dashboard-body .backend-hero-card h2,
body.dashboard-body .dashboard-form-head h2 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 0.9;
}

body.dashboard-body .dashboard-table {
  overflow: auto;
}

body.dashboard-body .dashboard-table-head,
body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row {
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.72);
}

body.dashboard-body .dashboard-table-head {
  margin-bottom: 10px;
  background: rgba(26, 47, 35, 0.06);
  color: var(--bronze);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row {
  margin-bottom: 10px;
  color: var(--ink);
  text-decoration: none;
}

body.dashboard-body .dashboard-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

body.dashboard-body .dashboard-form-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

body.dashboard-body .dashboard-form-head {
  margin-bottom: 18px;
}

.discount-scope-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
  gap: 22px;
  align-items: start;
}

.discount-scope-main,
.discount-product-picker {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.72);
}

.discount-picker-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.discount-picker-head label {
  color: var(--ink);
  font-weight: 900;
}

.dashboard-checkbox-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding-right: 6px;
}

.dashboard-product-check {
  align-items: center;
  min-height: 58px;
}

.dashboard-product-check span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

@media (max-width: 1100px) {
  .site-shell {
    padding: 0 16px 32px;
  }

  .topbar-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 80;
    width: min(86vw, 360px);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fffdf8;
    box-shadow: var(--shadow);
  }

  .mobile-menu-links {
    display: grid;
    gap: 4px;
  }

  .mobile-menu-links a,
  .mobile-menu-label {
    padding: 12px;
    color: var(--ink);
    text-decoration: none;
  }

  .da-home-hero,
  .product-detail-stage,
  .customer-auth-card,
  .da-founder-panel,
  .da-section-head,
  .da-section-head-split {
    grid-template-columns: 1fr;
  }

  .da-home-hero {
    min-height: unset;
    padding: 36px 24px;
  }

  .da-home-hero h1,
  .detail-intro-card h1,
  .customer-auth-card h1,
  .da-account-header h1 {
    font-size: clamp(3.4rem, 16vw, 5.4rem);
  }

  .da-authority-strip,
  .da-command-grid,
  .da-trust-grid,
  .da-account-overview,
  .footer-columns,
  .detail-proof-grid,
  .discount-scope-panel {
    grid-template-columns: 1fr;
  }

  .da-authority-strip span + span {
    border-left: 0;
  }

  .footer.editorial-footer,
  .storefront-body .footer.editorial-footer,
  .da-account-header,
  .da-account-section-head,
  .da-access {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .da-access,
  .da-account-section-head {
    display: grid;
  }

  .detail-media-card,
  .clean-detail-media {
    min-height: 420px;
  }

  body.dashboard-body .dashboard-shell {
    grid-template-columns: 1fr;
  }

  body.dashboard-body .dashboard-sidebar {
    position: static;
    height: auto;
  }

  body.dashboard-body .dashboard-content-wrap {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .logo-copy small {
    display: none;
  }

  .logo-mark {
    width: 48px;
    height: 48px;
  }

  .da-hero-plate,
  .da-feature-assessment,
  .purchase-card-head {
    grid-template-columns: 1fr;
  }

  .da-feature-aside {
    justify-items: start;
  }

  .button,
  .da-button,
  button.button {
    width: 100%;
  }

  .da-cover-frame {
    min-height: 340px;
  }
}

/* Doktorinn Academy institutional finish.
   This final layer normalizes frontend and backend surfaces without changing routes or logic. */
:root {
  --paper: #f8f6f0;
  --paper-deep: #ebe5d9;
  --paper-card: rgba(255, 253, 248, 0.96);
  --ink: #111317;
  --ink-soft: #59616b;
  --sage: #1a2f23;
  --bronze: #8c784f;
  --gold: #a98952;
  --line: rgba(17, 19, 23, 0.13);
  --line-strong: rgba(17, 19, 23, 0.22);
  --shadow: 0 18px 60px rgba(17, 19, 23, 0.07);
  --shadow-soft: 0 10px 34px rgba(17, 19, 23, 0.055);
  --radius: 18px;
  --radius-sm: 8px;
  --font-serif: "Cormorant Garamond", "Fraunces", "Newsreader", Georgia, serif;
  --font-sans: "Instrument Sans", "Inter Tight", "Inter", Arial, sans-serif;
}

body,
body.dashboard-body,
body.dashboard-auth-body {
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 19, 23, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 19, 23, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

h1,
h2,
h3,
.logo strong,
.footer-brand strong,
.da-product-copy h3,
.da-course-card h3,
.da-feature-assessment h3,
.da-assessment-card h3,
.detail-intro-card h1,
.purchase-card h2,
.customer-auth-card h1,
.da-account-header h1,
.dashboard-topbar h1,
.dashboard-card h2,
.backend-hero-card h2,
.dashboard-form-head h2,
.status-card h1,
.auth-card h1,
.setup-card h1 {
  font-family: var(--font-serif) !important;
  font-weight: 700;
  letter-spacing: -0.035em;
}

p,
li,
small,
label,
input,
textarea,
select,
button {
  font-family: var(--font-sans);
}

.site-shell {
  width: min(1320px, calc(100% - 64px));
  padding-top: 32px;
}

.topbar,
.storefront-body .topbar,
.editorial-topbar,
.footer,
.editorial-footer,
.status-card,
.lookup-card,
.purchase-card,
.result-card,
.empty-state,
.notice,
.info-panel,
.legal-card,
.support-contact-card,
.product-card,
.da-product-card,
.da-course-card,
.da-assessment-card,
.da-feature-assessment,
.da-founder-panel,
.da-stone-panel,
.da-hero-statement,
.customer-auth-card,
.da-account-header,
.da-account-panel,
.dashboard-card,
.backend-hero-card,
.dashboard-auth-card,
.discount-scope-main,
.discount-product-picker {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: var(--paper-card) !important;
  box-shadow: var(--shadow-soft) !important;
  backdrop-filter: none !important;
}

.topbar,
.storefront-body .topbar,
.editorial-topbar {
  align-items: center;
  padding: 18px 22px;
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: none !important;
}

.logo-mark {
  border-radius: 8px !important;
  background: var(--sage) !important;
  box-shadow: none !important;
}

.logo small,
.lead,
.da-abstract,
.da-section-head p,
.da-access p,
.detail-intro-card p,
.product-body p,
.customer-auth-card p,
.da-account-header p,
.footer p,
.footer a,
.footer span,
.dashboard-table-row,
.dashboard-list-row,
.dashboard-card p {
  color: var(--ink-soft) !important;
  line-height: 1.62;
}

.eyebrow,
.da-kicker,
.footer-eyebrow,
.dashboard-nav-label,
.dashboard-topbar .eyebrow,
.da-product-price,
.da-command-card span,
.da-stone-panel span,
.da-feature-aside span {
  color: var(--bronze) !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

.nav-links,
.topbar-account-links,
.mobile-menu-links,
.dashboard-nav {
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-dropdown summary,
.mobile-menu summary,
.topbar-account-links a,
.nav-links a,
.dashboard-nav a {
  border-radius: var(--radius-sm) !important;
}

.nav-dropdown-panel,
.mobile-menu-panel {
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-sm) !important;
  background: #fffdf8 !important;
  box-shadow: var(--shadow) !important;
}

.button,
.da-button,
button.button,
.book-menu summary,
.chip {
  min-height: 46px;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--line-strong) !important;
  background: #fffdf8 !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.button:hover,
.da-button:hover,
button.button:hover,
.button:focus-visible,
.da-button:focus-visible {
  transform: none !important;
  border-color: rgba(26, 47, 35, 0.55) !important;
  color: var(--sage) !important;
}

.button.primary,
.button.brass,
.da-button-primary,
button.button[type="submit"],
.book-menu[open] summary {
  background: var(--sage) !important;
  border-color: var(--sage) !important;
  color: #fffaf0 !important;
}

.button.secondary,
.da-button-light {
  background: transparent !important;
  color: var(--ink) !important;
}

.da-home-hero,
.product-detail-stage,
.customer-auth-card,
.da-account-header,
.legal-stage,
.support-stage,
.status-card,
.dashboard-auth-card {
  padding: clamp(42px, 6vw, 84px) !important;
}

.da-home-hero {
  min-height: auto !important;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.da-home-hero h1,
.detail-intro-card h1,
.customer-auth-card h1,
.da-account-header h1 {
  max-width: 920px;
  font-size: clamp(4.6rem, 9.5vw, 9.5rem) !important;
  line-height: 0.82 !important;
}

.da-abstract,
.detail-intro-card p,
.customer-auth-card p,
.da-account-header p {
  max-width: 760px;
  font-size: clamp(1.08rem, 1.6vw, 1.34rem) !important;
}

.da-actions,
.detail-actions,
.purchase-actions,
.inline-actions,
.topbar-actions {
  gap: 12px;
}

.da-hero-plate,
.da-command-grid,
.da-authority-strip,
.da-product-grid,
.da-course-grid,
.da-assessment-grid,
.da-trust-grid,
.footer-columns,
.da-account-overview,
.detail-proof-grid {
  gap: 18px !important;
}

.da-authority-strip,
.da-command-grid {
  border: 1px solid var(--line) !important;
  background: rgba(255, 253, 248, 0.62) !important;
}

.da-command-card,
.da-authority-strip span {
  border-color: var(--line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.da-section,
.da-access,
.da-founder-panel,
.da-trust-grid,
.product-section,
.detail-section,
.legal-card,
.support-contact-card {
  margin-top: 18px;
}

.da-section-head h2,
.da-access h2,
.product-section h2,
.detail-section h2,
.legal-card h1,
.support-contact-card h1,
.dashboard-topbar h1 {
  font-size: clamp(3.2rem, 6vw, 6.8rem) !important;
  line-height: 0.86 !important;
}

.da-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)) !important;
}

.da-product-card {
  overflow: hidden;
}

.da-cover-frame {
  border-radius: 0 !important;
  background: #eee8dc !important;
  box-shadow: none !important;
}

.da-cover-frame img,
.detail-media-card img,
.clean-detail-media img {
  object-fit: contain !important;
}

.da-product-copy,
.product-body,
.purchase-card,
.status-card,
.lookup-card,
.result-card,
.dashboard-card,
.backend-hero-card,
.legal-card,
.support-contact-card {
  padding: clamp(22px, 3vw, 38px) !important;
}

.green-card,
.newsletter-card,
.final-cta-card,
.da-studio,
.da-course-card {
  background: var(--sage) !important;
  color: #fffaf0 !important;
  border-radius: var(--radius) !important;
}

.green-card p,
.newsletter-card p,
.final-cta-card p,
.da-studio p,
.da-course-card p,
.da-studio .da-section-head p,
.da-course-card .da-product-price {
  color: rgba(255, 250, 240, 0.74) !important;
}

.green-card h2,
.green-card h3,
.newsletter-card h2,
.final-cta-card h2,
.da-studio h2,
.da-course-card h3 {
  color: #fffaf0 !important;
}

.footer.editorial-footer,
.storefront-body .footer.editorial-footer {
  align-items: start;
  margin-top: 48px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 0 !important;
  background: #12110f !important;
  color: #f6f0e6 !important;
}

.footer.editorial-footer .footer-brand strong {
  color: #f6f0e6 !important;
}

.footer.editorial-footer a,
.footer.editorial-footer span,
.footer.editorial-footer p {
  color: rgba(246, 240, 230, 0.68) !important;
}

input,
textarea,
select,
.field input,
.field textarea,
.field select {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--line-strong) !important;
  background: #fffdf8 !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

table,
.dashboard-table,
.dashboard-table-head,
.dashboard-table-row,
.dashboard-list-row {
  border-color: var(--line) !important;
}

body.dashboard-body .dashboard-shell {
  width: min(1600px, 100%);
  margin: 0 auto;
  grid-template-columns: 260px minmax(0, 1fr);
}

body.dashboard-body .dashboard-sidebar {
  border-radius: 0 !important;
  background: #111815 !important;
  box-shadow: none !important;
}

body.dashboard-body .dashboard-logo strong,
body.dashboard-body .dashboard-sidebar {
  color: #fffaf0;
}

body.dashboard-body .dashboard-nav a {
  min-height: 40px;
}

body.dashboard-body .dashboard-nav a.is-active,
body.dashboard-body .dashboard-nav a:hover {
  background: rgba(255, 250, 240, 0.1) !important;
  color: #fffaf0 !important;
}

body.dashboard-body .dashboard-content-wrap {
  padding: clamp(24px, 4vw, 54px);
}

body.dashboard-body .dashboard-topbar {
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

body.dashboard-body .dashboard-table-head,
body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row {
  border-radius: var(--radius-sm) !important;
  background: rgba(255, 253, 248, 0.76) !important;
}

.discount-scope-panel {
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr) !important;
}

.dashboard-checkbox-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 10px !important;
  max-height: 520px !important;
}

.dashboard-product-check,
.checkbox-field {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 54px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  background: rgba(255, 253, 248, 0.72) !important;
}

.dashboard-product-check input,
.checkbox-field input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
}

.dashboard-product-check span {
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
}

@media (max-width: 1100px) {
  .site-shell {
    width: min(100% - 28px, 1320px);
    padding-top: 18px;
  }

  .da-home-hero,
  .product-detail-stage,
  .da-founder-panel,
  .da-section-head,
  .da-section-head-split,
  .footer.editorial-footer,
  .storefront-body .footer.editorial-footer,
  .discount-scope-panel {
    grid-template-columns: 1fr !important;
  }

  .da-home-hero h1,
  .detail-intro-card h1,
  .customer-auth-card h1,
  .da-account-header h1 {
    font-size: clamp(3.8rem, 14vw, 6.8rem) !important;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1320px);
  }

  .topbar,
  .storefront-body .topbar,
  .editorial-topbar {
    padding: 14px 0;
  }

  .logo-mark {
    width: 42px !important;
    height: 42px !important;
  }

  .da-home-hero,
  .product-detail-stage,
  .customer-auth-card,
  .da-account-header,
  .legal-stage,
  .support-stage,
  .status-card,
  .dashboard-auth-card {
    padding: 28px 18px !important;
  }

  .da-actions .da-button,
  .button,
  .da-button,
  button.button {
    width: 100%;
  }

  .da-section-head h2,
  .da-access h2,
  .product-section h2,
  .detail-section h2,
  .legal-card h1,
  .support-contact-card h1,
  .dashboard-topbar h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem) !important;
  }

  body.dashboard-body .dashboard-content-wrap {
    padding: 18px 12px;
  }
}

/* Doktorinn Academy brand v3: black suit, white shirt, bronze detail. */
:root {
  --da-black: #030303;
  --da-suit: #101010;
  --da-charcoal: #151515;
  --da-shirt: #FFFFFF;
  --da-paper: #fbfaf6;
  --da-paper-deep: #ece7dc;
  --da-silver: #8c9198;
  --da-silver-light: #d8d7d1;
  --da-bronze: #8b6a3e;
  --da-wine: #2b0d0d;
  --paper: var(--da-shirt);
  --paper-deep: var(--da-paper-deep);
  --ink: #111111;
  --ink-soft: #5f646b;
  --sage: var(--da-suit);
  --gold: var(--da-bronze);
  --card: var(--da-paper);
  --line: rgba(3, 3, 3, 0.13);
  --line-strong: rgba(3, 3, 3, 0.28);
  --shadow: none;
  --radius: 0;
  --radius-sm: 0;
}

html,
body {
  background: var(--da-shirt) !important;
}

body,
body.dashboard-body,
body.dashboard-auth-body {
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif !important;
  color: var(--da-suit) !important;
  background: var(--da-shirt) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(3, 3, 3, 0.028) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.42;
  z-index: -1;
}

h1,
h2,
h3,
.logo strong,
.footer-brand strong,
.da-product-price,
.purchase-amount strong,
.proof-item strong,
.dashboard-card strong,
.dashboard-stat strong,
.dashboard-topbar h1,
.customer-auth-card h1,
.da-account-header h1,
.legal-card h1,
.support-contact-card h1 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
}

p,
li,
small,
label,
input,
textarea,
select,
button,
.button,
.da-button,
.nav-links,
.topbar-account-links,
.da-kicker,
.eyebrow,
.mini-meta,
.da-product-meta,
.footer-column,
.dashboard-nav,
.dashboard-table,
.dashboard-list-row,
.dashboard-product-check,
.field-error {
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif !important;
}

.da-kicker,
.eyebrow,
.footer-eyebrow,
.mobile-menu-label,
.da-authority-strip,
.da-product-meta,
.mini-meta span,
.da-product-price,
.dashboard-kicker,
.dashboard-table-head,
.dashboard-card > span,
.proof-item span {
  color: var(--da-bronze) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
}

*,
*::before,
*::after {
  border-radius: 0 !important;
  box-shadow: none !important;
}

[class] {
  background-image: none !important;
}

.page-glow,
.page-glow-a,
.page-glow-b {
  display: none !important;
}

.site-shell {
  width: min(1500px, calc(100% - 48px)) !important;
  padding: 0 0 56px !important;
}

.topbar,
.storefront-body .topbar,
.editorial-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  align-items: center !important;
  padding: 20px 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(3, 3, 3, 0.16) !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
}

.logo {
  gap: 16px !important;
}

.logo-mark {
  width: 54px !important;
  height: 54px !important;
  border-radius: 0 !important;
  border: 1px solid var(--da-bronze) !important;
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.35rem !important;
}

.logo-copy strong {
  color: var(--da-black) !important;
  font-size: 1.12rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.logo-copy small {
  color: var(--da-silver) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
}

.topbar-actions,
.topbar-account-links,
.nav-links {
  align-items: center !important;
}

.nav-links,
.topbar-account-links {
  gap: 0 !important;
  border: 1px solid rgba(3, 3, 3, 0.16) !important;
  background: var(--da-paper) !important;
}

.nav-links a,
.nav-links summary,
.topbar-account-links a {
  min-height: 48px !important;
  padding: 15px 20px !important;
  border-right: 1px solid rgba(3, 3, 3, 0.12) !important;
  color: var(--da-suit) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.nav-links a:hover,
.nav-links summary:hover,
.topbar-account-links a:hover,
.mobile-menu summary:hover {
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
}

.nav-dropdown-panel,
.mobile-menu-panel {
  border-radius: 0 !important;
  border: 1px solid rgba(3, 3, 3, 0.18) !important;
  background: var(--da-paper) !important;
}

.nav-dropdown summary::after,
.nav-dropdown summary::before {
  display: none !important;
}

.mobile-menu summary,
.da-button,
.button,
button.button,
.da-text-link,
.inline-actions .button {
  border-radius: 0 !important;
  border: 1px solid rgba(3, 3, 3, 0.22) !important;
  background: var(--da-paper) !important;
  color: var(--da-suit) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.da-button-primary,
.button:not(.secondary),
button.button:not(.secondary) {
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
  border-color: var(--da-black) !important;
}

.da-button:hover,
.button:hover,
.da-text-link:hover {
  border-color: var(--da-bronze) !important;
  color: var(--da-bronze) !important;
}

.da-button-primary:hover,
.button:not(.secondary):hover {
  background: var(--da-bronze) !important;
  border-color: var(--da-bronze) !important;
  color: var(--da-paper) !important;
}

.da-home-hero {
  min-height: 690px;
  margin-top: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr) !important;
  gap: 0 !important;
  padding: clamp(48px, 8vw, 104px) !important;
  border: 1px solid rgba(139, 106, 62, 0.42) !important;
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
}

.da-home-hero::after {
  display: none !important;
}

.da-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px !important;
}

.da-home-hero .da-kicker {
  margin-bottom: 52px !important;
}

.da-home-hero h1 {
  max-width: 820px;
  margin: 0 !important;
  color: var(--da-paper) !important;
  font-size: clamp(5rem, 10.8vw, 11.8rem) !important;
  line-height: 0.82 !important;
  letter-spacing: -0.055em !important;
}

.da-home-hero h1::after {
  content: "";
  display: block;
  width: min(520px, 72%);
  height: 1px;
  margin: 48px 0 0;
  background: var(--da-bronze);
}

.da-home-hero .da-abstract {
  max-width: 720px !important;
  margin-top: 36px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: clamp(1.04rem, 1.7vw, 1.35rem) !important;
  line-height: 1.65 !important;
}

.da-actions {
  gap: 12px !important;
  margin-top: 54px !important;
}

.da-hero-plate {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(110px, 1fr)) !important;
  gap: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(16, 16, 16, 0.82) !important;
}

.da-stone-panel,
.da-hero-statement {
  min-height: 150px !important;
  padding: 24px !important;
  border: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.da-stone-panel strong {
  color: var(--da-paper) !important;
  font-size: clamp(3.4rem, 5vw, 5.8rem) !important;
  line-height: 0.85 !important;
}

.da-stone-panel small,
.da-hero-statement p {
  color: rgba(255, 255, 255, 0.62) !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.da-hero-statement {
  grid-column: 1 / -1;
  min-height: auto !important;
  border-top: 1px solid rgba(139, 106, 62, 0.45) !important;
}

.da-authority-strip,
.da-command-grid,
.da-section,
.product-detail-stage,
.section-shell,
.da-founder-panel,
.da-trust-grid,
.customer-auth-card,
.da-account-header,
.status-card,
.lookup-card,
.legal-stage,
.support-stage,
.dashboard-auth-card {
  margin-top: 0 !important;
  border-radius: 0 !important;
  border: 1px solid rgba(3, 3, 3, 0.14) !important;
  background: var(--da-paper) !important;
}

.da-authority-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  padding: 0 !important;
}

.da-authority-strip span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 22px 28px;
  border-right: 1px solid rgba(3, 3, 3, 0.12);
  color: var(--da-silver) !important;
}

.da-command-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-top: 0 !important;
}

.da-command-card {
  min-height: 250px !important;
  padding: clamp(28px, 4vw, 52px) !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-right: 1px solid rgba(3, 3, 3, 0.14) !important;
  background: var(--da-paper) !important;
}

.da-command-card:hover {
  background: var(--da-suit) !important;
  color: var(--da-paper) !important;
}

.da-command-card span {
  color: var(--da-bronze) !important;
}

.da-command-card strong {
  max-width: 340px;
  display: block;
  margin-top: 66px;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2rem, 3.3vw, 4rem) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.035em !important;
}

.da-section {
  padding: clamp(50px, 7vw, 90px) !important;
}

.da-section-head,
.da-section-head-split {
  padding: 0 0 42px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(3, 3, 3, 0.14) !important;
}

.da-section-head h2,
.da-section-head-split h2,
.da-founder-panel h2,
.section-shell h2 {
  color: var(--da-black) !important;
  font-size: clamp(4.6rem, 8vw, 9rem) !important;
  line-height: 0.82 !important;
}

.da-section-head p,
.da-section-head-split p,
.section-shell p,
.detail-intro-card p,
.product-detail-subtitle,
.da-product-copy p {
  color: var(--da-silver) !important;
}

.da-library-head {
  display: block !important;
  text-align: left !important;
}

.da-library-head .da-kicker,
.da-library-head h2,
.da-library-head p {
  text-align: left !important;
}

.da-library-head h2 {
  margin-top: clamp(18px, 2.2vw, 30px) !important;
  margin-bottom: clamp(18px, 2.2vw, 28px) !important;
  color: var(--da-black) !important;
}

.da-library-head p:not(.da-kicker) {
  max-width: 760px !important;
}

.da-product-grid,
.product-grid,
.clean-shelf-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 0 !important;
  border-left: 1px solid rgba(3, 3, 3, 0.12);
  border-top: 1px solid rgba(3, 3, 3, 0.12);
}

.da-product-card,
.product-card,
.clean-book-card,
.da-assessment-card,
.da-course-card,
.proof-item,
.detail-proof-grid > *,
.dashboard-card,
.backend-hero-card,
.legal-card,
.support-contact-card,
.result-card,
.empty-state,
.notice,
.info-panel,
.feature-card,
.selling-point {
  border-radius: 0 !important;
  border: 0 !important;
  border-right: 1px solid rgba(3, 3, 3, 0.12) !important;
  border-bottom: 1px solid rgba(3, 3, 3, 0.12) !important;
  background: var(--da-paper) !important;
  color: var(--da-suit) !important;
  backdrop-filter: none !important;
}

.da-cover-frame,
.cover-link,
.clean-book-cover,
.detail-media-card,
.clean-detail-media,
.placeholder-cover,
.da-cover-placeholder {
  border-radius: 0 !important;
  border: 0 !important;
  background: var(--da-shirt) !important;
}

.da-cover-frame,
.cover-link,
.clean-book-cover {
  min-height: 420px !important;
  padding: 34px !important;
}

.da-cover-frame img,
.product-cover,
.detail-cover {
  filter: saturate(0.82) contrast(1.02);
}

.da-product-copy h3,
.product-card h3,
.da-assessment-card h3,
.da-course-card h3 {
  font-size: clamp(2.25rem, 3.2vw, 4rem) !important;
  line-height: 0.95 !important;
}

.da-product-price {
  color: var(--da-bronze) !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.18em !important;
}

.da-product-meta,
.mini-meta {
  gap: 0 !important;
}

.mini-meta span,
.da-product-meta span {
  border-radius: 0 !important;
  border: 1px solid rgba(3, 3, 3, 0.16) !important;
  background: transparent !important;
  color: var(--da-silver) !important;
}

.da-studio,
.da-course-grid,
.da-course-card,
.green-card,
.newsletter-card,
.final-cta-card {
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
}

.da-studio .da-section-head,
.da-studio .da-section-head p,
.da-studio h2,
.da-course-card h3,
.da-course-card p,
.da-course-card .da-product-price,
.green-card h2,
.green-card h3,
.green-card p,
.newsletter-card h2,
.newsletter-card p,
.final-cta-card h2,
.final-cta-card p {
  color: var(--da-paper) !important;
}

.da-course-grid,
.da-assessment-grid,
.da-trust-grid {
  gap: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.da-course-card {
  min-height: 300px !important;
  padding: clamp(32px, 4vw, 54px) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.da-feature-assessment {
  border-radius: 0 !important;
  border: 1px solid rgba(3, 3, 3, 0.18) !important;
  background: var(--da-suit) !important;
  color: var(--da-paper) !important;
}

.da-feature-assessment h3,
.da-feature-assessment p,
.da-feature-aside span {
  color: var(--da-paper) !important;
}

.product-detail-stage,
.clean-product-stage {
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr) !important;
  gap: 0 !important;
  padding: 0 !important;
}

.detail-media-card,
.clean-detail-media {
  padding: clamp(28px, 5vw, 64px) !important;
  border-right: 1px solid rgba(3, 3, 3, 0.14) !important;
}

.detail-main-stack {
  gap: 0 !important;
}

.detail-intro-card,
.premium-intro-card,
.clean-product-intro,
.purchase-card,
.clean-purchase-card,
.detail-proof-grid,
.study-studio-addon-card,
.related-products-section {
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(3, 3, 3, 0.14) !important;
  background: var(--da-paper) !important;
}

.detail-intro-card h1,
.premium-intro-card h1,
.clean-product-intro h1 {
  color: var(--da-black) !important;
  font-size: clamp(4.6rem, 8.2vw, 10rem) !important;
  line-height: 0.82 !important;
}

.purchase-card-head h2 {
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem) !important;
  letter-spacing: -0.04em !important;
}

.purchase-card,
.checkout-purchase-form,
.field,
.checkbox-field,
input,
textarea,
select,
.field input,
.field textarea,
.field select {
  border-radius: 0 !important;
}

input,
textarea,
select,
.field input,
.field textarea,
.field select {
  background: var(--da-paper) !important;
  border: 1px solid rgba(3, 3, 3, 0.22) !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid var(--da-bronze) !important;
  outline-offset: 0 !important;
}

.da-founder-panel,
.footer.editorial-footer,
.storefront-body .footer.editorial-footer {
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
  border-color: rgba(139, 106, 62, 0.42) !important;
}

.da-founder-panel {
  display: grid !important;
  grid-template-columns: 1fr 1fr auto !important;
  gap: clamp(26px, 5vw, 72px) !important;
  padding: clamp(54px, 8vw, 96px) !important;
}

.da-founder-panel h2,
.da-founder-panel p,
.footer.editorial-footer .footer-brand strong,
.footer.editorial-footer a,
.footer.editorial-footer span,
.footer.editorial-footer p {
  color: var(--da-paper) !important;
}

.da-founder-panel p,
.footer.editorial-footer a,
.footer.editorial-footer span,
.footer.editorial-footer p {
  color: rgba(255, 255, 255, 0.62) !important;
}

.footer.editorial-footer,
.storefront-body .footer.editorial-footer {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.55fr) !important;
  gap: clamp(30px, 6vw, 96px) !important;
  padding: clamp(42px, 6vw, 80px) !important;
  border-radius: 0 !important;
}

.footer-brand strong {
  font-size: clamp(2rem, 3.4vw, 4rem) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.footer-brand::after,
.logo-copy strong::after {
  content: "";
  display: block;
  width: 160px;
  height: 1px;
  margin-top: 12px;
  background: var(--da-bronze);
}

.footer-columns {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-column {
  padding-left: 28px !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.customer-auth-card,
.da-account-header,
.status-card,
.lookup-card,
.legal-card,
.support-contact-card,
.dashboard-auth-card {
  padding: clamp(42px, 7vw, 92px) !important;
}

.customer-auth-card h1,
.da-account-header h1,
.legal-card h1,
.support-contact-card h1 {
  color: var(--da-black) !important;
  font-size: clamp(4.8rem, 9vw, 10rem) !important;
  line-height: 0.82 !important;
}

.message-stack {
  margin: 20px 0 !important;
}

.flash,
.notice {
  border-radius: 0 !important;
  border: 1px solid rgba(139, 106, 62, 0.42) !important;
  background: var(--da-paper) !important;
  color: var(--da-suit) !important;
}

body.dashboard-body {
  background: var(--da-shirt) !important;
}

body.dashboard-body .dashboard-shell {
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
}

body.dashboard-body .dashboard-sidebar {
  border-radius: 0 !important;
  background: var(--da-black) !important;
  border-right: 1px solid rgba(139, 106, 62, 0.46) !important;
}

body.dashboard-body .dashboard-nav a,
body.dashboard-body .dashboard-logo small {
  color: rgba(255, 255, 255, 0.62) !important;
}

body.dashboard-body .dashboard-nav a.is-active,
body.dashboard-body .dashboard-nav a:hover {
  background: transparent !important;
  color: var(--da-paper) !important;
  border-left: 2px solid var(--da-bronze) !important;
}

body.dashboard-body .dashboard-content-wrap {
  background: var(--da-shirt) !important;
}

body.dashboard-body .dashboard-topbar {
  border-bottom: 1px solid rgba(3, 3, 3, 0.16) !important;
}

body.dashboard-body .dashboard-card,
body.dashboard-body .dashboard-table-head,
body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row,
body.dashboard-body .form-card,
body.dashboard-body .upload-card,
body.dashboard-body .discount-scope-panel {
  border-radius: 0 !important;
  border: 1px solid rgba(3, 3, 3, 0.14) !important;
  background: var(--da-paper) !important;
}

body.dashboard-body .dashboard-table-head,
body.dashboard-body .dashboard-table-row {
  display: grid;
  align-items: center;
}

.discount-scope-panel {
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr) !important;
  gap: 32px !important;
}

.dashboard-checkbox-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(3, 3, 3, 0.12) !important;
  border-left: 1px solid rgba(3, 3, 3, 0.12) !important;
}

.dashboard-product-check,
.checkbox-field {
  min-height: 58px !important;
  padding: 14px 16px !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-right: 1px solid rgba(3, 3, 3, 0.12) !important;
  border-bottom: 1px solid rgba(3, 3, 3, 0.12) !important;
  background: var(--da-paper) !important;
}

.dashboard-product-check input,
.checkbox-field input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  accent-color: var(--da-black);
}

@media (max-width: 1100px) {
  .site-shell {
    width: min(100% - 28px, 1500px) !important;
  }

  .da-home-hero,
  .product-detail-stage,
  .clean-product-stage,
  .da-founder-panel,
  .footer.editorial-footer,
  .storefront-body .footer.editorial-footer,
  .footer-columns,
  .discount-scope-panel {
    grid-template-columns: 1fr !important;
  }

  .da-home-hero::after {
    display: none !important;
  }

  .da-hero-plate,
  .da-authority-strip,
  .da-command-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1500px) !important;
  }

  .logo-copy small {
    display: none !important;
  }

  .da-home-hero {
    min-height: auto !important;
    padding: 34px 22px !important;
  }

  .da-home-hero h1,
  .detail-intro-card h1,
  .premium-intro-card h1,
  .customer-auth-card h1,
  .da-account-header h1 {
    font-size: clamp(4rem, 18vw, 6.2rem) !important;
  }

  .da-section,
  .da-founder-panel,
  .product-detail-stage,
  .clean-product-stage,
  .customer-auth-card,
  .da-account-header,
  .status-card,
  .lookup-card,
  .legal-card,
  .support-contact-card {
    padding: 28px 18px !important;
  }

  .footer.editorial-footer,
  .storefront-body .footer.editorial-footer {
    padding: 30px 20px !important;
  }
}

/* Final v3 enforcement. This sits last on purpose so older visual layers cannot leak through. */
*,
*::before,
*::after {
  border-radius: 0 !important;
  box-shadow: none !important;
}

[class],
[class]::before,
[class]::after {
  background-image: none !important;
}

.footer,
.editorial-footer,
.dashboard-card,
.product-detail-stage,
.clean-product-stage,
.da-home-hero,
.da-section,
.customer-auth-card,
.da-account-header,
.status-card,
.lookup-card,
.legal-card,
.support-contact-card {
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1500px) !important;
  }

  .topbar,
  .storefront-body .topbar,
  .editorial-topbar {
    min-height: 0 !important;
    padding: 14px 0 !important;
    gap: 14px !important;
  }

  .logo-mark {
    width: 44px !important;
    height: 44px !important;
  }

  .logo-copy strong {
    font-size: 0.96rem !important;
  }

  .logo-copy small {
    display: none !important;
  }

  .da-home-hero {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    padding: 34px 24px !important;
  }

  .da-home-hero h1 {
    font-size: clamp(4.6rem, 16vw, 7rem) !important;
    line-height: 0.86 !important;
  }

  .da-home-hero h1::after {
    margin-top: 30px !important;
    width: 72% !important;
  }

  .da-home-hero .da-abstract {
    margin-top: 24px !important;
    font-size: 1rem !important;
  }

  .da-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin-top: 30px !important;
  }

  .da-button,
  .button {
    width: 100% !important;
    justify-content: center !important;
  }

  .da-hero-plate {
    margin-top: 34px !important;
    grid-template-columns: 1fr !important;
  }

  .da-stone-panel,
  .da-hero-statement {
    min-height: 112px !important;
    padding: 20px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  }
}

/* Doktorinn Academy v3 subpage system.
   Source of truth: black suit, white shirt, bronze detail. */
:root {
  --da-black: #030303;
  --da-suit: #101010;
  --da-charcoal: #171717;
  --da-shirt: #FFFFFF;
  --da-paper: #fffdf8;
  --da-silver: #8f949c;
  --da-line: rgba(3, 3, 3, 0.16);
  --da-line-dark: rgba(255, 255, 255, 0.14);
  --da-bronze: #8b6a3e;
  --paper: var(--da-shirt);
  --card: var(--da-paper);
  --ink: var(--da-black);
  --ink-soft: #626873;
  --line: var(--da-line);
  --shadow: none;
  --radius: 0;
}

body.storefront-body,
body.dashboard-auth-body {
  background: var(--da-shirt) !important;
  color: var(--da-black) !important;
}

.storefront-body .site-shell,
.dashboard-auth-body .site-shell {
  width: min(100% - 52px, 1720px) !important;
  max-width: 1720px !important;
}

.topbar.editorial-topbar,
.storefront-body .topbar.editorial-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 30px 0 !important;
  margin: 0 0 clamp(44px, 6vw, 92px) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--da-line) !important;
  background: transparent !important;
}

.logo {
  align-items: center !important;
  gap: 20px !important;
}

.logo-mark {
  width: 66px !important;
  height: 66px !important;
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
  border: 1px solid var(--da-bronze) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.62rem !important;
  letter-spacing: 0.02em !important;
}

.logo-copy strong,
.footer-brand strong {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.logo-copy small,
.footer-brand p,
.section-note,
.lead,
.product-detail-subtitle,
.support-stage p,
.about-page-stage p,
.legal-stage p,
.da-account-header p,
.da-account-library p,
.status-card p,
.lookup-card p,
.customer-auth-copy p {
  color: #737983 !important;
}

.logo-copy strong::after,
.footer-brand::after {
  width: 190px !important;
  height: 1px !important;
  margin-top: 10px !important;
  background: var(--da-bronze) !important;
}

.topbar-actions {
  display: flex !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.nav-links,
.topbar-account-links {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  border: 1px solid var(--da-line) !important;
  background: var(--da-paper) !important;
}

.nav-links a,
.nav-links summary,
.topbar-account-links a,
.mobile-menu summary {
  min-height: 72px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 34px !important;
  border-right: 1px solid var(--da-line) !important;
  color: var(--da-black) !important;
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.nav-links a:last-child,
.topbar-account-links a:last-child {
  border-right: 0 !important;
}

.nav-links a:hover,
.nav-links summary:hover,
.topbar-account-links a:hover,
.mobile-menu summary:hover {
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
}

.nav-dropdown-panel,
.mobile-menu-panel {
  border: 1px solid var(--da-line) !important;
  background: var(--da-paper) !important;
  padding: 0 !important;
}

.nav-dropdown-panel a,
.mobile-menu-panel a {
  border-bottom: 1px solid var(--da-line) !important;
}

.button,
.da-button,
button.button,
.button.secondary,
.da-button-secondary {
  min-height: 56px !important;
  padding: 0 28px !important;
  border: 1px solid var(--da-line) !important;
  background: var(--da-paper) !important;
  color: var(--da-black) !important;
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.button:not(.secondary),
.da-button-primary {
  background: var(--da-black) !important;
  border-color: var(--da-black) !important;
  color: var(--da-paper) !important;
}

.button:hover,
.da-button:hover {
  border-color: var(--da-bronze) !important;
  color: var(--da-bronze) !important;
}

.button:not(.secondary):hover,
.da-button-primary:hover {
  background: var(--da-suit) !important;
  color: var(--da-paper) !important;
}

.eyebrow,
.da-kicker,
.panel-label,
.footer-eyebrow,
.product-price,
.da-product-price,
.mini-meta span,
.product-detail-stage .eyebrow,
.section-shell .eyebrow {
  color: var(--da-bronze) !important;
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
}

.product-detail-stage,
.clean-product-stage,
.section-shell,
.support-stage,
.about-page-stage,
.legal-stage,
.status-card,
.lookup-card,
.customer-auth-card,
.da-account-page,
.da-account-header,
.da-account-library,
.access-portal-shell,
.access-library-shell,
.assessment-stage,
.assessment-results-shell {
  background: var(--da-paper) !important;
  border: 1px solid var(--da-line) !important;
  color: var(--da-black) !important;
}

.product-detail-stage,
.clean-product-stage {
  display: grid !important;
  grid-template-columns: minmax(360px, 42%) minmax(0, 58%) !important;
  min-height: clamp(640px, 74vh, 960px) !important;
  margin-bottom: clamp(42px, 6vw, 88px) !important;
}

.detail-media-card,
.clean-detail-media {
  min-height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(44px, 6vw, 92px) !important;
  background: var(--da-paper) !important;
  border: 0 !important;
  border-right: 1px solid var(--da-line) !important;
}

.detail-cover {
  width: auto !important;
  max-width: min(100%, 560px) !important;
  max-height: min(76vh, 820px) !important;
  object-fit: contain !important;
  border: 1px solid rgba(3, 3, 3, 0.1) !important;
}

.placeholder-cover.large,
.placeholder-cover {
  width: 100% !important;
  min-height: 440px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 38px !important;
  border: 1px solid var(--da-line) !important;
  background: var(--da-shirt) !important;
}

.detail-main-stack,
.detail-main-stack-refined {
  display: grid !important;
  align-content: start !important;
  gap: 0 !important;
}

.detail-intro-card,
.premium-intro-card,
.clean-product-intro,
.purchase-card,
.clean-purchase-card,
.detail-proof-grid,
.clean-proof-grid,
.study-studio-addon-card,
.related-products-section {
  padding: clamp(42px, 5vw, 76px) !important;
  background: var(--da-paper) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--da-line) !important;
}

.detail-intro-card h1,
.premium-intro-card h1,
.clean-product-intro h1,
.section-shell-head h1,
.support-stage h1,
.about-page-stage h1,
.legal-stage h1,
.status-card h1,
.lookup-card h1,
.customer-auth-card h1,
.da-account-header h1 {
  color: var(--da-black) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.065em !important;
  line-height: 0.82 !important;
}

.detail-intro-card h1,
.premium-intro-card h1,
.clean-product-intro h1 {
  max-width: 980px !important;
  font-size: clamp(4.8rem, 8.4vw, 10.5rem) !important;
}

.section-shell-head h1,
.support-stage h1,
.about-page-stage h1,
.legal-stage h1,
.status-card h1,
.lookup-card h1,
.customer-auth-card h1,
.da-account-header h1 {
  font-size: clamp(4.4rem, 8vw, 9.4rem) !important;
}

.section-shell-head h2,
.section-shell h2,
.purchase-card h2,
.da-account-section-head h2,
.support-path-card h2,
.support-contact-panel h2,
.support-business-panel h2,
.legal-card h2 {
  color: var(--da-black) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2.2rem, 4.6vw, 5.2rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.045em !important;
  line-height: 0.9 !important;
}

.purchase-card-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 28px !important;
  align-items: end !important;
  padding: 0 0 30px !important;
  border-bottom: 1px solid var(--da-line) !important;
}

.purchase-amount strong {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2.6rem, 5vw, 5.8rem) !important;
  font-weight: 600 !important;
  line-height: 0.9 !important;
}

.checkout-purchase-form,
.customer-auth-form,
.dashboard-form,
.compact-repair-form {
  display: grid !important;
  gap: 20px !important;
}

.field,
.field-block,
.checkbox-field {
  display: grid !important;
  gap: 9px !important;
}

.field label,
.field-block label,
.checkbox-field label {
  color: var(--da-black) !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

input,
textarea,
select,
.field input,
.field textarea,
.field select {
  min-height: 56px !important;
  padding: 14px 16px !important;
  background: var(--da-paper) !important;
  border: 1px solid var(--da-line) !important;
  color: var(--da-black) !important;
}

.mini-meta,
.premium-detail-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
}

.mini-meta span,
.premium-detail-meta span {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  border: 1px solid var(--da-line) !important;
  border-right: 0 !important;
  background: transparent !important;
}

.mini-meta span:last-child,
.premium-detail-meta span:last-child {
  border-right: 1px solid var(--da-line) !important;
}

.detail-proof-grid,
.clean-proof-grid,
.info-grid,
.support-path-grid,
.support-detail-grid,
.da-account-overview,
.customer-owned-grid,
.product-grid,
.clean-shelf-grid {
  gap: 0 !important;
  border-left: 1px solid var(--da-line) !important;
  border-top: 1px solid var(--da-line) !important;
}

.proof-item,
.info-panel,
.support-path-card,
.support-detail-card,
.support-contact-panel,
.da-account-overview article,
.product-card,
.clean-book-card,
.owned-access-card,
.download-card,
.customer-next-steps article,
.legal-card,
.support-business-panel,
.customer-auth-form-panel,
.da-empty-account {
  background: var(--da-paper) !important;
  border: 0 !important;
  border-right: 1px solid var(--da-line) !important;
  border-bottom: 1px solid var(--da-line) !important;
  padding: clamp(26px, 3vw, 44px) !important;
}

.product-card,
.clean-book-card {
  display: grid !important;
  align-content: start !important;
}

.cover-link,
.clean-book-cover {
  min-height: 440px !important;
  padding: 34px !important;
  background: var(--da-paper) !important;
  border-bottom: 1px solid var(--da-line) !important;
}

.product-cover {
  max-height: 540px !important;
  object-fit: contain !important;
}

.section-shell,
.support-stage,
.about-page-stage,
.legal-stage,
.access-portal-shell,
.access-library-shell,
.related-products-section,
.study-studio-addon-card {
  padding: clamp(44px, 6vw, 90px) !important;
  margin-bottom: clamp(42px, 6vw, 88px) !important;
}

.section-shell-head,
.support-hero-head,
.da-account-header,
.customer-auth-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr) !important;
  gap: clamp(32px, 7vw, 120px) !important;
  align-items: end !important;
  padding-bottom: clamp(30px, 4vw, 56px) !important;
  border-bottom: 1px solid var(--da-line) !important;
}

.customer-auth-card {
  padding: clamp(44px, 7vw, 104px) !important;
}

.customer-auth-form-panel {
  align-self: stretch !important;
  border-left: 1px solid var(--da-line) !important;
}

.support-business-panel,
.support-detail-grid,
.support-path-grid,
.da-account-overview,
.da-account-library {
  margin-top: clamp(34px, 5vw, 70px) !important;
}

.status-card,
.lookup-card {
  padding: clamp(44px, 7vw, 104px) !important;
}

.download-card,
.download-card-prominent {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 24px !important;
  align-items: center !important;
  margin-top: 30px !important;
}

.notice,
.flash {
  background: var(--da-paper) !important;
  border: 1px solid rgba(139, 106, 62, 0.42) !important;
  color: var(--da-black) !important;
  padding: 18px 20px !important;
}

.footer.editorial-footer,
.storefront-body .footer.editorial-footer {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.8fr) !important;
  gap: clamp(40px, 7vw, 120px) !important;
  margin-top: clamp(70px, 9vw, 130px) !important;
  padding: clamp(46px, 6vw, 82px) !important;
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
  border: 1px solid rgba(139, 106, 62, 0.45) !important;
}

.footer-columns {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-left: 1px solid var(--da-line-dark) !important;
}

.footer-column {
  display: grid !important;
  align-content: start !important;
  gap: 14px !important;
  padding: 0 24px !important;
  border-right: 1px solid var(--da-line-dark) !important;
}

.footer.editorial-footer a,
.footer.editorial-footer span,
.footer.editorial-footer p {
  color: rgba(255, 255, 255, 0.68) !important;
}

.footer.editorial-footer a:hover {
  color: var(--da-bronze) !important;
}

.da-account-page {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.da-account-header,
.da-account-library {
  background: var(--da-paper) !important;
  border: 1px solid var(--da-line) !important;
  padding: clamp(44px, 6vw, 92px) !important;
}

.da-account-overview {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.da-account-overview article strong,
.proof-item strong,
.info-panel strong {
  color: var(--da-black) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2.4rem, 4vw, 4.8rem) !important;
  line-height: 0.9 !important;
}

.section-shell-dark,
.da-founder-panel,
.green-card,
.newsletter-card,
.final-cta-card {
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
  border: 1px solid rgba(139, 106, 62, 0.42) !important;
}

.section-shell-dark h1,
.section-shell-dark h2,
.section-shell-dark h3,
.da-founder-panel h2,
.green-card h2,
.green-card h3,
.newsletter-card h2,
.final-cta-card h2 {
  color: var(--da-paper) !important;
}

.section-shell-dark p,
.da-founder-panel p,
.green-card p,
.newsletter-card p,
.final-cta-card p {
  color: rgba(255, 255, 255, 0.68) !important;
}

body.dashboard-body .dashboard-shell {
  background: var(--da-shirt) !important;
}

body.dashboard-body .dashboard-sidebar {
  background: var(--da-black) !important;
  border-right: 1px solid rgba(139, 106, 62, 0.45) !important;
}

body.dashboard-body .dashboard-content-wrap,
body.dashboard-body .dashboard-card,
body.dashboard-body .form-card,
body.dashboard-body .upload-card,
body.dashboard-body .dashboard-table-head,
body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row,
body.dashboard-body .discount-scope-panel {
  background: var(--da-paper) !important;
  border-color: var(--da-line) !important;
}

body.dashboard-body .dashboard-card,
body.dashboard-body .form-card,
body.dashboard-body .upload-card,
body.dashboard-body .dashboard-table-head,
body.dashboard-body .dashboard-table-row,
body.dashboard-body .dashboard-list-row,
body.dashboard-body .discount-scope-panel {
  border: 1px solid var(--da-line) !important;
}

@media (max-width: 1100px) {
  .storefront-body .site-shell,
  .dashboard-auth-body .site-shell {
    width: min(100% - 28px, 1720px) !important;
  }

  .topbar.editorial-topbar,
  .topbar-actions {
    align-items: flex-start !important;
  }

  .topbar-actions,
  .nav-links,
  .topbar-account-links {
    display: none !important;
  }

  .mobile-menu {
    display: block !important;
  }

  .mobile-menu summary {
    min-height: 54px !important;
    border: 1px solid var(--da-line) !important;
    background: var(--da-paper) !important;
  }

  .product-detail-stage,
  .clean-product-stage,
  .section-shell-head,
  .support-hero-head,
  .da-account-header,
  .customer-auth-card,
  .footer.editorial-footer,
  .storefront-body .footer.editorial-footer,
  .footer-columns,
  .download-card,
  .download-card-prominent {
    grid-template-columns: 1fr !important;
  }

  .detail-media-card,
  .clean-detail-media,
  .customer-auth-form-panel {
    border-right: 0 !important;
    border-left: 0 !important;
    border-bottom: 1px solid var(--da-line) !important;
  }

  .footer-column {
    padding: 22px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--da-line-dark) !important;
  }

  .da-account-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .storefront-body .site-shell,
  .dashboard-auth-body .site-shell {
    width: min(100% - 18px, 1720px) !important;
  }

  .topbar.editorial-topbar,
  .storefront-body .topbar.editorial-topbar {
    margin-bottom: 34px !important;
  }

  .logo {
    gap: 12px !important;
  }

  .logo-mark {
    width: 52px !important;
    height: 52px !important;
  }

  .logo-copy strong {
    font-size: 1rem !important;
  }

  .product-detail-stage,
  .clean-product-stage {
    min-height: 0 !important;
  }

  .detail-media-card,
  .clean-detail-media,
  .detail-intro-card,
  .premium-intro-card,
  .clean-product-intro,
  .purchase-card,
  .clean-purchase-card,
  .section-shell,
  .support-stage,
  .about-page-stage,
  .legal-stage,
  .status-card,
  .lookup-card,
  .customer-auth-card,
  .da-account-header,
  .da-account-library {
    padding: 26px 18px !important;
  }

  .detail-intro-card h1,
  .premium-intro-card h1,
  .clean-product-intro h1,
  .section-shell-head h1,
  .support-stage h1,
  .about-page-stage h1,
  .legal-stage h1,
  .status-card h1,
  .lookup-card h1,
  .customer-auth-card h1,
  .da-account-header h1 {
    font-size: clamp(3.8rem, 18vw, 6.4rem) !important;
  }

  .purchase-card-head,
  .da-account-overview {
    grid-template-columns: 1fr !important;
  }

  .cover-link,
  .clean-book-cover {
    min-height: 330px !important;
  }
}

/* V3 typography safety pass: preserve the editorial scale without collisions. */
.section-shell-head,
.support-hero-head,
.da-account-header,
.customer-auth-card {
  align-items: start !important;
}

.section-shell-head > div,
.support-hero-head > div,
.da-account-header > div,
.customer-auth-copy {
  min-width: 0 !important;
}

.section-shell-head h1,
.support-stage h1,
.about-page-stage h1,
.legal-stage h1,
.status-card h1,
.lookup-card h1,
.customer-auth-card h1,
.da-account-header h1 {
  max-width: 11ch !important;
  margin: 0.14em 0 0 !important;
  line-height: 0.96 !important;
  letter-spacing: -0.045em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.access-portal-shell .section-shell-head h1,
.lookup-card h1,
.status-card h1 {
  font-size: clamp(3.6rem, 6.2vw, 7rem) !important;
  line-height: 1 !important;
  max-width: 12ch !important;
}

.access-portal-shell .section-shell-head {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
  row-gap: 28px !important;
}

.access-portal-shell .section-note {
  align-self: center !important;
  max-width: 36rem !important;
  margin-top: 0 !important;
  font-size: clamp(1.1rem, 2vw, 1.55rem) !important;
  line-height: 1.55 !important;
}

.access-portal-shell .section-shell-head .inline-actions,
.access-portal-shell .section-shell-head + .inline-actions {
  align-self: center !important;
}

.access-portal-shell .button,
.access-portal-shell .da-button {
  white-space: nowrap !important;
}

@media (max-width: 1100px) {
  .access-portal-shell .section-shell-head {
    grid-template-columns: 1fr !important;
  }

  .section-shell-head h1,
  .support-stage h1,
  .about-page-stage h1,
  .legal-stage h1,
  .status-card h1,
  .lookup-card h1,
  .customer-auth-card h1,
  .da-account-header h1 {
    max-width: 100% !important;
  }
}

@media (max-width: 680px) {
  .section-shell-head h1,
  .support-stage h1,
  .about-page-stage h1,
  .legal-stage h1,
  .status-card h1,
  .lookup-card h1,
  .customer-auth-card h1,
  .da-account-header h1,
  .access-portal-shell .section-shell-head h1 {
    font-size: clamp(3.1rem, 15vw, 4.8rem) !important;
    line-height: 1 !important;
  }
}

/* V3 homepage hero containment: keep the masthead inside its architectural column. */
.da-home-hero {
  grid-template-columns: minmax(0, 1fr) !important;
  overflow: hidden !important;
}

.da-hero-copy {
  min-width: 0 !important;
  max-width: 100% !important;
  padding-right: 0 !important;
}

.da-home-hero h1,
.da-hero-copy h1 {
  width: 100% !important;
  max-width: 100% !important;
  font-size: clamp(5.4rem, 7.7vw, 10rem) !important;
  line-height: 0.86 !important;
  letter-spacing: -0.052em !important;
}

.da-home-hero h1 span,
.da-hero-copy h1 span {
  display: block !important;
  white-space: nowrap !important;
}

.da-hero-plate {
  min-width: 0 !important;
  align-self: stretch !important;
  position: relative !important;
  z-index: 4 !important;
  background: var(--da-suit) !important;
}

.da-stone-panel,
.da-hero-statement {
  min-width: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 1320px) {
  .da-home-hero {
    grid-template-columns: 1fr !important;
  }

  .da-home-hero h1,
  .da-hero-copy h1 {
    font-size: clamp(5rem, 12vw, 8.8rem) !important;
  }

  .da-hero-plate {
    align-self: auto !important;
  }
}

@media (max-width: 680px) {
  .da-home-hero {
    padding: 32px 20px !important;
  }

  .da-home-hero h1,
  .da-hero-copy h1 {
    font-size: clamp(3.6rem, 16vw, 5.4rem) !important;
    line-height: 0.93 !important;
    letter-spacing: -0.04em !important;
  }
}

/* Doktorinn Academy Thinker mark: final brand seal override. */
.logo-mark.logo-mark-image,
.dashboard-logo .logo-mark.logo-mark-image {
  display: inline-grid !important;
  place-items: center !important;
  overflow: hidden !important;
  padding: 8px !important;
  color: transparent !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(139, 106, 62, 0.72) !important;
  box-shadow: none !important;
}

.logo-mark.logo-mark-image img,
.dashboard-logo .logo-mark.logo-mark-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.editorial-topbar .logo-mark.logo-mark-image {
  width: 76px !important;
  height: 76px !important;
  flex: 0 0 76px !important;
}

.dashboard-logo .logo-mark.logo-mark-image {
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px !important;
}

@media (max-width: 760px) {
  .editorial-topbar .logo-mark.logo-mark-image {
    width: 56px !important;
    height: 56px !important;
    flex-basis: 56px !important;
  }
}

/* Tom Ford-inspired masthead: flat, typographic, brand left and navigation right. */
.storefront-body .site-shell {
  width: 100% !important;
  padding-top: 0 !important;
}

.storefront-body .topbar.editorial-topbar {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: clamp(28px, 6vw, 96px) !important;
  width: 100% !important;
  min-height: 126px !important;
  margin: 0 !important;
  padding: 30px clamp(30px, 5vw, 76px) 26px !important;
  background: #fbfaf6 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(3, 3, 3, 0.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.storefront-body .topbar.editorial-topbar::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background: #3a3936;
  z-index: 20;
}

.storefront-body .topbar .logo {
  flex: 0 0 auto !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, auto) !important;
  align-items: center !important;
  gap: 22px !important;
  padding: 0 !important;
  border: 0 !important;
}

.storefront-body .topbar .logo-copy strong {
  display: block !important;
  color: #030303 !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(1.6rem, 2.2vw, 2.35rem) !important;
  font-weight: 700 !important;
  line-height: 0.92 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

.storefront-body .topbar .logo-copy small {
  display: block !important;
  margin-top: 12px !important;
  color: #6b6f77 !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

.storefront-body .topbar-actions {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(24px, 3vw, 46px) !important;
  min-width: 0 !important;
}

.storefront-body .nav-links,
.storefront-body .topbar-account-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.storefront-body .nav-links a,
.storefront-body .topbar-account-links a,
.storefront-body .nav-dropdown > summary {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #5d5d5b !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: clamp(0.92rem, 1.25vw, 1.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.storefront-body .nav-dropdown {
  position: relative !important;
}

.storefront-body .nav-dropdown > summary {
  list-style: none !important;
}

.storefront-body .nav-dropdown > summary::-webkit-details-marker {
  display: none !important;
}

.storefront-body .nav-dropdown-panel {
  position: absolute !important;
  top: calc(100% + 18px) !important;
  right: 0 !important;
  z-index: 40 !important;
  display: grid !important;
  min-width: 220px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(3, 3, 3, 0.16) !important;
  background: #fbfaf6 !important;
  box-shadow: none !important;
}

.storefront-body .nav-dropdown-panel a {
  justify-content: flex-start !important;
  padding: 10px 0 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em !important;
}

.storefront-body .nav-links a::before,
.storefront-body .nav-links a::after,
.storefront-body .topbar-account-links a::before,
.storefront-body .topbar-account-links a::after {
  content: none !important;
  display: none !important;
}

.storefront-body .nav-links a:hover,
.storefront-body .nav-links a:focus-visible,
.storefront-body .topbar-account-links a:hover,
.storefront-body .topbar-account-links a:focus-visible,
.storefront-body .nav-dropdown > summary:hover,
.storefront-body .nav-dropdown > summary:focus-visible {
  color: #030303 !important;
  text-decoration: none !important;
}

.storefront-body main {
  padding-top: 0 !important;
}

@media (max-width: 980px) {
  .storefront-body .topbar.editorial-topbar {
    align-items: flex-start !important;
    min-height: 0 !important;
    padding: 28px 20px 18px !important;
  }

  .storefront-body .topbar-actions {
    display: none !important;
  }
}

/* Final masthead containment: page content must never scroll visually through the header. */
.topbar.editorial-topbar,
.storefront-body .topbar.editorial-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 500 !important;
  isolation: isolate !important;
  background: var(--da-shirt) !important;
}

.topbar.editorial-topbar::before,
.storefront-body .topbar.editorial-topbar::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 -100vw !important;
  z-index: -1 !important;
  background: var(--da-shirt) !important;
  border-bottom: 1px solid var(--da-line) !important;
}

.storefront-body main {
  position: relative !important;
  z-index: 1 !important;
}

.da-home-hero {
  position: relative !important;
  z-index: 1 !important;
}

/* Final compact rhythm pass: keep the site premium without dead vertical space. */
.storefront-body main,
.dashboard-auth-body main {
  gap: clamp(14px, 2vw, 28px) !important;
}

.da-home-hero {
  min-height: 0 !important;
  padding: clamp(28px, 4vw, 52px) !important;
  align-items: end !important;
}

.da-home-hero .da-kicker {
  margin-bottom: clamp(14px, 2vw, 22px) !important;
}

.da-home-hero h1::after {
  margin-top: clamp(18px, 2.4vw, 28px) !important;
}

.da-home-hero .da-abstract {
  margin-top: clamp(14px, 2vw, 22px) !important;
  max-width: 620px !important;
}

.da-actions {
  margin-top: clamp(18px, 2.8vw, 30px) !important;
}

.da-stone-panel,
.da-hero-statement {
  min-height: 76px !important;
  padding: clamp(14px, 2vw, 18px) !important;
}

.da-command-grid {
  min-height: 0 !important;
}

.da-command-card {
  min-height: 104px !important;
  padding: clamp(18px, 2.4vw, 26px) !important;
}

.da-command-card strong {
  margin-top: clamp(12px, 1.6vw, 20px) !important;
  font-size: clamp(1.35rem, 1.8vw, 2rem) !important;
  line-height: 1 !important;
}

.da-section {
  padding: clamp(24px, 3.6vw, 46px) !important;
}

.da-section-head,
.da-section-head-split {
  padding-bottom: clamp(14px, 2.2vw, 24px) !important;
  gap: clamp(12px, 2vw, 20px) !important;
}

.da-section-head h2,
.da-section-head-split h2 {
  font-size: clamp(3.6rem, 6vw, 7rem) !important;
  line-height: 0.88 !important;
}

.da-product-grid,
.da-course-grid,
.da-assessment-grid,
.da-trust-grid {
  margin-top: 0 !important;
}

.da-cover-frame,
.cover-link,
.clean-book-cover {
  min-height: clamp(250px, 28vw, 330px) !important;
  padding: clamp(16px, 2.3vw, 24px) !important;
}

.da-product-copy,
.product-card-content,
.clean-book-copy {
  padding: clamp(16px, 2.4vw, 24px) !important;
}

.da-product-copy h3,
.product-card h3,
.da-assessment-card h3,
.da-course-card h3 {
  font-size: clamp(1.9rem, 2.5vw, 3rem) !important;
}

.da-course-card,
.da-assessment-card,
.da-trust-grid article {
  min-height: 0 !important;
  padding: clamp(18px, 2.6vw, 30px) !important;
}

.da-feature-assessment,
.da-access,
.da-founder-panel {
  padding: clamp(22px, 3.2vw, 40px) !important;
}

.da-founder-panel,
.da-trust-grid,
.da-access {
  margin-top: 0 !important;
}

.footer.editorial-footer,
.storefront-body .footer.editorial-footer {
  margin-top: clamp(22px, 3.4vw, 42px) !important;
  padding: clamp(26px, 4vw, 48px) !important;
}

@media (max-width: 900px) {
  .da-command-grid,
  .da-product-grid,
  .da-course-grid,
  .da-assessment-grid,
  .da-trust-grid {
    grid-template-columns: 1fr !important;
  }

  .da-home-hero,
  .da-section,
  .da-feature-assessment,
  .da-access,
  .da-founder-panel {
    padding: 28px 20px !important;
  }

  .da-command-card {
    min-height: 104px !important;
  }
}

/* Borderless brand mark: let the Thinker logo sit on the page without a tile frame. */
.logo-mark.logo-mark-image,
.dashboard-logo .logo-mark.logo-mark-image {
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.logo-mark.logo-mark-image img,
.dashboard-logo .logo-mark.logo-mark-image img {
  object-fit: contain !important;
}

/* Doktorinn Academy V3: black suit, white shirt, bronze restraint. */
:root {
  --da-black: #000000;
  --da-suit: #101010;
  --da-charcoal: #181818;
  --da-shirt: #FFFFFF;
  --da-paper: #FFFFFF;
  --da-silver: #b8b4ad;
  --da-bronze: #9a6a32;
  --da-ink: #0d0f15;
  --da-border-dark: rgba(255, 255, 255, 0.12);
  --da-border-light: rgba(0, 0, 0, 0.14);
  --da-serif: "Cormorant Garamond", Georgia, serif;
  --da-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

.storefront-body,
.dashboard-auth-body {
  background: var(--da-shirt) !important;
  color: var(--da-ink);
  font-family: var(--da-sans);
}

.storefront-body main,
.dashboard-auth-body main {
  gap: clamp(18px, 2.4vw, 38px) !important;
}

.site-shell {
  width: min(1560px, calc(100% - clamp(28px, 4vw, 64px)));
  margin: 0 auto;
}

.site-announcement {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--da-black);
  color: var(--da-silver);
  border-bottom: 1px solid var(--da-bronze);
  font-family: var(--da-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.38em;
  line-height: 1;
  text-transform: uppercase;
}

.topbar.editorial-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 48px);
  min-height: 108px;
  padding: 18px 0 22px;
  border: 0;
  border-bottom: 1px solid var(--da-border-light);
  background: var(--da-shirt);
  box-shadow: none;
  position: relative;
  z-index: 20;
}

.logo {
  gap: 18px;
  align-items: center;
  color: var(--da-black);
  text-decoration: none;
}

.logo-mark.logo-mark-image {
  width: 78px;
  height: 78px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.logo-copy strong {
  display: block;
  font-family: var(--da-serif);
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 0.95;
  text-transform: uppercase;
}

.logo-copy small {
  display: block;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--da-bronze);
  color: #6b6c73;
  font-family: var(--da-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.topbar-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}

.nav-links,
.topbar-account-links {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--da-border-light);
  background: var(--da-paper);
}

.nav-links a,
.topbar-account-links a,
.mobile-menu summary {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 0 clamp(18px, 2vw, 34px);
  border-radius: 0 !important;
  color: var(--da-black);
  font-family: var(--da-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-links a + a,
.topbar-account-links a + a {
  border-left: 1px solid var(--da-border-light);
}

.nav-links a:hover,
.topbar-account-links a:hover,
.mobile-menu summary:hover {
  background: var(--da-black);
  color: var(--da-paper);
}

.mobile-menu,
.mobile-menu-panel {
  border-radius: 0 !important;
}

.mobile-menu-panel {
  border-color: var(--da-border-light);
  background: var(--da-paper);
}

.da-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0 !important;
  padding: clamp(54px, 6vw, 96px) clamp(40px, 6vw, 96px) !important;
  border: 1px solid var(--da-border-dark) !important;
  border-radius: 0 !important;
  background: var(--da-black) !important;
  color: var(--da-paper);
  box-shadow: none !important;
}

.da-kicker,
.footer-eyebrow,
.da-product-price,
.da-command-card span,
.da-trust-grid span,
.mobile-menu-label {
  color: var(--da-bronze) !important;
  font-family: var(--da-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-transform: uppercase;
}

.da-home-hero h1 {
  max-width: 980px;
  margin: 22px 0 0;
  color: var(--da-paper);
  font-family: var(--da-serif);
  font-size: clamp(4.6rem, 10vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.78;
}

.da-home-hero h1 span {
  display: block;
}

.da-abstract {
  max-width: 760px;
  margin: clamp(26px, 3vw, 44px) 0 0;
  color: var(--da-paper) !important;
  font-family: var(--da-serif);
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.da-hero-line {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--da-silver);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.da-actions {
  gap: 12px;
  margin-top: clamp(24px, 3vw, 42px);
}

.da-button,
.button,
.btn,
button,
input[type="submit"] {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.da-button,
.button,
.btn {
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--da-border-light);
  background: var(--da-paper);
  color: var(--da-black);
  font-family: var(--da-sans);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.da-button-primary,
.checkout-button,
.primary-button {
  border-color: var(--da-black) !important;
  background: var(--da-black) !important;
  color: var(--da-paper) !important;
}

.da-home-hero .da-button {
  border-color: var(--da-border-dark);
  background: transparent;
  color: var(--da-paper);
}

.da-home-hero .da-button-primary {
  border-color: var(--da-paper) !important;
  background: var(--da-paper) !important;
  color: var(--da-black) !important;
}

.da-button:hover,
.button:hover,
.btn:hover {
  border-color: var(--da-bronze);
  color: var(--da-bronze);
  transform: none !important;
}

.da-command-grid,
.da-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--da-border-light);
  background: var(--da-paper);
}

.da-command-card,
.da-trust-grid article {
  min-height: 170px;
  padding: clamp(24px, 3vw, 42px);
  border: 0;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
}

.da-command-card + .da-command-card,
.da-trust-grid article + article {
  border-left: 1px solid var(--da-border-light);
}

.da-command-card strong,
.da-trust-grid strong {
  display: block;
  max-width: 420px;
  margin-top: 24px;
  color: var(--da-black);
  font-family: var(--da-serif);
  font-size: clamp(1.8rem, 2.7vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.da-section,
.da-founder-panel,
.da-access {
  padding: clamp(38px, 5vw, 72px) !important;
  border: 1px solid var(--da-border-light) !important;
  border-radius: 0 !important;
  background: var(--da-paper) !important;
  box-shadow: none !important;
}

.da-section-head,
.da-section-head-split,
.da-library-head {
  margin-bottom: clamp(26px, 4vw, 54px);
  padding: 0 !important;
  border: 0 !important;
}

.da-section h2,
.da-founder-panel h2,
.da-access h2 {
  margin: 10px 0 0;
  color: var(--da-black);
  font-family: var(--da-serif);
  font-size: clamp(4rem, 7vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.da-section-head p,
.da-founder-panel p,
.da-access p,
.da-product-copy p,
.da-trust-grid p {
  color: #676a73;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.55;
}

.da-product-grid,
.da-assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  border-top: 1px solid var(--da-border-light);
  border-left: 1px solid var(--da-border-light);
}

.da-product-card,
.da-assessment-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(20px, 2.5vw, 34px);
  border: 0;
  border-right: 1px solid var(--da-border-light);
  border-bottom: 1px solid var(--da-border-light);
  border-radius: 0 !important;
  background: var(--da-paper) !important;
  box-shadow: none !important;
}

.da-cover-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(260px, 32vw, 500px);
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.da-cover-frame img {
  max-height: clamp(240px, 30vw, 480px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.da-cover-placeholder {
  border-radius: 0 !important;
  border-color: var(--da-border-light);
  background: var(--da-shirt);
}

.da-product-copy h3,
.da-assessment-card h3,
.da-feature-assessment h3 {
  margin: 10px 0 0;
  color: var(--da-black);
  font-family: var(--da-serif);
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.da-product-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.da-text-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 22px;
  color: var(--da-black);
  font-family: var(--da-sans);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.da-text-link:hover {
  color: var(--da-bronze);
}

.da-studio {
  background: var(--da-black) !important;
  color: var(--da-paper);
}

.da-studio h2,
.da-studio p {
  color: var(--da-paper) !important;
}

.da-studio .da-button {
  width: min(100%, 520px);
  border-color: var(--da-paper);
  background: var(--da-paper);
  color: var(--da-black);
}

.da-feature-assessment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--da-border-light);
  border-radius: 0 !important;
  background: var(--da-paper);
  box-shadow: none;
}

.da-feature-aside span,
.da-assessment-card span {
  display: block;
  color: var(--da-bronze);
  font-family: var(--da-sans);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.da-founder-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.da-trust-grid {
  background: var(--da-black);
  border-color: var(--da-border-dark);
}

.da-trust-grid article + article {
  border-left-color: var(--da-border-dark);
}

.da-trust-grid strong {
  color: var(--da-paper);
}

.da-trust-grid p {
  color: var(--da-silver);
}

.da-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 64px);
  align-items: end;
}

.footer.editorial-footer {
  margin-top: clamp(24px, 4vw, 56px);
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid var(--da-border-dark);
  border-radius: 0 !important;
  background: var(--da-black);
  color: var(--da-paper);
  box-shadow: none;
}

.footer-brand strong {
  font-family: var(--da-serif);
  font-size: 1.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-brand p,
.footer-column a,
.footer-column span:not(.footer-eyebrow) {
  color: var(--da-silver);
}

.footer-column a:hover {
  color: var(--da-paper);
}

input,
select,
textarea {
  border-radius: 0 !important;
}

@media (max-width: 1060px) {
  .topbar-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .topbar.editorial-topbar {
    min-height: 92px;
  }

  .da-command-grid,
  .da-trust-grid,
  .da-founder-panel,
  .da-access,
  .da-feature-assessment {
    grid-template-columns: 1fr;
  }

  .da-command-card + .da-command-card,
  .da-trust-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--da-border-light);
  }

  .da-trust-grid article + article {
    border-top-color: var(--da-border-dark);
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 100%);
  }

  .site-announcement {
    min-height: 28px;
    font-size: 0.56rem;
    letter-spacing: 0.24em;
  }

  .logo-mark.logo-mark-image {
    width: 54px;
    height: 54px;
  }

  .logo-copy strong {
    font-size: 1.1rem;
    letter-spacing: 0.14em;
  }

  .logo-copy small {
    font-size: 0.74rem;
  }

  .da-home-hero,
  .da-section,
  .da-founder-panel,
  .da-access,
  .footer.editorial-footer {
    padding: 28px !important;
  }

  .da-home-hero h1,
  .da-section h2,
  .da-founder-panel h2,
  .da-access h2 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
    letter-spacing: -0.055em;
  }

  .da-abstract {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .da-actions {
    align-items: stretch;
  }

  .da-button {
    width: 100%;
    justify-content: center;
  }
}

/* Tight luxury pass: remove landing-page looseness and keep the catalogue disciplined. */
.storefront-body .site-shell {
  width: min(1680px, calc(100% - clamp(20px, 2.6vw, 46px)));
}

.storefront-body main {
  gap: clamp(14px, 1.8vw, 28px) !important;
}

.storefront-body .site-announcement {
  min-height: 26px;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
}

.storefront-body .topbar.editorial-topbar {
  min-height: 86px;
  padding: 12px 0 14px;
}

.storefront-body .logo {
  gap: 14px;
}

.storefront-body .logo-mark.logo-mark-image {
  width: 62px;
  height: 62px;
}

.storefront-body .logo-copy strong {
  font-size: clamp(1.25rem, 1.55vw, 1.72rem);
  letter-spacing: 0.2em;
}

.storefront-body .logo-copy small {
  margin-top: 8px;
  padding-top: 7px;
  font-size: 0.78rem;
}

.storefront-body .topbar-actions {
  gap: 12px;
}

.storefront-body .nav-links a,
.storefront-body .topbar-account-links a {
  min-height: 52px;
  padding: 0 clamp(14px, 1.45vw, 26px);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.storefront-body .da-home-hero {
  padding: clamp(38px, 4.7vw, 72px) clamp(30px, 4.8vw, 78px) !important;
}

.storefront-body .da-home-hero h1 {
  max-width: 860px;
  margin-top: 14px;
  font-size: clamp(3.8rem, 7.8vw, 8.9rem);
  line-height: 0.8;
}

.storefront-body .da-abstract {
  margin-top: clamp(18px, 2.2vw, 32px);
  font-size: clamp(1.75rem, 3.2vw, 3.65rem);
}

.storefront-body .da-hero-line {
  margin-top: 14px;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
}

.storefront-body .da-actions {
  margin-top: clamp(18px, 2.2vw, 30px);
}

.storefront-body .da-button,
.storefront-body .button,
.storefront-body .btn {
  min-height: 46px;
  padding: 0 20px;
  font-size: 0.72rem;
}

.storefront-body .da-section,
.storefront-body .da-founder-panel,
.storefront-body .da-access {
  padding: clamp(28px, 3.6vw, 54px) !important;
}

.storefront-body .da-section-head,
.storefront-body .da-section-head-split,
.storefront-body .da-library-head {
  margin-bottom: clamp(18px, 2.6vw, 34px);
}

.storefront-body .da-section h2,
.storefront-body .da-founder-panel h2,
.storefront-body .da-access h2 {
  font-size: clamp(3rem, 5.5vw, 6.4rem);
  line-height: 0.86;
}

.storefront-body .da-section-head p,
.storefront-body .da-founder-panel p,
.storefront-body .da-access p,
.storefront-body .da-product-copy p {
  font-size: clamp(0.92rem, 1.05vw, 1.04rem);
  line-height: 1.45;
}

.storefront-body .da-product-grid,
.storefront-body .da-assessment-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.storefront-body .da-product-card,
.storefront-body .da-assessment-card {
  padding: clamp(16px, 1.8vw, 26px);
}

.storefront-body .da-cover-frame {
  min-height: clamp(210px, 25vw, 390px);
  margin-bottom: 18px;
}

.storefront-body .da-cover-frame img {
  max-height: clamp(200px, 24vw, 380px);
}

.storefront-body .da-product-copy h3,
.storefront-body .da-assessment-card h3,
.storefront-body .da-feature-assessment h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.65rem);
}

.storefront-body .da-studio .da-section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr);
  gap: 24px;
  align-items: end;
}

.storefront-body .da-feature-assessment {
  padding: clamp(22px, 3vw, 38px);
}

.storefront-body .footer.editorial-footer {
  margin-top: clamp(16px, 2.5vw, 34px);
  padding: clamp(26px, 3.4vw, 48px);
}

@media (max-width: 720px) {
  .storefront-body .site-shell {
    width: calc(100% - 16px);
  }

  .storefront-body .topbar.editorial-topbar {
    min-height: 74px;
  }

  .storefront-body .logo-mark.logo-mark-image {
    width: 46px;
    height: 46px;
  }

  .storefront-body .logo-copy strong {
    font-size: 0.98rem;
  }

  .storefront-body .logo-copy small {
    display: none;
  }

  .storefront-body .da-home-hero,
  .storefront-body .da-section,
  .storefront-body .da-founder-panel,
  .storefront-body .da-access,
  .storefront-body .footer.editorial-footer {
    padding: 22px !important;
  }

  .storefront-body .da-studio .da-section-head-split {
    grid-template-columns: 1fr;
  }

  .storefront-body .da-home-hero h1,
  .storefront-body .da-section h2,
  .storefront-body .da-founder-panel h2,
  .storefront-body .da-access h2 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }
}

/* Interactive Library shelf */
.da-library-shelf {
  --library-paper: #FFFFFF;
  --library-ink: #000000;
  --library-suit: #101010;
  --library-bronze: #8b6a3e;
  --library-line: #d8d1c4;
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
}

.da-library-stage {
  display: grid;
  grid-template-columns: minmax(150px, 0.26fr) minmax(0, 1fr) auto;
  gap: clamp(18px, 2.8vw, 40px);
  align-items: center;
  min-height: clamp(250px, 28vw, 420px);
  padding: clamp(20px, 2.8vw, 42px);
  background: #030303;
  color: #FFFFFF;
  border: 1px solid rgba(139, 106, 62, 0.48);
  overflow: hidden;
}

.da-library-stage .da-kicker,
.da-library-stage .da-stage-meta {
  color: var(--library-bronze);
}

.da-stage-cover-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 250px);
  min-height: 220px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.da-stage-cover-wrap a {
  display: block;
  width: 100%;
}

.da-stage-cover {
  display: block;
  width: 100%;
  max-height: clamp(230px, 26vw, 380px);
  object-fit: contain;
  background: #f8f4eb;
  border-left: 8px solid var(--library-bronze);
  transform: rotateY(-7deg) translateZ(18px);
  transition: transform 420ms ease, filter 420ms ease;
}

.da-library-stage.is-active .da-stage-cover {
  transform: rotateY(0deg) translateZ(0);
}

.da-stage-cover-fallback {
  width: 100%;
  min-height: 260px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  background: #f8f4eb;
  color: var(--library-ink);
  border-left: 8px solid var(--library-bronze);
}

.da-stage-cover-fallback span {
  font-family: var(--font-sans, "Instrument Sans", sans-serif);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--library-bronze);
}

.da-stage-cover-fallback strong {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 0.92;
}

.da-stage-copy {
  max-width: 760px;
}

.da-stage-copy h3 {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: clamp(2.6rem, 5.5vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
}

.da-stage-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

.da-stage-subtitle {
  margin-top: 18px;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
}

.da-stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-sans, "Instrument Sans", sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.da-stage-meta span:not(:empty) {
  border: 1px solid rgba(139, 106, 62, 0.58);
  padding: 8px 10px;
}

.da-stage-actions {
  display: grid;
  gap: 10px;
  min-width: 180px;
}

.da-library-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-family: var(--font-sans, "Instrument Sans", sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: left;
}

.da-library-close:hover,
.da-library-close:focus-visible {
  color: #fff;
}

.da-shelf-frame {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: clamp(12px, 1.8vw, 24px);
  padding: clamp(22px, 3.3vw, 46px) clamp(20px, 3vw, 40px) 18px;
  background:
    linear-gradient(90deg, rgba(139, 106, 62, 0.07), transparent 20%, transparent 80%, rgba(139, 106, 62, 0.05)),
    var(--library-paper);
  border: 1px solid var(--library-line);
  overflow: hidden;
}

.da-atlas-bookend {
  width: clamp(72px, 8vw, 126px);
  color: var(--library-bronze);
  align-self: end;
  margin-bottom: 22px;
  text-align: center;
}

.da-atlas-bookend svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(16, 16, 16, 0.16));
}

.da-atlas-bookend span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans, "Instrument Sans", sans-serif);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.da-shelf-books {
  display: flex;
  align-items: flex-end;
  gap: clamp(7px, 0.9vw, 14px);
  min-height: clamp(260px, 34vw, 440px);
  padding: 0 4px 26px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--library-bronze) rgba(139, 106, 62, 0.12);
}

.da-book-spine {
  appearance: none;
  flex: 0 0 clamp(46px, 5.4vw, 76px);
  height: clamp(250px, 31vw, 410px);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  padding: 18px 10px;
  border: 1px solid rgba(0, 0, 0, 0.72);
  background: var(--library-suit);
  color: #f7f1e8;
  cursor: pointer;
  text-align: left;
  transform-origin: bottom center;
  transition: transform 260ms ease, border-color 260ms ease, background-color 260ms ease;
}

.da-book-spine:nth-of-type(2n) {
  background: #f9f6ee;
  color: var(--library-ink);
  border-color: rgba(139, 106, 62, 0.45);
}

.da-book-spine:nth-of-type(3n) {
  height: clamp(230px, 29vw, 380px);
}

.da-book-spine:nth-of-type(4n) {
  height: clamp(270px, 33vw, 430px);
  border-left: 6px solid var(--library-bronze);
}

.da-book-spine:hover,
.da-book-spine:focus-visible {
  transform: translateY(-8px) rotate(-1deg);
  outline: 1px solid var(--library-bronze);
  outline-offset: 4px;
}

.da-book-spine.is-selected {
  transform: translateY(-18px) rotate(-1.5deg);
  border-color: var(--library-bronze);
}

.da-book-spine-title,
.da-book-spine-meta {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-sans, "Instrument Sans", sans-serif);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.da-book-spine-title {
  max-height: 300px;
  overflow: hidden;
  font-size: clamp(0.64rem, 0.72vw, 0.82rem);
  line-height: 1.08;
}

.da-book-spine-meta {
  margin-top: 16px;
  color: var(--library-bronze);
  font-size: 0.55rem;
}

.da-shelf-base {
  grid-column: 1 / -1;
  height: 18px;
  margin: 0 calc(clamp(20px, 3vw, 40px) * -1) -18px;
  background: linear-gradient(#d9d0c1, #b9ad9c);
  border-top: 1px solid rgba(139, 106, 62, 0.34);
}

.da-library-note {
  margin: 0;
  font-family: var(--font-sans, "Instrument Sans", sans-serif);
  color: var(--library-bronze);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .da-library-stage {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .da-stage-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .da-library-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .da-stage-cover-wrap {
    width: min(72vw, 220px);
    justify-self: start;
  }

  .da-stage-copy h3 {
    font-size: clamp(2.5rem, 14vw, 4.4rem);
  }

  .da-stage-actions {
    grid-template-columns: 1fr;
  }

  .da-shelf-frame {
    grid-template-columns: 1fr;
  }

  .da-atlas-bookend {
    display: none;
  }

  .da-shelf-books {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .da-stage-cover,
  .da-book-spine {
    transition: none;
  }

  .da-book-spine,
  .da-book-spine:hover,
  .da-book-spine:focus-visible,
  .da-book-spine.is-selected,
  .da-stage-cover,
  .da-library-stage.is-active .da-stage-cover {
    transform: none;
  }
}

/* Final section rhythm: sections should touch, with space only inside the content. */
.storefront-body .site-shell,
.dashboard-auth-body .site-shell {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.storefront-body main,
.dashboard-auth-body main {
  gap: 0 !important;
}

.storefront-body section,
.storefront-body .premium-hero,
.storefront-body .premium-hero-stage,
.storefront-body .section-shell,
.storefront-body .da-home-hero,
.storefront-body .da-section,
.storefront-body .da-founder-panel,
.storefront-body .da-access,
.storefront-body .footer,
.storefront-body .footer.editorial-footer,
.dashboard-auth-body .section-shell,
.dashboard-auth-body .dashboard-auth-card {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.storefront-body .da-home-hero {
  min-height: 0 !important;
  grid-template-columns: 1fr !important;
  padding: clamp(32px, 4.2vw, 64px) clamp(28px, 4.5vw, 72px) !important;
}

.storefront-body .da-hero-copy {
  min-height: 0 !important;
  padding: 0 !important;
  border-right: 0 !important;
  justify-content: flex-start !important;
}

.storefront-body .da-home-hero h1 {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.storefront-body .da-abstract,
.storefront-body .da-hero-line,
.storefront-body .da-actions {
  margin-top: clamp(14px, 1.8vw, 24px) !important;
}

.storefront-body .da-section,
.storefront-body .da-founder-panel,
.storefront-body .da-access,
.storefront-body .section-shell,
.dashboard-auth-body .section-shell,
.dashboard-auth-body .dashboard-auth-card {
  padding: clamp(28px, 3.4vw, 52px) !important;
}

.storefront-body .da-section-head,
.storefront-body .da-section-head-split,
.storefront-body .da-library-head,
.storefront-body .section-shell-head {
  margin-bottom: clamp(16px, 2vw, 28px) !important;
  padding-bottom: clamp(16px, 2vw, 28px) !important;
  gap: clamp(18px, 2.2vw, 30px) !important;
}

.storefront-body .da-section-head:last-child,
.storefront-body .da-section-head-split:last-child,
.storefront-body .section-shell-head:last-child {
  margin-bottom: 0 !important;
}

.storefront-body .footer.editorial-footer,
.storefront-body .footer {
  padding: clamp(28px, 3.2vw, 46px) !important;
}

.storefront-body .da-library-stage {
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(22px, 2.8vw, 42px) !important;
}

@media (max-width: 720px) {
  .storefront-body .da-home-hero,
  .storefront-body .da-section,
  .storefront-body .da-founder-panel,
  .storefront-body .da-access,
  .storefront-body .section-shell,
  .storefront-body .footer.editorial-footer,
  .dashboard-auth-body .section-shell,
  .dashboard-auth-body .dashboard-auth-card {
    padding: 22px !important;
  }

  .storefront-body .da-section-head,
  .storefront-body .da-section-head-split,
  .storefront-body .da-library-head,
  .storefront-body .section-shell-head {
    margin-bottom: 16px !important;
    padding-bottom: 16px !important;
  }
}

/* Final nav consolidation: keep desktop masthead on one disciplined line. */
.storefront-body .topbar.editorial-topbar {
  grid-template-columns: auto minmax(0, 1fr) !important;
  column-gap: clamp(28px, 4vw, 72px) !important;
}

.storefront-body .topbar-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
}

.storefront-body .nav-links,
.storefront-body .topbar-account-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.storefront-body .nav-links {
  gap: clamp(18px, 2.1vw, 32px) !important;
}

.storefront-body .topbar-account-links {
  flex: 0 0 auto !important;
}

.storefront-body .nav-links > a,
.storefront-body .topbar-account-links > a,
.storefront-body .nav-dropdown > summary {
  font-size: clamp(0.82rem, 1vw, 1.02rem) !important;
  letter-spacing: -0.035em !important;
}

.storefront-body .nav-dropdown {
  flex: 0 0 auto !important;
  position: relative !important;
}

.storefront-body .nav-dropdown-panel {
  right: auto !important;
  left: 0 !important;
  min-width: 190px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(3, 3, 3, 0.16) !important;
  background: var(--da-shirt, #FFFFFF) !important;
}

.storefront-body .nav-dropdown-panel a {
  display: block !important;
  padding: 9px 0 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

@media (max-width: 1120px) {
  .storefront-body .topbar-actions {
    display: none !important;
  }
}

/* Adaptive library bookshelf: editorial product shelf with selected-title panel. */
.storefront-body .da-library-shelf {
  --library-paper: #FFFFFF;
  --library-shirt: #fbfaf6;
  --library-ink: #000000;
  --library-suit: #101010;
  --library-bronze: #8b6a3e;
  --library-line: #d8d1c4;
  display: block !important;
}

.storefront-body .da-library-workbench {
  display: grid;
  grid-template-columns: minmax(520px, 1.2fr) minmax(330px, 0.8fr);
  align-items: stretch;
  border-top: 1px solid var(--library-line);
  border-bottom: 1px solid var(--library-line);
  background: var(--library-shirt);
}

.storefront-body .da-shelf-frame {
  position: relative;
  display: grid !important;
  grid-template-columns: clamp(76px, 9vw, 130px) minmax(0, 1fr);
  align-items: end;
  gap: clamp(14px, 1.6vw, 24px);
  min-width: 0;
  padding: clamp(28px, 3.2vw, 48px) clamp(18px, 2.6vw, 40px) 20px;
  border: 0 !important;
  border-right: 1px solid var(--library-line) !important;
  background: var(--library-paper) !important;
  overflow: hidden;
}

.storefront-body .da-atlas-bookend {
  align-self: end;
  width: 100% !important;
  margin: 0 0 24px !important;
  color: var(--library-bronze);
  text-align: center;
}

.storefront-body .da-atlas-bookend svg {
  width: 100%;
  max-width: 116px;
  margin-inline: auto;
  filter: none !important;
}

.storefront-body .da-atlas-bookend span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans, "Instrument Sans", sans-serif);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.storefront-body .da-shelf-books {
  display: flex !important;
  align-items: flex-end;
  gap: clamp(8px, 0.95vw, 15px);
  min-height: clamp(300px, 33vw, 460px) !important;
  padding: 0 4px 20px !important;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--library-bronze) rgba(139, 106, 62, 0.13);
}

.storefront-body .da-book-spine {
  appearance: none;
  flex: 0 0 clamp(58px, 6.4vw, 92px) !important;
  height: clamp(280px, 31vw, 430px) !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  padding: 18px 11px 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.8) !important;
  border-radius: 0 !important;
  background: var(--library-suit) !important;
  color: #f7f1e8 !important;
  cursor: pointer;
  text-align: left;
  box-shadow: none !important;
  transform: none !important;
}

.storefront-body .da-book-spine:nth-of-type(2n) {
  background: #fbfaf6 !important;
  color: var(--library-ink) !important;
  border-color: rgba(139, 106, 62, 0.52) !important;
}

.storefront-body .da-book-spine:nth-of-type(3n) {
  height: clamp(260px, 29vw, 398px) !important;
}

.storefront-body .da-book-spine:nth-of-type(4n) {
  height: clamp(300px, 34vw, 468px) !important;
  border-left: 5px solid var(--library-bronze) !important;
}

.storefront-body .da-book-spine:hover,
.storefront-body .da-book-spine:focus-visible,
.storefront-body .da-book-spine.is-selected {
  outline: 1px solid var(--library-bronze);
  outline-offset: 3px;
  border-color: var(--library-bronze) !important;
}

.storefront-body .da-book-spine-title,
.storefront-body .da-book-spine-meta {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-sans, "Instrument Sans", sans-serif);
  font-weight: 900;
  text-transform: uppercase;
}

.storefront-body .da-book-spine-title {
  max-height: 340px;
  overflow: hidden;
  font-size: clamp(0.82rem, 1.04vw, 1.08rem) !important;
  line-height: 1.08;
  letter-spacing: 0.13em;
}

.storefront-body .da-book-spine-meta {
  margin-top: 16px;
  color: var(--library-bronze);
  font-size: clamp(0.55rem, 0.68vw, 0.68rem) !important;
  letter-spacing: 0.22em;
}

.storefront-body .da-shelf-base {
  grid-column: 1 / -1;
  height: 18px;
  margin: 0 calc(clamp(18px, 2.6vw, 40px) * -1) -20px;
  border-top: 1px solid rgba(139, 106, 62, 0.38);
  background: #d8d1c4;
}

.storefront-body .da-library-stage {
  display: grid !important;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: clamp(20px, 2.5vw, 42px);
  min-height: 100% !important;
  padding: clamp(28px, 3.2vw, 52px) clamp(24px, 3.4vw, 56px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fbfaf6 !important;
  color: var(--library-ink) !important;
  overflow: hidden;
}

.storefront-body .da-stage-cover-wrap {
  width: min(100%, 260px) !important;
  min-height: 0 !important;
  justify-self: center;
  perspective: none !important;
}

.storefront-body .da-stage-cover-wrap a {
  display: block;
  width: 100%;
}

.storefront-body .da-stage-cover {
  display: block;
  width: 100% !important;
  max-height: clamp(270px, 29vw, 430px) !important;
  object-fit: contain;
  border: 0 !important;
  border-left: 6px solid var(--library-bronze) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.storefront-body .da-stage-cover-fallback {
  min-height: 320px;
  padding: 20px;
  border: 1px solid var(--library-line);
  border-left: 6px solid var(--library-bronze);
  border-radius: 0;
  background: var(--library-paper);
  color: var(--library-ink);
}

.storefront-body .da-stage-copy {
  align-self: center;
  max-width: 460px;
}

.storefront-body .da-library-stage .da-kicker {
  color: var(--library-bronze) !important;
}

.storefront-body .da-stage-copy h3 {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: clamp(2.7rem, 5vw, 5.8rem) !important;
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--library-ink);
}

.storefront-body .da-stage-copy p {
  max-width: 38ch;
  margin-top: 20px;
  color: #5d6470 !important;
}

.storefront-body .da-stage-meta {
  display: block !important;
  margin-top: 28px !important;
  color: var(--library-ink) !important;
  font-family: var(--font-sans, "Instrument Sans", sans-serif);
  font-size: 0.92rem !important;
  font-weight: 800;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
}

.storefront-body .da-stage-meta span {
  display: block;
  border: 0 !important;
  padding: 0 !important;
}

.storefront-body .da-stage-actions {
  grid-column: 2;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0;
  align-self: end;
  margin-top: 26px;
  border: 1px solid var(--library-ink);
  background: var(--library-ink);
}

.storefront-body .da-stage-actions .da-button {
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.storefront-body .da-stage-actions .da-button + .da-button {
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 1080px) {
  .storefront-body .da-library-workbench {
    grid-template-columns: 1fr;
  }

  .storefront-body .da-shelf-frame {
    border-right: 0 !important;
    border-bottom: 1px solid var(--library-line) !important;
  }

  .storefront-body .da-library-stage {
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .storefront-body .da-shelf-frame {
    grid-template-columns: 1fr;
  }

  .storefront-body .da-atlas-bookend {
    display: none !important;
  }

  .storefront-body .da-shelf-books {
    min-height: 300px !important;
  }

  .storefront-body .da-library-stage {
    grid-template-columns: 1fr;
  }

  .storefront-body .da-stage-cover-wrap {
    justify-self: start;
    width: min(58vw, 210px) !important;
  }

  .storefront-body .da-stage-actions {
    grid-column: 1;
  }
}

/* Final viewport containment: no storefront section may force horizontal page scroll. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body.storefront-body,
body.dashboard-auth-body {
  width: 100%;
  max-width: 100%;
}

.storefront-body *,
.storefront-body *::before,
.storefront-body *::after,
.dashboard-auth-body *,
.dashboard-auth-body *::before,
.dashboard-auth-body *::after {
  box-sizing: border-box;
}

.storefront-body .site-shell,
.dashboard-auth-body .site-shell {
  width: min(100%, 1440px) !important;
  max-width: calc(100vw - 24px) !important;
  margin-inline: auto !important;
  overflow-x: clip !important;
}

.storefront-body .topbar.editorial-topbar,
.storefront-body main,
.storefront-body section,
.storefront-body .premium-hero,
.storefront-body .premium-hero-stage,
.storefront-body .section-shell,
.storefront-body .da-home-hero,
.storefront-body .da-section,
.storefront-body .da-library-workbench,
.storefront-body .da-shelf-frame,
.storefront-body .da-library-stage,
.storefront-body .da-study-studio-section,
.storefront-body .da-course-products,
.storefront-body .da-assessment-grid,
.storefront-body .footer,
.storefront-body .footer.editorial-footer,
.dashboard-auth-body main,
.dashboard-auth-body section,
.dashboard-auth-body .section-shell,
.dashboard-auth-body .dashboard-auth-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.topbar.editorial-topbar::before,
.storefront-body .topbar.editorial-topbar::before {
  inset: 0 !important;
}

.storefront-body .topbar-actions,
.storefront-body .nav-links,
.storefront-body .topbar-account-links,
.storefront-body .da-actions,
.storefront-body .da-stage-actions {
  min-width: 0 !important;
}

.storefront-body .da-library-workbench,
.storefront-body .da-shelf-frame,
.storefront-body .da-library-stage {
  overflow-x: clip !important;
}

.storefront-body .da-shelf-books {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: auto !important;
}

.storefront-body img,
.storefront-body svg,
.storefront-body iframe,
.storefront-body embed,
.storefront-body object,
.storefront-body video,
.dashboard-auth-body img,
.dashboard-auth-body svg,
.dashboard-auth-body iframe,
.dashboard-auth-body embed,
.dashboard-auth-body object,
.dashboard-auth-body video {
  max-width: 100%;
}

@media (max-width: 900px) {
  .storefront-body .site-shell,
  .dashboard-auth-body .site-shell {
    max-width: calc(100vw - 16px) !important;
  }
}

/* Brand Pad homepage header and video hero. */
.storefront-body .topbar.editorial-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
  max-width: none;
  min-height: 124px !important;
  margin: 0;
  padding: clamp(1.2rem, 2vw, 1.9rem) clamp(1.5rem, 6vw, 7.5rem) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(15, 15, 13, 0.14);
  border-radius: 0 !important;
  background: #f8f7f4 !important;
  box-shadow: none !important;
}

.storefront-body .topbar.editorial-topbar::before,
.storefront-body .topbar.editorial-topbar::after {
  display: none;
}

.storefront-body .topbar.editorial-topbar .logo {
  min-width: min(100%, 32rem);
  color: #000000;
  overflow: visible !important;
  text-decoration: none;
}

.storefront-body .topbar.editorial-topbar .logo-copy strong {
  display: block;
  color: #000000;
  font-family: var(--font-brand, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: clamp(1.95rem, 3.6vw, 3.45rem);
  font-weight: 500;
  letter-spacing: 0.24em !important;
  line-height: 1;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-transform: uppercase;
  white-space: normal !important;
}

.storefront-body .topbar.editorial-topbar .topbar-actions,
.storefront-body .topbar.editorial-topbar .nav-links,
.storefront-body .topbar.editorial-topbar .topbar-account-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.1rem, 2.4vw, 2.7rem);
}

.storefront-body .topbar.editorial-topbar .nav-links a,
.storefront-body .topbar.editorial-topbar .topbar-account-links a {
  position: relative;
  color: rgba(0, 0, 0, 0.72);
  font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif);
  font-size: clamp(0.84rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.storefront-body .topbar.editorial-topbar .nav-links a::after,
.storefront-body .topbar.editorial-topbar .topbar-account-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: #a68148;
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.storefront-body .topbar.editorial-topbar .nav-links a:hover,
.storefront-body .topbar.editorial-topbar .nav-links a:focus-visible,
.storefront-body .topbar.editorial-topbar .topbar-account-links a:hover,
.storefront-body .topbar.editorial-topbar .topbar-account-links a:focus-visible {
  color: #000000;
}

.storefront-body .topbar.editorial-topbar .nav-links a:hover::after,
.storefront-body .topbar.editorial-topbar .nav-links a:focus-visible::after,
.storefront-body .topbar.editorial-topbar .topbar-account-links a:hover::after,
.storefront-body .topbar.editorial-topbar .topbar-account-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.storefront-body .topbar.editorial-topbar .mobile-menu {
  display: none;
}

.storefront-body .da-video-hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 124px) !important;
  align-items: flex-end;
  overflow: hidden !important;
  padding: clamp(4.5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 7.5rem) !important;
  border: 0;
  background: #030303;
}

.storefront-body .da-hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  pointer-events: none;
}

.storefront-body .da-hero-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.06) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.24) 100%);
}

.storefront-body .da-video-hero .da-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.35rem);
  max-width: min(92vw, 54rem);
}

.storefront-body .da-video-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #FFFFFF;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(4rem, 10vw, 10.6rem) !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  line-height: 0.82 !important;
}

.storefront-body .da-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.storefront-body .da-hero-links a {
  color: #FFFFFF;
  font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif);
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.42);
  text-transform: uppercase;
}

.storefront-body .da-hero-links a::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.55rem;
  background: currentColor;
  content: "";
  opacity: 0.55;
  transition: opacity 160ms ease, transform 160ms ease;
}

.storefront-body .da-hero-links a:hover::after,
.storefront-body .da-hero-links a:focus-visible::after {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .storefront-body .topbar.editorial-topbar {
    min-height: 96px;
    padding: 1rem 1.25rem;
  }

  .storefront-body .topbar.editorial-topbar .logo {
    min-width: 0;
  }

  .storefront-body .topbar.editorial-topbar .logo-copy strong {
    max-width: min(72vw, 22rem) !important;
    font-size: clamp(1.15rem, 4.8vw, 1.65rem) !important;
    line-height: 1.12 !important;
  }

  .storefront-body .topbar.editorial-topbar .topbar-actions {
    display: none;
  }

  .storefront-body .topbar.editorial-topbar .mobile-menu {
    display: block;
  }

  .storefront-body .topbar.editorial-topbar .mobile-menu summary {
    padding: 0 0 0.35rem !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.42) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #000000 !important;
    font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif) !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  .storefront-body .da-video-hero {
    min-height: calc(100svh - 96px) !important;
    padding: 4.5rem 1.25rem !important;
  }

  .storefront-body .da-video-hero h1 {
    font-size: clamp(3.8rem, 16vw, 6.5rem) !important;
  }
}

/* Brand Pad masthead: no unnecessary boxes or lines. */
body.storefront-body .site-shell > .topbar.editorial-topbar {
  grid-template-columns: minmax(18rem, 0.95fr) minmax(28rem, auto) !important;
  min-height: 148px !important;
  align-items: end !important;
  padding: clamp(26px, 3vw, 42px) clamp(30px, 5.2vw, 84px) clamp(24px, 2.4vw, 34px) !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #f8f7f4 !important;
  backdrop-filter: none !important;
}

body.storefront-body .site-shell > .topbar.editorial-topbar::before,
body.storefront-body .site-shell > .topbar.editorial-topbar::after,
body.storefront-body .site-shell > .topbar.editorial-topbar .logo-copy strong::after {
  display: none !important;
  content: none !important;
}

body.storefront-body .topbar.editorial-topbar .topbar-actions,
body.storefront-body .topbar.editorial-topbar .nav-links,
body.storefront-body .topbar.editorial-topbar .topbar-account-links {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
}

body.storefront-body .topbar.editorial-topbar .topbar-actions {
  justify-content: flex-end !important;
  gap: clamp(1.6rem, 2.8vw, 3rem) !important;
}

body.storefront-body .topbar.editorial-topbar .nav-links,
body.storefront-body .topbar.editorial-topbar .topbar-account-links {
  justify-content: flex-end !important;
  gap: clamp(1.45rem, 3vw, 3.4rem) !important;
}

body.storefront-body .topbar.editorial-topbar .nav-links a,
body.storefront-body .topbar.editorial-topbar .topbar-account-links a,
body.storefront-body .topbar.editorial-topbar .mobile-menu-links a,
body.storefront-body .topbar.editorial-topbar .mobile-menu > summary {
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body.storefront-body .topbar.editorial-topbar .nav-links a::before,
body.storefront-body .topbar.editorial-topbar .nav-links a::after,
body.storefront-body .topbar.editorial-topbar .topbar-account-links a::before,
body.storefront-body .topbar.editorial-topbar .topbar-account-links a::after,
body.storefront-body .topbar.editorial-topbar .mobile-menu > summary::before {
  display: none !important;
  content: none !important;
}

body.storefront-body .topbar.editorial-topbar .nav-links a:hover,
body.storefront-body .topbar.editorial-topbar .nav-links a:focus-visible,
body.storefront-body .topbar.editorial-topbar .topbar-account-links a:hover,
body.storefront-body .topbar.editorial-topbar .topbar-account-links a:focus-visible {
  color: #000000 !important;
  box-shadow: none !important;
}

body.storefront-body .topbar.editorial-topbar .mobile-menu {
  display: none !important;
}

body.storefront-body .topbar.editorial-topbar .mobile-menu-panel {
  border: 0 !important;
  box-shadow: none !important;
  background: #f8f7f4 !important;
}

@media (max-width: 980px) {
  body.storefront-body .site-shell > .topbar.editorial-topbar {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: auto !important;
    align-items: start !important;
    justify-items: start !important;
    gap: 1.05rem !important;
    padding: 1.1rem 1.2rem 1.35rem !important;
  }

  body.storefront-body .topbar.editorial-topbar .topbar-actions {
    display: flex !important;
    visibility: visible !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.72rem !important;
  }

  body.storefront-body .topbar.editorial-topbar .mobile-menu {
    display: none !important;
  }

  body.storefront-body .topbar.editorial-topbar .nav-links,
  body.storefront-body .topbar.editorial-topbar .topbar-account-links {
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: baseline !important;
    gap: 0.48rem 0.92rem !important;
    margin: 0 !important;
  }

  body.storefront-body .topbar.editorial-topbar .nav-links a,
  body.storefront-body .topbar.editorial-topbar .topbar-account-links a {
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #000000 !important;
    font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif) !important;
    font-size: clamp(0.72rem, 3.1vw, 0.88rem) !important;
    font-weight: 800 !important;
    letter-spacing: 0.11em !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
  }
}

@media (max-width: 520px) {
  body.storefront-body .site-shell > .topbar.editorial-topbar {
    padding: 1rem 1rem 1.2rem !important;
  }

  body.storefront-body .topbar.editorial-topbar .logo strong {
    max-width: 92vw !important;
    font-size: clamp(1.05rem, 5.7vw, 1.45rem) !important;
    letter-spacing: 0.12em !important;
  }
}

/* Homepage masthead: a single Brand Pad navigation line above the video hero. */
body.storefront-home .site-shell > .topbar.editorial-topbar {
  display: grid !important;
  grid-template-columns: minmax(24rem, 1fr) auto !important;
  min-height: clamp(190px, 15.8vw, 260px) !important;
  align-items: center !important;
  justify-items: stretch !important;
  padding: clamp(28px, 3.1vw, 52px) clamp(30px, 5.8vw, 120px) clamp(34px, 3.8vw, 68px) !important;
}

body.storefront-home .topbar.editorial-topbar .logo {
  display: inline-flex !important;
  justify-self: start !important;
  align-items: center !important;
  color: #000000 !important;
}

body.storefront-home .topbar.editorial-topbar .logo-copy strong {
  display: block !important;
  max-width: min(50vw, 41rem) !important;
  color: #000000 !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: clamp(3.35rem, 5.4vw, 5.85rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.24em !important;
  line-height: 0.82 !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}

body.storefront-home .topbar.editorial-topbar .topbar-actions {
  width: auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  justify-content: flex-end !important;
  justify-self: end !important;
  gap: clamp(2rem, 3.4vw, 4rem) !important;
}

body.storefront-home .topbar.editorial-topbar .nav-links,
body.storefront-home .topbar.editorial-topbar .topbar-account-links {
  width: auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  justify-content: flex-end !important;
  gap: clamp(2rem, 3.4vw, 4rem) !important;
}

body.storefront-home .topbar.editorial-topbar .nav-links a,
body.storefront-home .topbar.editorial-topbar .topbar-account-links a {
  color: #555555 !important;
  font-size: clamp(1rem, 1.32vw, 1.42rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
}

@media (max-width: 980px) {
  body.storefront-home .site-shell > .topbar.editorial-topbar {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: auto !important;
    justify-items: start !important;
    padding: 1.1rem 1rem 1.25rem !important;
  }

  body.storefront-home .topbar.editorial-topbar .logo {
    display: inline-flex !important;
    margin-bottom: 0.2rem !important;
  }

  body.storefront-home .topbar.editorial-topbar .logo-copy strong {
    max-width: min(92vw, 28rem) !important;
    font-size: clamp(2.55rem, 10vw, 4.5rem) !important;
    letter-spacing: 0.2em !important;
    line-height: 0.86 !important;
  }

  body.storefront-home .topbar.editorial-topbar .topbar-actions,
  body.storefront-home .topbar.editorial-topbar .nav-links,
  body.storefront-home .topbar.editorial-topbar .topbar-account-links {
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 0.55rem 1.05rem !important;
  }

  body.storefront-home .topbar.editorial-topbar .nav-links a,
  body.storefront-home .topbar.editorial-topbar .topbar-account-links a {
    font-size: clamp(0.78rem, 3.1vw, 0.95rem) !important;
    letter-spacing: 0.07em !important;
  }
}

/* Bronze category navigation: Products and Platform, no generic menu. */
body.storefront-body .topbar.editorial-topbar .nav-category-menu {
  position: relative !important;
  align-items: flex-start !important;
  gap: clamp(2.2rem, 4vw, 4.8rem) !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-group {
  position: relative !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-group > summary {
  display: inline-flex !important;
  align-items: center !important;
  min-height: auto !important;
  padding: 0 !important;
  list-style: none !important;
  cursor: pointer !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #8a5a2b !important;
  font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif) !important;
  font-size: clamp(0.95rem, 1.12vw, 1.18rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-group > summary::-webkit-details-marker {
  display: none !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-group > summary::marker {
  content: "" !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-group > summary:focus {
  outline: 0 !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-group > summary:focus-visible {
  outline: 0 !important;
  color: #5c3818 !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-panel {
  display: none !important;
  position: absolute !important;
  z-index: 40 !important;
  top: calc(100% + 1.25rem) !important;
  left: 0 !important;
  min-width: 14rem !important;
  margin-top: 0 !important;
  padding: 1.2rem 1.35rem 1.3rem !important;
  background: #f8f7f4 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-group[open] .nav-menu-panel {
  display: grid !important;
  gap: 1.1rem !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-panel a {
  display: block !important;
  width: max-content !important;
  max-width: 18rem !important;
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #3f3f3f !important;
  font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif) !important;
  font-size: clamp(1.05rem, 1.48vw, 1.45rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.13em !important;
  line-height: 1.18 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-group:last-child .nav-menu-panel {
  right: 0 !important;
  left: auto !important;
}

body.storefront-body .topbar.editorial-topbar .nav-menu-panel a:hover,
body.storefront-body .topbar.editorial-topbar .nav-menu-panel a:focus-visible {
  color: #000000 !important;
}

body.storefront-home .topbar.editorial-topbar .nav-category-menu,
body.storefront-home .topbar.editorial-topbar .topbar-actions {
  align-items: flex-start !important;
}

body.storefront-home .topbar.editorial-topbar .nav-menu-group > summary {
  font-size: clamp(1rem, 1.18vw, 1.22rem) !important;
}

@media (max-width: 980px) {
  body.storefront-body .topbar.editorial-topbar .nav-category-menu {
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 1.2rem 2.1rem !important;
  }

  body.storefront-body .topbar.editorial-topbar .nav-menu-group > summary {
    font-size: clamp(0.86rem, 3.8vw, 1rem) !important;
    letter-spacing: 0.15em !important;
  }

  body.storefront-body .topbar.editorial-topbar .nav-menu-panel {
    top: calc(100% + 1rem) !important;
    min-width: 12.5rem !important;
    padding: 1.05rem 0 1.15rem !important;
  }

  body.storefront-body .topbar.editorial-topbar .nav-menu-panel a {
    font-size: clamp(1.02rem, 6vw, 1.45rem) !important;
    letter-spacing: 0.13em !important;
  }
}

/* Final luxury cleanup: no decorative bronze rules, dots, grids, or black textures. */
body.storefront-body::before,
body.dashboard-auth-body::before,
body.storefront-home::before,
body.bookshelf-page::before,
body.account-page::before,
body.recovery-page::before {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

body.storefront-body .da-home-hero h1::after,
body.storefront-home .da-home-hero h1::after,
body.storefront-body .da-video-hero h1::after,
body.storefront-home .da-video-hero h1::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  background: none !important;
}

body.storefront-body .da-video-hero,
body.storefront-body .da-assessments-gateway,
body.storefront-body .assessment-catalogue-hero,
body.storefront-body .bookshelf-hero,
body.storefront-body .account-hero,
body.storefront-body .recovery-hero,
body.storefront-body .support-stage,
body.storefront-body .legal-stage,
body.dashboard-auth-body .account-hero {
  background-color: #000000 !important;
  background-image: none !important;
}

body.storefront-body .da-hero-video-scrim,
body.storefront-home .da-hero-video-scrim {
  background: transparent !important;
  background-image: none !important;
}

body.storefront-body .da-library-video-scrim,
body.storefront-home .da-library-video-scrim {
  background: rgba(0, 0, 0, 0.28) !important;
  background-image: none !important;
}

/* Course product detail, editorial page treatment. */
.storefront-body .course-product-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
  padding: clamp(64px, 9vw, 132px) var(--site-gutter, clamp(24px, 6vw, 96px));
  background: #fff;
  color: #000;
}

.storefront-body .course-product-copy {
  max-width: 780px;
}

.storefront-body .course-product-copy .eyebrow,
.storefront-body .course-product-inside .eyebrow,
.storefront-body .course-related-section .eyebrow {
  margin: 0 0 18px;
  color: currentColor;
  font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.18em;
}

.storefront-body .course-product-copy h1,
.storefront-body .course-product-inside h2,
.storefront-body .course-related-section h2 {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 0.92;
}

.storefront-body .course-product-copy h1 {
  max-width: 780px;
  font-size: clamp(4.2rem, 9vw, 9.6rem);
}

.storefront-body .course-product-lede {
  max-width: 680px;
  margin: clamp(24px, 3.5vw, 44px) 0 0;
  color: #272727;
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  line-height: 1.55;
}

.storefront-body .course-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: clamp(24px, 3.4vw, 42px);
  color: #000;
  font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.storefront-body .course-product-cta {
  margin-top: clamp(28px, 4vw, 52px);
}

.storefront-body .course-product-account-note {
  max-width: 420px;
  margin: 0 0 18px;
  color: #444;
  line-height: 1.55;
}

.storefront-body .course-product-checkout-form {
  max-width: 480px;
}

.storefront-body .course-product-visual {
  min-height: clamp(420px, 58vw, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  overflow: hidden;
}

.storefront-body .course-product-visual img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: center;
}

.storefront-body .course-product-visual-slot {
  display: grid;
  gap: 18px;
  padding: 42px;
  color: #fff;
}

.storefront-body .course-product-visual-slot span {
  font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.storefront-body .course-product-visual-slot strong {
  max-width: 320px;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 520;
  line-height: 0.92;
}

.storefront-body .course-product-inside,
.storefront-body .course-related-section {
  padding: clamp(56px, 8vw, 118px) var(--site-gutter, clamp(24px, 6vw, 96px));
}

.storefront-body .course-product-inside {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(34px, 6vw, 88px);
  background: #000;
  color: #fff;
}

.storefront-body .course-product-inside h2,
.storefront-body .course-related-section h2 {
  font-size: clamp(3.2rem, 7vw, 7.2rem);
}

.storefront-body .course-product-inside-list {
  display: grid;
  gap: 0;
}

.storefront-body .course-product-inside-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.storefront-body .course-product-inside-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.storefront-body .course-product-inside-row h3,
.storefront-body .course-related-row h3 {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 520;
  letter-spacing: -0.018em;
  line-height: 1;
}

.storefront-body .course-product-inside-row h3 {
  font-size: clamp(1.75rem, 2.8vw, 3rem);
}

.storefront-body .course-product-inside-row p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.55;
}

.storefront-body .course-related-section {
  background: #fff;
  color: #000;
}

.storefront-body .course-related-head {
  margin-bottom: clamp(30px, 5vw, 70px);
}

.storefront-body .course-related-list {
  display: grid;
  gap: 34px;
  max-width: 980px;
}

.storefront-body .course-related-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.storefront-body .course-related-cover {
  display: block;
  min-height: 210px;
  background: #050505;
  overflow: hidden;
}

.storefront-body .course-related-cover img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.storefront-body .course-related-cover span {
  display: grid;
  min-height: 210px;
  place-items: center;
  color: #fff;
  font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.storefront-body .course-related-copy {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.storefront-body .course-related-copy .product-price {
  margin: 0;
  color: #000;
  font-family: var(--font-sans, "Instrument Sans", Arial, sans-serif);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.storefront-body .course-related-row h3 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.storefront-body .course-related-copy p:not(.product-price) {
  max-width: 540px;
  margin: 0;
  color: #444;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .storefront-body .course-product-stage,
  .storefront-body .course-product-inside {
    grid-template-columns: 1fr;
  }

  .storefront-body .course-product-stage {
    padding-top: 48px;
  }

  .storefront-body .course-product-copy h1 {
    font-size: clamp(3.4rem, 18vw, 6.6rem);
  }

  .storefront-body .course-product-visual {
    min-height: 420px;
  }

  .storefront-body .course-product-inside-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .storefront-body .course-related-row {
    grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .storefront-body .course-product-stage,
  .storefront-body .course-product-inside,
  .storefront-body .course-related-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .storefront-body .course-product-visual {
    min-height: 360px;
  }

  .storefront-body .course-related-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .storefront-body .course-related-cover {
    width: min(220px, 100%);
  }
}

/* Book product pages: editorial product-house layout, separate from courses and assessments. */
body.book-product-page {
  background: #fff;
  color: #000;
}

body.book-product-page main {
  background: #fff;
}

.storefront-body.book-product-page .book-product-stage {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  min-height: calc(100vh - 132px);
  background: #fff;
  color: #000;
}

.storefront-body.book-product-page .book-product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(560px, 74vh, 820px);
  padding: clamp(44px, 7vw, 112px) clamp(30px, 5.8vw, 88px);
  background: #fff;
  overflow: hidden;
}

.storefront-body.book-product-page .book-product-cover {
  width: min(100%, 540px);
  max-height: min(74vh, 760px);
  object-fit: contain;
  border: 0;
  box-shadow: none;
  filter: none;
}

.storefront-body.book-product-page .book-product-cover-slot {
  display: grid;
  width: min(100%, 500px);
  min-height: 620px;
  place-content: center;
  gap: 16px;
  background: #050505;
  color: #fff;
  text-align: center;
}

.storefront-body.book-product-page .book-product-cover-slot span,
.storefront-body.book-product-page .book-product-copy .eyebrow,
.storefront-body.book-product-page .book-product-editorial .eyebrow,
.storefront-body.book-product-page .book-related-section .eyebrow {
  font-family: var(--font-ui, var(--font-sans, "Instrument Sans", Arial, sans-serif));
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.storefront-body.book-product-page .book-product-cover-slot strong {
  max-width: 360px;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  font-weight: 520;
  line-height: 0.92;
}

.storefront-body.book-product-page .book-product-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
  padding: clamp(52px, 8vw, 124px) clamp(28px, 6.4vw, 104px) clamp(52px, 7vw, 104px);
  background: #fff;
}

.storefront-body.book-product-page .book-product-copy .eyebrow,
.storefront-body.book-product-page .book-product-editorial .eyebrow,
.storefront-body.book-product-page .book-related-section .eyebrow {
  margin: 0 0 20px;
  color: #5c5c5c;
}

.storefront-body.book-product-page .book-product-copy h1 {
  width: 100%;
  max-width: 10.8ch;
  margin: 0;
  overflow: visible;
  color: #000;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(4.1rem, 7.2vw, 8rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
}

.storefront-body.book-product-page .book-product-lede {
  max-width: 650px;
  margin: clamp(26px, 3.6vw, 46px) 0 0;
  color: #2a2a2a;
  font-family: var(--font-ui, var(--font-sans, "Instrument Sans", Arial, sans-serif));
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.58;
}

.storefront-body.book-product-page .book-product-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 0;
  margin: clamp(24px, 3.4vw, 42px) 0 0;
  color: #050505;
  font-family: var(--font-ui, var(--font-sans, "Instrument Sans", Arial, sans-serif));
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.storefront-body.book-product-page .book-product-meta-line span {
  position: relative;
  padding-right: 16px;
  margin-right: 16px;
}

.storefront-body.book-product-page .book-product-meta-line span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 0.9em;
  background: #e5e5e5;
  transform: translateY(-50%);
}

.storefront-body.book-product-page .book-product-purchase {
  width: min(100%, 500px);
  margin-top: clamp(34px, 4.6vw, 58px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid #e5e5e5;
}

.storefront-body.book-product-page .book-product-checkout-form {
  display: grid;
  gap: 18px;
}

.storefront-body.book-product-page .book-product-checkout-form .field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.storefront-body.book-product-page .book-product-checkout-form label,
.storefront-body.book-product-page .book-product-checkout-form small,
.storefront-body.book-product-page .privacy-note {
  font-family: var(--font-ui, var(--font-sans, "Instrument Sans", Arial, sans-serif));
}

.storefront-body.book-product-page .book-product-checkout-form label {
  color: #2d2d2d;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.storefront-body.book-product-page .book-product-checkout-form input[type="text"],
.storefront-body.book-product-page .book-product-checkout-form input[type="email"],
.storefront-body.book-product-page .book-product-checkout-form input[type="password"] {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
  outline: none;
}

.storefront-body.book-product-page .book-product-checkout-form input:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.storefront-body.book-product-page .privacy-note,
.storefront-body.book-product-page .book-product-checkout-form small {
  max-width: 460px;
  margin: 0;
  color: #555;
  font-size: 0.82rem;
  line-height: 1.55;
}

.storefront-body.book-product-page .book-product-checkout-form .button,
.storefront-body.book-product-page .book-related-copy .button {
  min-height: 48px;
  border-radius: 0;
  box-shadow: none;
}

.storefront-body.book-product-page .book-product-editorial,
.storefront-body.book-product-page .book-related-section {
  padding: clamp(60px, 8vw, 124px) var(--site-gutter, clamp(24px, 6vw, 96px));
  background: #fff;
  color: #000;
}

.storefront-body.book-product-page .book-product-editorial-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 76px);
}

.storefront-body.book-product-page .book-product-editorial-head h2,
.storefront-body.book-product-page .book-related-section h2 {
  margin: 0;
  color: #000;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(3.1rem, 6.6vw, 7rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.storefront-body.book-product-page .book-product-editorial-head p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #252525;
  font-size: clamp(1.04rem, 1.35vw, 1.24rem);
  line-height: 1.65;
}

.storefront-body.book-product-page .book-product-info-grid {
  display: grid;
  max-width: 1120px;
  margin-left: auto;
  gap: 0;
}

.storefront-body.book-product-page .book-product-info-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 64px);
  padding: 26px 0;
  border-top: 1px solid #e5e5e5;
}

.storefront-body.book-product-page .book-product-info-row h3,
.storefront-body.book-product-page .book-related-row h3 {
  margin: 0;
  color: #000;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1;
}

.storefront-body.book-product-page .book-product-info-row h3 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.storefront-body.book-product-page .book-product-info-row ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.storefront-body.book-product-page .book-product-info-row li {
  max-width: 690px;
  color: #333;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.55;
}

.storefront-body.book-product-page .book-related-section {
  padding-top: 0;
}

.storefront-body.book-product-page .book-related-head {
  margin-bottom: clamp(28px, 4vw, 56px);
}

.storefront-body.book-product-page .book-related-list {
  display: grid;
  gap: 30px;
  max-width: 980px;
}

.storefront-body.book-product-page .book-related-row {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

.storefront-body.book-product-page .book-related-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  background: #fff;
  color: #000;
  text-decoration: none;
}

.storefront-body.book-product-page .book-related-cover img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
}

.storefront-body.book-product-page .book-related-cover span {
  font-family: var(--font-ui, var(--font-sans, "Instrument Sans", Arial, sans-serif));
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.storefront-body.book-product-page .book-related-copy {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.storefront-body.book-product-page .book-related-price {
  margin: 0;
  color: #000;
  font-family: var(--font-ui, var(--font-sans, "Instrument Sans", Arial, sans-serif));
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.storefront-body.book-product-page .book-related-row h3 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.storefront-body.book-product-page .book-related-row h3 a {
  color: inherit;
  text-decoration: none;
}

.storefront-body.book-product-page .book-related-copy p:not(.book-related-price) {
  max-width: 560px;
  margin: 0;
  color: #444;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .storefront-body.book-product-page .book-product-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .storefront-body.book-product-page .book-product-visual {
    min-height: 500px;
    padding-bottom: 28px;
  }

  .storefront-body.book-product-page .book-product-cover {
    max-height: 620px;
  }

  .storefront-body.book-product-page .book-product-copy {
    padding-top: 22px;
  }

  .storefront-body.book-product-page .book-product-copy h1 {
    max-width: 11.8ch;
    font-size: clamp(4rem, 13vw, 6.4rem);
  }

  .storefront-body.book-product-page .book-product-editorial-head,
  .storefront-body.book-product-page .book-product-info-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .storefront-body.book-product-page .book-product-info-grid {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .storefront-body.book-product-page .book-product-visual {
    min-height: 380px;
    padding: 34px 22px 18px;
  }

  .storefront-body.book-product-page .book-product-copy,
  .storefront-body.book-product-page .book-product-editorial,
  .storefront-body.book-product-page .book-related-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .storefront-body.book-product-page .book-product-copy h1 {
    max-width: 100%;
    font-size: clamp(3rem, 15vw, 4.8rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
  }

  .storefront-body.book-product-page .book-product-meta-line span {
    padding-right: 12px;
    margin-right: 12px;
  }

  .storefront-body.book-product-page .book-related-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .storefront-body.book-product-page .book-related-cover {
    justify-content: flex-start;
    width: min(240px, 100%);
    min-height: 220px;
  }
}
