

/* Public library */
.explore-hero { padding: clamp(22px, 4vw, 42px); margin-bottom: 22px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--panel) 92%, var(--brand) 8%), var(--panel)); }
.explore-hero h1 { max-width: 760px; margin-bottom: 8px; }
.explore-search { display: flex; gap: 10px; max-width: 820px; margin-top: 24px; }
.explore-search input { flex: 1 1 360px; min-width: 0; }
.explore-summary { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.explore-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.explore-jump a { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text); font-weight: 700; text-decoration: none; }
.explore-jump a:hover { border-color: var(--brand); color: var(--brand); }
.explore-jump span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--panel-2); color: var(--muted); font-size: .76rem; vertical-align: middle; }
.explore-section { scroll-margin-top: 22px; margin-top: 34px; }
.public-card-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.public-card { min-width: 0; }
.public-card-cover { position: relative; display: block; }
.public-card-cover .cover { aspect-ratio: 16 / 9; }
.public-card h3 a { color: inherit; text-decoration: none; }
.public-card h3 a:hover { color: var(--brand); }
.public-card-meta { min-height: 2.5em; margin: 0 0 10px; color: var(--accent, #8f6fd1); font-size: .86rem; font-weight: 650; }
.public-card-description { display: -webkit-box; min-height: 3em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@media (width < 768px) {
  .explore-hero { padding: 22px 18px; border-radius: 18px; }
  .explore-hero h1 { font-size: clamp(2.15rem, 11vw, 2.7rem); line-height: 1; }
  .explore-hero > div > .muted { line-height: 1.55; }
  .explore-search { align-items: stretch; flex-direction: column; }
  .explore-search > i { top: 22px; }
  .explore-search input { flex-basis: auto; }
  .explore-search button { width: 100%; }
  .explore-results-summary { margin-top: 20px; }
}

/* Enriched public explorer */
.explore-filter-panel { display: grid; gap: 14px; margin-top: 24px; }
.explore-search { position: relative; max-width: none; margin-top: 0; }
.explore-search > i { position: absolute; top: 50%; left: 15px; color: var(--muted); transform: translateY(-50%); }
.explore-search input { padding-left: 42px; }
.explore-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.explore-filters .field { margin: 0; }
.explore-filters label { font-size: .75rem; }
.explore-results-summary { display: flex; gap: 8px; align-items: baseline; margin-top: 18px; color: var(--muted); }
.explore-results-summary strong { color: var(--text); font-family: var(--font-display); font-size: 1.7rem; }
.public-card { position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.public-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.public-card-cover .status-badge { position: absolute; top: 12px; right: 12px; color: #fff; background: rgba(24,21,19,.76); }
.public-card .resource-kind { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 7px; }

@media (width < 1024px) {
  .explore-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (width < 480px) {
  .explore-filters { grid-template-columns: 1fr; }
}

/* Community explorer */
.explore-page { display: grid; gap: 18px; }
.explore-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  overflow: hidden;
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 23rem),
    linear-gradient(135deg, color-mix(in srgb, var(--panel) 94%, var(--brand) 6%), var(--panel));
}
.explore-hero::after {
  content: "";
  position: absolute;
  top: -95px;
  right: -55px;
  width: 280px;
  height: 280px;
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.explore-hero-copy { position: relative; z-index: 1; display: flex; gap: 20px; align-items: flex-start; }
.explore-hero-copy > div { max-width: 760px; }
.explore-hero-icon {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 28%, transparent);
  font-size: 1.45rem;
}
.explore-hero h1 { max-width: none; margin-bottom: 10px; }
.explore-hero .muted { max-width: 680px; margin: 0; font-size: 1rem; line-height: 1.65; }
.explore-hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 210px;
  gap: 9px;
  padding: 17px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel-2) 76%, transparent);
  backdrop-filter: blur(10px);
}
.explore-hero-stats span { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: .82rem; font-weight: 700; }
.explore-hero-stats span:first-child { padding-bottom: 9px; border-bottom: 1px solid var(--line); color: var(--text); font-size: .88rem; }
.explore-hero-stats strong { font-family: var(--font-display); font-size: 1.55rem; line-height: 1; }
.explore-hero-stats i { width: 18px; text-align: center; }

.explore-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(440px, 1.75fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(44, 30, 18, .06);
}
.explore-search { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); min-height: 46px; max-width: none; align-items: center; margin: 0; padding: 0 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); color: var(--muted); transition: border-color .16s ease, box-shadow .16s ease; }
.explore-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.explore-search:focus-within > i { color: var(--brand); }
.explore-search > i { position: static; z-index: 1; color: var(--muted); transform: none; transition: color .16s ease; }
.explore-search input[type="search"] { min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.explore-search input[type="search"]:hover, .explore-search input[type="search"]:focus { border: 0; box-shadow: none; outline: 0; }
.explore-filters { display: grid; grid-template-columns: repeat(3, minmax(125px, 1fr)); gap: 10px; }
.explore-filters label { display: grid; gap: 6px; margin: 0; }
.explore-filters label > span { padding-left: 3px; color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.explore-filters select { min-height: 46px; border-radius: 14px; }
.explore-toolbar-actions { display: flex; gap: 8px; }
.explore-toolbar-actions > * { min-height: 46px; white-space: nowrap; }

.explore-library { display: grid; gap: 16px; }
.explore-library-heading { margin-bottom: 0; }
.explore-library-heading .muted { margin: -7px 0 0; }
.explore-resources { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.explore-resource {
  --resource-color: var(--brand);
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 7px 22px rgba(44, 30, 18, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.explore-resource-world { --resource-color: var(--world); }
.explore-resource-campaign { --resource-color: var(--campaign); }
.explore-resource-scenario { --resource-color: var(--scenario); }
.explore-resource:hover { border-color: color-mix(in srgb, var(--resource-color) 42%, var(--line)); box-shadow: var(--shadow); transform: translateY(-3px); }
.explore-resource-cover { position: relative; display: block; overflow: hidden; background: var(--line); }
.explore-resource-cover img { display: block; width: 100%; height: 155px; object-fit: cover; transition: transform .25s ease; }
.explore-resource:hover .explore-resource-cover img { transform: scale(1.025); }
.explore-resource-type {
  position: absolute;
  bottom: 11px;
  left: 11px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--resource-color) 84%, #16120f);
  color: #fff;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .18);
}
.explore-resource-copy { display: grid; min-width: 0; gap: 9px; padding: 17px 17px 10px; }
.explore-resource-kicker { display: flex; gap: 8px; align-items: center; min-width: 0; color: var(--muted); font-size: .72rem; font-weight: 700; }
.explore-resource-kicker > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.explore-resource-kicker .status-badge { flex: 0 0 auto; padding: 4px 7px; background: color-mix(in srgb, currentColor 10%, var(--panel-2)); font-size: .64rem; }
.explore-resource h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.explore-resource h3 a { color: var(--text); text-decoration: none; }
.explore-resource h3 a:hover { color: var(--resource-color); }
.explore-resource-description {
  display: -webkit-box;
  min-height: 3em;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.explore-resource-meta { display: flex; flex-wrap: wrap; gap: 7px 15px; color: var(--muted); font-size: .75rem; }
.explore-resource-meta span { display: inline-flex; gap: 6px; align-items: center; }
.explore-resource-action { display: flex; align-items: center; justify-content: flex-end; padding: 4px 17px 16px; }
.explore-resource-action .button { color: var(--resource-color); }

.explore-library[data-explore-library-view="list"] .explore-resources { grid-template-columns: 1fr; gap: 10px; }
.explore-library[data-explore-library-view="list"] .explore-resource {
  grid-template-columns: 170px minmax(0, 1fr) auto;
  min-height: 128px;
  transform: none;
}
.explore-library[data-explore-library-view="list"] .explore-resource-cover, .explore-library[data-explore-library-view="list"] .explore-resource-cover img { width: 170px; height: 100%; min-height: 128px; }
.explore-library[data-explore-library-view="list"] .explore-resource-copy { align-content: center; padding: 16px 18px; }
.explore-library[data-explore-library-view="list"] .explore-resource-description { min-height: auto; -webkit-line-clamp: 1; }
.explore-library[data-explore-library-view="list"] .explore-resource-action { padding: 16px 18px 16px 4px; }
.explore-empty { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 28px; box-shadow: none; }
.explore-empty > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: color-mix(in srgb, var(--brand) 12%, var(--panel-2)); color: var(--brand); font-size: 1.35rem; }
.explore-empty h3, .explore-empty p { margin: 0; }
.explore-empty .eyebrow { margin-bottom: 5px; }

@media (width < 1280px) {
  .explore-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
  .explore-search { grid-column: 1 / -1; }
}
@media (width < 1024px) {
  .explore-hero { grid-template-columns: 1fr; align-items: start; }
  .explore-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
  .explore-hero-stats span:first-child { padding: 0; border: 0; }
  .explore-toolbar { grid-template-columns: 1fr; }
  .explore-search { grid-column: auto; }
  .explore-toolbar-actions { justify-content: flex-end; }
  .explore-library[data-explore-library-view="list"] .explore-resource { grid-template-columns: 140px minmax(0, 1fr); }
  .explore-library[data-explore-library-view="list"] .explore-resource-cover, .explore-library[data-explore-library-view="list"] .explore-resource-cover img { width: 140px; }
  .explore-library[data-explore-library-view="list"] .explore-resource-action { grid-column: 2; justify-content: flex-start; padding: 0 18px 16px; }
}
@media (width < 768px) {
  .explore-page { gap: 16px; }
  .explore-hero { padding: 24px 18px; border-radius: 20px; }
  .explore-hero-copy { gap: 13px; }
  .explore-hero-icon { width: 45px; height: 45px; border-radius: 14px; font-size: 1.1rem; }
  .explore-hero h1 { font-size: clamp(1.85rem, 10vw, 2.45rem); }
  .explore-hero-stats { grid-template-columns: 1fr; }
  .explore-toolbar { padding: 14px; }
  .explore-filters { grid-template-columns: 1fr; }
  .explore-toolbar-actions, .explore-toolbar-actions > * { width: 100%; }
  .explore-toolbar-actions > * { flex: 1; }
  .explore-library-heading { align-items: stretch; flex-direction: column; }
  .explore-library[data-explore-library-view="list"] .explore-resource { grid-template-columns: 96px minmax(0, 1fr); min-height: 116px; }
  .explore-library[data-explore-library-view="list"] .explore-resource-cover, .explore-library[data-explore-library-view="list"] .explore-resource-cover img { width: 96px; min-height: 116px; }
  .explore-library[data-explore-library-view="list"] .explore-resource-type { bottom: 8px; left: 8px; gap: 0; padding: 6px; font-size: 0; }
  .explore-library[data-explore-library-view="list"] .explore-resource-type i { font-size: .72rem; }
  .explore-library[data-explore-library-view="list"] .explore-resource-copy { padding: 13px; }
  .explore-library[data-explore-library-view="list"] .explore-resource-description { display: none; }
  .explore-library[data-explore-library-view="list"] .explore-resource-action { grid-column: 1 / -1; padding: 0 12px 12px; }
  .explore-library[data-explore-library-view="list"] .explore-resource-action .button { width: 100%; }
  .explore-empty { grid-template-columns: 1fr; text-align: center; }
  .explore-empty > span { margin: auto; }
}

/* Public landing page */
.landing-body { background:
  radial-gradient(circle at 7% 8%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 28rem),
  var(--bg);
}
.landing-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.landing-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
.landing-nav { display: flex; min-height: 68px; justify-content: space-between; gap: 22px; align-items: center; }
.landing-brand { display: inline-flex; gap: 10px; align-items: center; color: var(--text); font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; }
.landing-brand:hover { text-decoration: none; }
.landing-brand .brand-mark { width: 40px; height: 40px; }
.landing-brand img { width: 40px; height: 38px; object-fit: contain; }
.landing-links { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.landing-links a { color: var(--muted); font-size: .9rem; font-weight: 700; }
.landing-links a:hover { color: var(--text); text-decoration: none; }
.landing-nav-actions { display: flex; gap: 12px; align-items: center; }
.landing-theme-switcher { display: flex; width: auto; }
.landing-theme-switcher button { width: 31px; height: 31px; min-height: 31px; }
.landing-login-link { white-space: nowrap; }

.landing-hero { position: relative; overflow: hidden; padding: clamp(54px, 6vw, 84px) 0 68px; }
.landing-hero::before { position: absolute; top: 2%; right: -18%; width: 52%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--brand) 10%, transparent); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px color-mix(in srgb, var(--brand) 3%, transparent), 0 0 0 140px color-mix(in srgb, var(--brand) 2%, transparent); pointer-events: none; }
.landing-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr); gap: clamp(34px, 5vw, 64px); align-items: center; }
.landing-hero-copy { position: relative; z-index: 3; }
.landing-hero-copy .eyebrow { margin-bottom: 16px; color: var(--brand); }
.landing-hero h1 { max-width: 650px; margin-bottom: 18px; font-size: clamp(2.85rem, 4.8vw, 4rem); line-height: .98; text-wrap: balance; }
.landing-hero h1 span { color: var(--brand); }
.landing-lead { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.75; }
.landing-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.landing-hero-actions .button { min-height: 46px; padding-inline: 18px; }
.landing-demo-form { display: contents; }
.landing-primary-action { box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 25%, transparent); }
.landing-reassurance { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 20px 0 0; padding: 0; color: var(--muted); font-size: .82rem; font-weight: 650; list-style: none; }
.landing-reassurance li { display: flex; gap: 7px; align-items: center; }
.landing-reassurance i { color: var(--success); }

.landing-product-stage { position: relative; min-width: 0; padding: 24px 0 18px; isolation: isolate; }
.landing-product-glow { position: absolute; inset: 5% 6% 0; z-index: -1; border-radius: 50%; background: color-mix(in srgb, var(--brand) 18%, transparent); filter: blur(60px); }
.landing-product-window { overflow: hidden; border: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow-lg); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.landing-window-bar { display: flex; height: 43px; justify-content: space-between; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.landing-window-brand { display: flex; gap: 7px; align-items: center; font-family: var(--font-display); font-size: .72rem; font-weight: 700; }
.landing-window-brand img { width: 20px; height: 20px; object-fit: contain; }
.landing-window-controls { display: flex; gap: 5px; }
.landing-window-controls i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.landing-window-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 350px; }
.landing-window-sidebar { display: grid; align-content: start; gap: 6px; padding: 16px 10px; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--panel-2) 88%, var(--brand) 2%); }
.landing-window-sidebar span, .landing-window-sidebar b { display: flex; gap: 7px; align-items: center; padding: 8px; border-radius: 8px; color: var(--muted); font-size: .6rem; }
.landing-window-sidebar span.is-active { background: var(--panel); color: var(--text); box-shadow: var(--shadow-sm); font-weight: 800; }
.landing-window-sidebar b { justify-content: center; margin-top: 6px; background: var(--brand); color: #fff; }
.landing-window-content { min-width: 0; padding: 21px; }
.landing-preview-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 17px; }
.landing-preview-heading div { display: grid; gap: 3px; }
.landing-preview-heading small, .landing-preview-world small, .landing-preview-resources small { color: var(--muted); font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.landing-preview-heading strong { font-family: var(--font-display); font-size: 1.17rem; }
.landing-preview-heading > span { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: .68rem; }
.landing-preview-world { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel-2); box-shadow: var(--shadow-sm); }
.landing-preview-world img { width: 74px; height: 61px; border-radius: 9px; object-fit: cover; }
.landing-preview-world div, .landing-preview-resources div { display: grid; min-width: 0; gap: 3px; }
.landing-preview-world strong, .landing-preview-resources strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.landing-preview-world span, .landing-preview-resources span { color: var(--muted); font-size: .58rem; }
.landing-preview-world > i { color: var(--muted); font-size: .7rem; }
.landing-preview-resources { display: grid; gap: 7px; margin: 9px 0 0 34px; padding-left: 11px; border-left: 2px solid color-mix(in srgb, var(--brand) 22%, var(--line)); }
.landing-preview-resources article { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.landing-preview-resources img, .landing-preview-icon { width: 52px; height: 42px; border-radius: 7px; object-fit: cover; }
.landing-preview-icon { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand) !important; font-size: .9rem !important; }
.landing-floating-card { position: absolute; z-index: 4; display: flex; gap: 10px; align-items: center; padding: 11px 13px; border: 1px solid color-mix(in srgb, var(--line-strong) 82%, transparent); border-radius: 13px; background: color-mix(in srgb, var(--panel) 94%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.landing-floating-card div { display: grid; }
.landing-floating-card small { color: var(--muted); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.landing-floating-card strong { font-size: .72rem; white-space: nowrap; }
.landing-floating-session { right: -28px; bottom: -1px; }
.landing-floating-session > span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--success) 14%, var(--panel)); color: var(--success); }
.landing-floating-audio { top: 2px; left: -28px; }
.landing-floating-audio > i { color: var(--brand); }
.landing-audio-bars { display: flex; height: 23px; gap: 3px; align-items: center; margin-left: 5px; }
.landing-audio-bars i { width: 3px; border-radius: 3px; background: var(--brand); }
.landing-audio-bars i:nth-child(1) { height: 8px; }
.landing-audio-bars i:nth-child(2) { height: 18px; }
.landing-audio-bars i:nth-child(3) { height: 13px; }
.landing-audio-bars i:nth-child(4) { height: 20px; }

.landing-facts { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 64%, transparent); }
.landing-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.landing-facts-grid > div { display: flex; gap: 12px; align-items: center; min-height: 90px; padding: 16px 20px; border-right: 1px solid var(--line); }
.landing-facts-grid > div:first-child { padding-left: 0; }
.landing-facts-grid > div:last-child { padding-right: 0; border-right: 0; }
.landing-facts-grid > div > i { color: var(--brand); font-size: 1.15rem; }
.landing-facts-grid span { display: grid; }
.landing-facts-grid strong { font-size: .85rem; }
.landing-facts-grid small { color: var(--muted); font-size: .7rem; }

.landing-section { padding: clamp(64px, 7vw, 88px) 0; scroll-margin-top: 72px; }
.landing-section-tinted { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--panel-strong) 48%, var(--bg)); }
.landing-section-heading { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.landing-section-heading .eyebrow { color: var(--brand); }
.landing-section-heading h2 { margin-bottom: 12px; font-size: clamp(1.95rem, 3.3vw, 2.75rem); }
.landing-section-heading > p:last-child, .landing-section-heading-wide > p, .landing-section-heading-wide > div > p { margin: 0; color: var(--muted); line-height: 1.7; }
.landing-section-heading-wide { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); max-width: none; gap: 48px; align-items: end; text-align: left; }
.landing-section-heading-wide h2 { max-width: 760px; margin-bottom: 0; }
.landing-section-heading-wide > div:last-child { display: grid; gap: 13px; }
.landing-text-link { color: var(--brand); font-size: .86rem; font-weight: 800; }

.landing-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.landing-steps::before { position: absolute; top: 43px; right: 12%; left: 12%; z-index: 0; border-top: 1px dashed color-mix(in srgb, var(--brand) 34%, var(--line)); content: ""; }
.landing-steps article { position: relative; z-index: 1; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow-sm); }
.landing-step-number { position: absolute; top: 18px; right: 20px; color: color-mix(in srgb, var(--muted) 50%, transparent); font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.landing-step-icon { display: grid; width: 48px; height: 48px; margin-bottom: 20px; place-items: center; border-radius: 14px; font-size: 1.15rem; }
.landing-step-world { background: color-mix(in srgb, var(--world) 13%, var(--panel)); color: var(--world); }
.landing-step-campaign { background: color-mix(in srgb, var(--campaign) 14%, var(--panel)); color: var(--campaign); }
.landing-step-audit { background: color-mix(in srgb, var(--brand) 13%, var(--panel)); color: var(--brand); }
.landing-step-session { background: color-mix(in srgb, var(--scenario) 13%, var(--panel)); color: var(--scenario); }
.landing-steps h3 { margin-bottom: 11px; font-family: var(--font-display); font-size: 1.38rem; }
.landing-steps p { min-height: 6.4em; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.landing-step-link { display: flex; gap: 9px; align-items: center; margin-top: 18px; color: var(--brand); font-size: .75rem; font-weight: 800; }

.landing-audit-showcase { border-block:1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); background:radial-gradient(circle at 78% 35%, color-mix(in srgb, var(--brand-soft) 72%, transparent), transparent 34%), color-mix(in srgb, var(--panel-strong) 48%, var(--bg)); }
.landing-audit-grid { display:grid; grid-template-columns:minmax(0, .86fr) minmax(520px, 1.14fr); gap:clamp(36px, 6vw, 74px); align-items:center; }
.landing-audit-copy .eyebrow { color:var(--brand); }
.landing-audit-copy h2 { max-width:620px; margin-bottom:15px; font-size:clamp(2rem, 3.5vw, 3rem); }
.landing-audit-lead { max-width:620px; color:var(--muted); line-height:1.75; }
.landing-audit-copy ul { display:grid; gap:13px; margin:26px 0; padding:0; list-style:none; }
.landing-audit-copy li { display:grid; grid-template-columns:38px minmax(0, 1fr); gap:12px; align-items:center; }
.landing-audit-copy li > i { display:grid; width:38px; height:38px; place-items:center; border-radius:11px; color:var(--brand); background:var(--brand-soft); }
.landing-audit-copy li span { display:grid; gap:2px; }
.landing-audit-copy li strong { font-size:.86rem; }
.landing-audit-copy li small { color:var(--muted); font-size:.72rem; line-height:1.45; }
.landing-audit-preview { position:relative; display:grid; gap:14px; padding:22px; border:1px solid color-mix(in srgb, var(--brand) 28%, var(--line)); border-radius:20px; background:color-mix(in srgb, var(--panel) 96%, transparent); box-shadow:var(--shadow-lg); transform:rotate(.6deg); }
.landing-audit-preview::before { position:absolute; inset:-10px 22px auto; z-index:-1; height:30px; border:1px solid var(--line); border-radius:18px; background:var(--panel-2); content:""; }
.landing-audit-preview-header { display:flex; justify-content:space-between; gap:16px; align-items:center; }
.landing-audit-preview-header > div { display:grid; gap:3px; }
.landing-audit-preview-header small { color:var(--brand); font-size:.62rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.landing-audit-preview-header strong { font-family:var(--font-display); font-size:1.2rem; }
.landing-audit-preview-header > span { display:inline-flex; gap:7px; align-items:center; padding:7px 10px; border-radius:999px; color:#9a6018; background:color-mix(in srgb, #d8a020 15%, var(--panel)); font-size:.68rem; font-weight:800; }
.landing-audit-axes { display:grid; grid-template-columns:repeat(4, 1fr); gap:7px; }
.landing-audit-axes > span { display:grid; grid-template-columns:auto 1fr; gap:2px 6px; padding:10px; border:1px solid var(--line); border-radius:11px; background:var(--panel-2); }
.landing-audit-axes i { width:7px; height:7px; margin-top:3px; border-radius:50%; }
.landing-audit-axes i.is-solid { background:var(--success); }
.landing-audit-axes i.is-warning { background:#d8a020; }
.landing-audit-axes small { overflow:hidden; color:var(--muted); font-size:.56rem; text-overflow:ellipsis; white-space:nowrap; }
.landing-audit-axes strong { grid-column:2; font-size:.63rem; }
.landing-audit-finding { display:grid; gap:9px; padding:16px; border-left:4px solid #d66c21; border-radius:13px; background:var(--panel-2); box-shadow:var(--shadow-sm); }
.landing-audit-finding > div { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.landing-audit-finding > div span { padding:4px 7px; border-radius:999px; color:#a94e13; background:rgba(214,108,33,.14); font-size:.6rem; font-weight:850; }
.landing-audit-finding > div small { color:var(--muted); font-size:.6rem; }
.landing-audit-finding h3 { margin:0; font-family:var(--font-display); font-size:1rem; }
.landing-audit-finding > p { margin:0; color:var(--muted); font-size:.7rem; line-height:1.55; }
.landing-audit-finding footer { display:grid; grid-template-columns:26px minmax(0, 1fr); gap:9px; align-items:center; padding:10px; border-radius:9px; background:var(--brand-soft); }
.landing-audit-finding footer > i { color:var(--brand); font-size:.7rem; text-align:center; }
.landing-audit-finding footer span { display:grid; gap:2px; }
.landing-audit-finding footer strong { color:var(--brand); font-size:.62rem; }
.landing-audit-finding footer small { font-size:.65rem; }
.landing-audit-progress { display:grid; grid-template-columns:1fr auto; gap:7px; color:var(--muted); font-size:.65rem; }
.landing-audit-progress strong { color:var(--text); }
.landing-audit-progress > i { grid-column:1 / -1; height:6px; overflow:hidden; border-radius:999px; background:var(--line); }
.landing-audit-progress b { display:block; width:40%; height:100%; border-radius:inherit; background:var(--success); }

.landing-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.landing-feature-card { position: relative; min-width: 0; min-height: 240px; overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow-sm); }
.landing-feature-card h3 { margin: 17px 0 9px; font-family: var(--font-display); font-size: 1.35rem; }
.landing-feature-card p { max-width: 540px; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.landing-feature-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.landing-feature-large { display: grid; grid-column: 1 / -1; grid-template-columns: .72fr 1.28fr; gap: 28px; align-items: center; min-height: 310px; }
.landing-lore-preview { display: grid; grid-template-columns: 140px minmax(0, 1fr); min-height: 220px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel-2); box-shadow: var(--shadow); transform: rotate(1deg); }
.landing-lore-tree { display: grid; align-content: start; gap: 7px; padding: 18px 12px; border-right: 1px solid var(--line); }
.landing-lore-tree strong { margin-bottom: 9px; font-family: var(--font-display); font-size: .79rem; }
.landing-lore-tree span { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 8px; color: var(--muted); font-size: .65rem; }
.landing-lore-tree span.is-active { background: var(--panel); color: var(--text); box-shadow: var(--shadow-sm); }
.landing-lore-page { padding: 20px; }
.landing-lore-page small { color: var(--brand); font-size: .6rem; font-weight: 850; text-transform: uppercase; }
.landing-lore-page strong { display: block; margin: 6px 0 12px; font-family: var(--font-display); font-size: 1.14rem; }
.landing-lore-page p { font-family: var(--font-display); font-size: .77rem; font-style: italic; }
.landing-lore-page > span { display: block; width: 100%; height: 5px; margin-top: 13px; border-radius: 5px; background: var(--line); }
.landing-lore-page > span:nth-last-child(2) { width: 86%; }
.landing-lore-page > span:last-child { width: 62%; }
.landing-feature-image { min-height: 340px; padding: 0; color: #fff; }
.landing-feature-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.landing-feature-overlay { position: relative; display: flex; height: 100%; min-height: 340px; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(180deg, transparent 18%, rgba(24, 17, 12, .9) 100%); }
.landing-feature-overlay .landing-feature-icon { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(8px); }
.landing-feature-overlay p { color: rgba(255,255,255,.78); }
.landing-mixer-preview { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; align-items: center; margin-top: 24px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel-2); }
.landing-mixer-preview > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.landing-mixer-preview div { display: grid; }
.landing-mixer-preview strong { font-size: .72rem; }
.landing-mixer-preview small { color: var(--muted); font-size: .6rem; }
.landing-mixer-preview b { display: flex; height: 28px; gap: 3px; align-items: center; }
.landing-mixer-preview b i { width: 3px; border-radius: 4px; background: var(--brand); }
.landing-mixer-preview b i:nth-child(1), .landing-mixer-preview b i:nth-child(5) { height: 9px; }
.landing-mixer-preview b i:nth-child(2), .landing-mixer-preview b i:nth-child(4) { height: 18px; }
.landing-mixer-preview b i:nth-child(3) { height: 25px; }
.landing-share-preview { display: flex; align-items: center; margin-top: 26px; }
.landing-share-preview span { display: grid; width: 38px; height: 38px; margin-right: -8px; place-items: center; border: 3px solid var(--panel); border-radius: 50%; background: var(--panel-strong); color: var(--muted); }
.landing-share-preview span:nth-child(2) { background: var(--brand-soft); color: var(--brand); }
.landing-share-preview strong { margin-left: 18px; color: var(--muted); font-size: .7rem; }
.landing-feature-ai { display: flex; grid-column: 1 / -1; min-height: auto; justify-content: space-between; gap: 20px; align-items: center; background: linear-gradient(120deg, var(--panel), color-mix(in srgb, var(--brand-soft) 65%, var(--panel))); }
.landing-feature-ai > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 17px; align-items: center; }
.landing-feature-ai h3 { margin: 0 0 6px; }
.landing-feature-ai p { grid-column: 2; }
.landing-premium-label { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); border-radius: 999px; color: var(--brand); font-size: .7rem; font-weight: 800; white-space: nowrap; }

.landing-community { background: var(--bg); }
.landing-community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.landing-community-card { border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.landing-community-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.landing-community-cover { position: relative; display: block; }
.landing-community-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.landing-community-type { position: absolute; bottom: 12px; left: 12px; display: inline-flex; gap: 7px; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(25, 20, 17, .84); color: #fff; font-size: .65rem; font-weight: 800; backdrop-filter: blur(7px); }
.landing-community-type.type-world i { color: #8cd2cc; }
.landing-community-type.type-campaign i { color: #f1c271; }
.landing-community-type.type-scenario i { color: #efa2b4; }
.landing-community-card > div { padding: 16px; }
.landing-community-card small { color: var(--muted); font-size: .7rem; }
.landing-community-card h3 { margin: 5px 0 8px; font-family: var(--font-display); font-size: 1.2rem; }
.landing-community-card h3 a { color: var(--text); }
.landing-community-card h3 a:hover { color: var(--brand); text-decoration: none; }
.landing-community-card p { display: -webkit-box; min-height: 3em; overflow: hidden; margin: 0; color: var(--muted); font-size: .8rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.landing-cta-section { padding: 0 0 clamp(64px, 7vw, 88px); scroll-margin-top: 92px; }
.landing-cta-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); min-height: 350px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow-lg); }
.landing-cta-card > div:first-child { align-self: center; padding: clamp(28px, 4.5vw, 46px); }
.landing-cta-card .eyebrow { color: var(--brand); }
.landing-cta-card h2 { max-width: 580px; margin-bottom: 12px; font-size: clamp(1.95rem, 3.2vw, 2.7rem); }
.landing-cta-card p { max-width: 610px; color: var(--muted); }
.landing-google-signin { max-width: 430px; min-height: 44px; margin-top: 25px; }
.landing-google-panel { display: grid; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--panel-2) 82%, transparent); box-shadow: var(--shadow-sm); }
.landing-google-heading { display: flex; gap: 11px; align-items: center; }
.landing-google-heading > span:last-child { display: grid; gap: 2px; }
.landing-google-heading strong { font-size: .82rem; }
.landing-google-heading small { color: var(--muted); font-size: .7rem; line-height: 1.35; }
.landing-google-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); color: #4285f4; }
.landing-google-button-shell { position: relative; width: min(100%, 320px); min-height: 44px; overflow: hidden; border-radius: 999px; }
.landing-google-button { min-height: 44px; }
.landing-google-button iframe { display: block; }
.landing-google-loading { position: absolute; inset: 0; display: inline-flex; gap: 9px; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: .76rem; font-weight: 750; }
.landing-google-signin.is-ready .landing-google-loading { display: none; }
.landing-google-signin.has-error .landing-google-button-shell { display: none; }
.landing-google-status { margin: 0 !important; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.landing-google-signin.has-error .landing-google-status { color: var(--danger); }
.landing-google-retry { width: fit-content; }
.landing-signin-placeholder { display: inline-flex; gap: 9px; align-items: center; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); color: var(--muted); font-size: .78rem; font-weight: 750; }
.landing-dev-login { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; max-width: 430px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.landing-dev-login label { grid-column: 1 / -1; color: var(--muted); font-size: .72rem; font-weight: 800; }
.landing-cta-visual { position: relative; min-height: 350px; overflow: hidden; }
.landing-cta-visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--panel), transparent 42%), linear-gradient(0deg, rgba(20,14,10,.36), transparent 50%); content: ""; }
.landing-cta-visual img { width: 100%; height: 100%; object-fit: cover; }
.landing-cta-book { position: absolute; right: 12%; bottom: 13%; z-index: 2; display: grid; width: 60px; height: 60px; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 17px; background: rgba(30,20,14,.55); color: #fff; font-size: 1.5rem; backdrop-filter: blur(10px); }

.landing-footer { border-top: 1px solid var(--line); background: var(--panel); }
.landing-footer-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; min-height: 90px; }
.landing-footer-inner p { margin: 0; color: var(--muted); font-size: .78rem; text-align: center; }
.landing-footer-inner nav { display: flex; gap: 18px; }
.landing-footer-inner nav a { color: var(--muted); font-size: .75rem; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .landing-product-window { animation: landing-window-in .7s cubic-bezier(.2,.7,.2,1) both; }
  .landing-floating-card { animation: landing-card-in .65s .2s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes landing-window-in { from { opacity: 0; transform: perspective(1200px) translateY(24px) rotateY(-2deg) rotateX(1deg); } }
@keyframes landing-card-in { from { opacity: 0; transform: translateY(14px); } }

@media (width < 1280px) {
  .landing-links { display: none; }
  .landing-hero-grid { grid-template-columns: 1fr; }
  .landing-hero-copy { max-width: 760px; text-align: center; margin-inline: auto; }
  .landing-lead { margin-inline: auto; }
  .landing-hero-actions, .landing-reassurance { justify-content: center; }
  .landing-product-stage { width: min(760px, 100%); margin-inline: auto; }
  .landing-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-facts-grid > div { border-bottom: 1px solid var(--line); }
  .landing-facts-grid > div:nth-child(2) { border-right: 0; }
  .landing-facts-grid > div:nth-child(n+3) { border-bottom: 0; }
  .landing-facts-grid > div:first-child, .landing-facts-grid > div:last-child { padding: 16px 20px; }
  .landing-section-heading-wide { gap: 28px; }
  .landing-audit-grid { grid-template-columns:1fr; }
  .landing-audit-copy { max-width:760px; }
  .landing-audit-preview { width:min(760px, 100%); }
}

@media (width < 768px) {
  .landing-container { width: min(100% - 28px, 1180px); }
  .landing-nav { min-height: 66px; }
  .landing-brand { font-size: 1.1rem; }
  .landing-theme-switcher { display: none; }
  .landing-hero { padding-top: 44px; }
  .landing-hero h1 { font-size: clamp(2.45rem, 11vw, 3.5rem); }
  .landing-product-stage { padding-inline: 8px; }
  .landing-floating-session { right: -4px; }
  .landing-floating-audio { left: -4px; }
  .landing-steps { grid-template-columns: 1fr; }
  .landing-steps::before { display: none; }
  .landing-steps p { min-height: 0; }
  .landing-audit-preview { padding:17px; transform:none; }
  .landing-section-heading-wide { grid-template-columns: 1fr; gap: 18px; }
  .landing-feature-grid { grid-template-columns: 1fr; }
  .landing-feature-large { grid-column: auto; grid-template-columns: 1fr; }
  .landing-feature-ai { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .landing-community-grid { grid-template-columns: 1fr; }
  .landing-community-card { display: grid; grid-template-columns: minmax(170px, .7fr) 1fr; }
  .landing-community-cover img { height: 100%; aspect-ratio: auto; }
  .landing-cta-card { grid-template-columns: 1fr; }
  .landing-cta-visual { min-height: 230px; }
  .landing-cta-visual::after { background: linear-gradient(180deg, var(--panel), transparent 35%), linear-gradient(0deg, rgba(20,14,10,.28), transparent 55%); }
  .landing-footer-inner { grid-template-columns: 1fr auto; padding-block: 25px; }
  .landing-footer-inner p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (width < 480px) {
  .landing-login-link { padding-inline: 12px; }
  .landing-nav-actions { gap: 6px; }
  .landing-hero { padding-bottom: 48px; }
  .landing-hero-actions { align-items: stretch; flex-direction: column; }
  .landing-hero-actions .button { width: 100%; }
  .landing-reassurance { align-items: flex-start; flex-direction: column; text-align: left; }
  .landing-window-body { grid-template-columns: 1fr; min-height: 335px; }
  .landing-window-sidebar { display: none; }
  .landing-window-content { padding: 16px; }
  .landing-floating-card { padding: 9px 10px; }
  .landing-floating-audio { top: 7px; }
  .landing-floating-session { bottom: 0; }
  .landing-facts-grid { grid-template-columns: 1fr; }
  .landing-facts-grid > div, .landing-facts-grid > div:first-child, .landing-facts-grid > div:last-child { min-height: 84px; padding: 14px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .landing-facts-grid > div:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .landing-facts-grid > div:last-child { border-bottom: 0; }
  .landing-section { padding-block: 56px; }
  .landing-section-heading { margin-bottom: 30px; }
  .landing-steps article, .landing-feature-card { padding: 20px; }
  .landing-audit-axes { grid-template-columns:repeat(2, 1fr); }
  .landing-audit-preview-header { align-items:flex-start; flex-direction:column; }
  .landing-lore-preview { grid-template-columns: 1fr; }
  .landing-lore-tree { display: none; }
  .landing-feature-image, .landing-feature-overlay { min-height: 300px; }
  .landing-feature-ai > div { grid-template-columns: 1fr; }
  .landing-feature-ai p { grid-column: auto; }
  .landing-feature-ai h3 { margin-top: 15px; }
  .landing-community-card { display: block; }
  .landing-community-cover img { aspect-ratio: 16 / 9; }
  .landing-cta-card > div:first-child { padding: 24px 20px; }
  .landing-dev-login { grid-template-columns: 1fr; }
  .landing-dev-login label { grid-column: auto; }
  .landing-footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .landing-footer-inner p { grid-column: auto; grid-row: auto; }
}
.pricing-page-public { margin: 0; }
.pricing-page-public .pricing-hero { padding-inline: 0; }

@media (width < 768px) {
  .pricing-page-public { margin: 0; }
  .pricing-page-public .pricing-hero { padding: 42px 0 78px; }
}
.explore-toolbar { grid-template-columns: minmax(260px, 1.25fr) minmax(0, 1.75fr); }
.explore-filter-disclosure { display: block; min-width: 0; }
.explore-filter-disclosure > summary { display: none; }
.explore-filter-disclosure > .explore-filter-panel, .explore-filter-disclosure:not([open]) > .explore-filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 0;
}

@media (width < 1280px) {
  .explore-toolbar { grid-template-columns: 1fr; }
}

@media (width < 768px) {

  .explore-hero {
    gap: 15px;
    padding: 18px 16px;
    border-radius: 16px;
  }
  .explore-hero-copy { gap: 12px; }
  .explore-hero-icon { display: none; }
  .explore-hero h1 { font-size: clamp(1.9rem, 10vw, 2.4rem); }
  .explore-hero .muted { font-size: .9rem; line-height: 1.5; }
  .explore-hero-stats {
    display: flex;
    min-width: 0;
    gap: 7px;
    padding: 8px;
    overflow-x: auto;
    border-radius: 13px;
    scrollbar-width: none;
  }
  .explore-hero-stats::-webkit-scrollbar { display: none; }
  .explore-hero-stats span, .explore-hero-stats span:first-child {
    min-height: 38px;
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 0;
    border-radius: 10px;
    background: var(--panel);
    font-size: .74rem;
  }
  .explore-hero-stats strong { font-size: 1.1rem; }
  .explore-toolbar { gap: 9px; padding: 10px; }
  .explore-filter-disclosure {
    display: block;
  }
  .explore-filter-disclosure > summary {
    display: flex;
    width: 100%;
    cursor: pointer;
    list-style: none;
  }
  .explore-filter-disclosure > summary::-webkit-details-marker { display: none; }
  .explore-filter-chevron { margin-left: auto; transition: transform .16s ease; }
  .explore-filter-disclosure[open] .explore-filter-chevron { transform: rotate(180deg); }
  .explore-filter-disclosure > .explore-filter-panel, .explore-filter-disclosure:not([open]) > .explore-filter-panel { display: none; }
  .explore-filter-disclosure[open] > .explore-filter-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 10px;
  }
  .explore-filters { grid-template-columns: 1fr; }
  .explore-toolbar-actions, .explore-toolbar-actions > * { width: 100%; }
  .explore-toolbar-actions > * { flex: 1; }
  .pricing-page-public { margin: 0; }
}

/* Blog */
.blog-page, .blog-article { width: min(1160px, 100%); margin: 0 auto; }
.landing-body .blog-page, .landing-body .blog-article { padding: 42px 20px 64px; }
.blog-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); min-height: 280px; margin-bottom: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); box-shadow: var(--shadow); isolation: isolate; }
.blog-hero::before { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 12% 15%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 44%), linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, var(--panel)), var(--panel) 58%); content: ""; }
.blog-hero-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 5vw, 56px); }
.blog-hero h1 { max-width: 680px; margin-bottom: 14px; font-size: clamp(2.35rem, 5vw, 4.4rem); line-height: .98; }
.blog-hero-copy > p:not(.eyebrow) { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.16rem); line-height: 1.65; }
.blog-hero-topics { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.blog-hero-topics span { display: inline-flex; gap: 7px; align-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--panel) 88%, transparent); color: var(--muted); font-size: .76rem; font-weight: 750; }
.blog-hero-topics i { color: var(--brand); }
.blog-hero-visual { position: relative; min-height: 280px; overflow: hidden; }
.blog-hero-visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--panel), transparent 26%); content: ""; }
.blog-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.blog-section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 18px; }
.blog-section-heading h2 { margin: 0; font-size: clamp(1.55rem, 2.6vw, 2rem); }
.blog-section-heading > span { padding: 6px 10px; border-radius: 999px; background: var(--panel-2); color: var(--muted); font-size: .76rem; font-weight: 800; }
.blog-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.blog-card { grid-column: span 4; display: flex; min-width: 0; flex-direction: column; border-radius: 22px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.blog-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
.blog-card-cover { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--brand) 12%, var(--panel-2)); }
.blog-card.is-featured .blog-card-cover { min-height: 340px; aspect-ratio: auto; }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.blog-card-cover:hover img { transform: scale(1.025); }
.blog-card-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 22px; }
.blog-card.is-featured .blog-card-body { justify-content: center; padding: clamp(26px, 4vw, 44px); }
.blog-category-pill { display: inline-flex; width: max-content; gap: 7px; align-items: center; margin-bottom: 11px; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--brand) 10%, var(--panel)); color: var(--brand-dark); font-size: .7rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.blog-article-labels { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 10px; }
.blog-article-labels .eyebrow, .blog-article-labels .blog-category-pill { margin-bottom: 0; }
.blog-card-body h2 { margin-bottom: 10px; font-size: 1.25rem; line-height: 1.28; }
.blog-card.is-featured h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.12; }
.blog-card-body h2 a { color: inherit; text-decoration: none; }
.blog-card-body h2 a:hover { color: var(--brand-dark); }
.blog-card-body > p:not(.blog-meta) { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.blog-meta, .blog-article-byline { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--muted); font-size: .82rem; }
.blog-meta { margin: 0 0 10px; }
.blog-read-more { display: inline-flex; width: max-content; gap: 8px; align-items: center; margin-top: auto; color: var(--brand-dark); font-weight: 800; }
.blog-read-more i { transition: transform .16s ease; }
.blog-read-more:hover i { transform: translateX(3px); }
.blog-empty { text-align: center; }
.blog-breadcrumbs { display: flex; min-width: 0; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: .82rem; }
.blog-breadcrumbs i { font-size: .65rem; }
.blog-card-body h2 { margin-bottom: 10px; font-size: 1.25rem; line-height: 1.28; }
.blog-card.is-featured h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.12; }
.blog-card-body h2 a { color: inherit; text-decoration: none; }
.blog-card-body h2 a:hover { color: var(--brand-dark); }
.blog-card-body > p:not(.blog-meta) { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.blog-meta, .blog-article-byline { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--muted); font-size: .82rem; }
.blog-meta { margin: 0 0 10px; }
.blog-read-more { display: inline-flex; width: max-content; gap: 8px; align-items: center; margin-top: auto; color: var(--brand-dark); font-weight: 800; }
.blog-read-more i { transition: transform .16s ease; }
.blog-read-more:hover i { transform: translateX(3px); }
.blog-empty { text-align: center; }
.blog-breadcrumbs { display: flex; min-width: 0; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: .82rem; }
.blog-breadcrumbs i { font-size: .65rem; }
.blog-breadcrumbs span { overflow: hidden; max-width: 420px; text-overflow: ellipsis; white-space: nowrap; }
.blog-article-header { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 28px; align-items: stretch; margin-bottom: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, var(--panel)), var(--panel) 55%); box-shadow: var(--shadow); }
.blog-article-intro { display: flex; min-width: 0; flex-direction: column; justify-content: center; align-items: flex-start; padding: 8px 6px; }
.blog-article-header h1 { max-width: 760px; margin: 0 0 13px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; }
.blog-article-lead { max-width: 760px; margin: 0 0 17px; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.13rem); line-height: 1.55; }
.blog-article-byline { gap: 8px 16px; }
.blog-article-byline span { display: inline-flex; gap: 6px; align-items: center; }
.blog-article-byline i { color: var(--brand); }
.blog-article-cover { min-height: 240px; overflow: hidden; margin: 0; border-radius: 18px; background: var(--panel-2); }
.blog-article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-article-content { padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: var(--panel); box-shadow: var(--shadow); font-size: 1.05rem; line-height: 1.75; }
.blog-article-content > * { width: 100%; margin-right: auto; margin-left: auto; }
.blog-article-content h2 { margin-top: 1.8em; font-size: 1.55rem; }
.blog-article-content h3 { margin-top: 1.6em; font-size: 1.25rem; }
.blog-article-content img { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: 16px; }
.blog-article-content blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); color: var(--muted); }
.blog-article-footer { display: flex; justify-content: space-between; margin-top: 20px; }

/* Filtres de catégories du Blog */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.blog-filter-btn:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--panel-2);
  transform: translateY(-1px);
}

.blog-filter-btn.is-active {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, var(--panel));
  color: var(--brand-dark);
}

.blog-filter-btn.is-active i {
  color: var(--brand);
}

/* Articles Connexes */
.blog-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.blog-related h2 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  overflow: hidden;
  transition: all 0.18s ease;
}

.blog-related-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-related-card-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: color-mix(in srgb, var(--brand) 12%, var(--panel-2));
}

.blog-related-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.blog-related-card-cover:hover img {
  transform: scale(1.03);
}

.blog-related-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.blog-related-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.blog-related-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-related-card-body h3 a:hover {
  color: var(--brand-dark);
}

.blog-related-card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (width < 1024px) {
  .blog-card { grid-column: span 6; }
  .blog-card.is-featured { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
  .blog-article-header { grid-template-columns: minmax(0, 1fr) 300px; }
  .blog-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (width < 768px) {
  .landing-body .blog-page, .landing-body .blog-article { padding: 26px 14px 48px; }
  .blog-hero { grid-template-columns: 1fr; margin-bottom: 24px; min-height: auto; }
  .blog-hero-copy { padding: 24px 20px; }
  .blog-hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); margin-bottom: 10px; }
  .blog-hero-topics { margin-top: 16px; }
  .blog-hero-visual { display: none; }
  .blog-section-heading { align-items: flex-start; }
  .blog-grid { gap: 16px; }
  .blog-card, .blog-card.is-featured { grid-column: 1 / -1; display: flex; }
  .blog-card.is-featured .blog-card-cover { min-height: 0; aspect-ratio: 16 / 10; }
  .blog-card.is-featured .blog-card-body { padding: 22px; }
  .blog-card.is-featured h2 { font-size: 1.45rem; }
  .blog-article-header { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .blog-article-intro { padding: 0; }
  .blog-article-header h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); margin-bottom: 10px; }
  .blog-article-lead { display: none; }
  .blog-article-cover { min-height: 140px; }
  .blog-article-content { padding: 22px; }
  .blog-breadcrumbs span { max-width: 180px; }
  .blog-related-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-related { margin-top: 36px; padding-top: 24px; }
}

/* =====================================================================
   Pages légales (/terms, /privacy)
   ===================================================================== */
.legal-page { max-width: 780px; margin: 32px auto; line-height: 1.75; }
.legal-page h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 28px; }
.legal-page h2 { font-size: 1.1rem; font-weight: 700; margin-top: 36px; margin-bottom: 8px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.legal-page p { margin: 0 0 14px; color: var(--text); }
.legal-page strong { font-weight: 700; }
@media (width < 768px) {
  .legal-page { margin: 16px; }
  .legal-page h1 { font-size: 1.5rem; }
}
