/* ============================================================
   ZOUR landing.css — CS2 collection-building site
   Aesthetic: tactical HUD overlay. Sharp, weighty, monospace-
   forward. Loaded AFTER style.css on the landing page only;
   everything is namespaced .z-* so /checkout and /admin are
   untouched. A few descendant overrides re-skin the existing
   .item-card grid inside .z-live-section.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ============================================================
   1 · Tokens
   ============================================================ */
:root {
  /* Surfaces */
  --z-bg:           #0a0a0a;
  --z-bg-elev-1:    #101010;
  --z-bg-elev-2:    #161616;
  --z-bg-elev-3:    #1d1d1d;
  --z-line:         #262626;
  --z-line-bright:  #3a3a3a;

  /* Ink */
  --z-ink:          #e7e5e4;
  --z-ink-dim:      #a8a29e;
  --z-ink-mute:     #6b6b6b;
  --z-ink-faint:    #3f3f3f;

  /* Accents — used SPARINGLY */
  --z-orange:       #f97316;
  --z-orange-soft:  rgba(249, 115, 22, 0.16);
  --z-orange-glow:  rgba(249, 115, 22, 0.32);
  --z-blue:         #60a5fa;
  --z-blue-soft:    rgba(96, 165, 250, 0.14);

  /* Deltas */
  --z-green:        #84cc16;
  --z-green-soft:   rgba(132, 204, 22, 0.14);
  --z-red:          #ef4444;
  --z-red-soft:     rgba(239, 68, 68, 0.14);

  /* Float-bar canonical gradient (Factory New → Battle-Scarred) */
  --z-float-grad:   linear-gradient(90deg,
                      #4ade80 0%,   /* FN  0.00–0.07 */
                      #84cc16 17%,  /* MW  0.07–0.15 */
                      #eab308 38%,  /* FT  0.15–0.38 */
                      #f97316 75%,  /* WW  0.38–0.45 */
                      #ef4444 100%  /* BS  0.45–1.00 */
                    );

  /* Typography */
  --z-font-display: 'Chakra Petch', system-ui, -apple-system, sans-serif;
  --z-font-body:    'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --z-font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Geometry */
  --z-shell-max:    1280px;
  --z-gutter:       clamp(16px, 4vw, 40px);
  --z-section-y:    clamp(64px, 9vw, 128px);
  --z-bevel:        12px;          /* size of chamfered corners on cards */
  --z-bracket:      22px;          /* size of bracket-corner accents */

  /* Motion */
  --z-ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --z-ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

@property --z-spin {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ============================================================
   2 · Reset / base
   ============================================================ */
.z-page {
  background: var(--z-bg);
  color: var(--z-ink);
  font-family: var(--z-font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'ss01';
  position: relative;
  overflow-x: clip;
  min-height: 100vh;
}

.z-page *, .z-page *::before, .z-page *::after { box-sizing: border-box; }

.z-page a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s var(--z-ease);
}
.z-page a:hover { color: var(--z-orange); }

.z-page button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.z-page :focus-visible {
  outline: 1px solid var(--z-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   3 · Atmosphere — hex grid + scanline + grain layers
   ============================================================ */
.z-page::before {
  /* hexagonal grid, very faint, full-page */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'><path d='M28 0 L56 16 L56 48 L28 64 L0 48 L0 16 Z' fill='none' stroke='%23262626' stroke-width='0.6'/></svg>");
  background-size: 56px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 80%);
}
.z-page::after {
  /* high-frequency grain over everything */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* All real content sits above the atmosphere */
.z-page > * { position: relative; z-index: 2; }

/* ============================================================
   4 · Typography primitives
   ============================================================ */
.z-display {
  font-family: var(--z-font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.z-mono {
  font-family: var(--z-font-mono);
  font-feature-settings: 'tnum', 'zero';
  letter-spacing: -0.01em;
}
.z-hud-label {
  font-family: var(--z-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--z-ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.z-hud-label::before {
  content: '//';
  color: var(--z-orange);
  opacity: 0.9;
}
.z-hud-label--dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--z-orange);
  box-shadow: 0 0 8px var(--z-orange-glow);
  animation: z-pulse 2.4s ease-in-out infinite;
}

@keyframes z-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.82); }
}

/* ============================================================
   5 · Shell / layout primitives
   ============================================================ */
.z-shell {
  max-width: var(--z-shell-max);
  margin: 0 auto;
  padding-inline: var(--z-gutter);
}
.z-section {
  padding-block: var(--z-section-y);
  position: relative;
}
.z-section + .z-section { border-top: 1px solid var(--z-line); }

.z-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: var(--z-ink-faint);
  font-family: var(--z-font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.z-divider::before, .z-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--z-line), transparent);
}

/* ============================================================
   6 · Bracket-corner accent (CS2 inventory frame)
   ============================================================ */
.z-bracketed {
  position: relative;
  isolation: isolate;
}
.z-bracketed::before,
.z-bracketed::after {
  content: '';
  position: absolute;
  width: var(--z-bracket);
  height: var(--z-bracket);
  border: 1.5px solid var(--z-orange);
  pointer-events: none;
  z-index: 3;
}
.z-bracketed::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
}
.z-bracketed::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
}
.z-bracketed--cool::before,
.z-bracketed--cool::after { border-color: var(--z-line-bright); }

/* Cards with all four bracket corners (more "in-game inventory cell") */
.z-inventory-frame {
  position: relative;
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  clip-path: polygon(
    var(--z-bevel) 0,
    calc(100% - var(--z-bevel)) 0,
    100% var(--z-bevel),
    100% calc(100% - var(--z-bevel)),
    calc(100% - var(--z-bevel)) 100%,
    var(--z-bevel) 100%,
    0 calc(100% - var(--z-bevel)),
    0 var(--z-bevel)
  );
  transition: background 0.2s var(--z-ease), transform 0.2s var(--z-ease);
}
.z-inventory-frame:hover {
  background: var(--z-bg-elev-2);
}

/* Float-bar (gradient strip) — pure visual signature */
.z-float-bar {
  height: 4px;
  background: var(--z-float-grad);
  width: 100%;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.z-float-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.5), transparent 12%, transparent 88%, rgba(0,0,0,0.5));
}

/* ============================================================
   7 · Navigation
   ============================================================ */
.z-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--z-line);
}
.z-nav-inner {
  max-width: var(--z-shell-max);
  margin: 0 auto;
  padding: 14px var(--z-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.z-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--z-font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--z-ink);
}
.z-brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--z-orange);
  color: var(--z-bg);
  clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0 70%, 0 30%);
}
.z-brand-mark svg { width: 14px; height: 14px; }
.z-brand:hover { color: var(--z-ink); }

.z-nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.z-nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-family: var(--z-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--z-ink-dim);
  border-radius: 2px;
}
.z-nav-links a:hover { color: var(--z-ink); background: var(--z-bg-elev-1); }
.z-nav-links a.is-active { color: var(--z-orange); }
.z-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .z-nav-links { display: flex; }
}

/* ============================================================
   8 · Buttons
   ============================================================ */
.z-btn {
  --pad-x: 22px;
  --pad-y: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--z-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--z-bg);
  background: var(--z-ink);
  border: 1px solid var(--z-ink);
  cursor: pointer;
  position: relative;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: transform 0.18s var(--z-ease), background 0.18s var(--z-ease), color 0.18s var(--z-ease);
}
.z-btn:hover { background: var(--z-orange); border-color: var(--z-orange); color: var(--z-bg); transform: translateY(-1px); }
.z-btn:active { transform: translateY(0); }
.z-btn--primary { background: var(--z-orange); border-color: var(--z-orange); color: var(--z-bg); }
.z-btn--primary:hover { background: var(--z-ink); border-color: var(--z-ink); color: var(--z-bg); }
.z-btn--ghost {
  background: transparent;
  color: var(--z-ink);
  border-color: var(--z-line-bright);
}
.z-btn--ghost:hover { background: var(--z-bg-elev-1); color: var(--z-ink); border-color: var(--z-line-bright); }
.z-btn--sm { --pad-x: 14px; --pad-y: 9px; font-size: 11px; }
.z-btn--lg { --pad-x: 28px; --pad-y: 16px; font-size: 14px; }

/* Arrow that ships with most primary CTAs */
.z-btn-arrow {
  display: inline-block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin-left: 4px;
}
.z-btn-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.z-btn:hover .z-btn-arrow { animation: z-arrow-pulse 0.6s var(--z-ease); }
@keyframes z-arrow-pulse {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* ============================================================
   9 · Hero
   ============================================================ */
.z-hero {
  padding-block: clamp(60px, 11vw, 140px) clamp(80px, 12vw, 160px);
  position: relative;
  overflow: hidden;
}
.z-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
@media (min-width: 1024px) {
  .z-hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.z-hero-readout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--z-line);
  background: var(--z-bg-elev-1);
  margin-bottom: 28px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.z-hero-readout-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--z-green);
  box-shadow: 0 0 8px var(--z-green);
  animation: z-pulse 1.8s ease-in-out infinite;
}
.z-hero-readout-text {
  font-family: var(--z-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--z-ink-dim);
  text-transform: uppercase;
}
.z-hero-readout-text strong {
  color: var(--z-ink);
  font-weight: 500;
}

.z-hero-headline {
  font-family: var(--z-font-display);
  font-weight: 700;
  font-size: clamp(40px, 7.4vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--z-ink);
}
.z-hero-headline .z-stroke {
  color: transparent;
  -webkit-text-stroke: 1.25px var(--z-ink-mute);
  text-stroke: 1.25px var(--z-ink-mute);
  font-style: italic;
}
.z-hero-headline .z-accent {
  color: var(--z-orange);
  position: relative;
  display: inline-block;
}
.z-hero-headline .z-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 6%;
  bottom: 6%;
  height: 3px;
  background: var(--z-orange);
  opacity: 0.45;
}

.z-hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--z-ink-dim);
  max-width: 60ch;
  margin: 0 0 36px;
  line-height: 1.6;
}

.z-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

/* Hero stat block — three numerical readouts */
.z-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--z-line);
  padding-top: 22px;
}
.z-hero-stat {
  padding-right: 16px;
}
.z-hero-stat + .z-hero-stat {
  border-left: 1px solid var(--z-line);
  padding-left: 20px;
}
.z-hero-stat-label {
  font-family: var(--z-font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--z-ink-mute);
  margin-bottom: 6px;
}
.z-hero-stat-value {
  font-family: var(--z-font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--z-ink);
  letter-spacing: -0.02em;
}
.z-hero-stat-value .z-delta-up { color: var(--z-green); margin-left: 6px; font-size: 0.6em; }

/* Hero right column — preview "inventory cell" */
.z-hero-preview {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .z-hero-preview { margin: 0 0 0 auto; }
}
.z-hero-preview-frame {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(249, 115, 22, 0.12), transparent 70%),
    var(--z-bg-elev-1);
  clip-path: polygon(
    24px 0, 100% 0, 100% calc(100% - 24px),
    calc(100% - 24px) 100%, 0 100%, 0 24px
  );
  overflow: hidden;
}
.z-hero-preview-frame::before {
  /* Grid of dots */
  content: '';
  position: absolute;
  inset: 18px;
  background-image: radial-gradient(circle at center, var(--z-line-bright) 0.8px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 50%, transparent 100%);
}
.z-hero-preview-corners {
  position: absolute;
  inset: 14px;
  pointer-events: none;
}
.z-hero-preview-corners span {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--z-orange);
}
.z-hero-preview-corners span:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.z-hero-preview-corners span:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.z-hero-preview-corners span:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; }
.z-hero-preview-corners span:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; }

.z-hero-preview-readout {
  position: absolute;
  left: 22px;
  top: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--z-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--z-ink-mute);
}
.z-hero-preview-readout strong { color: var(--z-ink); font-weight: 500; }

.z-hero-preview-item {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  text-align: center;
}
.z-hero-preview-name {
  font-family: var(--z-font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--z-ink);
  letter-spacing: 0.04em;
}
.z-hero-preview-sub {
  font-family: var(--z-font-mono);
  font-size: 11px;
  color: var(--z-ink-dim);
  margin-top: 4px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.z-hero-preview-price {
  font-family: var(--z-font-mono);
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 500;
  color: var(--z-orange);
  margin-top: 14px;
  letter-spacing: -0.02em;
}
.z-hero-preview-floatbar {
  position: absolute;
  left: 22px; right: 22px;
  bottom: 56px;
}
.z-hero-preview-floatbar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--z-font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--z-ink-mute);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.z-hero-preview-floatbar-needle {
  position: relative;
  margin-top: 4px;
}
.z-hero-preview-floatbar-needle::after {
  content: '';
  position: absolute;
  width: 2px; height: 12px;
  background: var(--z-ink);
  top: -8px;
  /* points at FT range */
  left: 28%;
  box-shadow: 0 0 6px rgba(255,255,255,0.4);
}
.z-hero-preview-float-value {
  font-family: var(--z-font-mono);
  font-size: 10px;
  color: var(--z-ink);
  margin-top: 8px;
  text-align: right;
  letter-spacing: 0.1em;
}

/* ============================================================
   10 · Marquee ticker (recent items / index pulse)
   ============================================================ */
.z-ticker {
  border-block: 1px solid var(--z-line);
  background: var(--z-bg-elev-1);
  overflow: hidden;
  position: relative;
  padding-block: 14px;
}
.z-ticker::before, .z-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.z-ticker::before { left: 0; background: linear-gradient(90deg, var(--z-bg-elev-1), transparent); }
.z-ticker::after  { right: 0; background: linear-gradient(-90deg, var(--z-bg-elev-1), transparent); }
.z-ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: z-ticker-roll 60s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.z-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--z-font-mono);
  font-size: 12px;
  color: var(--z-ink-dim);
  letter-spacing: 0.04em;
}
.z-ticker-item strong { color: var(--z-ink); font-weight: 500; }
.z-ticker-item .z-delta-up   { color: var(--z-green); }
.z-ticker-item .z-delta-down { color: var(--z-red); }
.z-ticker-divider { color: var(--z-ink-faint); }
@keyframes z-ticker-roll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   11 · Index chart section
   ============================================================ */
.z-chart-section {
  padding-block: var(--z-section-y);
}
.z-chart-eyebrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.z-chart-title {
  font-family: var(--z-font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--z-ink);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
.z-chart-title .z-accent { color: var(--z-orange); }
.z-chart-sub {
  font-size: 15px;
  color: var(--z-ink-dim);
  max-width: 60ch;
  margin: 8px 0 0;
}

/* Headline numbers row */
.z-chart-readout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--z-line);
  background: var(--z-bg-elev-1);
  margin-bottom: 0;
  clip-path: polygon(
    var(--z-bevel) 0, 100% 0,
    100% calc(100% - var(--z-bevel)),
    calc(100% - var(--z-bevel)) 100%,
    0 100%, 0 var(--z-bevel)
  );
}
@media (min-width: 640px) {
  .z-chart-readout { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .z-chart-readout { grid-template-columns: repeat(4, 1fr); }
}
.z-chart-readout-cell {
  padding: 22px 24px;
  border-bottom: 1px solid var(--z-line);
}
.z-chart-readout-cell + .z-chart-readout-cell { border-left: 1px solid var(--z-line); }
@media (max-width: 639px) {
  .z-chart-readout-cell + .z-chart-readout-cell { border-left: none; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .z-chart-readout-cell:nth-child(3),
  .z-chart-readout-cell:nth-child(4) { border-top: 1px solid var(--z-line); }
  .z-chart-readout-cell:nth-child(odd) { border-left: none; }
}
@media (min-width: 960px) {
  .z-chart-readout-cell { border-bottom: none; }
}
.z-chart-readout-label {
  font-family: var(--z-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--z-ink-mute);
  margin-bottom: 8px;
}
.z-chart-readout-value {
  font-family: var(--z-font-mono);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--z-ink);
  letter-spacing: -0.02em;
}
.z-chart-readout-value .z-delta-up { color: var(--z-green); font-size: 0.6em; margin-left: 6px; }
.z-chart-readout-value .z-delta-down { color: var(--z-red); font-size: 0.6em; margin-left: 6px; }
.z-chart-readout-value--accent { color: var(--z-orange); }
.z-chart-readout-value--blue   { color: var(--z-blue); }

/* Chart frame */
.z-chart-frame {
  margin-top: 28px;
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  padding: 24px;
  position: relative;
  clip-path: polygon(
    var(--z-bevel) 0, 100% 0,
    100% calc(100% - var(--z-bevel)),
    calc(100% - var(--z-bevel)) 100%,
    0 100%, 0 var(--z-bevel)
  );
}
@media (min-width: 768px) {
  .z-chart-frame { padding: 32px 36px; }
}
.z-chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.z-chart-legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--z-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--z-ink-dim);
}
.z-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.z-chart-legend-swatch {
  width: 18px;
  height: 2px;
}
.z-chart-legend-swatch--cs2 { background: var(--z-orange); box-shadow: 0 0 8px var(--z-orange-glow); }
.z-chart-legend-swatch--sp  { background: var(--z-blue); }

.z-chart-period {
  display: inline-flex;
  align-items: center;
  background: var(--z-bg);
  border: 1px solid var(--z-line);
  padding: 3px;
  gap: 2px;
}
.z-chart-period button {
  font-family: var(--z-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  color: var(--z-ink-dim);
  transition: color 0.15s var(--z-ease), background 0.15s var(--z-ease);
}
.z-chart-period button:hover { color: var(--z-ink); }
.z-chart-period button.is-active {
  background: var(--z-orange);
  color: var(--z-bg);
}

.z-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: visible;
}
@media (max-width: 640px) {
  .z-chart-svg { aspect-ratio: 4 / 3; }
}
.z-chart-svg .axis-line { stroke: var(--z-line); stroke-width: 1; }
.z-chart-svg .axis-label {
  font-family: var(--z-font-mono);
  font-size: 10px;
  fill: var(--z-ink-mute);
  letter-spacing: 0.08em;
}
.z-chart-svg .grid-line { stroke: var(--z-line); stroke-width: 0.5; stroke-dasharray: 2 4; }
.z-chart-svg .line-cs2 {
  stroke: var(--z-orange);
  stroke-width: 2;
  fill: none;
  filter: drop-shadow(0 0 6px var(--z-orange-glow));
}
.z-chart-svg .line-sp {
  stroke: var(--z-blue);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.85;
}
.z-chart-svg .area-cs2 {
  fill: url(#zChartAreaCs2);
  opacity: 0.55;
}
.z-chart-svg .hover-dot {
  fill: var(--z-bg);
  stroke-width: 2;
}
.z-chart-svg .hover-rule {
  stroke: var(--z-ink-faint);
  stroke-width: 1;
  stroke-dasharray: 2 3;
}

.z-chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--z-bg);
  border: 1px solid var(--z-line-bright);
  padding: 12px 14px;
  font-family: var(--z-font-mono);
  font-size: 11px;
  color: var(--z-ink);
  min-width: 180px;
  z-index: 10;
  opacity: 0;
  transform: translate(-50%, -110%);
  transition: opacity 0.15s ease;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.z-chart-tooltip.is-visible { opacity: 1; }
.z-chart-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.z-chart-tooltip-row + .z-chart-tooltip-row { margin-top: 6px; }
.z-chart-tooltip-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--z-ink-mute);
}
.z-chart-tooltip-value { color: var(--z-ink); font-weight: 500; }
.z-chart-tooltip-row--cs2 .z-chart-tooltip-value { color: var(--z-orange); }
.z-chart-tooltip-row--sp  .z-chart-tooltip-value { color: var(--z-blue); }
.z-chart-tooltip-date {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--z-ink-dim);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--z-line);
}

.z-chart-footnote {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--z-line);
  font-family: var(--z-font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--z-ink-mute);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.z-chart-footnote strong {
  color: var(--z-ink-dim);
  font-weight: 500;
  margin-right: 6px;
}

/* ============================================================
   12 · How-it-works
   ============================================================ */
.z-howit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .z-howit-grid { grid-template-columns: repeat(3, 1fr); }
}

.z-step {
  position: relative;
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  padding: 32px 28px 28px;
  clip-path: polygon(
    var(--z-bevel) 0, 100% 0, 100% calc(100% - var(--z-bevel)),
    calc(100% - var(--z-bevel)) 100%, 0 100%, 0 var(--z-bevel)
  );
  transition: background 0.25s var(--z-ease);
}
.z-step:hover { background: var(--z-bg-elev-2); }
.z-step-num {
  font-family: var(--z-font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--z-orange);
  text-stroke: 1px var(--z-orange);
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.z-step-title {
  font-family: var(--z-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--z-ink);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.z-step-body {
  font-size: 14px;
  color: var(--z-ink-dim);
  line-height: 1.65;
}

/* ============================================================
   13 · Plan picker (tabs + tier cards)
   ============================================================ */
.z-plan-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--z-line);
  background: var(--z-bg-elev-1);
  padding: 4px;
  margin: 28px 0 32px;
  max-width: 560px;
  margin-inline: auto;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}
.z-plan-tab {
  flex: 1;
  padding: 14px 16px;
  font-family: var(--z-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--z-ink-dim);
  transition: background 0.2s var(--z-ease), color 0.2s var(--z-ease);
  white-space: nowrap;
}
.z-plan-tab:hover { color: var(--z-ink); }
.z-plan-tab.is-active {
  background: var(--z-orange);
  color: var(--z-bg);
}

.z-plan-panel { display: none; }
.z-plan-panel.is-active { display: block; }

/* Tier grid */
.z-tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 8px;
}
@media (min-width: 640px) { .z-tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .z-tier-grid { grid-template-columns: repeat(4, 1fr); } }

.z-tier {
  position: relative;
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  padding: 24px 22px 22px;
  transition: background 0.2s var(--z-ease), border-color 0.2s var(--z-ease), transform 0.2s var(--z-ease);
  clip-path: polygon(
    var(--z-bevel) 0, 100% 0, 100% calc(100% - var(--z-bevel)),
    calc(100% - var(--z-bevel)) 100%, 0 100%, 0 var(--z-bevel)
  );
}
.z-tier:hover {
  background: var(--z-bg-elev-2);
  border-color: var(--z-line-bright);
  transform: translateY(-2px);
}
.z-tier--featured {
  border-color: var(--z-orange);
  background: linear-gradient(180deg, rgba(249,115,22,0.06), var(--z-bg-elev-1) 60%);
}
.z-tier--featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--z-font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--z-orange);
  padding: 3px 7px;
  border: 1px solid var(--z-orange);
}
.z-tier-name {
  font-family: var(--z-font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--z-ink-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.z-tier-price {
  font-family: var(--z-font-mono);
  font-weight: 500;
  font-size: 36px;
  color: var(--z-ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.z-tier-price-currency {
  font-size: 18px;
  color: var(--z-ink-dim);
  vertical-align: top;
  margin-right: 2px;
}
.z-tier-cadence {
  font-family: var(--z-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--z-ink-mute);
  margin-bottom: 22px;
}
.z-tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.z-tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--z-ink-dim);
  line-height: 1.5;
}
.z-tier-list li::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--z-orange);
  margin-top: 9px;
  flex-shrink: 0;
}
.z-tier-cta {
  width: 100%;
  justify-content: center;
}

/* One-time / custom panels */
.z-onetime-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  padding: 32px;
  clip-path: polygon(
    var(--z-bevel) 0, 100% 0, 100% calc(100% - var(--z-bevel)),
    calc(100% - var(--z-bevel)) 100%, 0 100%, 0 var(--z-bevel)
  );
}
.z-onetime-card h3 {
  font-family: var(--z-font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--z-ink);
  letter-spacing: 0.01em;
}
.z-onetime-card p {
  font-size: 14px;
  color: var(--z-ink-dim);
  line-height: 1.65;
  margin: 0 0 24px;
}
.z-amount-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.z-amount-input {
  flex: 1;
  background: var(--z-bg);
  border: 1px solid var(--z-line-bright);
  color: var(--z-ink);
  font-family: var(--z-font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.18s var(--z-ease);
  -moz-appearance: textfield;
}
.z-amount-input::-webkit-outer-spin-button,
.z-amount-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.z-amount-input:focus { border-color: var(--z-orange); }
.z-amount-input::placeholder { color: var(--z-ink-mute); }
.z-amount-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-family: var(--z-font-mono);
  font-size: 22px;
  color: var(--z-ink-mute);
  background: var(--z-bg);
  border: 1px solid var(--z-line-bright);
  border-right: none;
}
.z-amount-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.z-amount-quick button {
  padding: 8px 14px;
  font-family: var(--z-font-mono);
  font-size: 12px;
  background: var(--z-bg);
  border: 1px solid var(--z-line-bright);
  color: var(--z-ink-dim);
  transition: all 0.15s var(--z-ease);
}
.z-amount-quick button:hover { color: var(--z-orange); border-color: var(--z-orange); }

.z-amount-notice {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--z-line);
  background: var(--z-bg);
  font-family: var(--z-font-mono);
  font-size: 11px;
  color: var(--z-ink-mute);
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.z-amount-notice strong { color: var(--z-ink-dim); font-weight: 500; }

/* ============================================================
   14 · Live market grid (restyles existing .item-card)
   ============================================================ */
.z-live-section {
  padding-block: var(--z-section-y);
}
.z-live-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  margin: 24px 0 20px;
  border-block: 1px solid var(--z-line);
}
.z-live-section .search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
}
.z-live-section .search-box .search-icon { color: var(--z-ink-mute); flex-shrink: 0; }
.z-live-section .search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--z-ink);
  font-family: var(--z-font-mono);
  font-size: 13px;
}
.z-live-section .search-box input::placeholder { color: var(--z-ink-mute); }

.z-live-section .filters {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.z-live-section .filter-btn {
  padding: 8px 14px;
  font-family: var(--z-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid transparent;
  color: var(--z-ink-mute);
  white-space: nowrap;
  transition: color 0.15s var(--z-ease), border-color 0.15s var(--z-ease);
}
.z-live-section .filter-btn:hover { color: var(--z-ink); }
.z-live-section .filter-btn.active {
  color: var(--z-orange);
  border-color: var(--z-orange);
}

.z-live-section .sort-select {
  padding: 9px 28px 9px 14px;
  background: var(--z-bg-elev-1);
  color: var(--z-ink-dim);
  border: 1px solid var(--z-line);
  font-family: var(--z-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--z-ink-mute) 50%),
                    linear-gradient(135deg, var(--z-ink-mute) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
}
.z-live-section .item-count {
  font-family: var(--z-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--z-ink-mute);
}

.z-live-section .items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.z-live-section .item-card {
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  padding: 14px;
  transition: background 0.2s var(--z-ease), border-color 0.2s var(--z-ease), transform 0.2s var(--z-ease);
  clip-path: polygon(
    var(--z-bevel) 0, 100% 0, 100% calc(100% - var(--z-bevel)),
    calc(100% - var(--z-bevel)) 100%, 0 100%, 0 var(--z-bevel)
  );
  position: relative;
}
.z-live-section .item-card:hover {
  background: var(--z-bg-elev-2);
  border-color: var(--z-line-bright);
  transform: translateY(-2px);
}
.z-live-section .item-image-wrap {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(249, 115, 22, 0.08), transparent 70%),
    var(--z-bg);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.z-live-section .item-image-wrap img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}
.z-live-section .float-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-family: var(--z-font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 3px 6px;
  background: rgba(0,0,0,0.6);
  color: var(--z-ink-dim);
  border: 1px solid var(--z-line);
}
.z-live-section .item-type {
  font-family: var(--z-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--z-ink-mute);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.z-live-section .stattrak-badge {
  color: var(--z-orange);
  font-size: 9px;
  border: 1px solid var(--z-orange);
  padding: 1px 4px;
}
.z-live-section .item-name {
  font-family: var(--z-font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--z-ink);
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.z-live-section .item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--z-line);
}
.z-live-section .item-price {
  font-family: var(--z-font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--z-orange);
  letter-spacing: -0.01em;
}
.z-live-section .add-btn {
  width: 28px; height: 28px;
  background: transparent;
  border: 1px solid var(--z-line-bright);
  color: var(--z-ink-dim);
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
  transition: all 0.15s var(--z-ease);
}
.z-live-section .add-btn:hover {
  color: var(--z-orange);
  border-color: var(--z-orange);
}
.z-live-section .add-btn.added {
  background: var(--z-orange);
  color: var(--z-bg);
  border-color: var(--z-orange);
}

.z-live-section .skeleton-card {
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  padding: 14px;
  clip-path: polygon(
    var(--z-bevel) 0, 100% 0, 100% calc(100% - var(--z-bevel)),
    calc(100% - var(--z-bevel)) 100%, 0 100%, 0 var(--z-bevel)
  );
}
.z-live-section .skeleton-image,
.z-live-section .skeleton-text {
  background: linear-gradient(90deg, var(--z-bg-elev-2), var(--z-bg-elev-3), var(--z-bg-elev-2));
  background-size: 200% 100%;
  animation: z-shimmer 1.4s linear infinite;
}
.z-live-section .skeleton-image { aspect-ratio: 4/3; margin-bottom: 12px; }
.z-live-section .skeleton-text { height: 10px; margin-bottom: 8px; }
.z-live-section .skeleton-text.short { width: 40%; }
.z-live-section .skeleton-text.price { width: 30%; height: 14px; margin-top: 8px; }
@keyframes z-shimmer {
  from { background-position: -200% 0; }
  to   { background-position: 200% 0; }
}

/* ============================================================
   15 · Why collect — feature cards
   ============================================================ */
.z-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}
@media (min-width: 640px)  { .z-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .z-why-grid { grid-template-columns: repeat(3, 1fr); } }

.z-why {
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s var(--z-ease);
  clip-path: polygon(
    var(--z-bevel) 0, 100% 0, 100% calc(100% - var(--z-bevel)),
    calc(100% - var(--z-bevel)) 100%, 0 100%, 0 var(--z-bevel)
  );
}
.z-why:hover { background: var(--z-bg-elev-2); }
.z-why-icon {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  color: var(--z-orange);
  border: 1px solid var(--z-orange);
  font-family: var(--z-font-mono);
  font-size: 13px;
  font-weight: 500;
}
.z-why-title {
  font-family: var(--z-font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--z-ink);
  margin: 0;
}
.z-why-body {
  font-size: 13.5px;
  color: var(--z-ink-dim);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   16 · FAQ — accordion
   ============================================================ */
.z-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
  max-width: 820px;
  margin-inline: auto;
}
.z-faq-item {
  background: var(--z-bg-elev-1);
  border: 1px solid var(--z-line);
  transition: background 0.2s var(--z-ease), border-color 0.2s var(--z-ease);
  clip-path: polygon(
    8px 0, 100% 0, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 0 100%, 0 8px
  );
}
.z-faq-item:hover { background: var(--z-bg-elev-2); }
.z-faq-item[open] {
  border-color: var(--z-line-bright);
}
.z-faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--z-font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--z-ink);
  letter-spacing: 0.01em;
}
.z-faq-summary::-webkit-details-marker { display: none; }
.z-faq-toggle {
  position: relative;
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.z-faq-toggle::before, .z-faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--z-orange);
  transition: transform 0.2s var(--z-ease);
}
.z-faq-toggle::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.z-faq-toggle::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.z-faq-item[open] .z-faq-toggle::after { transform: translateX(-50%) scaleY(0); }

.z-faq-body {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--z-ink-dim);
  line-height: 1.7;
}

/* ============================================================
   17 · Compliance footer
   ============================================================ */
.z-footer {
  border-top: 1px solid var(--z-line);
  padding-block: 56px 36px;
  background: var(--z-bg);
}
.z-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .z-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; } }

.z-footer-brand-col p {
  font-family: var(--z-font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--z-ink-mute);
  margin: 18px 0 0;
  max-width: 38ch;
  letter-spacing: 0.02em;
}
.z-footer-col h4 {
  font-family: var(--z-font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--z-ink-mute);
  margin: 0 0 16px;
  font-weight: 500;
}
.z-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.z-footer-col a {
  font-size: 13px;
  color: var(--z-ink-dim);
}
.z-footer-col a:hover { color: var(--z-orange); }

.z-compliance {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--z-line);
  font-family: var(--z-font-mono);
  font-size: 10.5px;
  line-height: 1.75;
  color: var(--z-ink-mute);
  letter-spacing: 0.02em;
}
.z-compliance p { margin: 0 0 10px; max-width: 90ch; }
.z-compliance p:last-child { margin-bottom: 0; }
.z-compliance strong {
  color: var(--z-ink-dim);
  font-weight: 500;
}

/* ============================================================
   18 · Page-load orchestration (one staged reveal)
   ============================================================ */
@keyframes z-fadeup {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.z-stagger > * {
  opacity: 0;
  animation: z-fadeup 0.7s var(--z-ease-out) forwards;
}
.z-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.z-stagger > *:nth-child(2) { animation-delay: 0.13s; }
.z-stagger > *:nth-child(3) { animation-delay: 0.21s; }
.z-stagger > *:nth-child(4) { animation-delay: 0.29s; }
.z-stagger > *:nth-child(5) { animation-delay: 0.37s; }
.z-stagger > *:nth-child(6) { animation-delay: 0.45s; }
.z-stagger > *:nth-child(7) { animation-delay: 0.53s; }

@keyframes z-draw {
  to { stroke-dashoffset: 0; }
}
.z-chart-svg .line-cs2,
.z-chart-svg .line-sp {
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  animation: z-draw 2.2s var(--z-ease-out) 0.4s forwards;
}
.z-chart-svg .line-sp { animation-delay: 0.7s; }

/* ============================================================
   19 · Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .z-ticker-track { animation: none !important; }
  .z-chart-svg .line-cs2,
  .z-chart-svg .line-sp { stroke-dashoffset: 0 !important; }
}

/* ============================================================
   20 · Mobile fine-tuning
   ============================================================ */
@media (max-width: 640px) {
  .z-hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .z-hero-stat:nth-child(3) {
    grid-column: 1 / -1;
    border-left: none !important;
    padding-left: 0 !important;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid var(--z-line);
  }
  .z-nav-actions .z-btn--ghost { display: none; }
  .z-chart-toolbar { gap: 12px; }
  .z-chart-legend { gap: 14px; font-size: 10px; }
  .z-chart-period button { padding: 6px 10px; font-size: 10px; }
  .z-faq-summary { font-size: 14px; padding: 16px 18px; }
  .z-faq-body { padding: 0 18px 18px; font-size: 13.5px; }
}

@media (max-width: 420px) {
  .z-plan-tabs { font-size: 11px; }
  .z-plan-tab { padding: 11px 8px; font-size: 10.5px; letter-spacing: 0.12em; }
  .z-tier-price { font-size: 30px; }
  .z-step-num { font-size: 52px; }
}
