.z8-content {
  color: var(--ink);
  --card-border: #dce5f5;
  --light-panel: #f5f8ff;
  --night-panel: #142044;
}

.z8-content :where(section, article, div)[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
.z8-content :where(h1, h2, h3) { margin: 0; line-height: 1.15; text-wrap: balance; }
.z8-content p { margin: 0; color: var(--muted); line-height: 1.65; }
.z8-content a:focus-visible, .z8-content :where(input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.z8-section { padding-block: clamp(44px, 6vw, 78px); }
.z8-section--tinted { border-block: 1px solid #e7edf8; background: #f6f8fd; }
.z8-section-title { margin-bottom: clamp(22px, 3vw, 34px); font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.z8-section p + p { margin-top: 10px; }
.z8-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 13px; margin-top: 23px; }
.z8-text-link { color: var(--blue); font-weight: 700; text-underline-offset: .2em; }
.z8-text-link:hover { text-decoration: underline; }
.z8-button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.z8-badge {
  display: inline-flex;
  align-self: start;
  padding: 4px 9px;
  border-radius: 6px;
  background: #ebf0fe;
  color: #2645af;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
}

.z8-hero {
  border-bottom: 1px solid #e1e9f8;
  background:
    radial-gradient(ellipse at 88% 14%, #dbe6ff 0, transparent 55%),
    linear-gradient(130deg, #fbfcff 0%, #edf3ff 100%);
}

.z8-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(30px, 4vw, 62px);
  padding-block: clamp(56px, 8vw, 105px);
}
.z8-hero h1 { margin: 0; font-size: clamp(2.5rem, 4.45vw, 4.7rem); letter-spacing: -.045em; }
.z8-hero h1 span { display: block; color: var(--blue); }
.z8-hero p { margin-top: 19px; max-width: 37ch; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.z8-hero .z8-actions { margin-top: 27px; }

.z8-showcase {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d0dcf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 23px 52px #20449921, 0 3px 10px #20449912;
}
.z8-showcase figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 13px 17px;
  border-bottom: 1px solid #e8edf7;
  background: #f8faff;
  font-size: .875rem;
}
.z8-showcase figcaption span { color: var(--muted); }
.z8-showcase-body { display: grid; grid-template-columns: minmax(105px, .36fr) minmax(0, 1fr); }
.z8-showcase-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px 12px;
  border-right: 1px solid #e8edf7;
  background: #f6f8fd;
  color: var(--muted);
  font-size: .875rem;
}
.z8-showcase-sidebar strong { padding: 7px 8px; border-radius: 6px; background: #e4ecff; color: #2447bc; }
.z8-showcase-session { min-width: 0; padding: clamp(14px, 2.2vw, 25px); }
.z8-showcase-session p { margin: 0; max-width: none; font-size: .9375rem; }
.z8-showcase-request { padding: 10px 13px; border-radius: 9px; background: #edf2ff; color: var(--ink) !important; }
.z8-showcase-task { padding-block: 13px; }
.z8-showcase-diff { overflow: hidden; border: 1px solid #dde6f5; border-radius: 9px; font-size: .875rem; }
.z8-showcase-diff > * { display: block; padding: 7px 10px; overflow-wrap: anywhere; }
.z8-showcase-diff > strong { background: #f6f8fd; }
.z8-showcase-diff del { background: #fff2f3; color: #99252b; text-decoration: none; }
.z8-showcase-diff ins { background: #eaf8ef; color: #175d38; text-decoration: none; }
.z8-showcase-result { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 13px; font-size: .875rem; }
.z8-result-ok { color: #14643d; font-weight: 700; }

.z8-grid { display: grid; gap: 16px; }
.z8-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.z8-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.z8-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.z8-tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 11px;
  align-items: start;
  padding: clamp(18px, 2.3vw, 27px);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  background: #fff;
}
.z8-tile--tinted { background: var(--light-panel); }
.z8-tile--night { border-color: var(--night-panel); background: var(--night-panel); color: #fff; }
.z8-tile--night :is(p, a.z8-text-link) { color: #d3dfff; }
.z8-tile--night .z8-badge { background: #2b3f79; color: #e0e9ff; }
.z8-tile h2, .z8-tile h3 { font-size: clamp(1.13rem, 1.65vw, 1.38rem); overflow-wrap: anywhere; }
.z8-tile > .z8-text-link, .z8-tile > .z8-button-group { margin-top: auto; padding-top: 4px; }
.z8-product-mark { flex: none; width: 38px; height: 38px; border-radius: 9px; }
.z8-product-terminal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #4960a0;
  border-radius: 9px;
  color: #dfe9ff;
  font-family: var(--mono);
  font-weight: 700;
}

.z8-use-case .z8-scenario-output {
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid #e5ebf7;
  border-radius: 8px;
  background: #f5f8ff;
  color: #334a78;
  font-size: .875rem;
}
.z8-use-case .z8-text-link { margin-top: auto; }
.z8-page-intro {
  padding-block: clamp(42px, 6vw, 72px);
  border-bottom: 1px solid #e2e9f7;
  background: linear-gradient(125deg, #fafcff, #eaf1ff);
}
.z8-page-intro h1 { font-size: clamp(2.2rem, 4.5vw, 3.65rem); }
.z8-page-intro p { max-width: 70ch; margin-top: 13px; }
.z8-download-center { padding-block: clamp(28px, 4vw, 48px); }
.z8-download-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.3vw, 14px); margin-bottom: 15px; }
.z8-download-tabs .z8-download-tab {
  display: flex;
  min-width: 0;
  min-height: 74px;
  align-items: center;
  gap: clamp(8px, 1.2vw, 13px);
  padding: clamp(9px, 1.5vw, 17px);
  border: 1px solid #d4e0f4;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: start;
  white-space: normal;
  cursor: pointer;
}
.z8-download-tab strong, .z8-download-tab small { display: block; }
.z8-download-tab strong { font-size: clamp(.9375rem, 1.5vw, 1.125rem); line-height: 1.28; }
.z8-download-tab small { margin-top: 3px; color: #4c5f83; font-size: .8125rem; line-height: 1.35; }
.z8-download-tab-icon { flex: none; width: 32px; height: 32px; border-radius: 7px; }
.z8-download-terminal { display: grid; place-items: center; background: #172747; color: #e5edff; font-family: var(--mono); font-weight: 700; }
.z8-download-tabs .z8-download-tab:hover { border-color: #8198d4; background: #f7f9ff; }
.z8-download-tabs .z8-download-tab[aria-selected="true"] { border-color: #3155dc; background: #edf2ff; box-shadow: inset 0 0 0 1px #3155dc; color: #1d399f; }
.z8-download-center :where(.z8-download-tab, .z8-download-card):focus-visible { outline: 2px solid #3155dc; outline-offset: 3px; }
.z8-download-panels { display: grid; gap: 15px; }
.z8-download-card { min-width: 0; border: 1px solid #d4e0f4; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px #243f7810; }
.z8-download-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 9px 16px;
  padding: clamp(18px, 2.4vw, 27px);
  border-bottom: 1px solid #e5ecf8;
}
.z8-download-panel-head h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.z8-download-panel-head p { margin-top: 7px; }
.z8-download-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2.6vw, 30px);
  padding: clamp(16px, 2.4vw, 27px);
}
.z8-download-options, .z8-download-support { display: grid; min-width: 0; align-content: start; justify-items: start; gap: 10px; }
.z8-download-options h3, .z8-download-support h3 { font-size: 1.0625rem; }
.z8-download-support { padding: 15px; border: 1px solid #e3ebfa; border-radius: 10px; background: #f6f8fe; }
.z8-download-support[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
.z8-download-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; color: var(--muted); font-size: .875rem; }
.z8-download-links span a { color: var(--blue); text-decoration: underline; text-underline-offset: .17em; }
.z8-download-options .z8-download-status { padding: 7px 10px; border-radius: 6px; background: #edf2fc; color: #3b5079; font-size: .9375rem; }
.z8-download-channels:empty { display: none; }
.z8-download-list { display: grid; gap: 6px; width: 100%; margin: 0; padding: 0; list-style: none; }
.z8-download-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 9px 12px; border-radius: 7px; background: #eef3fe; }
.z8-download-list a { color: var(--blue); font-weight: 700; }
.z8-download-list a:hover { text-decoration: underline; text-underline-offset: .2em; }

.z8-install-commands { width: 100%; }
.z8-install-commands summary { min-height: 40px; padding-block: 8px; color: var(--blue); font-weight: 700; cursor: pointer; }
.z8-install-command { display: grid; gap: 5px; margin-top: 8px; padding: 10px 12px; border-radius: 7px; background: #eff3fe; }
.z8-install-command code { overflow-wrap: anywhere; font-size: .875rem; }
.z8-install-command button { justify-self: start; }

.z8-market-filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 12px; }
.z8-market-filters label { display: grid; align-content: start; gap: 6px; min-width: 0; color: #304569; font-weight: 700; }
.z8-market-filters :is(input, select) {
  width: 100%;
  min-height: 45px;
  padding: 8px 11px;
  border: 1px solid #bfcdeb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.z8-market-filters select {
  appearance: none;
  padding-inline-end: 28px;
  background-image: linear-gradient(45deg, transparent 50%, #52668d 50%), linear-gradient(135deg, #52668d 50%, transparent 50%);
  background-position: calc(100% - 16px) 53%, calc(100% - 11px) 53%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
}
.z8-market-results { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block: 25px 14px; }
.z8-market-results h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.z8-market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.z8-market-grid .z8-tile > a:last-child { margin-top: auto; }
.z8-market-empty { padding: 23px; border: 1px solid var(--card-border); border-radius: 10px; }

.z8-pricing-conditions { margin: 0; padding-inline-start: 1.3em; color: var(--muted); line-height: 1.65; }
.z8-pricing-conditions li + li { margin-top: 5px; }
.z8-faq { display: grid; gap: 8px; }
.z8-faq details { padding: 13px 16px; border: 1px solid var(--card-border); border-radius: 9px; background: #fff; }
.z8-faq summary { color: var(--ink); font-weight: 700; cursor: pointer; }
.z8-faq details p { margin-top: 7px; }

.z8-detail-hero {
  padding-block: clamp(22px, 4vw, 46px) clamp(42px, 6vw, 76px);
  border-bottom: 1px solid #dce6f9;
  background: radial-gradient(ellipse at 85% 24%, #dce7ff, transparent 60%), #f6f9ff;
}
.z8-detail-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: clamp(24px, 4vw, 43px); font-size: .875rem; color: var(--muted); }
.z8-detail-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 4vw, 52px); }
.z8-detail-kicker { display: block; margin-bottom: 11px; color: var(--blue); font-weight: 700; }
.z8-detail-hero h1 { font-size: clamp(2rem, 4.3vw, 3.9rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.z8-detail-hero p { max-width: 55ch; margin-top: 15px; font-size: clamp(1rem, 1.55vw, 1.16rem); }
.z8-detail-meta { display: grid; gap: 7px; margin: 21px 0 0; font-size: .9375rem; }
.z8-detail-meta > div { display: flex; flex-wrap: wrap; gap: 4px 11px; }
.z8-detail-meta dt { color: var(--ink); font-weight: 700; }
.z8-detail-meta dd { margin: 0; color: var(--muted); }
.z8-detail-preview { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #cddaf1; border-radius: 15px; background: #fff; box-shadow: 0 14px 44px #203c7a1d; }
.z8-detail-preview figcaption { padding: 9px 14px; border-top: 1px solid #e0e8f6; color: #435776; font-size: .875rem; }
.z8-detail-preview img { display: block; width: 100%; height: auto; }
.z8-detail-preview--terminal { border-color: #243961; background: #141e38; color: #dbe6ff; }
.z8-detail-preview--terminal figcaption { border-color: #2e426c; color: #bdd0fa; }
.z8-detail-preview--terminal pre { margin: 0; padding: clamp(15px, 2.3vw, 28px); font-size: clamp(.875rem, 1.2vw, 1rem); line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.z8-detail-preview--terminal .z8-terminal-prompt { color: #a9c5ff; }
.z8-detail-preview--terminal .z8-terminal-result { color: #9aebbd; }
.z8-detail-preview--phone { max-width: 450px; margin-inline: auto; }
.z8-phone-visual { display: grid; grid-template-columns: minmax(125px, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(12px, 2vw, 24px); padding: clamp(12px, 2vw, 22px); background: #eef3ff; }
.z8-phone-visual img { border: 1px solid #c9d8f3; border-radius: 15px; box-shadow: 0 12px 21px #2e4b851f; }
.z8-phone-visual strong { display: block; margin-bottom: 7px; }
.z8-phone-visual p { margin-top: 0; font-size: .9rem; }
.z8-paired-visual { display: grid; gap: 10px; padding: clamp(13px, 2.6vw, 28px); background: #edf3ff; }
.z8-paired-visual > div { padding: 13px 15px; border: 1px solid #cedbf3; border-radius: 9px; background: #fff; }
.z8-paired-visual > div:last-child { background: #e3ebff; }
.z8-paired-visual p { margin-top: 4px; font-size: .9375rem; }
.z8-product-detail :where(section, article, div)[id] { scroll-margin-top: calc(var(--header-height) + 65px); }
.z8-detail-anchors { position: sticky; z-index: 5; top: var(--header-height); border-bottom: 1px solid #dce6f7; background: #fffffff7; }
.z8-detail-anchors > div { display: flex; gap: 9px 22px; overflow-x: auto; scrollbar-width: thin; padding-block: 8px; }
.z8-detail-anchors a { flex: none; padding-block: 6px; color: #405578; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.z8-detail-anchors a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .19em; }
.z8-detail-task-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; align-items: stretch; }
.z8-section .z8-detail-intro { max-width: 68ch; margin: -9px 0 22px; }
.z8-proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); align-items: start; }
.z8-proof-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #d7e2f5; border-radius: 13px; background: #fff; }
.z8-proof-visual { display: block; padding: clamp(10px, 1.8vw, 20px); background: #e8eefb; }
.z8-proof-visual img { display: block; width: 100%; height: auto; border-radius: 7px; background: #f4f6fc; box-shadow: 0 5px 18px #233b6630; }
.z8-proof-card figcaption { display: grid; gap: 5px; padding: clamp(14px, 1.9vw, 20px); }
.z8-proof-card figcaption strong { color: var(--ink); font-size: 1.04rem; }
.z8-proof-card figcaption span { color: var(--muted); font-size: .9375rem; }
.z8-proof-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.z8-proof-table caption { padding: 14px 16px; text-align: left; color: var(--ink); font-weight: 700; }
.z8-proof-table :is(th, td) { padding: 9px 12px; text-align: start; border-top: 1px solid #e3eafa; }
.z8-proof-table thead { background: #eff3fc; color: #344970; }
.z8-proof-table td:last-child { color: #14643d; font-weight: 700; }
.z8-proof-card .z8-proof-note { padding: 10px 14px 14px; font-size: .875rem; }
.z8-proof-command { padding: 16px; border-radius: 12px; background: #15223f; color: #edf3ff; }
.z8-proof-command pre { margin: 0 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.z8-proof-command [role="status"] { margin-inline-start: 8px; color: #ccd9f4; font-size: .875rem; }
.z8-proof-command button { min-height: 40px; }
.z8-detail-more { margin-top: 20px; }
.z8-detail-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 0; }
.z8-detail-checks > div { min-width: 0; padding: 17px 18px; border: 1px solid #e0e8f7; border-radius: 10px; background: #fff; }
.z8-detail-checks dt { color: var(--ink); font-weight: 700; }
.z8-detail-checks dd { margin: 6px 0 0; color: var(--muted); line-height: 1.62; }
.z8-detail-steps { display: grid; gap: 13px; padding-inline-start: 1.4em; color: #31486e; margin-block: 3px 0; }
.z8-detail-steps li::marker { color: var(--blue); font-weight: 700; }
.z8-detail-steps p { margin-top: 3px; }
.z8-detail-start { max-width: 760px; }
.z8-detail-start code { overflow-wrap: anywhere; }

@media (max-width: 820px) {
  .z8-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .z8-hero h1 { font-size: clamp(2.45rem, 7vw, 4rem); }
  .z8-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .z8-market-filters, .z8-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .z8-detail-hero-grid, .z8-detail-task-grid { grid-template-columns: minmax(0, 1fr); }
  .z8-download-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .z8-download-panel-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .z8-showcase-body, .z8-grid { grid-template-columns: minmax(0, 1fr); }
  .z8-showcase-sidebar { display: none; }
  .z8-actions { gap: 8px; }
  .z8-market-filters > :first-child { grid-column: 1 / -1; }
  .z8-market-grid { grid-template-columns: minmax(0, 1fr); }
  .z8-proof-grid, .z8-detail-checks { grid-template-columns: minmax(0, 1fr); }
  .z8-detail-anchors > div { gap: 12px; }
  .z8-detail-anchors a { font-size: .875rem; }
}
