:root {
  color-scheme: light;
  --ink: #171a20;
  --muted: #667085;
  --line: #d7dde8;
  --panel: #ffffff;
  --surface: #f6f8fb;
  --charcoal: #12151b;
  --blue: #215cc8;
  --cyan: #22c8d8;
  --green: #4da447;
  --yellow: #f6bd3f;
  --rose: #d9367a;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  min-height: 100vh;
}

a { color: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px max(22px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(18, 21, 27, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 20px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(33, 92, 200, 0.18);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  color: #2f3847;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  padding: 8px 11px;
  border-radius: 7px;
}

.site-nav a.active,
.site-nav a:hover {
  background: var(--charcoal);
  color: white;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid rgba(18, 21, 27, 0.1);
  border-radius: 8px;
  background: #f5f7fb;
}

.language-switcher a {
  color: #475467;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  padding: 7px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.language-switcher a.active,
.language-switcher a:hover {
  color: white;
  background: var(--blue);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 72px max(24px, calc((100vw - 1160px) / 2)) 84px;
  color: white;
  background:
    linear-gradient(90deg, rgba(18, 21, 27, 0.94) 0%, rgba(18, 21, 27, 0.84) 42%, rgba(18, 21, 27, 0.22) 100%),
    #15191f;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 21, 27, 0.08) 0%, rgba(18, 21, 27, 0.48) 100%),
    linear-gradient(90deg, rgba(18, 21, 27, 0.98) 0%, rgba(18, 21, 27, 0.86) 36%, rgba(18, 21, 27, 0.28) 68%, rgba(18, 21, 27, 0.06) 100%);
  pointer-events: none;
}

.hero-screenshot {
  position: absolute;
  z-index: 2;
  right: max(-320px, calc((100vw - 1840px) / 2));
  top: 96px;
  width: min(72vw, 1040px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
  transform: perspective(1200px) rotateY(-9deg) rotateZ(-1deg);
}

.hero-image {
  position: absolute;
  z-index: 0;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(1.08) contrast(1.06);
}

.hero-image-slot {
  right: max(24px, calc((100vw - 1160px) / 2));
  top: 62px;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  box-shadow: 0 30px 90px rgba(217, 54, 122, 0.3);
}

.hero-image-marble {
  right: max(260px, calc((100vw - 860px) / 2));
  bottom: 44px;
  width: min(30vw, 360px);
  aspect-ratio: 1;
  box-shadow: 0 28px 80px rgba(34, 200, 216, 0.28);
}

.hero-console {
  position: absolute;
  z-index: 2;
  right: max(22px, calc((100vw - 1120px) / 2));
  bottom: 72px;
  width: min(48vw, 560px);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(250, 252, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.6deg);
}

.console-top {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: linear-gradient(90deg, #215cc8, #23b6cd);
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.console-top span:first-child { background: #ff6262; }
.console-top span:last-child { background: #62d26f; }

.console-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 240px;
}

.console-sidebar {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 20px 16px;
  color: white;
  background: #18213a;
}

.console-sidebar strong {
  font-size: 20px;
}

.console-sidebar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.console-main {
  display: grid;
  gap: 15px;
  padding: 18px;
  background: #f8fbff;
}

.console-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #18213a;
  font-size: 15px;
}

.console-row small {
  color: var(--green);
  font-weight: 800;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.console-grid span {
  height: 58px;
  border-radius: 8px;
  background: white;
  border: 1px solid #d9e2ef;
}

.console-grid span:nth-child(1) { border-top: 5px solid var(--cyan); }
.console-grid span:nth-child(2) { border-top: 5px solid var(--yellow); }
.console-grid span:nth-child(3) { border-top: 5px solid var(--green); }

.console-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 8px;
  color: white;
  background: #10131e;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 22px rgba(34, 200, 216, 0.46);
}

.console-chat b { color: #f6bd3f; }
.console-chat span { color: rgba(255, 255, 255, 0.86); }

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 690px;
}

.eyebrow {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1;
  margin: 10px 0 18px;
  letter-spacing: 0;
}

.lead {
  color: white;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.28;
  max-width: 720px;
  font-weight: 850;
  margin: 0;
}

.hero-description {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.9;
  max-width: 620px;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--yellow);
  color: #171a20;
  box-shadow: 0 12px 26px rgba(246, 189, 63, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
}

.release-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  margin-top: 18px;
}

.latest-release-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  margin-top: 18px;
  padding: 11px 12px;
  color: white;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.latest-release-banner:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.12);
}

.release-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  color: #171a20;
  background: var(--yellow);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.release-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.release-copy b {
  color: white;
  font-size: 15px;
}

.release-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.release-cta {
  flex: 0 0 auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-badges span {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.section,
.page-title,
.legal-document,
.release-list article,
.notice-panel {
  max-width: 1120px;
  margin: 0 auto 32px;
}

.section {
  padding: 64px 24px 24px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: end;
}

.section-kicker {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  margin: 0;
}

.section p {
  color: #475467;
  line-height: 1.9;
}

.section .section-note {
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.7;
}

.product-showcase,
.impact-section,
.revenue-section,
.comparison-section {
  padding-top: 72px;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: center;
}

.showcase-copy {
  align-self: start;
}

.screenshot-stack {
  display: grid;
  gap: 14px;
}

.screenshot-stack img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  background: #111;
}

.is-lightbox-image {
  cursor: zoom-in;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 28px;
  border: 0;
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(18px);
  cursor: zoom-out;
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-frame {
  display: block;
  max-width: min(1180px, 94vw);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 8px;
  background: #10131b;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.54);
}

.lightbox-frame img {
  display: block;
  max-width: min(1180px, 94vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.screenshot-main {
  aspect-ratio: 1440 / 980;
  object-fit: cover;
  object-position: center;
}

.screenshot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.screenshot-row img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.visual-feature-section {
  padding-top: 72px;
}

.visual-feature-head {
  max-width: 760px;
  margin-bottom: 24px;
}

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

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

.use-case-grid article {
  display: grid;
  gap: 10px;
  min-height: 100%;
  overflow: hidden;
  padding: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.use-case-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  background: #10131b;
  border-bottom: 1px solid var(--line);
}

.use-case-grid b {
  color: #111827;
  font-size: 16px;
  line-height: 1.45;
  padding: 6px 18px 0;
}

.use-case-grid span {
  color: #475467;
  font-size: 14px;
  line-height: 1.7;
  padding: 0 18px;
}

.visual-feature-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

.visual-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #111827;
  border-bottom: 1px solid var(--line);
}

.visual-feature-card div {
  padding: 18px;
}

.visual-feature-card h3 {
  margin: 10px 0 8px;
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
}

.visual-feature-card p {
  margin: 0;
  color: #475467;
  line-height: 1.65;
}

.value-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.value-grid article {
  min-height: 100%;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.09);
}

.value-grid h3 {
  margin: 10px 0;
  color: #111827;
  font-size: 20px;
  line-height: 1.35;
}

.value-grid .fine-print {
  margin-top: 12px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.7;
}

.ai-advisor-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 30px;
  align-items: center;
  padding-top: 72px;
}

.ai-advisor-copy .fine-print {
  margin-top: 12px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.7;
}

.feature-image-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

.feature-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  object-position: center;
}

.feature-image-card figcaption {
  padding: 13px 16px 15px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.impact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.impact-grid {
  display: grid;
  gap: 14px;
}

.impact-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.impact-grid h3 {
  margin: 9px 0 8px;
}

.impact-image,
.impact-image-stack img,
.impact-gallery img {
  display: block;
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #10131b;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.impact-image {
  margin-top: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.impact-image.is-tall {
  max-height: 280px;
  object-position: top center;
}

.impact-image-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.impact-image-stack img:first-child {
  aspect-ratio: 16 / 5.4;
  object-fit: cover;
}

.impact-image-stack img:last-child {
  aspect-ratio: 16 / 2.3;
  object-fit: cover;
}

.impact-gallery {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
  margin-top: 16px;
}

.impact-gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.impact-gallery img:first-child {
  grid-row: span 2;
  height: 100%;
}

.impact-gallery img:nth-child(2) {
  aspect-ratio: 16 / 3;
}

.revenue-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 34px;
  align-items: center;
  color: white;
  max-width: none;
  margin: 40px 0 20px;
  padding: 72px max(24px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(135deg, rgba(18, 21, 27, 0.96), rgba(25, 38, 63, 0.94)),
    var(--charcoal);
}

.revenue-section h2,
.revenue-section p {
  color: white;
}

.revenue-section p {
  color: rgba(255, 255, 255, 0.78);
}

.revenue-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.revenue-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 800;
}

.comparison-section {
  display: grid;
  gap: 22px;
}

.comparison-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.comparison-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #344054;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 800;
}

.edge-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.edge-summary article {
  background: linear-gradient(180deg, #fff9e6, #ffffff);
  border: 1px solid rgba(246, 189, 63, 0.52);
  border-radius: 8px;
  padding: 14px 15px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.edge-summary b {
  display: block;
  color: #171a20;
  font-size: 14px;
  margin-bottom: 6px;
}

.edge-summary span {
  color: #475467;
  font-size: 13px;
  line-height: 1.65;
}

.edge-dot,
.edge-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #171a20;
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 900;
}

.edge-dot {
  width: 24px;
  height: 24px;
}

.edge-badge {
  width: fit-content;
  margin: 0 0 8px;
  padding: 5px 8px;
  font-size: 11px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(246, 189, 63, 0.2);
}

.comparison-table-wrap {
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: white;
}

.localized-comparison .comparison-table {
  min-width: 960px;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.5;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.comparison-table th {
  color: #111827;
  font-weight: 900;
  background: #f7f9fc;
}

.comparison-table tbody th {
  width: 16%;
  background: #f2f5fa;
}

.comparison-table tbody tr.is-castdeck-edge th {
  position: relative;
  background: #fff5d4;
}

.comparison-table tbody tr.is-castdeck-edge th::before {
  content: "★";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 999px;
  color: #171a20;
  background: var(--yellow);
  font-size: 11px;
}

.comparison-table thead th:first-child {
  width: 16%;
}

.comparison-table thead th {
  color: white;
  background: #171a20;
}

.comparison-table td:nth-child(2),
.comparison-table thead th:nth-child(2) {
  background: #fff9e6;
}

.comparison-table thead th:nth-child(2) {
  color: #171a20;
  background: var(--yellow);
}

.comparison-table td:nth-child(2) {
  box-shadow: inset 4px 0 0 var(--yellow);
}

.comparison-table tr.is-castdeck-edge td:nth-child(2) {
  background: linear-gradient(180deg, #fff0bd, #fff8e3);
  box-shadow:
    inset 5px 0 0 var(--yellow),
    inset 0 0 0 1px rgba(246, 189, 63, 0.32);
}

.comparison-table .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  vertical-align: top;
}

.comparison-table .mark.yes,
.comparison-legend .mark.yes {
  background: rgba(77, 164, 71, 0.14);
}

.comparison-table .mark.partial,
.comparison-legend .mark.partial {
  color: #9a6a00;
  background: rgba(246, 189, 63, 0.2);
}

.comparison-table .mark.no,
.comparison-legend .mark.no {
  color: #667085;
  background: #eef2f7;
}

.comparison-table small {
  display: block;
  max-width: none;
  color: #475467;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px;
}

.comparison-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-links a {
  color: #26364f;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.page-title {
  max-width: none;
  margin: 0 0 42px;
  padding: 72px max(24px, calc((100vw - 1120px) / 2));
  color: white;
  background:
    linear-gradient(90deg, rgba(18, 21, 27, 0.96), rgba(33, 92, 200, 0.72)),
    var(--charcoal);
}

.page-title .eyebrow {
  color: var(--yellow);
}

.page-title p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.download-release-summary {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 12px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.download-release-summary strong {
  font-size: 14px;
}

.download-release-summary a {
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
}

.legal-document,
.release-list article,
.notice-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

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

.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #215fc6, #22c8d8, #f6bd3f);
}

.download-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 30px 30px 18px;
}

.platform-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: white;
  background: #111827;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
}

.platform-mark.windows {
  background: #215fc6;
}

.download-card-title > span {
  display: inline-flex;
  color: #215fc6;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.download-card h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.download-card p {
  color: #475467;
  line-height: 1.75;
  margin: 12px 0 0;
}

.download-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 30px 24px;
}

.download-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.download-tags li {
  color: #26364f;
  background: #eef4ff;
  border: 1px solid #d6e4ff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.download-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.download-card dl div {
  display: grid;
  gap: 4px;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  padding: 12px;
}

.download-card dt {
  color: #667085;
  font-weight: 800;
}

.download-card dd {
  margin: 0;
  color: #111827;
  font-weight: 850;
}

.download-card .button {
  width: 100%;
}

.download-action {
  margin-top: auto;
  padding: 0 30px 30px;
}

.download-action .button {
  min-height: 54px;
  padding: 0 18px;
}

.download-version-chip {
  position: static;
  align-self: start;
  background: #215fc6;
  box-shadow: 0 8px 18px rgba(33, 95, 198, 0.24);
  white-space: nowrap;
}

.release-history-section {
  padding-top: 46px;
}

.release-history-head {
  max-width: 720px;
  margin-bottom: 18px;
}

.release-history-head h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: clamp(30px, 4vw, 48px);
}

.release-history-head p {
  color: #475467;
  line-height: 1.75;
}

.release-history-list {
  display: grid;
  gap: 12px;
}

.release-history-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.release-history-version {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.release-history-version time {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.release-history-item h3 {
  margin: 0 0 8px;
  color: #111827;
}

.release-history-item ul {
  margin: 0;
  padding-left: 1.2em;
  color: #475467;
  line-height: 1.65;
}

.page-title h1 {
  font-size: clamp(44px, 7vw, 72px);
  margin-bottom: 18px;
}

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

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

.feature-grid article,
.support-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.feature-grid h3,
.support-grid h2 {
  margin: 10px 0 10px;
  font-size: 19px;
  color: #111827;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 34px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.pricing-card-pro {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 55%);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 999px;
}

.pricing-plan {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-card-pro .pricing-plan {
  color: var(--blue);
}

.pricing-price {
  margin: 12px 0 0;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.pricing-period {
  margin-left: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.pricing-launch {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--rose);
}

.pricing-desc {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.pricing-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-foot {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
}

.pricing-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.help-site-title {
  padding-bottom: 34px;
}

.help-site-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  align-items: start;
}

.help-site-nav {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.help-site-nav strong {
  color: #111827;
  margin-bottom: 6px;
}

.help-site-nav a {
  color: #667085;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  padding: 6px 0;
}

.help-site-nav a:hover {
  color: var(--blue);
}

.help-site-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.help-site-section {
  scroll-margin-top: 100px;
}

.help-site-section-head {
  margin-bottom: 16px;
}

.help-site-section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 8px;
  color: #111827;
}

.help-site-section-head p {
  color: #475467;
  max-width: 780px;
}

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

.help-site-card,
.help-site-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.help-site-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #111827;
}

.help-site-card p,
.help-site-step p {
  color: #475467;
}

.help-site-card ul {
  margin: 14px 0 0 18px;
  padding: 0;
  color: #344054;
}

.help-site-card li {
  margin: 7px 0;
}

.help-site-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.help-site-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.help-site-step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
}

.feature-number {
  display: inline-flex;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.thumbnail-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.thumbnail-pair img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: white;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.18);
}

.legal-document {
  line-height: 1.85;
}

.legal-title p {
  margin: 6px 0;
  color: var(--muted);
}

.legal-section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}

.legal-section h2,
.release-list h2 {
  margin-top: 0;
  color: #111827;
}

.legal-section:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-section ul,
.notice-panel ul,
.release-list ul {
  padding-left: 1.3em;
}

.release-version {
  display: inline-block;
  color: white;
  background: var(--blue);
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
}

.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 24px 46px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.2fr);
  gap: 34px;
  color: #475467;
  border-top: 1px solid var(--line);
}

.footer-brand {
  max-width: 440px;
}

.site-footer p {
  margin: 8px 0 0;
  line-height: 1.75;
}

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

.footer-columns div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-columns h2 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 13px;
  letter-spacing: 0;
}

.footer-columns a {
  color: #475467;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.footer-columns a:hover {
  color: var(--blue);
}

.store-hero {
  padding: 62px max(24px, calc((100vw - 1160px) / 2)) 40px;
  background:
    linear-gradient(135deg, rgba(18, 21, 27, 0.96), rgba(33, 92, 200, 0.84)),
    #12151b;
  color: white;
}

.store-hero h1 {
  max-width: 760px;
  margin: 10px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
}

.store-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.store-hero-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.store-hero-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.store-hero-panel b {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.store-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1160px;
  margin: 20px auto 0;
  padding: 0 24px;
}

.store-subnav a {
  color: #344054;
  text-decoration: none;
  font-weight: 850;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.store-subnav a.active,
.store-subnav a:hover {
  color: white;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.store-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px 82px;
}

.store-cat-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 6px;
  scrollbar-width: thin;
}

.store-cat-bar a {
  flex: 0 0 auto;
  color: #344054;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.store-cat-bar a:first-child {
  color: white;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.store-cat-bar a:hover {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.store-rail {
  overflow: hidden;
  padding: 2px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.store-rail-track {
  display: flex;
  width: max-content;
  animation: store-marquee 48s linear infinite;
}

.store-rail:hover .store-rail-track {
  animation-play-state: paused;
}

.store-rail-track > .store-item-card {
  flex: 0 0 232px;
  margin-right: 14px;
}

@keyframes store-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .store-rail {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .store-rail-track { animation: none; }
}

.store-status {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 750;
}

.store-result-count {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.store-section {
  margin-top: 28px;
}

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

.store-section-head h2 {
  margin: 0;
  font-size: clamp(25px, 4vw, 38px);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 14px;
}

.store-item-card,
.store-panel,
.store-filter-bar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.store-item-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.store-item-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.store-card-media {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-decoration: none;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(34, 200, 216, 0.16), transparent 55%),
    linear-gradient(135deg, #e9f1ff, #f5fafc);
}

.store-card-media span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--blue) 62%, #8ea6c8);
  padding: 6px 12px;
  border: 1.5px solid color-mix(in srgb, var(--blue) 26%, transparent);
  border-radius: 999px;
}

.store-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.store-item-card:hover .store-card-media img {
  transform: scale(1.04);
}

.store-card-body {
  display: grid;
  gap: 7px;
  padding: 12px 13px 13px;
}

.store-card-body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.store-card-body h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.store-item-card:hover .store-card-body h3 a {
  color: var(--blue);
}

.store-card-body p {
  margin: 0;
  color: #475467;
  line-height: 1.65;
}

.store-card-body small {
  color: var(--muted);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.store-card-meta,
.store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1f4fa8;
  font-size: 12px;
  font-weight: 850;
}

.store-chip.free { background: #ecfdf3; color: #087443; }
.store-chip.paid { background: #fff3d8; color: #9a5b00; }

.store-filter-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  margin-bottom: 18px;
}

.store-filter-bar label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}

.store-filter-bar input,
.store-filter-bar select,
.store-auth-dialog input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
}

.store-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 20px;
  align-items: start;
}

.store-panel {
  padding: 20px;
}

.store-panel h2,
.store-panel h3 {
  margin-top: 0;
}

.store-legal {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 14px;
}
.store-legal dt {
  font-weight: 700;
  color: var(--muted, #6b7280);
}
.store-legal dd {
  margin: 0;
  word-break: break-word;
}

.dev-page { max-width: 880px; margin: 0 auto; padding: 32px 20px 64px; }
.dev-header h1 { margin: 0 0 12px; }
.dev-subnav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.dev-subnav a { padding: 8px 12px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.dev-subnav a.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 700; }
.dev-lead { font-size: 17px; color: var(--muted); }
.dev-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 20px 0; }
.dev-card { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); text-decoration: none; color: inherit; }
.dev-card:hover { border-color: var(--ink); }
.dev-card h3 { margin: 0 0 6px; }
.dev-card p { margin: 0; color: var(--muted); font-size: 14px; }
.dev-code { background: #12151b; color: #e6edf3; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
.dev-code code { white-space: pre; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.dev-contextpack { max-height: 460px; overflow: auto; }
.dev-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14px; }
.dev-table th, .dev-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dev-table th { color: var(--muted); font-weight: 700; }
.dev-table code { font-size: 13px; word-break: break-word; }
.dev-links { line-height: 2; }

a.store-panel {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.store-panel h3 {
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

a.store-panel h3::after {
  content: "\2192";
  color: var(--blue);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

a.store-panel p {
  color: var(--muted);
  margin: 6px 0 0;
}

a.store-panel:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

a.store-panel:hover h3::after {
  opacity: 1;
  transform: translateX(0);
}

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

.store-screenshot-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.store-dash-block { margin-top: 18px; }
.store-dash-h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

.store-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  align-items: stretch;
  margin: 6px 0 8px;
}

.store-stat-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 9px;
  margin: 0;
}

.store-stat {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.store-stat-grid-compact .store-stat { padding: 11px 13px; }

.store-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.store-stat b {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.store-stat-grid-compact .store-stat b { font-size: 20px; margin-top: 3px; }
.store-stat small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 750;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.store-stat-accent {
  background: #fff8ec;
  border-color: #f3d9a6;
}
.store-stat-accent b { color: #b06a12; }
.store-stat-accent small { color: #a07a3a; }

.store-monthly {
  display: grid;
  gap: 6px;
}
.store-monthly-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.store-monthly-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.store-monthly-bar {
  height: 8px;
  border-radius: 999px;
  background: #eef2f8;
  overflow: hidden;
}
.store-monthly-bar i {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.store-monthly-val {
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: flex-end;
  font-variant-numeric: tabular-nums;
}
.store-monthly-val b { font-size: 13px; font-weight: 850; }
.store-monthly-val small { font-size: 11px; font-weight: 750; color: var(--muted); }
.store-monthly-empty { margin: 4px 0 0; }

.store-dash-blockhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
}
.store-dash-blockhead .store-dash-h3 { margin: 0; }

.store-dash-note {
  font-weight: 750;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  opacity: 0.85;
}

.store-dash-sublabel {
  margin: 14px 0 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.store-period-btns {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}
.store-period-btn {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.store-period-btn:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); color: var(--ink); }
.store-period-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.store-period-range {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  flex-basis: 100%;
}
.store-period-range input {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  color: var(--ink);
  background: #fff;
}
.store-period-range span { color: var(--muted); }

.store-stat-tier b { text-transform: uppercase; letter-spacing: 0.04em; }

.store-tier-bar {
  height: 7px;
  margin: 10px 0 6px;
  border-radius: 999px;
  background: #e4e9f2;
  overflow: hidden;
}

.store-tier-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.store-stat-tier small { color: var(--muted); font-size: 12px; font-weight: 700; }

.store-banner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin: 0 0 14px;
}

.store-banner b { font-size: 14px; }
.store-banner p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.store-banner.warn { background: #fff8ec; border-color: #f3d9a6; }
.store-banner.ok { background: #eefaf2; border-color: #b6e6c6; color: #146c3a; }
.store-banner .button { flex: 0 0 auto; }

.store-payout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #f3d9a6;
  background: #fff8ec;
  margin: 0 0 14px;
}
.store-payout-label {
  display: block;
  font-size: 12px;
  font-weight: 850;
  color: #a07a3a;
}
.store-payout-amount {
  display: block;
  margin-top: 2px;
  font-size: 26px;
  font-weight: 900;
  color: #b06a12;
  font-variant-numeric: tabular-nums;
}
.store-payout-split {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 16px;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #8a6a2e;
  font-variant-numeric: tabular-nums;
}
.store-payout-split b { font-weight: 850; color: #7a5410; }
.store-payout-note {
  margin: 8px 0 0;
  max-width: 52ch;
  font-size: 12px;
  line-height: 1.5;
  color: #8a6a2e;
}
.store-payout-btn { flex: 0 0 auto; }
.store-payout.reviewing .store-payout-amount { color: #96591b; }

.store-register {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 10px;
  overflow: hidden;
}
.store-register-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.store-register-summary::-webkit-details-marker { display: none; }
.store-register-plus {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.store-register[open] .store-register-plus { transform: rotate(45deg); }
.store-register-body { padding: 4px 14px 16px; }
.store-register-intro { margin: 0 0 12px; font-size: 13px; color: var(--muted); }

.store-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: step;
}
.store-step {
  position: relative;
  padding: 12px 14px 12px 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  counter-increment: step;
}
.store-step::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e4e9f2;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.store-step.done::before {
  content: "✓";
  background: #e2f3ea;
  color: #0f7a44;
}
.store-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.store-step-head b { font-size: 14px; }
.store-step p { margin: 4px 0 8px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.store-step p:last-child { margin-bottom: 0; }
.store-step-mark {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef2f8;
  color: var(--muted);
}
.store-step-mark.done { background: #e2f3ea; color: #0f7a44; }

.store-form {
  display: grid;
  gap: 9px;
  max-width: 440px;
}
.store-form label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}
.store-form input {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
}
.store-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.store-form-opt { font-weight: 700; color: var(--muted); }
.store-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.store-form-status { font-size: 12px; font-weight: 800; color: #0f7a44; }

.store-dash-list {
  display: grid;
  gap: 8px;
}

.store-dash-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}

.store-dash-thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  text-decoration: none;
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(34, 200, 216, 0.16), transparent 55%),
    linear-gradient(135deg, #e9f1ff, #f5fafc);
}

.store-dash-thumb img { width: 100%; height: 100%; object-fit: cover; }
.store-dash-thumb span { font-size: 10px; font-weight: 900; letter-spacing: 0.1em; color: color-mix(in srgb, var(--blue) 60%, #90a4c4); }

.store-dash-main b { font-size: 14px; }

.store-dash-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.store-badge {
  flex: 0 0 auto;
  align-self: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.store-badge.ok { background: #e2f3ea; color: #0f7a44; }
.store-badge.review { background: #fdf1dc; color: #96591b; }
.store-badge.rejected { background: #fde6e6; color: #b02525; }
.store-badge.draft { background: #eef2f8; color: #5a6b86; }

.store-dash-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.store-mini-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s ease, background 0.15s ease;
}
.store-mini-btn:hover { filter: brightness(1.06); }
.store-mini-btn.ghost {
  background: #fff;
  color: var(--muted);
  border-color: var(--line);
}
.store-mini-btn.ghost:hover { color: var(--ink); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }

@media (max-width: 560px) {
  .store-dash-row { grid-template-columns: 72px minmax(0, 1fr); }
  .store-dash-row .store-dash-side { grid-column: 2; align-items: flex-start; flex-direction: row; }
}

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

.store-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.store-auth-dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(18, 21, 27, 0.58);
}

.store-auth-dialog.is-open {
  display: grid;
}

.store-auth-dialog form {
  width: min(440px, 100%);
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 8px;
  background: white;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

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

  .hero {
    min-height: 620px;
    align-items: flex-end;
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .hero-screenshot {
    z-index: 0;
    width: 170vw;
    right: -112vw;
    top: 76px;
    opacity: 0.56;
    filter: saturate(0.92) contrast(0.92);
    transform: none;
  }

  .hero-media::after {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(18, 21, 27, 0.2) 0%, rgba(18, 21, 27, 0.86) 100%),
      linear-gradient(90deg, rgba(18, 21, 27, 0.98) 0%, rgba(18, 21, 27, 0.9) 56%, rgba(18, 21, 27, 0.46) 100%);
  }

  .hero-image-slot {
    width: 74vw;
    right: -18vw;
    top: 42px;
  }

  .hero-image-marble {
    width: 58vw;
    right: 34vw;
    bottom: 36px;
  }

  .hero-console {
    display: none;
  }

  .intro-section,
  .product-showcase,
  .value-section,
  .ai-advisor-section,
  .impact-section,
  .revenue-section,
  .store-hero,
  .store-detail,
  .media-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    font-size: 52px;
  }

  .latest-release-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .release-copy {
    flex: 1 1 220px;
  }

  .release-cta {
    margin-left: 0;
  }

  .feature-grid,
  .pricing-grid,
  .support-grid,
  .help-site-card-grid,
  .download-grid,
  .value-grid,
  .visual-feature-grid,
  .use-case-grid,
  .store-grid,
  .store-filter-bar,
  .store-stat-grid,
  .store-screenshot-grid {
    grid-template-columns: 1fr;
  }

  .help-site-layout {
    grid-template-columns: 1fr;
  }

  .help-site-nav {
    position: static;
  }

  .download-card-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .download-version-chip {
    grid-column: 2;
    justify-self: start;
  }

  .download-card dl {
    grid-template-columns: 1fr;
  }

  .release-history-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .edge-summary {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 46px;
  }

  .product-showcase,
  .visual-feature-section,
  .impact-section,
  .comparison-section {
    padding-top: 54px;
  }

  .revenue-section {
    padding: 54px 24px;
  }

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

  .comparison-table-wrap {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 960px;
  }

  .localized-comparison .comparison-table {
    min-width: 960px;
  }

  .page-title {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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