:root {
  color-scheme: dark;
  --lit-ui-panel: rgba(9, 13, 20, 0.76);
  --lit-ui-panel-strong: rgba(9, 13, 20, 0.9);
  --lit-ui-stroke: rgba(255, 255, 255, 0.16);
  --lit-ui-stroke-strong: rgba(255, 255, 255, 0.26);
  --lit-ui-text: #e9eef7;
  --lit-ui-muted: #aeb9c9;
  --lit-ui-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f2eb;
  --bg-2: #ffffff;
  --bg-elev: #fffaf2;
  --glass: rgba(255, 255, 255, 0.72);
  --stroke: rgba(21, 25, 34, 0.14);
  --text: #151922;
  --muted: #5c6878;
  --muted-2: #738092;
  --hero-card-bg:
    radial-gradient(600px 260px at 0% 0%, rgba(90, 166, 255, 0.16), transparent),
    radial-gradient(280px 220px at 100% 0%, rgba(255, 209, 102, 0.22), transparent),
    radial-gradient(260px 200px at 100% 100%, rgba(199, 155, 255, 0.12), transparent),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(246, 242, 234, 0.98));
  --nav-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 242, 234, 0.76));
  --nav-border: rgba(21, 25, 34, 0.14);
  --nav-shadow: 0 18px 48px rgba(52, 61, 77, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --nav-rail: rgba(21, 25, 34, 0.055);
  --nav-rail-border: rgba(21, 25, 34, 0.1);
  --shop-bg: #f5f2eb;
  --shop-bg-2: #ffffff;
  --shop-panel: rgba(255, 255, 255, 0.76);
  --shop-panel-strong: rgba(255, 255, 255, 0.9);
  --shop-panel-soft: rgba(255, 255, 255, 0.58);
  --shop-stroke: rgba(21, 25, 34, 0.14);
  --shop-stroke-strong: rgba(21, 25, 34, 0.22);
  --shop-text: #151922;
  --shop-muted: #5b6778;
  --shop-soft: #748196;
  --shop-ink: #07100d;
  --lit-ui-panel: rgba(255, 255, 255, 0.82);
  --lit-ui-panel-strong: rgba(255, 255, 255, 0.94);
  --lit-ui-stroke: rgba(21, 25, 34, 0.14);
  --lit-ui-stroke-strong: rgba(21, 25, 34, 0.22);
  --lit-ui-text: #151922;
  --lit-ui-muted: #5c6878;
  --lit-ui-shadow: 0 22px 58px rgba(52, 61, 77, 0.16);
}

html[data-theme="light"] body {
  color: var(--text) !important;
  background:
    radial-gradient(1200px 760px at 15% -12%, rgba(90, 166, 255, 0.14), transparent 54%) fixed,
    radial-gradient(920px 620px at 108% 4%, rgba(255, 209, 102, 0.16), transparent 58%) fixed,
    linear-gradient(180deg, #f9f6ef 0%, #f0ece4 100%) fixed !important;
}

html[data-theme="light"] .metro-bg-frame {
  opacity: 0.3 !important;
  filter: invert(0.96) saturate(0.72) brightness(1.08);
}

html[data-theme="light"] .metro-bg-frame::after {
  opacity: 0.26;
  mix-blend-mode: multiply;
}

html[data-theme="light"] header.sticky-chrome::before,
html[data-theme="light"] header.site-header::before {
  background: linear-gradient(to bottom, rgba(250, 247, 240, 0.78), rgba(250, 247, 240, 0.48) 60%, rgba(250, 247, 240, 0));
}

html[data-theme="light"] nav.lit-nav .brand .name,
html[data-theme="light"] .site-header .brand .name {
  color: #151922;
}

html[data-theme="light"] nav.lit-nav .brand .tag,
html[data-theme="light"] nav.lit-nav .brand > div > div:last-child:not(.name),
html[data-theme="light"] .site-header .brand .tag {
  color: rgba(67, 77, 91, 0.78) !important;
}

html[data-theme="light"] nav.lit-nav .nav-links a {
  color: rgba(21, 25, 34, 0.72);
}

html[data-theme="light"] nav.lit-nav .nav-links a:hover,
html[data-theme="light"] nav.lit-nav .nav-links a:focus-visible,
html[data-theme="light"] nav.lit-nav .nav-links a[aria-current="page"] {
  color: #111722;
  background: rgba(21, 25, 34, 0.065);
}

html[data-theme="light"] .site-header .container {
  background: var(--nav-glass);
  border-color: var(--nav-border);
  box-shadow: var(--nav-shadow);
}

html[data-theme="light"] .badge.login,
html[data-theme="light"] .badge.online,
html[data-theme="light"] .nav-actions,
html[data-theme="light"] .back-button,
html[data-theme="light"] .lit-info-card,
html[data-theme="light"] .step,
html[data-theme="light"] .card,
html[data-theme="light"] .pane,
html[data-theme="light"] .station-card,
html[data-theme="light"] .creator-card,
html[data-theme="light"] .next-panel,
html[data-theme="light"] .assistant-mini,
html[data-theme="light"] .product-card,
html[data-theme="light"] .cart-panel,
html[data-theme="light"] .featured-studio,
html[data-theme="light"] .persona-card,
html[data-theme="light"] .hero-product,
html[data-theme="light"] .collection-card {
  border-color: rgba(21, 25, 34, 0.14) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58)) !important;
  color: var(--text);
  box-shadow: var(--lit-ui-shadow) !important;
}

html[data-theme="light"] .sub,
html[data-theme="light"] .hero-lede,
html[data-theme="light"] .step p,
html[data-theme="light"] .assistant-mini p,
html[data-theme="light"] .cart-note,
html[data-theme="light"] .product-meta,
html[data-theme="light"] .shop-label,
html[data-theme="light"] .help,
html[data-theme="light"] .cookie-text {
  color: var(--muted) !important;
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select,
html[data-theme="light"] .input {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(21, 25, 34, 0.14) !important;
}

html[data-theme="light"] body > footer,
html[data-theme="light"] [data-lit-footer-mount] > footer {
  color: #667285;
  border-top-color: rgba(21, 25, 34, 0.1);
}

html[data-theme="light"] body > footer .footGrid strong,
html[data-theme="light"] [data-lit-footer-mount] > footer .footGrid strong {
  color: #151922;
}

html[data-theme="light"] body > footer .footerCredit,
html[data-theme="light"] [data-lit-footer-mount] > footer .footerCredit {
  color: rgba(84, 96, 116, 0.76);
}

html[data-theme="light"] body > footer .footGrid .footerCredit strong,
html[data-theme="light"] [data-lit-footer-mount] > footer .footGrid .footerCredit strong {
  color: inherit;
}

html[data-theme="light"] body > footer .footerCredit a:hover,
html[data-theme="light"] body > footer .footerCredit a:focus-visible,
html[data-theme="light"] [data-lit-footer-mount] > footer .footerCredit a:hover,
html[data-theme="light"] [data-lit-footer-mount] > footer .footerCredit a:focus-visible {
  color: #151922;
  border-bottom-color: rgba(21, 25, 34, 0.28);
}

.lit-theme-toggle,
.lit-cart-button {
  -webkit-tap-highlight-color: transparent;
}

.lit-theme-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--lit-ui-text);
  background: var(--lit-ui-panel);
  border: 1px solid var(--lit-ui-stroke);
  border-radius: 999px;
  box-shadow: var(--lit-ui-shadow), inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lit-theme-toggle:hover,
.lit-theme-toggle:focus-visible,
.lit-cart-button:hover,
.lit-cart-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--lit-ui-stroke-strong);
  outline: none;
}

.lit-theme-toggle:focus-visible,
.lit-cart-button:focus-visible {
  box-shadow: var(--lit-ui-shadow), 0 0 0 3px rgba(168, 240, 201, 0.42);
}

.lit-theme-toggle svg,
.lit-cart-button svg {
  width: 19px;
  height: 19px;
  display: block;
}

.lit-theme-toggle .lit-icon-moon {
  display: none;
}

html[data-theme="light"] .lit-theme-toggle .lit-icon-sun {
  display: none;
}

html[data-theme="light"] .lit-theme-toggle .lit-icon-moon {
  display: block;
}

.lit-nav-tools {
  position: absolute;
  top: 50%;
  right: max(12px, calc((100vw - 1218px) / 2));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
}

nav.lit-nav {
  position: relative;
}

.lit-cart-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--lit-ui-text);
  background: var(--lit-ui-panel);
  border: 1px solid var(--lit-ui-stroke);
  border-radius: 999px;
  box-shadow: var(--lit-ui-shadow), inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lit-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff5a68;
  color: #fff;
  font: 900 10px/1 "Fira Mono", ui-monospace, monospace;
  box-shadow: 0 8px 18px rgba(255, 90, 104, 0.28);
}

.lit-cart-button[data-count="0"] .lit-cart-count {
  opacity: 0;
  transform: scale(0.7);
}

@media (max-width: 1240px) {
  body.lit-has-nav-cart nav.lit-nav .nav-glass {
    width: min(1120px, calc(100vw - 86px));
    margin-right: 48px;
  }

  .lit-nav-tools {
    right: 12px;
  }
}

@media (max-width: 860px) {
  .lit-theme-toggle {
    top: 84px;
    right: 14px;
    bottom: auto;
  }

  body.lit-has-nav-cart .lit-theme-toggle {
    top: 136px;
  }

  body.lit-has-nav-cart nav.lit-nav .nav-glass {
    width: calc(100vw - 82px);
    margin-right: 46px;
  }
}

html.lit-route-arriving body,
html.lit-route-leaving body {
  transition: opacity 0.32s ease, filter 0.32s ease, transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.lit-route-arriving body {
  opacity: 0.72;
  filter: blur(6px);
  transform: translateY(6px) scale(0.996);
}

html.lit-route-ready body {
  opacity: 1;
  filter: none;
  transform: none;
}

html.lit-route-leaving body {
  opacity: 0.64;
  filter: blur(6px);
  transform: translateY(-6px) scale(0.994);
}

.lit-home-page main.minimal-home {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px) 0 84px;
  flex: 1;
}

.legacy-home[hidden] {
  display: none !important;
}

.lit-home-hero {
  min-height: min(720px, calc(100vh - 118px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.lit-home-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.lit-home-kicker {
  width: fit-content;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: #d7f7ff;
  background: rgba(255, 255, 255, 0.065);
  font: 800 11px/1 "Fira Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="light"] .lit-home-kicker {
  color: #17445b;
  background: rgba(255, 255, 255, 0.78);
}

.lit-home-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lit-home-copy h1 i {
  font-weight: 250;
}

.lit-home-sub {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.72;
}

.lit-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.lit-home-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.08);
  font-weight: 850;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lit-home-button.is-primary {
  color: #07100d;
  border-color: rgba(168, 240, 201, 0.5);
  background: linear-gradient(180deg, #c5ffe0, #95e7bd);
}

.lit-home-button:hover,
.lit-home-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--lit-ui-stroke-strong);
  outline: none;
}

.lit-poster-stage {
  display: grid;
  align-items: center;
  justify-items: center;
}

.lit-poster-card {
  width: min(100%, 360px);
  padding: clamp(10px, 2vw, 14px);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.44);
  transform: rotate(1.1deg);
}

.lit-poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  background: #f8f8f5;
}

.lit-poster-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font: 800 11px/1.2 "Fira Mono", ui-monospace, monospace;
  text-transform: uppercase;
}

.lit-home-section {
  margin-top: clamp(34px, 6vw, 72px);
}

.lit-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.lit-section-head h2,
.lit-roadmap summary h2,
.lit-store-path h2 {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lit-section-head h2 strong,
.lit-roadmap summary h2 strong,
.lit-store-path h2 strong {
  font-weight: 900;
}

.lit-section-head h2 i,
.lit-roadmap summary h2 i,
.lit-store-path h2 i {
  font-style: italic;
  font-weight: 250;
}

.lit-section-head p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
}

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

.lit-home-card {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--lit-ui-shadow);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.lit-home-card:hover,
.lit-home-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--lit-ui-stroke-strong);
  outline: none;
}

.lit-home-card span,
.lit-dossier-card small {
  color: #a7f0ff;
  font: 900 11px/1.2 "Fira Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="light"] .lit-home-card span,
html[data-theme="light"] .lit-dossier-card small {
  color: #256178;
}

.lit-home-card h3,
.lit-dossier-card h3 {
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.12;
}

.lit-home-card p,
.lit-dossier-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lit-dossier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lit-dossier-card {
  position: relative;
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--lit-ui-shadow);
}

.lit-dossier-avatar {
  position: absolute;
  inset: -22px;
  z-index: 0;
  width: calc(100% + 44px);
  height: calc(100% + 44px);
  max-width: none;
  object-fit: cover;
  opacity: 0.48;
  filter: blur(18px) grayscale(0.25) contrast(1.18) brightness(0.62);
  transform: scale(1.12);
  pointer-events: none;
}

.lit-dossier-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 0, 0, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 6%, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

html[data-theme="light"] .lit-dossier-card::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 6%, rgba(255, 255, 255, 0.92));
}

html[data-theme="light"] .lit-dossier-avatar {
  opacity: 0.38;
  filter: blur(18px) grayscale(0.18) contrast(1.05) brightness(1.08);
}

.lit-dossier-card > :not(.lit-dossier-avatar) {
  position: relative;
  z-index: 2;
}

.lit-store-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background:
    radial-gradient(380px 220px at 10% 0%, rgba(90, 166, 255, 0.18), transparent),
    radial-gradient(340px 240px at 100% 100%, rgba(255, 209, 102, 0.18), transparent),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--lit-ui-shadow);
}

.lit-store-path p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}

.lit-roadmap {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.lit-roadmap summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 0;
  cursor: pointer;
  list-style: none;
}

.lit-roadmap summary::-webkit-details-marker {
  display: none;
}

.lit-roadmap summary p {
  margin: 8px 0 0;
  color: var(--muted);
}

.lit-roadmap-toggle {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease;
}

.lit-roadmap[open] .lit-roadmap-toggle {
  transform: rotate(45deg);
}

.lit-roadmap-content {
  padding: 18px 0 0;
}

@media (max-width: 980px) {
  .lit-home-hero,
  .lit-store-path {
    grid-template-columns: 1fr;
  }

  .lit-home-grid,
  .lit-dossier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lit-section-head {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .lit-home-page main.minimal-home {
    width: min(100% - 20px, 1180px);
  }

  .lit-home-hero {
    min-height: 0;
  }

  .lit-home-copy h1 {
    max-width: 9.5ch;
  }

  .lit-home-grid,
  .lit-dossier-grid {
    grid-template-columns: 1fr;
  }

  .lit-dossier-card {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.lit-route-arriving body,
  html.lit-route-leaving body,
  .lit-theme-toggle,
  .lit-cart-button,
  .lit-home-button,
  .lit-home-card,
  .lit-roadmap-toggle {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
}
