:root {
  color-scheme: light;
  --bg: #fbfcfa;
  --surface: #ffffff;
  --surface-2: #f1f5f2;
  --surface-3: #e8efeb;
  --studio-bg: #f5faf6;
  --studio-veil: rgba(229, 244, 236, 0.76);
  --studio-grid: rgba(6, 76, 55, 0.07);
  --studio-blue: rgba(36, 95, 158, 0.055);
  --ink: #101512;
  --muted: #5d6661;
  --line: #dce4df;
  --green: #0a684b;
  --green-dark: #064c37;
  --green-bright: #27c978;
  --green-soft: #e7f7ef;
  --blue: #245f9e;
  --amber: #e8ad39;
  --amber-ink: #714d08;
  --amber-soft: #fff6df;
  --coral: #e05b4f;
  --coral-ink: #9b3029;
  --coral-soft: #fff0ed;
  --shadow: 0 18px 44px rgba(6, 76, 55, 0.12);
  --shadow-soft: 0 8px 24px rgba(6, 76, 55, 0.08);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(6, 76, 55, 0.032) 0 1px, transparent 1px 100%)
      0 0 / 128px 128px,
    linear-gradient(180deg, #ffffff 0%, var(--studio-bg) 44%, #eef7f1 100%);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select,
textarea,
input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 44px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 96px;
  padding: 0 clamp(34px, 4vw, 78px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.prelaunch-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(232, 173, 57, 0.32);
  background: linear-gradient(90deg, rgba(255, 246, 223, 0.94), rgba(231, 247, 239, 0.94));
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.prelaunch-banner strong {
  color: var(--amber-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prelaunch-banner span {
  color: var(--muted);
  font-weight: 750;
}

.brand,
.shell-actions,
.toolbar-actions,
.toolbar-status,
.price-line,
.stats-block {
  display: flex;
  align-items: center;
}

.brand {
  gap: 16px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: var(--green-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.nav-menu {
  position: relative;
  justify-self: end;
  color: var(--ink);
  font-size: 13px;
}

.nav-menu::after {
  position: absolute;
  top: 100%;
  right: -4px;
  z-index: 31;
  width: 212px;
  height: 18px;
  background: transparent;
  content: "";
  pointer-events: auto;
}

.nav-menu-toggle,
.library-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  border-radius: 4px;
}

.nav-menu-toggle {
  justify-content: center;
  width: 56px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.nav-menu-toggle::-webkit-details-marker {
  display: none;
}

.nav-menu-toggle span {
  position: absolute;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-menu.is-open .nav-menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-menu.is-open .nav-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-menu.is-open .nav-menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-menu-toggle:hover,
.nav-menu-toggle:focus-visible,
.nav-menu.is-open .nav-menu-toggle {
  border-color: rgba(10, 104, 75, 0.28);
  background: var(--green-soft);
  color: var(--green-dark);
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  grid-auto-flow: row;
  gap: 4px;
  min-width: 196px;
  padding: 8px;
  border: 1px solid rgba(6, 76, 55, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(6, 76, 55, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  visibility: hidden;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.nav-menu-panel::before {
  position: absolute;
  top: -8px;
  right: 15px;
  width: 14px;
  height: 14px;
  content: "";
  border-top: 1px solid rgba(6, 76, 55, 0.14);
  border-left: 1px solid rgba(6, 76, 55, 0.14);
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
}

.nav-menu-panel::after,
.shell-action-panel::after {
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  height: 10px;
  background: transparent;
  content: "";
  pointer-events: auto;
}

.nav-menu.is-open .nav-menu-panel,
.nav-menu:hover .nav-menu-panel,
.nav-menu-toggle:hover + .nav-menu-panel,
.nav-menu-toggle:focus-visible + .nav-menu-panel,
.nav-menu:focus-within .nav-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.nav-menu-panel a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  color: var(--ink);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.nav-menu-panel a:hover,
.nav-menu-panel a:focus-visible,
.library-link:hover {
  background: var(--surface-2);
}

.nav-menu-panel a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--green-dark);
}

.nav-menu-panel a[aria-current="page"]::after,
.mobile-nav a[aria-current="page"]::before {
  position: absolute;
  content: "";
  background: var(--green);
}

.nav-menu-panel a[aria-current="page"]::after {
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 3px;
  border-radius: 999px;
}

.shell-actions {
  gap: 2px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.shell-action-menu {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.shell-action-menu::after {
  display: none;
  content: "";
}

.shell-action {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.shell-action:hover,
.shell-action:focus-visible,
.shell-action-menu.is-open .shell-action {
  background: var(--green-soft);
  color: var(--green-dark);
}

.shell-action-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 32;
  display: grid;
  gap: 6px;
  min-width: 224px;
  padding: 10px;
  border: 1px solid rgba(6, 76, 55, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(6, 76, 55, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  visibility: hidden;
}

.shell-action-panel::before {
  position: absolute;
  top: -8px;
  right: 15px;
  width: 14px;
  height: 14px;
  content: "";
  border-top: 1px solid rgba(6, 76, 55, 0.14);
  border-left: 1px solid rgba(6, 76, 55, 0.14);
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
}

.shell-search-panel {
  right: -96px;
  width: min(322px, calc(100vw - 32px));
}

.shell-search-panel::before {
  right: 111px;
}

.shell-action-menu.is-open .shell-action-panel,
.shell-action-menu:hover .shell-action-panel,
.shell-action-menu:focus-within .shell-action-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.shell-search-field,
.shell-search-results {
  display: grid;
  gap: 6px;
}

.shell-search-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.shell-search-field input {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.shell-search-field input:focus {
  outline: 2px solid rgba(10, 104, 75, 0.18);
  border-color: rgba(10, 104, 75, 0.42);
}

.shell-panel-link,
.shell-search-results a,
.shell-search-empty {
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.shell-panel-link,
.shell-search-results a {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 42px;
  padding: 9px 10px;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.shell-panel-link:hover,
.shell-panel-link:focus-visible,
.shell-search-results a:hover,
.shell-search-results a:focus-visible {
  background: var(--green-soft);
  color: var(--green-dark);
}

.shell-panel-link strong,
.shell-search-results strong {
  font-size: 12px;
  font-weight: 900;
}

.shell-panel-link span,
.shell-search-results small {
  color: var(--muted);
  font-size: 11px;
}

.shell-search-empty {
  padding: 10px;
  color: var(--muted);
}

.shell-action svg,
.stage-actions svg,
.stage-interaction-hint svg,
.stage-product-panel svg,
.home-destination-arrow {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.library-link {
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

main {
  padding-bottom: 96px;
}

.home-main {
  padding-bottom: 0;
}

.page-main {
  padding-top: 28px;
}

.collection-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(800px, calc(100svh - 72px), 980px);
  margin: 0 auto;
  padding: clamp(34px, 4.8vh, 70px) clamp(28px, 4.2vw, 82px) 28px;
  background:
    linear-gradient(110deg, transparent 0 14%, rgba(8, 112, 79, 0.055) 14% 14.5%, transparent 14.5% 100%),
    linear-gradient(250deg, transparent 0 18%, var(--studio-blue) 18% 18.45%, transparent 18.45% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 248, 0.96) 52%, rgba(238, 247, 241, 0.9) 100%);
}

.collection-stage::before {
  position: absolute;
  inset: 76px -8% auto;
  height: 64%;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(232, 246, 238, 0.52) 38%, rgba(246, 251, 248, 0.78) 54%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(6, 76, 55, 0.045) 100%);
  opacity: 0.86;
  transform: skewY(-5deg);
  transform-origin: center;
}

.collection-stage::after {
  position: absolute;
  right: -8%;
  bottom: 0;
  left: -8%;
  height: 34%;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(6, 76, 55, 0.055) 49% 49.18%, transparent 49.18% 100%),
    linear-gradient(180deg, transparent 0%, rgba(6, 76, 55, 0.05) 100%);
  opacity: 0.5;
}

.stage-layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(3000px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(360px, 0.78fr) minmax(860px, 1.78fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 2.6vw, 64px);
  align-items: stretch;
  min-height: clamp(680px, calc(100svh - 138px), 900px);
}

.stage-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  height: clamp(660px, calc(100svh - 138px), 900px);
  min-height: 660px;
}

.stage-visual::before {
  position: absolute;
  inset: 26px -18px 36px;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(236, 248, 242, 0.76) 58%, rgba(208, 233, 221, 0.34) 100%),
    linear-gradient(90deg, transparent 0 44px, rgba(6, 76, 55, 0.032) 44px 45px, transparent 45px 90px);
  opacity: 0.84;
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}

.stage-visual::after {
  position: absolute;
  right: 3%;
  bottom: 54px;
  left: 3%;
  z-index: -1;
  height: 136px;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(6, 76, 55, 0.1) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(6, 76, 55, 0.075) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, rgba(8, 112, 79, 0.04), rgba(8, 112, 79, 0.01));
  opacity: 0.36;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

#collection-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  cursor: grab;
  touch-action: none;
}

#collection-canvas.is-dragging {
  cursor: grabbing;
}

#collection-canvas:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--green);
}

.stage-copy {
  align-self: start;
  min-width: 0;
  padding: clamp(70px, 8vh, 118px) 0 38px;
}

.stage-copy h1 {
  max-width: 10ch;
  margin-bottom: 28px;
  font-size: clamp(78px, 4.8vw, 124px);
  font-family: "Arial Narrow", "Bahnschrift Condensed", "Segoe UI", sans-serif;
  line-height: 0.88;
  font-stretch: condensed;
  text-wrap: balance;
}

.stage-copy p:not(.eyebrow) {
  max-width: 34ch;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.62;
}

.stage-actions {
  display: grid;
  gap: 10px;
  width: min(100%, 292px);
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  justify-content: space-between;
  padding: 0 18px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 900;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.primary-action {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 7px 18px rgba(6, 76, 55, 0.18);
}

.secondary-action {
  border: 1px solid var(--green);
  background: var(--surface);
  color: var(--green-dark);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.primary-action:hover {
  background: var(--green);
}

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

.stage-status {
  display: grid;
  grid-template-rows: auto auto auto auto auto auto;
  align-self: start;
  gap: 0;
  min-width: 0;
  height: auto;
  min-height: clamp(470px, calc(100svh - 385px), 560px);
  margin-top: clamp(54px, 6vh, 84px);
  padding: 28px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(16, 21, 18, 0.05);
}

.stage-product-badge {
  justify-self: start;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 2px;
  background: var(--green-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.stage-status small,
.side-note {
  color: var(--muted);
  font-size: 13px;
}

.stage-status strong {
  max-width: 11ch;
  font-size: clamp(38px, 2.35vw, 54px);
  font-family: "Arial Narrow", "Bahnschrift Condensed", "Segoe UI", sans-serif;
  line-height: 0.98;
  font-stretch: condensed;
}

.stage-status p {
  margin: 20px 0 22px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.58;
}

.stage-product-meta {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stage-product-meta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}

.stage-product-meta dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.stage-product-meta dt svg {
  width: 16px;
  height: 16px;
}

.stage-product-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.stage-product-cta,
.stage-product-favorite {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 13px;
  font-weight: 900;
}

.stage-product-cta {
  justify-content: space-between;
  margin-top: 28px;
  padding: 0 16px;
  border-radius: 3px;
  background: var(--green-dark);
  color: #fff;
}

.stage-product-favorite {
  justify-content: center;
  gap: 9px;
  margin-top: 7px;
  color: var(--green-dark);
}

.stage-product-cta:hover {
  background: var(--green);
}

.stage-product-favorite:hover {
  background: var(--green-soft);
}

.home-destinations {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(2200px, calc(100% - clamp(44px, 7vw, 160px)));
  margin: -58px auto 0;
  overflow: hidden;
  border: 1px solid rgba(6, 76, 55, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 18px 44px rgba(6, 76, 55, 0.08),
    inset 0 -3px 0 var(--green);
  backdrop-filter: blur(12px);
}

.home-destinations > a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 9px 14px;
  align-items: start;
  min-height: 188px;
  padding: 28px clamp(22px, 2.35vw, 42px) 24px;
  border-right: 1px solid var(--line);
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.home-destinations > a:last-child {
  border-right: 0;
}

.home-destinations > a:hover,
.home-destinations > a:focus-visible {
  background: rgba(231, 247, 239, 0.68);
  box-shadow: inset 0 3px 0 rgba(10, 104, 75, 0.24);
  transform: translateY(-1px);
}

.home-destination-count {
  grid-column: 1 / -1;
  color: var(--green-dark);
  font-size: 44px;
  font-family: "Arial Narrow", "Bahnschrift Condensed", "Segoe UI", sans-serif;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.home-destination-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.home-destination-copy strong {
  font-size: 21px;
  line-height: 1.12;
}

.home-destination-copy small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.home-destination-arrow {
  align-self: end;
  width: 22px;
  height: 22px;
  color: var(--green-dark);
}

@media (min-width: 2200px) {
  .collection-stage {
    padding-right: clamp(76px, 5vw, 150px);
    padding-left: clamp(76px, 5vw, 150px);
  }

  .stage-layout {
    width: min(2420px, 100%);
    grid-template-columns: minmax(430px, 0.76fr) minmax(980px, 1.66fr) minmax(430px, 0.78fr);
    gap: clamp(42px, 2vw, 68px);
  }

  .stage-copy h1 {
    font-size: clamp(96px, 4.4vw, 142px);
  }

  .stage-copy p:not(.eyebrow) {
    font-size: 20px;
  }

  .stage-actions {
    width: min(100%, 330px);
  }

  .primary-action,
  .secondary-action {
    min-height: 58px;
    font-size: 15px;
  }

  .stage-status {
    margin-top: clamp(60px, 5.8vh, 92px);
  }
}

.side-note {
  max-width: 30ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.catalog-shell {
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr;
  min-height: calc(100vh - 96px);
  background: var(--bg);
}

.filters {
  position: sticky;
  top: 96px;
  height: calc(100vh - 96px);
  padding: 38px 26px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--surface);
  font-size: 17px;
}

.filters h1 {
  max-width: 10ch;
  font-size: 48px;
  line-height: 0.98;
}

.filter-block + .filter-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.eyebrow,
.filter-label {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: 0;
}

.segmented {
  display: grid;
  gap: 6px;
}

.segment,
.tab,
.table-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.segment {
  min-height: 52px;
  padding: 12px 14px;
  font-size: 17px;
  text-align: left;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.segment:hover {
  border-color: rgba(8, 112, 79, 0.24);
  background: var(--surface-2);
}

.segment.is-active {
  border-color: rgba(8, 112, 79, 0.36);
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--green);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.check-row:hover {
  color: var(--ink);
}

.check-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
}

.stats-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.filters .metric {
  display: grid;
  min-width: 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 2px solid var(--green);
  border-radius: 0;
  background: transparent;
}

.filters .metric strong {
  font-size: 30px;
}

.filters .metric span {
  color: var(--muted);
  font-size: 14px;
}

.catalog-main {
  min-width: 0;
  padding: 24px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(14, 42, 32, 0.05);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(620px, 100%);
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.search-box:focus-within,
.sort-box:focus-within {
  border-color: var(--green);
  outline: 3px solid rgba(8, 112, 79, 0.28);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px rgba(8, 112, 79, 0.12);
}

.search-box svg,
.buy-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.toolbar-actions {
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.product-studio-toolbar-count {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-height: 50px;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.product-studio-toolbar-count strong {
  color: var(--green-dark);
  font-size: 22px;
}

.sort-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.sort-box select {
  min-width: 148px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

.toolbar-status {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
}

.toolbar-status span {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 500px);
  gap: 20px;
  align-items: start;
}

.workspace.is-empty {
  grid-template-columns: minmax(0, 1fr);
}

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

.catalog-empty {
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  min-height: 360px;
  padding: 36px;
  border: 1px dashed rgba(32, 33, 36, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.catalog-empty span {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-empty h2 {
  font-size: 24px;
}

.catalog-empty p {
  max-width: 34ch;
  margin: 10px 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.template-card {
  --product-accent: var(--green);
  --product-accent-soft: var(--green-soft);
  --product-ink: #fff;
  --gloss-x: 58%;
  --gloss-y: 32%;
  --tilt-x: 3deg;
  --tilt-y: -8deg;
  display: grid;
  grid-template-rows: 262px 1fr;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(19, 47, 36, 0.06);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.template-card[data-template-id="local-seo"] {
  --product-accent: var(--blue);
}

.template-card[data-template-id="social-proof"] {
  --product-accent: var(--coral);
}

.template-card[data-template-id="launch-bundle"] {
  --product-accent: var(--amber);
}

.template-card:hover,
.template-card:focus-visible {
  border-color: color-mix(in srgb, var(--product-accent) 58%, var(--line));
  box-shadow: 0 16px 38px rgba(18, 48, 37, 0.12);
  transform: translateY(-2px);
}

.template-card.is-selected {
  border-color: var(--product-accent);
  outline: 2px solid color-mix(in srgb, var(--product-accent) 70%, white);
  outline-offset: 2px;
  box-shadow:
    0 18px 44px color-mix(in srgb, var(--product-accent) 18%, transparent),
    inset 0 3px 0 var(--product-accent);
}

.template-product-stage {
  position: relative;
  display: grid;
  min-height: 262px;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(
      148deg,
      color-mix(in srgb, var(--product-accent-soft) 62%, white),
      color-mix(in srgb, var(--product-accent) 9%, white) 58%,
      #f8faf9
    );
  perspective: 760px;
  isolation: isolate;
}

.template-product-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.62) 50%, transparent 50.3%),
    linear-gradient(transparent 76%, rgba(16, 21, 18, 0.035) 76%);
  background-size: 100% 100%, 100% 18px;
  content: "";
  opacity: 0.7;
}

.template-stage-light {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 70%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--product-accent) 22%, white),
    transparent 68%
  );
  filter: blur(16px);
  opacity: 0.8;
  transform: translateX(-50%);
}

.template-platform {
  position: absolute;
  right: 17%;
  bottom: 22px;
  left: 17%;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--product-accent) 28%, transparent);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--product-accent) 24%, transparent),
    transparent 68%
  );
  box-shadow: 0 12px 20px rgba(14, 38, 29, 0.12);
  transform: rotateX(68deg);
}

.template-cover {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
  width: 154px;
  height: 204px;
  padding: 14px 13px 12px 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--product-accent) 64%, white);
  border-radius: 3px 7px 7px 3px;
  background: var(--product-accent);
  color: var(--product-ink);
  box-shadow:
    15px 20px 26px rgba(9, 31, 23, 0.2),
    inset -8px 0 12px rgba(255, 255, 255, 0.08);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(8px);
  transform-style: preserve-3d;
  transition:
    transform 150ms ease-out,
    box-shadow 180ms ease;
}

.template-cover-spine {
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 23, 17, 0.16);
}

.template-cover-kicker,
.template-cover-status {
  position: relative;
  z-index: 2;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.template-cover > strong {
  position: relative;
  z-index: 2;
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.02;
}

.template-cover-preview {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 6px 12px rgba(5, 23, 17, 0.13);
  transform: translateZ(12px);
}

.template-cover-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-gloss {
  position: absolute;
  inset: -42%;
  z-index: 3;
  border-radius: 42%;
  background:
    radial-gradient(
      circle at var(--gloss-x) var(--gloss-y),
      rgba(255, 255, 255, 0.74) 0 8%,
      rgba(255, 255, 255, 0.16) 18%,
      transparent 36%
    ),
    linear-gradient(
      112deg,
      transparent 31%,
      rgba(255, 255, 255, 0.08) 39%,
      rgba(255, 255, 255, 0.68) 48%,
      rgba(255, 255, 255, 0.1) 56%,
      transparent 65%
    );
  mix-blend-mode: screen;
  opacity: 0.82;
  pointer-events: none;
  transform: translate3d(
      calc(var(--gloss-x) - 50%),
      calc(var(--gloss-y) - 50%),
      22px
    )
    rotate(8deg);
  transition: transform 160ms ease-out;
}

.card-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 12px;
  min-height: 258px;
  padding: 18px 20px 20px;
}

.card-topline,
.card-meta,
.card-footer {
  display: flex;
  align-items: center;
}

.card-topline {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.tag {
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.tag.is-live,
.tag.is-planned {
  background: var(--surface-2);
  color: var(--muted);
}

.tag.is-new {
  background: var(--green-soft);
  color: var(--green-dark);
}

.template-card h2 {
  font-size: 22px;
  line-height: 1.12;
}

.template-card p {
  min-height: 68px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.card-meta {
  min-height: 34px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-meta span {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.card-footer {
  align-self: end;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
}

.card-footer > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.card-open {
  color: var(--product-accent);
  font-size: 18px;
  line-height: 1;
  transition: transform 160ms ease;
}

.template-card:hover .card-open,
.template-card:focus-visible .card-open {
  transform: translateX(3px);
}

.detail-panel {
  --product-accent: var(--green);
  --product-accent-soft: var(--green-soft);
  --product-ink: #fff;
  position: sticky;
  top: 86px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--product-accent) 24%, var(--line));
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 48px rgba(13, 43, 32, 0.1);
}

.detail-panel[hidden] {
  display: none;
}

.detail-product-stage {
  position: relative;
  display: grid;
  height: 300px;
  overflow: hidden;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--product-accent-soft) 68%, white),
      color-mix(in srgb, var(--product-accent) 11%, white) 66%,
      #f9fbfa
    );
  perspective: 900px;
  isolation: isolate;
}

.detail-stage-light {
  position: absolute;
  top: 4%;
  left: 50%;
  width: 82%;
  height: 76%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--product-accent) 25%, white),
    transparent 66%
  );
  filter: blur(18px);
  opacity: 0.78;
  transform: translateX(-50%);
}

.detail-platform {
  position: absolute;
  right: 16%;
  bottom: 19px;
  left: 16%;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--product-accent) 30%, transparent);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--product-accent) 27%, transparent),
    transparent 70%
  );
  box-shadow: 0 16px 24px rgba(10, 35, 26, 0.15);
  transform: rotateX(70deg);
}

.detail-cover {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 9px;
  width: 190px;
  height: 244px;
  padding: 16px 15px 14px 21px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--product-accent) 62%, white);
  border-radius: 3px 8px 8px 3px;
  background: var(--product-accent);
  color: var(--product-ink);
  box-shadow:
    20px 24px 34px rgba(8, 30, 22, 0.22),
    inset -10px 0 16px rgba(255, 255, 255, 0.09);
  transform: rotateX(2deg) rotateY(-9deg) translateZ(12px);
  transform-style: preserve-3d;
}

.detail-cover::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 23, 16, 0.16);
  content: "";
}

.detail-cover-kicker,
.detail-cover > [data-detail-cover-status] {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-cover > strong {
  position: relative;
  z-index: 2;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.02;
}

.detail-cover-preview {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(6, 28, 20, 0.16);
  transform: translateZ(16px);
}

.detail-cover-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gloss {
  position: absolute;
  inset: -45%;
  z-index: 3;
  background: linear-gradient(
    112deg,
    transparent 30%,
    rgba(255, 255, 255, 0.12) 39%,
    rgba(255, 255, 255, 0.76) 48%,
    rgba(255, 255, 255, 0.12) 57%,
    transparent 66%
  );
  mix-blend-mode: screen;
  opacity: 0.76;
  pointer-events: none;
  transform: translate3d(-14%, 0, 22px) rotate(8deg);
  animation: detailProductGloss 5.6s ease-in-out infinite alternate;
}

@keyframes detailProductGloss {
  to {
    transform: translate3d(14%, -3%, 22px) rotate(8deg);
  }
}

.detail-content {
  padding: 24px 26px 26px;
}

.detail-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

#detail-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.price-line {
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-line strong {
  font-size: 28px;
}

.price-line span {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.release-panel {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 0;
  border-left: 3px solid rgba(8, 112, 79, 0.58);
  border-radius: 0;
  background: var(--green-soft);
  box-shadow: none;
  max-height: 240px;
  overflow: auto;
}

.release-panel[data-release-state="planned"] {
  border-left-color: rgba(232, 173, 57, 0.78);
  background: var(--amber-soft);
}

.release-panel strong {
  color: var(--green-dark);
  font-size: 16px;
}

.release-panel[data-release-state="planned"] strong {
  color: var(--amber-ink);
}

.release-panel span,
.release-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.version-history {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(32, 33, 36, 0.1);
}

.version-history article {
  display: grid;
  gap: 7px;
}

.version-history article > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.version-history [data-version-number] {
  color: var(--ink);
  font-size: 14px;
}

.version-history [data-version-label] {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.version-history ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 17px;
}

.version-history li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.46;
}

.delivery-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(32, 33, 36, 0.1);
}

.delivery-list > strong {
  color: var(--ink);
  font-size: 14px;
}

.delivery-list ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
}

.delivery-list [data-delivery-name] {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.delivery-list small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.delivery-list p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tab-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 16px 0;
  border-bottom: 1px solid var(--line);
}

.tab {
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-size: 13px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.tab:hover {
  border-color: rgba(8, 112, 79, 0.34);
  background: var(--surface-2);
}

.tab.is-active {
  border-color: var(--green);
  background: transparent;
  color: var(--green-dark);
  font-weight: 900;
}

.tab-panel {
  min-height: 132px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.tab-panel ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.preview-points {
  margin-bottom: 12px;
}

.workflow-demo {
  display: grid;
  gap: 14px;
  margin: 16px 0 18px;
  padding: 16px;
  border: 1px solid rgba(8, 112, 79, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 255, 244, 0.76), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.workflow-demo-head {
  display: grid;
  gap: 6px;
}

.workflow-demo-head > span {
  color: var(--product-accent, var(--green-dark));
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.workflow-demo-head strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.12;
}

.workflow-demo-head p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.workflow-case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.workflow-case {
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(8, 112, 79, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--green-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.workflow-case:hover,
.workflow-case:focus-visible {
  border-color: var(--product-accent, var(--green));
  transform: translateY(-1px);
}

.workflow-case.is-active {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #fff;
}

.workflow-story {
  display: grid;
  gap: 12px;
}

.workflow-inquiry {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(32, 33, 36, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.workflow-inquiry span,
.workflow-step strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.workflow-inquiry p,
.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.workflow-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(8, 112, 79, 0.16);
  border-radius: 8px;
  background: rgba(8, 112, 79, 0.16);
}

.workflow-step {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 138px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.workflow-step > span {
  color: var(--product-accent, var(--green-dark));
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.system-dashboard {
  display: grid;
  gap: 14px;
  margin: 16px 0 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-dashboard-head {
  display: grid;
  gap: 5px;
}

.system-dashboard-head > span {
  color: var(--product-accent, var(--green-dark));
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.system-dashboard-head strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.system-dashboard-head p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(8, 112, 79, 0.18);
  background: rgba(8, 112, 79, 0.18);
}

.system-flow-step {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 122px;
  padding: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 251, 247, 0.9)),
    var(--surface);
}

.system-flow-step > span {
  color: var(--product-accent, var(--green-dark));
  font-size: 17px;
  font-weight: 950;
}

.system-flow-step strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
}

.system-flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.system-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
}

.system-metrics,
.system-roles,
.system-cockpit {
  display: grid;
  gap: 8px;
}

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

.system-metric,
.system-role,
.system-cockpit-item {
  border-left: 2px solid var(--product-accent, var(--green));
  padding: 4px 0 4px 10px;
}

.system-metric strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.system-metric span,
.system-role strong,
.system-cockpit-item strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.system-metric small,
.system-role span,
.system-cockpit-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.system-cockpit {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 2px;
}

.value-layer {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.value-layer-head {
  display: grid;
  gap: 6px;
}

.value-layer-head > span {
  color: var(--product-accent, var(--green-dark));
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.value-layer-head strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.12;
}

.value-layer-head p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.value-comparison {
  display: grid;
  gap: 10px;
}

.value-comparison article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(8, 112, 79, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.value-comparison article > div {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px 13px;
}

.value-comparison article > div:first-child {
  border-right: 1px solid rgba(32, 33, 36, 0.1);
  background: rgba(249, 250, 247, 0.74);
}

.value-comparison span,
.value-proof > strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.value-comparison p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.value-outcomes div {
  padding-left: 11px;
  border-left: 2px solid var(--product-accent, var(--green));
}

.value-outcomes strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.value-outcomes p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.value-proof {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(8, 112, 79, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 255, 244, 0.78), rgba(255, 255, 255, 0.86)),
    var(--surface);
}

.value-proof ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.value-proof li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.value-proof li span {
  display: block;
  color: var(--green-dark);
  font-weight: 950;
}

.file-preview-browser {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.preview-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.preview-file {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.preview-file:hover {
  border-color: rgba(8, 112, 79, 0.3);
}

.preview-file.is-active {
  border-color: rgba(8, 112, 79, 0.42);
  background: var(--green-soft);
  color: var(--green-dark);
}

.preview-window {
  overflow: hidden;
  border: 1px solid rgba(32, 33, 36, 0.1);
  border-radius: 8px;
  background: var(--surface);
}

.preview-window > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}

.preview-window strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
}

.preview-window span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-window pre {
  max-height: 220px;
  margin: 0;
  overflow: auto;
  padding: 13px;
  color: #27332e;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.purchase-box {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.purchase-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 8px;
}

.detail-favorite-button,
.buy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.detail-favorite-button {
  min-height: 48px;
  border: 1px solid rgba(8, 112, 79, 0.34);
  border-radius: 8px;
  background: var(--surface);
  color: var(--green-dark);
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.detail-favorite-button:hover {
  border-color: var(--green);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.detail-favorite-button.is-active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-dark);
}

.detail-favorite-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.detail-favorite-button svg,
.buy-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.detail-favorite-button.is-active svg {
  fill: currentColor;
}

.buy-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.buy-button:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

#checkout-note {
  min-height: 20px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.prelaunch-feedback-panel {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(8, 112, 79, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(231, 247, 239, 0.94), rgba(255, 255, 255, 0.98)),
    var(--surface);
  box-shadow: 0 18px 48px rgba(6, 76, 55, 0.13);
}

.prelaunch-feedback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prelaunch-feedback-head span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.prelaunch-feedback-head button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.prelaunch-feedback-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.prelaunch-feedback-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

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

.prelaunch-feedback-panel fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.prelaunch-feedback-panel legend,
.prelaunch-feedback-note span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.prelaunch-feedback-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.prelaunch-feedback-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.prelaunch-feedback-note {
  display: grid;
  gap: 8px;
}

.prelaunch-feedback-note textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
}

.prelaunch-feedback-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.prelaunch-feedback-actions small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.prelaunch-feedback-actions .buy-button {
  min-width: 190px;
}

.bundles-section,
.launch-section,
.pipeline-section,
.library-section,
.support-section {
  display: grid;
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 62px 32px 0;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.bundles-section h1,
.launch-section h1,
.library-section h1,
.support-section h1 {
  max-width: 16ch;
  font-size: clamp(44px, 4vw, 62px);
}

.pipeline-section h2 {
  max-width: 16ch;
  font-size: clamp(32px, 2.7vw, 42px);
}

.section-title-row .metric {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
  font-size: 17px;
}

.section-title-row .metric strong {
  color: var(--green-dark);
  font-size: 28px;
}

.bundle-strip {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr auto;
  gap: 30px;
  align-items: center;
  width: 100%;
  min-height: 216px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  background: var(--surface);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.bundle-strip:hover {
  border-top-color: rgba(232, 173, 57, 0.68);
  border-right-color: rgba(232, 173, 57, 0.68);
  border-bottom-color: rgba(232, 173, 57, 0.68);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.bundle-strip img {
  width: 100%;
  height: 216px;
  object-fit: cover;
  background: var(--surface-2);
}

.bundle-strip h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.bundle-strip p {
  max-width: 55ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.bundle-copy {
  display: block;
}

.bundle-strip > [data-bundle-field="price"] {
  padding-right: 30px;
  color: var(--amber-ink);
  font-size: 30px;
  font-weight: 900;
}

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pipeline-board article {
  min-height: 218px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.pipeline-board article:last-child {
  border-right: 0;
}

.pipeline-board article:nth-child(2) {
  background: #f5f8fa;
}

.pipeline-board article:nth-child(3) {
  background: var(--amber-soft);
}

.pipeline-board article:nth-child(4) {
  background: var(--surface-2);
}

.pipeline-board span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-board h3 {
  font-size: 21px;
  line-height: 1.16;
}

.pipeline-board p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.52;
}

.library-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.library-dashboard {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) repeat(2, minmax(360px, 0.7fr));
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.library-metrics .metric {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 108px;
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-2);
}

.library-metrics .metric strong {
  color: var(--green-dark);
  font-size: clamp(20px, 1.45vw, 28px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.library-metrics .metric span {
  color: var(--muted);
  font-size: 14px;
}

.library-metrics .metric:nth-child(even) {
  border-right: 0;
}

.library-metrics .metric:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.library-demand-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 168px;
  padding: 26px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(223, 242, 233, 0.82), rgba(255, 255, 255, 0.96) 54%),
    radial-gradient(circle at 82% 20%, rgba(42, 218, 144, 0.16), transparent 36%);
}

.library-demand-panel.is-empty {
  align-content: center;
}

.library-demand-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
}

.library-demand-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

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

.library-demand-grid span {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(8, 112, 79, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(13, 43, 32, 0.06);
}

.library-demand-grid strong {
  color: var(--green-dark);
  font-size: clamp(17px, 1.02vw, 22px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.library-demand-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.library-demand-note {
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.library-feedback-pill {
  display: inline-flex;
  width: max-content;
  margin-top: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
}

.product-decision-panel {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 168px;
  padding: 26px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 248, 214, 0.86), rgba(255, 255, 255, 0.96) 58%),
    radial-gradient(circle at 78% 14%, rgba(217, 155, 0, 0.16), transparent 34%);
}

.product-decision-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
}

.product-decision-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.product-decision-score {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(8, 112, 79, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(13, 43, 32, 0.06);
}

.product-decision-score strong {
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1;
}

.product-decision-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-decision-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-decision-reasons li {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.product-decision-note {
  padding: 11px 13px;
  border-left: 3px solid #d99b00;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.74);
}

.product-decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.product-decision-actions .table-action {
  flex: 1 1 150px;
}

.library-access-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 168px;
  padding: 26px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.library-access-panel h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.12;
}

.library-access-panel > .eyebrow,
.library-access-panel > h3,
.library-access-panel > h3 + p {
  grid-column: 1 / -1;
}

.library-access-panel > .eyebrow {
  margin-bottom: 0;
  font-size: 13px;
}

.library-access-panel p {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.library-access-panel ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.library-access-panel .table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--green);
  color: #fff;
}

.launch-board {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.launch-profile-board {
  display: grid;
  grid-template-columns: minmax(240px, 0.46fr) minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.launch-summary,
.launch-checks article,
.launch-profile-summary,
.launch-profile-items article {
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: var(--surface);
}

.launch-summary,
.launch-profile-summary {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 232px;
  border-right: 1px solid var(--line);
}

.launch-summary > span,
.launch-checks article > span,
.launch-profile-summary > span,
.launch-profile-items article > span {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: var(--amber-ink);
  font-size: 13px;
  font-weight: 900;
}

.launch-board[data-launch-state="ready"] .launch-summary > span,
.launch-checks article[data-launch-status="ready"] > span,
.launch-profile-board[data-launch-profile-state="ready"] .launch-profile-summary > span,
.launch-profile-items article[data-profile-status="ready"] > span {
  background: var(--green-soft);
  color: var(--green-dark);
}

.launch-profile-items article[data-profile-status="blocked"] > span {
  background: var(--coral-soft);
  color: var(--coral-ink);
}

.launch-board[data-launch-state="blocked"] .launch-summary > span,
.launch-profile-board[data-launch-profile-state="blocked"] .launch-profile-summary > span {
  background: var(--coral-soft);
  color: var(--coral-ink);
}

.launch-summary h3,
.launch-profile-summary h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}

.launch-summary p,
.launch-checks p,
.launch-profile-summary p,
.launch-profile-items p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.52;
}

.launch-metrics,
.launch-profile-metrics {
  align-self: start;
  display: grid;
  gap: 0;
  border-right: 1px solid var(--line);
}

.launch-metrics .metric,
.launch-profile-metrics .metric {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 112px;
  min-width: 0;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-2);
}

.launch-metrics .metric strong,
.launch-profile-metrics .metric strong {
  color: var(--green-dark);
  font-size: 30px;
  line-height: 1;
}

.launch-metrics .metric span,
.launch-profile-metrics .metric span {
  color: var(--muted);
  font-size: 14px;
}

.launch-metrics .metric:last-child,
.launch-profile-metrics .metric:last-child {
  border-bottom: 0;
}

.launch-checks,
.launch-profile-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.launch-checks article,
.launch-profile-items article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 184px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.launch-checks article:nth-child(even),
.launch-profile-items article:nth-child(even) {
  border-right: 0;
}

.launch-checks article:nth-last-child(-n + 2),
.launch-profile-items article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.launch-checks article[data-launch-status="ready"],
.launch-profile-items article[data-profile-status="ready"] {
  box-shadow: inset 3px 0 0 rgba(8, 112, 79, 0.58);
}

.launch-checks article[data-launch-status="blocked"] {
  box-shadow: inset 3px 0 0 rgba(232, 173, 57, 0.78);
}

.launch-profile-items article[data-profile-status="blocked"] {
  box-shadow: inset 3px 0 0 rgba(224, 91, 79, 0.72);
}

.launch-checks h3,
.launch-profile-items h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.prelaunch-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.prelaunch-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 204px;
  padding: 24px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

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

.prelaunch-card > span {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.prelaunch-card[data-prelaunch-status="external"] > span {
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.prelaunch-card[data-prelaunch-status="active"] > span {
  background: var(--green-soft);
  color: var(--green-dark);
}

.prelaunch-card[data-prelaunch-status="external"] {
  background: var(--amber-soft);
  box-shadow: inset 0 3px 0 var(--amber);
}

.prelaunch-card[data-prelaunch-status="active"] {
  box-shadow: inset 0 3px 0 rgba(8, 112, 79, 0.52);
}

.prelaunch-card h3,
.prelaunch-card p {
  margin: 0;
}

.prelaunch-card h3 {
  font-size: 20px;
  line-height: 1.18;
}

.prelaunch-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.library-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 0 22px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.35;
  scroll-margin-bottom: 100px;
  transition: background-color 180ms ease;
}

.library-row:not(.library-head):hover {
  background: var(--surface-2);
}

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

.library-head {
  min-height: 54px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.library-action-cell,
[data-library-field="action"] {
  display: flex;
  justify-content: flex-end;
}

.table-action {
  min-width: 122px;
  min-height: 50px;
  padding: 0 16px;
  scroll-margin-bottom: 100px;
  font-size: 15px;
  font-weight: 800;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.table-action:not(.muted):hover {
  border-color: rgba(8, 112, 79, 0.38);
  background: var(--green-soft);
  color: var(--green-dark);
}

.library-open {
  min-height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  text-align: left;
  transition: color 180ms ease;
}

.library-open:hover {
  color: var(--green-dark);
}

.favorites-hotbar {
  position: fixed;
  right: auto;
  bottom: 22px;
  left: 50%;
  z-index: 80;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, calc(100% - 32px));
  min-height: 58px;
  padding: 10px 12px 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 130%);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.favorites-hotbar::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(8, 112, 79, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  content: "";
  opacity: 0.76;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.favorites-hotbar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.favorites-hotbar.is-visible:hover::before,
.favorites-hotbar.is-visible:focus-within::before {
  opacity: 1;
}

.favorites-hotbar span {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.favorites-hotbar a,
.favorites-hotbar button {
  min-height: 44px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.favorites-hotbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--green);
  color: #fff;
}

.favorites-hotbar button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.table-action.muted {
  color: var(--muted);
  cursor: default;
}

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

.support-grid article {
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}

.support-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.support-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(2200px, calc(100% - clamp(56px, 12vw, 420px)));
  max-width: none;
  margin: 60px auto 0;
  padding: 44px 40px 58px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  font-size: 20px;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.site-footer a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.site-footer a:focus-visible {
  background: var(--surface-2);
  color: var(--green-dark);
}

.utility-page {
  min-height: 100vh;
  background: var(--bg);
}

.utility-shell {
  display: grid;
  gap: 0;
  width: min(1040px, calc(100% - clamp(32px, 9vw, 220px)));
  margin: clamp(42px, 6vw, 76px) auto 0;
  padding: clamp(34px, 5vw, 64px);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(19, 47, 36, 0.06);
}

.utility-shell h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(38px, 7vw, 64px);
}

.utility-shell > p:not(.eyebrow) {
  max-width: 62ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.utility-card {
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.utility-card h2 {
  font-size: 22px;
}

.utility-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.55;
}

.handoff-card[hidden] {
  display: none;
}

.handoff-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.handoff-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
}

.handoff-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.handoff-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.handoff-list dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.utility-shell > .primary-action,
.utility-shell > .secondary-action {
  justify-self: start;
  margin-top: 24px;
}

.mobile-nav {
  display: none;
}

@media (max-width: 1120px) {
  .stage-layout {
    grid-template-columns: minmax(260px, 0.8fr) minmax(430px, 1.2fr);
  }

  .stage-product-panel {
    grid-column: 1 / -1;
    grid-template-columns: minmax(200px, 0.7fr) minmax(240px, 1fr) minmax(260px, 1fr);
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
    margin-top: 0;
    gap: 0 24px;
  }

  .stage-product-panel .stage-product-badge,
  .stage-product-panel > strong,
  .stage-product-panel > p {
    grid-column: 1;
  }

  .stage-product-panel .stage-product-meta {
    grid-column: 2;
    grid-row: 1 / span 3;
    padding: 0;
    border-top: 0;
    border-bottom: 0;
  }

  .stage-product-panel .stage-product-cta,
  .stage-product-panel .stage-product-favorite {
    grid-column: 3;
  }

  .stage-product-panel .stage-product-cta {
    align-self: end;
    margin-top: 0;
  }

  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    display: grid;
    grid-template-columns: minmax(250px, 0.95fr) minmax(280px, 1.15fr) minmax(190px, 0.85fr) minmax(170px, 0.75fr);
    align-items: start;
    gap: 28px;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .filter-block + .filter-block {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  h1 {
    max-width: none;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }

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

  .system-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .detail-product-stage {
    height: 310px;
  }

  .detail-cover {
    width: 190px;
    height: 246px;
  }

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

  .pipeline-board article:nth-child(2) {
    border-right: 0;
  }

  .pipeline-board article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-bottom: 104px;
  }

  .topbar {
    min-height: 82px;
    padding: 0 16px;
  }

  .prelaunch-banner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    gap: 4px;
    padding: 10px 16px;
    text-align: left;
  }

  .brand {
    gap: 12px;
    font-size: 18px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .shell-actions,
  .library-link {
    display: none;
  }

  .nav-menu {
    justify-self: end;
  }

  .nav-menu-toggle {
    width: 54px;
    min-height: 54px;
  }

  main {
    padding-bottom: 112px;
  }

    .filters,
    .catalog-main,
    .bundles-section,
    .launch-section,
    .pipeline-section,
    .library-section,
    .site-footer,
  .support-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .filters .filter-block:first-child,
  .filters .stats-block {
    grid-column: 1 / -1;
  }

  .filters h1 {
    max-width: none;
    font-size: 36px;
  }

  .filters .side-note {
    display: block;
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.5;
  }

  .filter-block + .filter-block {
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .filters .filter-block:nth-child(3) {
    border-top-color: transparent;
  }

  .filters .stats-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .segment,
  .check-row {
    min-height: 44px;
    font-size: 15px;
  }

  .filters .metric {
    padding-top: 9px;
  }

  .filters .metric strong {
    font-size: 26px;
  }

  .filters .metric span {
    font-size: 13px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px;
  }

  .toolbar-status {
    justify-content: flex-start;
  }

  .toolbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .product-studio-toolbar-count {
    flex: 1;
    justify-content: flex-start;
    padding-left: 0;
    border-left: 0;
  }

  .sort-box {
    flex: 1 1 210px;
    justify-content: space-between;
  }

  .template-grid,
  .support-grid,
  .prelaunch-track {
    grid-template-columns: 1fr;
  }

  .prelaunch-feedback-grid,
  .prelaunch-feedback-actions {
    grid-template-columns: 1fr;
  }

  .prelaunch-feedback-panel {
    padding: 16px;
  }

  .prelaunch-feedback-actions .buy-button {
    width: 100%;
    min-width: 0;
  }

  .template-card {
    grid-template-rows: 232px 1fr;
  }

  .template-product-stage {
    min-height: 232px;
  }

  .template-cover {
    width: 136px;
    height: 182px;
    transform: rotateX(2deg) rotateY(-7deg);
  }

  .detail-product-stage {
    height: 276px;
  }

  .detail-cover {
    width: 172px;
    height: 222px;
  }

  .detail-content {
    padding: 18px 16px 20px;
  }

  .system-flow,
  .system-metrics,
  .system-cockpit,
  .workflow-step-grid,
  .value-comparison article,
  .value-outcomes {
    grid-template-columns: 1fr;
  }

  .workflow-case {
    flex: 1 1 100%;
  }

  .workflow-step {
    min-height: auto;
  }

  .value-comparison article > div:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(32, 33, 36, 0.1);
  }

  .system-flow-step {
    min-height: auto;
  }

  .purchase-actions {
    grid-template-columns: 1fr;
  }

  .detail-favorite-button,
  .buy-button {
    width: 100%;
  }

  .pipeline-board {
    grid-template-columns: 1fr;
  }

  .pipeline-board article,
  .pipeline-board article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pipeline-board article:last-child {
    border-bottom: 0;
  }

  .collection-stage {
    width: 100%;
    min-height: auto;
    padding: 0;
    overflow: hidden;
  }

  .stage-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .stage-copy {
    width: auto;
    margin: 0;
    padding: 34px 16px 18px;
  }

  .stage-visual {
    grid-row: auto;
    height: 410px;
    min-height: 410px;
  }

  .stage-visual::before {
    inset: 8px 0 28px;
    opacity: 0.78;
  }

  .stage-visual::after {
    right: -16%;
    bottom: 42px;
    left: -16%;
    height: 116px;
    opacity: 0.28;
  }

  #collection-canvas {
    min-height: 370px;
    touch-action: pan-y;
  }

  .stage-copy h1 {
    max-width: none;
    margin-bottom: 14px;
    font-size: clamp(46px, 13vw, 58px);
  }

  .stage-copy p:not(.eyebrow) {
    max-width: 34ch;
    font-size: 16px;
  }

  .stage-actions {
    width: min(100%, 260px);
    margin-top: 20px;
  }

  .stage-status {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: calc(100% - 32px);
    height: auto;
    min-height: 0;
    margin: 42px 16px 24px;
    padding: 18px 16px;
  }

  .stage-product-panel .stage-product-badge,
  .stage-product-panel > strong,
  .stage-product-panel > p,
  .stage-product-panel .stage-product-meta,
  .stage-product-panel .stage-product-cta,
  .stage-product-panel .stage-product-favorite {
    grid-column: auto;
    grid-row: auto;
  }

  .stage-product-panel .stage-product-meta {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .stage-status strong {
    max-width: 13ch;
    font-size: 27px;
  }

  .home-destinations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 24px);
    overflow: hidden;
  }

  .home-main {
    padding-bottom: 112px;
  }

  .home-destinations > a {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    min-width: 0;
    min-height: 132px;
    gap: 6px 8px;
    padding: 16px 14px;
  }

  .home-destinations > a:nth-child(2) {
    border-right: 0;
  }

  .home-destinations > a:last-child {
    border-right: 0;
  }

  .home-destinations > a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .home-destinations > a:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .home-destination-count {
    font-size: 30px;
  }

  .home-destination-copy {
    gap: 4px;
  }

  .home-destination-copy strong {
    font-size: 16px;
  }

  .home-destination-copy small {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    border: 0;
    font-size: 12px;
    line-height: 1.32;
  }

  .home-destination-arrow {
    display: block;
    width: 18px;
    height: 18px;
  }

  .bundle-strip {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bundle-strip img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .bundle-copy {
    padding: 18px 16px 10px;
  }

  .bundle-strip > [data-bundle-field="price"] {
    padding: 0 16px 18px;
  }

  .library-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }

  .library-row > [role="cell"] {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .library-action-cell,
  [data-library-field="action"] {
    width: 100%;
    justify-content: stretch;
  }

  .library-row .table-action {
    width: 100%;
  }

  .favorites-hotbar {
    bottom: 84px;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 12px;
  }

  .favorites-hotbar span {
    flex-basis: 100%;
  }

  .favorites-hotbar a,
  .favorites-hotbar button {
    flex: 1 1 130px;
  }

  .library-dashboard,
  .library-access-panel,
  .launch-board,
  .launch-profile-board {
    grid-template-columns: 1fr;
  }

  .library-demand-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .library-demand-grid {
    grid-template-columns: 1fr;
  }

  .product-decision-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product-decision-actions {
    align-items: stretch;
  }

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

  .launch-metrics,
  .launch-profile-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .launch-metrics .metric,
  .launch-profile-metrics .metric {
    min-height: 74px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .launch-metrics .metric:last-child,
  .launch-profile-metrics .metric:last-child {
    border-right: 0;
  }

  .launch-checks,
  .launch-profile-items {
    grid-template-columns: 1fr;
  }

  .launch-summary,
  .launch-profile-summary {
    border-right: 0;
  }

  .launch-checks article,
  .launch-profile-items article,
  .launch-checks article:nth-child(even),
  .launch-profile-items article:nth-child(even),
  .launch-checks article:nth-last-child(-n + 2),
  .launch-profile-items article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .launch-checks article:last-child,
  .launch-profile-items article:last-child {
    border-bottom: 0;
  }

  .prelaunch-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .prelaunch-card:last-child {
    border-bottom: 0;
  }

  .library-head {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 36px;
    padding: 38px 18px 126px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .utility-shell {
    width: 100%;
    padding: 42px 20px 120px;
    border-right: 0;
    border-left: 0;
  }

  .utility-shell > p:not(.eyebrow) {
    font-size: 16px;
  }

  .utility-card {
    padding: 22px 0;
  }

  .mobile-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 58px;
    overflow: hidden;
    border: 1px solid rgba(216, 225, 221, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .mobile-nav a {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 58px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    transition:
      color 180ms ease,
      background-color 180ms ease,
      transform 180ms ease;
  }

  .mobile-nav a:hover {
    background: var(--surface-2);
  }

  .mobile-nav a:focus-visible {
    background: var(--surface-2);
    outline: 0;
    box-shadow: inset 0 0 0 3px var(--green);
  }

  .mobile-nav a[aria-current="page"]::before {
    top: 0;
    right: 18%;
    left: 18%;
    height: 3px;
  }
}

@media (max-width: 360px) {
  .mobile-nav {
    right: 8px;
    left: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mobile-nav a {
    min-width: 0;
    padding: 0 3px;
    overflow-wrap: anywhere;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .template-cover {
    transform: none !important;
  }

  .template-gloss {
    transform: none !important;
  }

  .detail-cover,
  .detail-gloss {
    transform: none !important;
  }
}
