/* ==========================================================================
   nuclide-research.com/zoe-studio.css
   Conversational Research Interface & Product Design System
   Nocturnal Obsidian (#09090B -> #14141B) + Daylight Vellum (#FAF9F6 -> #FFFFFF)
   Defines all frozen .zs-* classes shared across all 5 routes.
   Zero External CDNs | Strict CSP 'self' | Zero Horizontal Overflow
   ========================================================================== */

:root {
  --zs-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --zs-serif: var(--font-serif, "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif);
  --zs-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

body.zs-home-body,
body.zs-page-body {
  background: var(--zs-bg);
  color: var(--zs-ink);
  font-family: var(--zs-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
}

body.zs-home-body h1,
body.zs-home-body h2,
body.zs-page-body h1,
body.zs-page-body h2 {
  font-family: var(--zs-serif);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.024em;
}

body.zs-home-body h3,
body.zs-home-body h4,
body.zs-page-body h3,
body.zs-page-body h4,
.zs-logo-title {
  font-family: var(--zs-sans);
  letter-spacing: -0.024em;
}

.zs-logo-title {
  font-family: var(--zs-serif);
  font-weight: 680;
}

/* ==========================================================================
   FROZEN SHARED SHELL, SECTIONS, HEADINGS & GRIDS (SPEC 2.1)
   ========================================================================== */
.zs-shell {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.zs-section {
  position: relative;
  padding: 88px 0;
  border-top: 1px solid var(--zs-rule);
  background: var(--zs-bg);
  color: var(--zs-ink);
}

.zs-section-alt {
  background: var(--zs-bg-elev);
}

.zs-head {
  max-width: 720px;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.zs-head-center {
  max-width: 760px;
  margin: 0 auto 44px;
  align-items: center;
  text-align: center;
}

.zs-head-folio {
  max-width: 780px;
  margin: 0 auto 42px;
  padding: 18px 0 20px;
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--zs-rule);
  border-bottom: 1px solid var(--zs-rule);
  gap: 10px;
}

.zs-head-folio .zs-kicker {
  justify-content: center;
}

.zs-head-folio .zs-lead {
  max-width: 58ch;
  margin: 2px auto 0;
}

.zs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--zs-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--zs-accent-soft);
}

.zs-kicker-teal {
  color: var(--zs-teal-text);
}

.zs-head h1,
.zs-head h2,
.zs-head-folio h1,
.zs-head-folio h2 {
  margin: 0;
  font-family: var(--zs-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.024em;
  color: var(--zs-ink);
}

.zs-lead {
  margin: 2px 0 0;
  max-width: 64ch;
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--zs-ink-soft);
}

.zs-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: 14px;
  border: 1px solid var(--zs-rule);
  background: var(--zs-surface);
  box-shadow: var(--zs-shadow-card), var(--zs-specular);
  min-width: 0;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.zs-card:hover {
  border-color: var(--zs-rule-strong);
}

.zs-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.25;
  color: var(--zs-ink);
}

.zs-card p {
  margin: 0;
  max-width: 64ch;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--zs-ink-soft);
}

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

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

/* ==========================================================================
   FROZEN BUTTONS & INLINE NAV (SPEC 2.1)
   ========================================================================== */
.zs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 9px;
  border: 1px solid var(--zs-rule-strong);
  background: var(--zs-surface-2);
  color: var(--zs-ink);
  font-family: var(--zs-sans);
  font-size: 0.9rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.14s ease, color 0.15s ease;
}

.zs-btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

body[data-theme="vellum"] .zs-btn:hover {
  border-color: rgba(9, 9, 11, 0.32);
}

.zs-btn-primary {
  background: #F4F4F5;
  border-color: #F4F4F5;
  color: #09090B;
  font-weight: 620;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.zs-btn-primary:hover {
  background: #E4E4E7;
  border-color: #E4E4E7;
  color: #09090B;
}

body[data-theme="vellum"] .zs-btn-primary {
  background: #09090B;
  border-color: #09090B;
  color: #FAF9F6;
}

body[data-theme="vellum"] .zs-btn-primary:hover {
  background: #27272A;
  border-color: #27272A;
  color: #FAF9F6;
}

.zs-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--zs-rule-strong);
  color: var(--zs-ink);
}

body[data-theme="vellum"] .zs-btn-ghost {
  background: #FFFFFF;
  border-color: rgba(9, 9, 11, 0.16);
  color: #09090B;
}

.zs-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

body[data-theme="vellum"] .zs-btn-ghost:hover {
  background: #F4F4F6;
}

.zs-btn-quiet {
  background: transparent;
  border-color: var(--zs-rule);
  color: var(--zs-ink-soft);
}

.zs-btn-quiet:hover {
  color: var(--zs-ink);
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme="vellum"] .zs-btn-quiet:hover {
  background: rgba(9, 9, 11, 0.04);
}

.zs-btn-compact {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 0.83rem;
  border-radius: 7px;
}

.zs-btn-primary.zs-btn-compact {
  min-height: 44px;
  padding: 9px 16px;
}

.zs-inline-nav {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-family: var(--zs-sans);
  font-size: 0.88rem;
  font-weight: 540;
  color: var(--zs-ink-soft);
  text-decoration: none;
  transition: color 0.14s ease;
}

.zs-inline-nav:hover {
  color: var(--zs-ink);
}

/* ==========================================================================
   CONSTITUTIONAL INVARIANTS BAR & PILLS (SPEC 2.1)
   ========================================================================== */
.zs-invariants-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zs-inv-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--zs-rule);
  background: rgba(255, 255, 255, 0.03);
  color: var(--zs-ink-soft);
  font-family: var(--zs-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.4;
}

body[data-theme="vellum"] .zs-inv-pill {
  background: rgba(9, 9, 11, 0.035);
  color: #3F3F46;
}

/* ==========================================================================
   HERO & CENTERED TWO-WAY "ZOE | ABLATION" ENTRY
   ========================================================================== */
.zs-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 76px;
  background:
    radial-gradient(ellipse 68% 46% at 50% 8%, rgba(225, 29, 72, 0.11), transparent 70%),
    radial-gradient(ellipse 52% 40% at 78% 24%, rgba(20, 184, 166, 0.08), transparent 68%),
    var(--zs-bg);
}

body[data-theme="vellum"] .zs-hero {
  background:
    radial-gradient(ellipse 68% 46% at 50% 8%, rgba(190, 18, 60, 0.055), transparent 70%),
    radial-gradient(ellipse 52% 40% at 78% 24%, rgba(15, 118, 110, 0.045), transparent 68%),
    var(--zs-bg);
}

.zs-star-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.zs-hero-center {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.zs-announce-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--zs-rule-strong);
  box-shadow: var(--zs-specular);
  color: var(--zs-ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
}

body[data-theme="vellum"] .zs-announce-pill {
  background: #FFFFFF;
}

.zs-hero-gem {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.zs-hero-title {
  margin: 0;
  font-family: var(--zs-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.35rem);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--zs-ink);
}

.zs-hero-muted {
  color: var(--zs-ink-soft);
  font-weight: 600;
}

.zs-hero-sub {
  margin: 0;
  max-width: 64ch;
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--zs-ink-soft);
}

.zs-hero-sub strong {
  color: var(--zs-ink);
  font-weight: 600;
}

/* Two-Way Entry Split Selector */
.zs-entry-hub {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid var(--zs-rule-strong);
  background: var(--zs-surface);
  box-shadow: var(--zs-shadow-window), var(--zs-specular);
  overflow: hidden;
}

.zs-entry-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--zs-rule);
  background: rgba(255, 255, 255, 0.02);
}

body[data-theme="vellum"] .zs-entry-bar {
  background: rgba(9, 9, 11, 0.025);
}

.zs-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}

.zs-entry-door {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.zs-entry-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  border-left: 1px solid var(--zs-rule);
  border-right: 1px solid var(--zs-rule);
  background: var(--zs-bg-elev);
  gap: 10px;
}

.zs-split-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--zs-rule-strong);
  background: var(--zs-well);
}

body[data-theme="vellum"] .zs-split-pill {
  background: #ECEBE6;
}

.zs-split-btn {
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--zs-ink-soft);
  font-family: var(--zs-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.zs-split-btn.is-active {
  background: var(--zs-surface-2);
  color: var(--zs-ink);
  box-shadow: inset 0 0 0 1px var(--zs-rule-strong);
}

body[data-theme="vellum"] .zs-split-btn.is-active {
  background: #FFFFFF;
  color: #09090B;
}

.zs-split-sep {
  color: var(--zs-ink-muted);
  font-family: var(--zs-mono);
  font-size: 0.85rem;
  user-select: none;
}

/* Segmented Controls & Tabs */
.zs-segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 9px;
  background: var(--zs-well);
  border: 1px solid var(--zs-rule);
  align-self: flex-start;
}

body[data-theme="vellum"] .zs-segmented {
  background: #F0EFEA;
}

.zs-seg-btn {
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--zs-ink-soft);
  font-family: var(--zs-sans);
  font-size: 0.82rem;
  font-weight: 560;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.zs-seg-btn:hover {
  color: var(--zs-ink);
}

.zs-seg-btn.is-active {
  background: var(--zs-surface-2);
  color: var(--zs-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 0 0 1px var(--zs-rule-strong);
}

body[data-theme="vellum"] .zs-seg-btn.is-active {
  background: #FFFFFF;
  color: #09090B;
  box-shadow: 0 1px 3px rgba(9, 9, 11, 0.08), inset 0 0 0 1px rgba(9, 9, 11, 0.1);
}

/* 3-Pane Workbench & Shared Monospace Output Wells */
.zs-bench-3pane {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.32fr) minmax(240px, 0.86fr);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--zs-rule);
  background: var(--zs-surface);
  box-shadow: var(--zs-shadow-window), var(--zs-specular);
}

.zs-bench-pane {
  padding: 22px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--zs-rule);
}

.zs-bench-pane:last-child {
  border-right: 0;
}

.zs-pane-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--zs-rule);
}

.zs-pane-label-row h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 620;
  color: var(--zs-ink);
}

.zs-chassis-code {
  font-family: var(--zs-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--zs-ink-soft);
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--zs-rule);
}

body[data-theme="vellum"] .zs-chassis-code {
  background: rgba(9, 9, 11, 0.04);
}

.zs-preset-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zs-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  text-align: left;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--zs-ink-soft);
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.zs-preset-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme="vellum"] .zs-preset-btn:hover {
  background: rgba(9, 9, 11, 0.04);
}

.zs-preset-btn strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--zs-ink);
}

.zs-preset-btn span {
  font-family: var(--zs-mono);
  font-size: 0.73rem;
  color: var(--zs-ink-muted);
}

.zs-preset-btn.is-active {
  background: var(--zs-surface-2);
  border-color: var(--zs-rule-strong);
  box-shadow: inset 2px 0 0 var(--zs-accent);
}

.zs-tab-row,
.zs-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zs-tab-btn,
.zs-chip {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid var(--zs-rule);
  background: rgba(255, 255, 255, 0.03);
  color: var(--zs-ink-soft);
  font-family: var(--zs-sans);
  font-size: 0.78rem;
  font-weight: 540;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

body[data-theme="vellum"] .zs-tab-btn,
body[data-theme="vellum"] .zs-chip {
  background: #F4F4F6;
}

.zs-tab-btn:hover,
.zs-chip:hover {
  border-color: var(--zs-rule-strong);
  color: var(--zs-ink);
}

.zs-tab-btn.is-active,
.zs-chip.is-active {
  background: var(--zs-surface-2);
  border-color: var(--zs-accent);
  color: var(--zs-ink);
}

body[data-theme="vellum"] .zs-tab-btn.is-active,
body[data-theme="vellum"] .zs-chip.is-active {
  background: #FFFFFF;
}

.zs-bench-cmd,
.zs-disasm-trace {
  margin: 0;
  padding: 13px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #070709;
  color: #E4E4E7;
  font-family: var(--zs-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Editions Grid */
.zs-editions-grid.zs-editions-4col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.zs-editions-grid .tier-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  border-radius: 14px;
  border: 1px solid var(--zs-rule);
  background: var(--zs-surface);
  box-shadow: var(--zs-shadow-card), var(--zs-specular);
  min-width: 0;
}

.zs-editions-grid .tier-card.is-featured {
  border-color: rgba(225, 29, 72, 0.48);
  box-shadow: 0 20px 52px -20px rgba(225, 29, 72, 0.24), inset 0 2px 0 var(--zs-accent);
}

.zs-editions-grid .tier-badge {
  font-family: var(--zs-mono);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--zs-ink-muted);
}

.zs-editions-grid .tier-card.is-featured .tier-badge {
  color: var(--zs-accent-soft);
}

.zs-editions-grid .tier-card h4 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 650;
  color: var(--zs-ink);
}

.zs-editions-grid .tier-price {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--zs-ink);
}

.zs-editions-grid .tier-cadence {
  font-size: 0.8rem;
  line-height: 1.52;
  color: var(--zs-ink-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--zs-rule);
}

.zs-editions-grid .tier-features {
  margin: 4px 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--zs-ink-soft);
}

.zs-editions-grid .tier-features li {
  position: relative;
  padding-left: 18px;
}

.zs-editions-grid .tier-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--zs-emerald-text);
  font-weight: 700;
}

.zs-editions-grid .tier-card .zs-btn {
  margin-top: auto;
  width: 100%;
}

/* Readouts & Uncertainty Regime Badges */
.zs-readout-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 9px 12px;
  border: 1px solid var(--zs-rule);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--zs-mono);
  font-size: 0.8rem;
}

.zs-regime-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 5px;
  font-family: var(--zs-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.zs-regime-badge.is-act {
  background: rgba(52, 211, 153, 0.12);
  color: var(--zs-emerald-text);
  border: 1px solid rgba(52, 211, 153, 0.34);
}

.zs-regime-badge.is-deliberate {
  background: rgba(251, 191, 36, 0.14);
  color: var(--zs-amber);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.zs-regime-badge.is-abstain {
  background: rgba(225, 29, 72, 0.14);
  color: var(--zs-accent-soft);
  border: 1px solid rgba(225, 29, 72, 0.35);
}

.zs-canvas-well {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #070709;
  display: flex;
  justify-content: center;
}

.zs-atau-canvas {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 6px;
}

/* ==========================================================================
   FROZEN FOOTER & COLOPHON (SPEC 2.1)
   ========================================================================== */
.zs-footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--zs-rule);
  background: var(--zs-bg);
  color: var(--zs-ink-soft);
}

.zs-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.zs-footer-grid h3 {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 620;
  color: var(--zs-ink);
}

.zs-footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.zs-footer-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--zs-ink-soft);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.14s ease;
}

.zs-footer-grid a:hover {
  color: var(--zs-ink);
}

.zs-colophon {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--zs-rule);
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--zs-ink-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1120px / 860px / 640px)
   ========================================================================== */
@media (max-width: 1120px) {
  .zs-bench-3pane {
    grid-template-columns: 1fr;
  }
  .zs-bench-pane {
    border-right: 0;
    border-bottom: 1px solid var(--zs-rule);
  }
  .zs-bench-pane:last-child {
    border-bottom: 0;
  }
  .zs-editions-grid.zs-editions-4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zs-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .zs-entry-grid {
    grid-template-columns: 1fr;
  }
  .zs-entry-divider {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--zs-rule);
    border-bottom: 1px solid var(--zs-rule);
    padding: 14px;
  }
  .zs-grid-2,
  .zs-grid-3,
  .zs-editions-grid.zs-editions-4col,
  .zs-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .zs-shell {
    padding: 0 16px;
  }
  .zs-hero {
    padding: 32px 0 52px;
  }
  .zs-section {
    padding: 56px 0;
  }
  .zs-card,
  .zs-entry-door,
  .zs-bench-pane {
    padding: 20px 18px;
  }
  .zs-head-folio {
    margin-bottom: 32px;
    padding: 14px 0 16px;
  }
}
