:root {
  --paper: #f4ecdf;
  --paper-deep: #e9dcc5;
  --ink: #162126;
  --ink-soft: #415158;
  --sage: #284644;
  --sage-soft: #587370;
  --terracotta: #b15b34;
  --gold: #caa46b;
  --card: rgba(255, 252, 246, 0.8);
  --line: rgba(22, 33, 38, 0.12);
  --shadow: 0 22px 70px rgba(28, 40, 42, 0.13);
  --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(202, 164, 107, 0.36), transparent 36%),
    radial-gradient(circle at 90% 15%, rgba(88, 115, 112, 0.22), transparent 24%),
    linear-gradient(180deg, #f8f3eb 0%, #f1e7d7 100%);
  min-height: 100vh;
}

body.dashboard-body {
  background:
    radial-gradient(circle at top left, rgba(40, 70, 68, 0.22), transparent 28%),
    linear-gradient(180deg, #f2ece4 0%, #ebdfcf 100%);
}

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;
}

.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);
}

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

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

.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;
}

.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;
}

.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,
.placeholder-cover {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.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;
}

.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);
}

.dashboard-sidebar {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.72);
  display: grid;
  align-content: start;
  gap: 28px;
}

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

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

.dashboard-nav-label {
  margin: 10px 0 2px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--terracotta);
}

.dashboard-nav a {
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.dashboard-sidebar-footer {
  display: grid;
  gap: 12px;
  color: var(--ink-soft);
}

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

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.dashboard-topbar h1,
.dashboard-card h2 {
  margin: 0;
  font-family: "Fraunces", serif;
}

.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;
}

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

.backend-hero-card h2,
.dashboard-form-head h2 {
  margin: 0;
  font-family: "Fraunces", serif;
}

.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: 22px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(22, 33, 38, 0.08);
  display: grid;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.upload-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(28, 40, 42, 0.12);
}

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

.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: 22px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(22, 33, 38, 0.08);
}

.crm-summary-card strong {
  display: block;
  font-family: "Fraunces", 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: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

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

.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: center;
  gap: 16px;
  margin-bottom: 14px;
}

.dashboard-list {
  display: grid;
}

.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 0;
}

.dashboard-table-head {
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.dashboard-list-row,
.dashboard-table-row {
  border-bottom: 1px solid rgba(22, 33, 38, 0.08);
}

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

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

.dashboard-table {
  display: grid;
}

.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.4fr) minmax(160px, 0.9fr) minmax(160px, 0.8fr);
}

.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);
}

.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(22, 33, 38, 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: 52px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 33, 38, 0.14);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
}

.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 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  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);
}

@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 {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .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;
  }

  .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,
.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;
}

.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;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #f2e7d5, #f8f3eb);
}

.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;
}

.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;
}

.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;
}

.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,
  .customer-stage,
  .support-band,
  .storefront-body .footer,
  .section-shell-head {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .topbar-actions,
  .topbar-brand,
  .collection-rail,
  .hero-proof-row,
  .storefront-body .selling-grid,
  .spotlight-stats,
  .catalog-stats,
  .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;
  }

  .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;
  }
}
