/* ==========================================================================
   Zettako Pages - website sections. All colours come from the theme tokens in
   zettako.css, so sections work in both the dark and light themes.
   ========================================================================== */

.zp { overflow-x: clip; }
.z-wrap-narrow { max-width: 860px; }

/* ---------- Type ---------- */
.z-eyebrow a { color: inherit !important; text-decoration: none; opacity: .75; }
.z-eyebrow a:hover { opacity: 1; }
.z-display { font: 800 clamp(38px, 5vw, 64px)/1.03 var(--z-font-display) !important; font-stretch: 112% !important; letter-spacing: -.02em !important; color: var(--z-heading) !important; margin: 0 0 20px; text-wrap: balance; }
.z-h1 { font: 800 clamp(32px, 4vw, 48px)/1.08 var(--z-font-display); font-stretch: 112%; letter-spacing: -.015em; margin: 0 0 16px; }
.z-h2 { font: 800 clamp(27px, 3.2vw, 40px)/1.1 var(--z-font-display) !important; font-stretch: 112% !important; letter-spacing: -.015em !important; margin: 0 0 14px; text-wrap: balance; }
.z-h3 { font: 700 19px/1.3 var(--z-font-display) !important; margin: 0 0 8px; }
.z-h4 { font: 700 17px/1.3 var(--z-font-display) !important; margin: 0 0 8px; }
.z-lead, .z-lead p { font-size: 18px; line-height: 1.6; color: var(--z-muted); margin: 0; }
.z-text, .z-text p { color: var(--z-muted); margin: 0; }
.z-text p + p { margin-top: .6em; }
.z-text-lg { font-size: 17px; }
.z-muted { color: var(--z-muted); }
.z-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--z-accent) !important; text-decoration: none !important; }
.z-link i { font-size: .8em; transition: transform .15s ease; }
.z-link:hover i { transform: translateX(3px); }
.z-head { max-width: 780px; margin: 0 0 44px; }
.z-head-center { text-align: left; }
.z-head-left { margin-left: 0; margin-bottom: 28px; }
.z-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.z-section .z-actions-center { justify-content: flex-start; }
.z-hero-center .z-actions-center, .z-notfound .z-actions-center { justify-content: center; }

/* ---------- Sections ---------- */
.z-section { padding: clamp(56px, 6.5vw, 88px) 0; }
.z-section.z-join { padding-top: 0; }
.z-section-tight { padding: 56px 0; }
.z-tone-base { background: var(--z-bg); }
.z-tone-alt { background: var(--z-bg-alt); }
.z-section-dark { background: var(--z-bg-hero); }
.z-section-dark .z-lead, .z-section-dark .z-lead p { color: var(--z-muted); }

/* ---------- Hero: 60-degree lattice and slanted band from the logo's geometry ---------- */
.z-hero {
    position: relative; overflow: hidden; background: var(--z-bg-hero); color: var(--z-text); isolation: isolate;
    padding: calc(var(--z-header-h) + clamp(48px, 6vw, 84px)) 0 clamp(64px, 8vw, 104px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 76px) 100%, 0 100%);
}
.z-hero-compact { padding-bottom: 72px; }
.z-hero-bg { position: absolute; inset: 0; z-index: -1; }
.z-hero-grid { position: absolute; inset: 0; background-image: var(--z-lattice); background-position: right top; mask-image: linear-gradient(100deg, transparent 25%, #000 80%); -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 80%); }
.z-hero-glow { position: absolute; top: 0; bottom: 0; right: 6%; width: 22%; background: linear-gradient(180deg, var(--z-chip-hi), transparent); transform: skewX(-30deg); }
.z-hero-glow::after { content: ""; position: absolute; top: 0; bottom: 0; left: -34%; width: 12%; background: var(--z-accent-soft); }
.z-hero-art { position: absolute; inset: 0; background-size: cover; background-position: center 30%; background-repeat: no-repeat; }
.z-hero-art.is-cutout { inset: auto auto 0 81%; aspect-ratio: 20 / 9; height: 74%; transform: translateX(-56%); background-size: 100% 100%; mask-image: linear-gradient(90deg, transparent 8%, #000 34%), linear-gradient(0deg, #000 82%, transparent); mask-composite: intersect; -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 34%), linear-gradient(0deg, #000 82%, transparent); -webkit-mask-composite: source-in; }
@media (max-width: 991px) { .z-hero-art.is-cutout { left: 50%; opacity: .3; } }
.z-hero-art:not(.is-cutout)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(var(--z-scrim), .96) 28%, rgba(var(--z-scrim), .7) 58%, rgba(var(--z-scrim), .25)), linear-gradient(0deg, rgba(var(--z-scrim), .85), transparent 35%); }
.z-hero-inner { display: grid; gap: 56px; align-items: center; }
.z-hero-split .z-hero-inner { grid-template-columns: 1.05fr .95fr; }
.z-hero-center .z-hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.z-hero-center .z-eyebrow::before { display: none; }
.z-hero-lead, .z-hero-lead p { font-size: 19px; line-height: 1.6; color: var(--z-muted); max-width: 620px; margin: 0; }
.z-hero-art ~ * .z-hero-lead, .z-hero-art ~ * .z-hero-lead p { color: var(--z-text); }
.z-hero-center .z-hero-lead, .z-hero-center .z-hero-lead p { margin-left: auto; margin-right: auto; }
.z-hero .z-actions { margin-top: 34px; }
.z-starting { margin: 22px 0 0; font: 400 14px/1.4 var(--z-font-mono); color: var(--z-muted); }
.z-starting strong { font: 800 24px/1 var(--z-font-display); color: var(--z-heading); margin: 0 2px 0 4px; }
.z-starting span { font-size: 13px; }
.z-hero-visual { position: relative; min-height: 340px; display: grid; place-items: center; }
.z-hero-visual img { width: 100%; max-height: 460px; object-fit: contain; border-radius: var(--z-radius); }

/* Server panel: stays a dark console in both themes */
.z-panel {
    --panel-text: #dce7ea; --panel-muted: #9db0b8;
    width: 100%; max-width: 460px; padding: 20px; color: var(--panel-muted);
    background: #0f1d26;
    border: 1px solid rgba(127, 214, 212, .22); border-radius: var(--z-radius);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
    font-size: 14px;
}
.z-panel-top { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.z-dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3f4b; }
.z-panel-name { margin-left: 10px; font: 700 15px/1 var(--z-font-display); color: #fff; }
.z-panel-status { display: flex; align-items: center; gap: 8px; color: #3ddc97; font-weight: 600; margin-bottom: 18px; }
.z-panel-status em { color: var(--panel-muted); font-style: normal; font-weight: 400; }
.z-panel-row { display: grid; grid-template-columns: 62px 1fr 100px; align-items: center; gap: 12px; margin-bottom: 12px; }
.z-panel-row b { height: 8px; border-radius: 2px; background: #22384a; position: relative; overflow: hidden; }
.z-panel-row b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, #2a8b8a, var(--z-teal-bright)); }
.z-panel-row em { font: 400 13px/1 var(--z-font-mono); text-align: right; color: var(--panel-text); }
.z-panel-flat { transform: none; }
.z-hero-stack { justify-items: start; }
.z-hero-stack .z-panel { max-width: 370px; transform: none; }
.z-cp { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
.z-cp-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; align-content: start; font-size: 12.5px; }
.z-cp-menu li { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 4px; background: #182c37; color: var(--panel-text); }
.z-cp-menu i { width: 12px; font-size: 10px; color: var(--panel-muted); }
.z-cp-menu li.is-on { background: rgba(99, 190, 189, .18); color: var(--z-teal-bright); }
.z-cp-menu li.is-on i { color: inherit; }
.z-cp .z-panel-row { grid-template-columns: 50px 1fr 66px; gap: 8px; margin-bottom: 8px; font-size: 12.5px; }
.z-cp .z-panel-console { margin-top: 10px; }
.z-cp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 12px; }
.z-cp-tiles span { display: grid; justify-items: center; gap: 4px; padding: 8px 2px; border-radius: 4px; background: #182c37; color: var(--panel-text); font-size: 10px; text-align: center; }
.z-cp-tiles i { font-size: 14px; color: var(--z-teal-bright); }
.z-cp-actions { display: flex; gap: 5px; margin-bottom: 12px; }
.z-cp-actions span { padding: 4px 9px; border-radius: 4px; font: 500 11px/1.2 var(--z-font-mono); background: #182c37; color: var(--panel-text); }
.z-cp-actions span:first-child { background: rgba(79, 223, 163, .18); color: #4fdfa3; }
.z-sides-visual { margin-top: 26px; }
.z-sides-visual .z-panel { max-width: none; }
.z-values { display: grid; gap: 12px; width: 100%; }
.z-value { --z-edge: var(--z-line); --z-fill: var(--z-card); position: relative; isolation: isolate; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px 26px 20px 20px; background: var(--z-edge); clip-path: polygon(0 0, calc(100% - var(--z-cut)) 0, 100% var(--z-cut), 100% 100%, 0 100%); }
.z-value::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--z-fill); clip-path: polygon(0 0, calc(100% - var(--z-cut)) 0, 100% var(--z-cut), 100% 100%, 0 100%); }
.z-value .z-icon { margin: 0; }
.z-value strong { display: block; font: 700 18px/1.25 var(--z-font-display); font-stretch: 112%; color: var(--z-heading); }
.z-value span { color: var(--z-muted); font-size: 15px; }
.z-msg { display: grid; gap: 3px; margin-bottom: 10px; padding: 10px 12px; border-radius: var(--z-radius-sm); background: #182c37; color: var(--panel-text); font-size: 13.5px; line-height: 1.45; }
.z-msg strong { font: 500 12px/1.2 var(--z-font-mono); color: var(--panel-muted); }
.z-msg.is-mine { background: rgba(99, 190, 189, .16); }
.z-msg.is-mine strong { color: var(--z-teal-bright); }
.z-maillist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; color: var(--panel-text); font-size: 13.5px; }
.z-maillist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--z-radius-sm); background: #182c37; }
.z-maillist b { font: 500 11px/1 var(--z-font-mono); text-transform: uppercase; }
.z-maillist .is-ok { color: #4fdfa3; }
.z-maillist .is-bad { color: #ff9a96; }
.z-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.z-collage img { width: 100%; max-height: none; aspect-ratio: 506 / 558; object-fit: cover; border-radius: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.z-panel-console { display: grid; gap: 4px; margin-top: 18px; padding: 14px; border-radius: var(--z-radius-sm); background: var(--z-console); font: 12.5px/1.5 var(--z-font-mono); color: var(--z-teal-bright); }
.z-caret { animation: z-blink 1.1s steps(1) infinite; }
@keyframes z-blink { 50% { opacity: 0; } }

/* Brand mark artwork (non-game visuals) */
.z-mark { position: relative; width: min(380px, 80%); aspect-ratio: 1; }
.z-mark span { position: absolute; inset: 0; border-radius: 12%; border: 2px solid var(--z-accent); opacity: .5; transform: rotate(var(--r)); }
.z-mark span:nth-child(1) { --r: 0deg; }
.z-mark span:nth-child(2) { --r: 30deg; inset: 9%; opacity: .32; }
.z-mark span:nth-child(3) { --r: 60deg; inset: 20%; opacity: .2; background: var(--z-accent-soft); }

/* ---------- Grids & cards ---------- */
.z-grid { display: grid; gap: 18px; }
.z-cols-2 { grid-template-columns: repeat(2, 1fr); }
.z-cols-3 { grid-template-columns: repeat(3, 1fr); }
.z-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .z-cols-3, .z-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .z-cols-2, .z-cols-3, .z-cols-4 { grid-template-columns: 1fr; } }

/* Chamfered corner with a 1px edge drawn by an inner layer */
.z-card, .z-tile, .z-steps li {
    --z-edge: var(--z-line); --z-fill: var(--z-card);
    position: relative; isolation: isolate; background: var(--z-edge); border: 0; border-radius: 0; padding: 26px;
    clip-path: polygon(0 0, calc(100% - var(--z-cut)) 0, 100% var(--z-cut), 100% 100%, 0 100%);
    transition: background-color .15s ease;
}
.z-card::before, .z-tile::before, .z-steps li::before {
    content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--z-fill);
    clip-path: polygon(0 0, calc(100% - var(--z-cut)) 0, 100% var(--z-cut), 100% 100%, 0 100%);
}
.z-card:hover { --z-edge: var(--z-teal); }
.z-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--z-radius-sm); background: var(--z-accent-soft); color: var(--z-accent); font-size: 18px; margin-bottom: 16px; }
.z-feature-img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 18px; }
.z-feature .z-h3 { font-size: 18px !important; }

.z-tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--z-chip); border-radius: var(--z-radius); margin: 0 0 28px; }
.z-section > .z-wrap > .z-tabs { display: flex; width: max-content; max-width: 100%; overflow-x: auto; }
.z-tab { border: 0; background: none; padding: 10px 18px; border-radius: var(--z-radius-sm); font: 600 15px/1 var(--z-font); color: var(--z-muted); cursor: pointer; white-space: nowrap; }
.z-tab.is-active { background: var(--z-teal); color: var(--z-on-teal); }

/* Balanced rows: --z-per items across, last row centred */
.z-flow { --z-gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: var(--z-gap); }
.z-flow[hidden] { display: none; }
.z-flow > * { flex: 0 0 calc((100% - var(--z-gap) * (var(--z-per) - 1)) / var(--z-per)); min-width: 0; }
@media (max-width: 991px) { .z-flow { --z-per: 2 !important; } }
@media (max-width: 560px) { .z-flow:not(.z-chips):not(.z-games) { --z-per: 1 !important; } }

/* Logos and short names: compact chips instead of big empty cards */
.z-chips { --z-gap: 10px; }
.z-chips .z-card { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; --z-cut: 10px; }
.z-chips .z-feature-img { width: 34px; height: 34px; margin: 0; }
.z-chips .z-icon { width: 34px; height: 34px; margin: 0; font-size: 14px; }
.z-chips .z-h3 { margin: 0; font-size: 15px !important; }

/* ---------- Game tiles ---------- */
.z-game {
    position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
    aspect-ratio: 506 / 558; padding: 14px; overflow: hidden; background: var(--z-card); color: #fff !important; text-decoration: none !important;
    clip-path: polygon(0 0, calc(100% - var(--z-cut)) 0, 100% var(--z-cut), 100% 100%, 0 100%);
}
.z-game-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.z-game:hover .z-game-art { transform: scale(1.06); }
.z-game::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 12, 17, .94), rgba(5, 12, 17, .45) 48%, rgba(5, 12, 17, .08)); }
.z-game-mono { position: absolute; top: 10px; right: 26px; z-index: -1; font: 800 72px/1 var(--z-font-display); font-stretch: 112%; color: rgba(127, 214, 212, .2); }
.z-game.no-art { background: var(--z-lattice), #12232d; }
.z-game strong { font: 700 17px/1.2 var(--z-font-display); font-stretch: 112%; color: #fff; }
.z-game-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 400 13px/1.3 var(--z-font-mono); color: #c4d3d9; }
.z-game-foot b { font-weight: 600; color: #fff; }
.z-game-foot i { color: var(--z-teal-bright); font-size: 12px; transition: transform .15s ease; }
.z-game:hover .z-game-foot i { transform: translateX(3px); }
.z-game:focus-visible { outline-offset: -5px; }

/* ---------- Stats ---------- */
.z-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 0; background: var(--z-card); border: 1px solid var(--z-line); border-radius: var(--z-radius); overflow: hidden; }
.z-stat { padding: 28px 24px; border-right: 1px solid var(--z-line); }
.z-stat:last-child { border-right: 0; }
.z-stat i { color: var(--z-accent); font-size: 16px; margin-bottom: 12px; }
.z-stat dd { font: 500 38px/1 var(--z-font-mono); color: var(--z-heading); margin: 0 0 10px; letter-spacing: -.03em; }
.z-stat dt { font-weight: 500; font-size: 14px; color: var(--z-muted); }
@media (max-width: 600px) { .z-stat { border-right: 0; border-bottom: 1px solid var(--z-line); } }

/* ---------- Split layouts ---------- */
.z-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.z-split-rev > :first-child { order: 2; }
.z-split-solo { grid-template-columns: 1fr; }
.z-split-solo .z-split-copy { max-width: 780px; }
.z-split-solo .z-split-visual { display: none; }
.z-split-solo .z-head-left { margin-left: 0; }
.z-split-visual { display: grid; place-items: center; }
.z-split-visual > img { width: 100%; max-height: 460px; object-fit: contain; border-radius: var(--z-radius); }
@media (max-width: 991px) {
    .z-split, .z-hero-split .z-hero-inner { grid-template-columns: 1fr; }
    .z-split-rev > :first-child { order: 0; }
    .z-hero-visual { min-height: 0; }
    .z-panel { transform: none; }
}
.z-tiles { --z-gap: 14px; }
.z-tile { padding: 20px; }
.z-tile .z-icon { width: 42px; height: 42px; font-size: 17px; margin-bottom: 14px; }
.z-tile strong { display: block; font: 700 17px/1.3 var(--z-font-display); color: var(--z-heading); margin-bottom: 6px; }
.z-prose { color: var(--z-muted); font-size: 17px; }
.z-prose p { margin: 0 0 1em; }
.z-prose a { font-weight: 600; }

/* ---------- Steps ---------- */
.z-steps { position: relative; display: grid; grid-template-columns: repeat(var(--z-per, 4), minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.z-steps::before { content: ""; position: absolute; left: 26px; right: calc((100% - (var(--z-per, 4) - 1) * 28px) / var(--z-per, 4) - 30px); top: 26px; height: 2px; background: linear-gradient(90deg, var(--z-teal), var(--z-line)); }
.z-steps li { --z-edge: transparent; --z-fill: transparent; position: relative; padding: 0; clip-path: none; background: none; }
.z-steps li::before { display: none; }
.z-step-node { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; background: var(--z-teal); color: var(--z-on-teal); font-size: 18px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.z-step-n { display: block; font: 500 13px/1 var(--z-font-mono); color: var(--z-accent); margin-bottom: 8px; }
.z-steps strong { display: block; font: 700 18px/1.3 var(--z-font-display); font-stretch: 112%; color: var(--z-heading); margin-bottom: 6px; }
@media (max-width: 860px) {
    .z-steps { grid-template-columns: 1fr; gap: 22px; }
    .z-steps::before { left: 26px; right: auto; top: 10px; bottom: 30px; width: 2px; height: auto; background: var(--z-line); }
    .z-steps li { padding-left: 74px; min-height: 54px; }
    .z-step-node { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- FAQ / accordions ---------- */
.z-faq { display: grid; gap: 10px; }
.z-faq details { background: var(--z-card); border: 1px solid var(--z-line); border-radius: var(--z-radius); transition: border-color .15s ease; }
.z-faq details[open] { border-color: var(--z-teal); }
.z-faq summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; font: 700 17px/1.35 var(--z-font-display); color: var(--z-heading); cursor: pointer; list-style: none; }
.z-faq summary::-webkit-details-marker { display: none; }
.z-faq summary i { margin-left: auto; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--z-radius-sm); background: var(--z-chip); font-size: 12px; color: var(--z-accent); transition: transform .2s ease; }
.z-faq details[open] summary i { transform: rotate(45deg); background: var(--z-accent-soft); }
.z-faq details > .z-text, .z-faq details > .z-actions { padding: 0 22px 20px; }
.z-faq details > .z-actions { margin-top: 0; }
.z-kf-num { font: 500 13px/1 var(--z-font-mono); color: var(--z-accent); }
.z-kf-visual { width: 100%; }
.z-kf-visual[hidden] { display: none; }
.z-kf-card { aspect-ratio: 4 / 3; border-radius: var(--z-radius); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: var(--z-heading); background: var(--z-lattice), var(--z-card); border: 1px solid var(--z-line); position: relative; overflow: hidden; }
.z-kf-big { position: relative; font: 800 96px/1 var(--z-font-display); color: var(--z-accent); opacity: .18; }
.z-kf-card strong { position: relative; font: 800 26px/1.2 var(--z-font-display); max-width: 80%; }

/* ---------- CTA ---------- */
.z-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: clamp(36px, 5vw, 64px); color: var(--z-text); background: var(--z-lattice), var(--z-bg-hero); position: relative; overflow: hidden; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }
.z-tone-base .z-cta { background: var(--z-lattice), var(--z-bg-alt); }
.z-cta .z-lead, .z-cta .z-lead p { color: var(--z-muted); }
.z-cta-actions { justify-self: end; text-align: right; }
.z-cta-actions .z-actions { justify-content: flex-end; margin-top: 0; }
.z-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.z-points i { color: var(--z-accent); margin-right: 10px; }
.z-points strong { color: var(--z-heading); }
@media (max-width: 860px) { .z-cta { grid-template-columns: 1fr; } .z-cta-actions { justify-self: start; text-align: left; } .z-cta-actions .z-actions { justify-content: flex-start; } }

/* ---------- Reviews ---------- */
.z-reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.z-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.z-reviews.is-marquee { grid-auto-columns: 340px; width: max-content; overflow: visible; scroll-snap-type: none; padding-bottom: 0; animation: z-marquee var(--z-marquee-time, 45s) linear infinite; }
.z-reviews.is-marquee:hover, .z-reviews.is-marquee:focus-within { animation-play-state: paused; }
@keyframes z-marquee { to { transform: translateX(calc(-50% - 9px)); } }
.z-review { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; }
.z-stars { color: var(--z-amber); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.z-review blockquote { margin: 0 0 22px; flex: 1; }
.z-review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--z-heading); }
.z-review figcaption em { display: block; font-style: normal; font-weight: 400; font-size: 13px; color: var(--z-muted); }
.z-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--z-radius-sm); background: var(--z-accent-soft); color: var(--z-accent); font: 500 16px/1 var(--z-font-mono); }

/* ---------- Locations ---------- */
.z-map { margin: 0 auto; max-width: 980px; }
@media (max-width: 760px) { .z-pin-dot { r: 9; } .z-pin-ring { display: none; } .z-pin-hit { r: 18; } }
.z-map svg { display: block; width: 100%; height: auto; }
.z-map-land { fill: var(--z-track); }
.z-pin { cursor: pointer; outline: none; }
.z-pin-hit { fill: transparent; }
.z-pin-dot { fill: var(--z-teal); stroke: var(--z-bg); stroke-width: 1.5; transition: r .12s ease; }
.z-pin:hover .z-pin-dot, .z-pin:focus .z-pin-dot, .z-pin.is-lit .z-pin-dot { r: 8; }
.z-pin-ring { fill: var(--z-teal); opacity: .22; animation: z-pin 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.z-pin.is-new .z-pin-dot, .z-pin.is-new .z-pin-ring { fill: var(--z-ok); }
.z-pin.is-soon .z-pin-dot, .z-pin.is-soon .z-pin-ring { fill: var(--z-amber); }
.z-pin.is-fastest .z-pin-dot { stroke: var(--z-heading); stroke-width: 2.5; }
@keyframes z-pin { 0% { transform: scale(.6); opacity: .4; } 100% { transform: scale(1.5); opacity: 0; } }
.z-flag { flex: none; width: 34px; height: 25px; object-fit: cover; border-radius: 3px; }
.z-badge { margin-left: auto; font: 600 10px/1 var(--z-font-mono); text-transform: uppercase; padding: 4px 6px; border-radius: 3px; background: var(--z-accent-soft); color: var(--z-accent); }

/* Status badges and popups */
.z-badge-new { background: var(--z-ok-soft); color: var(--z-ok); }
.z-badge-soon { background: var(--z-warn-soft); color: var(--z-warn); }
.z-tip { display: inline-grid; place-items: center; width: 18px; height: 18px; color: var(--z-muted); font-size: 12px; cursor: help; vertical-align: 1px; border-radius: 50%; }
.z-tip:hover, .z-tip:focus { color: var(--z-accent); }
.z-bubble { position: fixed; z-index: 1080; max-width: 280px; padding: 9px 12px; color: var(--z-text); background: var(--z-card-hi); border: 1px solid var(--z-line); border-radius: var(--z-radius-sm); box-shadow: var(--z-shadow-lg); font: 400 13px/1.45 var(--z-font); pointer-events: none; }
.z-bubble[hidden] { display: none; }
.z-bubble.is-rich { width: 270px; padding: 14px; }
.z-loc-head { display: flex; align-items: center; gap: 11px; }
.z-loc-head strong { display: block; font: 700 15px/1.2 var(--z-font-display); color: var(--z-heading); }
.z-loc-head em { display: block; font-style: normal; font-size: 13px; color: var(--z-muted); }
.z-loc-ping-row { margin: 10px 0 0; font-size: 13px; color: var(--z-muted); }
.z-loc-ping[hidden], .z-map-ping[hidden] { display: none; }
.z-loc-ping { color: var(--z-heading); font-family: var(--z-font-mono); }
.z-map-ping { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--z-muted); }
[data-z-ping-tier="good"] { color: var(--z-ok); }
[data-z-ping-tier="ok"] { color: var(--z-amber); }
.z-loc-label { margin: 12px 0 7px; padding-top: 10px; border-top: 1px solid var(--z-line); font: 500 11px/1 var(--z-font-mono); text-transform: uppercase; color: var(--z-muted); }
.z-loc-services { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.z-loc-services li { padding: 4px 8px; border-radius: 4px; background: var(--z-accent-soft); color: var(--z-accent); font-size: 12px; font-weight: 600; }

/* ---------- Pricing ---------- */
.z-pricing-bar { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: 12px 24px; margin: 0 0 24px; padding: 10px 0; background: var(--z-bg); }
.z-tone-alt .z-pricing-bar { background: var(--z-bg-alt); }
.z-tier { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px; background: var(--z-chip); border-radius: var(--z-radius); }
.z-tier-btn { display: grid; gap: 3px; min-width: 150px; padding: 9px 16px; border: 0; border-radius: var(--z-radius-sm); background: none; text-align: left; color: var(--z-muted); cursor: pointer; }
.z-tier-btn strong { font: 700 16px/1.1 var(--z-font-display); font-stretch: 112%; color: inherit; }
.z-tier-btn span { font: 400 12px/1.2 var(--z-font-mono); }
.z-tier-btn.is-active { background: var(--z-teal); color: var(--z-on-teal); }
.z-cycle { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--z-chip); border-radius: var(--z-radius); }
.z-cycle button { display: grid; align-content: center; gap: 3px; min-height: 48px; padding: 6px 14px; border: 0; border-radius: var(--z-radius-sm); background: none; font: 600 14px/1.1 var(--z-font); color: var(--z-muted); cursor: pointer; }
.z-cycle button.is-active { background: var(--z-card); color: var(--z-heading); box-shadow: inset 0 0 0 2px var(--z-teal); }
.z-save { font: 500 12px/1 var(--z-font-mono); color: var(--z-ok); }
@media (max-width: 760px) {
    .z-pricing-bar { position: static; }
    .z-tier, .z-cycle { width: 100%; }
    .z-tier-btn { min-width: 0; }
    .z-cycle { display: grid; grid-template-columns: 1fr 1fr; }
}
.z-plan { display: flex; flex-direction: column; padding: 22px; }
.z-plan.is-soldout { opacity: .7; }
.z-plan-group { margin: 0 0 2px; font: 700 17px/1.25 var(--z-font-display); font-stretch: 112%; color: var(--z-heading); }
.z-plan-name { font: 500 13px/1.3 var(--z-font-mono) !important; letter-spacing: .02em; color: var(--z-muted) !important; margin: 0 0 12px; }
.z-plan-price p { margin: 0; }
.z-price-now { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px; }
.z-price-now strong { font: 800 32px/1 var(--z-font-display); letter-spacing: -.01em; color: var(--z-heading); }
.z-price-now > span { color: var(--z-muted); }
.z-price-now s { margin-left: 6px; font: 400 14px/1 var(--z-font-mono); color: var(--z-muted); }
.z-price-billed { margin-top: 6px !important; font-size: 14px; color: var(--z-muted); }
.z-price-saving, .z-price-nudge { display: block; min-height: 22px; margin-top: 4px !important; padding: 0; font: 500 13px/22px var(--z-font-mono); }
.z-price-saving { color: var(--z-ok); }
.z-deal { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; padding: 14px 18px; background: var(--z-ok-soft); border: 1px solid var(--z-ok); border-radius: var(--z-radius-sm); }
.z-deal > i { color: var(--z-ok); font-size: 20px; }
.z-deal p { margin: 0; }
.z-deal strong { color: var(--z-ok); }
.z-plan-deal { display: inline-block; margin: 0 0 10px; padding: 3px 10px; background: var(--z-ok-soft); color: var(--z-ok); border-radius: 999px; font: 500 12px/18px var(--z-font-mono); }
.z-price-nudge { border: 0; background: none; color: var(--z-accent); text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.z-plan-price .z-btn { margin: 14px 0 18px; }
.z-plan-price[hidden] { display: none; }
.z-plan-unit { max-width: 440px; margin-inline: auto; padding: 32px; text-align: center; border-color: var(--z-accent, var(--z-line)); box-shadow: 0 12px 40px -18px var(--z-accent, rgba(0, 0, 0, .4)); }
.z-plan-unit .z-plan-name { font: 700 22px/1.2 var(--z-font-display) !important; letter-spacing: 0; color: var(--z-heading) !important; margin-bottom: 18px; }
.z-plan-unit .z-price-now { justify-content: center; align-items: baseline; }
.z-plan-unit .z-price-now strong { font-size: 52px; }
.z-plan-unit .z-price-now > span { font-size: 17px; }
.z-plan-unit .z-price-billed { margin-top: 6px !important; color: var(--z-muted); }
.z-plan-unit .z-plan-features { text-align: left; }
.z-pricing-solo { align-items: center; }
.z-pricing-solo .z-plan-unit { max-width: 460px; margin-inline: auto; width: 100%; }
.z-highlights { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.z-highlights li { display: flex; gap: 16px; align-items: flex-start; }
.z-highlights i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--z-card); border: 1px solid var(--z-line); color: var(--z-accent); font-size: 16px; }
.z-highlights strong { display: block; color: var(--z-heading); font-weight: 600; }
.z-highlights span { color: var(--z-muted); font-size: 14px; }
.z-plan-features { border-top: 1px solid var(--z-line); padding-top: 10px; color: var(--z-muted); font-size: 14px; }
.z-plan-features ul { list-style: none; padding: 0; margin: 0; display: grid; }
.z-plan-features li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--z-line); }
.z-plan-features li:last-child { border-bottom: 0; }
.z-plan-features b, .z-plan-features strong { color: var(--z-heading); font-weight: 600; text-align: right; white-space: nowrap; }
.z-plan-features b .fa-check { color: var(--z-ok); }
.z-plan-features b .fa-times { color: var(--z-danger-text); }
.z-plan-features .z-spec-full b { white-space: normal; }
.z-empty { max-width: 640px; }
.z-empty p { color: var(--z-muted); margin-bottom: 20px; }
.z-linkcard { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 18px; text-decoration: none !important; color: var(--z-heading) !important; }
.z-linkcard .z-link { margin-top: auto; padding-top: 10px; }

/* ---------- Compare ---------- */
.z-compare-wrap { overflow-x: auto; border: 1px solid var(--z-line); border-radius: var(--z-radius); background: var(--z-card); }
.z-compare { width: 100%; border-collapse: collapse; border: 0; min-width: 720px; }
.z-compare th, .z-compare td { padding: 16px 18px; border-bottom: 1px solid var(--z-line); text-align: center; vertical-align: middle; }
.z-compare thead th { position: sticky; top: 0; background: var(--z-card); vertical-align: bottom; }
.z-compare thead th:first-child, .z-compare tbody th { text-align: left; font-weight: 600; color: var(--z-heading); }
.z-compare tbody tr:last-child > * { border-bottom: 0; }
.z-compare tbody tr:hover { background: var(--z-card-hi); }
.z-compare td i.fa-fire { color: #e8793a; }
.z-compare-name { display: block; font: 500 13px/1.3 var(--z-font-mono); color: var(--z-muted); }
.z-compare-price { display: block; font: 800 22px/1.2 var(--z-font-display); color: var(--z-heading); margin: 6px 0 12px; }
.z-compare-price small { font: 400 13px var(--z-font); color: var(--z-muted); }

/* ---------- Search banner ---------- */
.z-search { position: relative; display: flex; gap: 8px; max-width: 620px; margin: 34px auto 0; padding: 6px; background: var(--z-card); border: 1px solid var(--z-line); border-radius: var(--z-radius); }
.z-search > i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--z-muted); }
.z-search input { flex: 1; border: 0; outline: 0; padding: 0 16px 0 46px; font-size: 16px; background: transparent; color: var(--z-heading); min-width: 0; }
.z-search input::placeholder { color: var(--z-muted); }

/* ---------- Legal ---------- */
.z-legal-section { padding-top: 56px; }
.z-legal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.z-legal-nav { position: sticky; top: 90px; display: grid; gap: 2px; }
.z-legal-nav a { padding: 10px 14px; border-radius: var(--z-radius-sm); color: var(--z-muted) !important; text-decoration: none !important; font-weight: 500; font-size: 15px; }
.z-legal-nav a:hover { background: var(--z-chip); color: var(--z-heading) !important; }
.z-legal-nav a[aria-current] { background: var(--z-accent-soft); color: var(--z-accent) !important; font-weight: 600; }
.z-prose-doc { max-width: 760px; color: var(--z-text); font-size: 16.5px; line-height: 1.75; }
.z-prose-doc > h1:first-child { display: none; }
.z-prose-doc h1 { font: 800 clamp(32px, 4vw, 44px)/1.1 var(--z-font-display); letter-spacing: -.02em; margin: 0 0 12px; }
.z-prose-doc h2 { font: 700 23px/1.3 var(--z-font-display); margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--z-line); }
.z-prose-doc h3 { font: 700 18px/1.35 var(--z-font-display); margin: 1.6em 0 .5em; }
.z-prose-doc ul, .z-prose-doc ol { padding-left: 1.3em; }
.z-prose-doc li { margin: .3em 0; }
.z-prose-doc hr { display: none; }
@media (max-width: 860px) { .z-legal { grid-template-columns: 1fr; gap: 24px; } .z-legal-nav { position: static; display: flex; overflow-x: auto; } .z-legal-nav a { white-space: nowrap; } }

.z-notfound { padding: 120px 0; text-align: center; }
.z-notfound .z-eyebrow::before { display: none; }
.z-notfound .z-head, .z-notfound .z-lead { margin-left: auto; margin-right: auto; }
.z-linkcard-img { width: 100%; height: 180px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); object-fit: cover; object-position: center 25%; border-radius: var(--z-radius-sm); margin-bottom: 12px; background: var(--z-chip); }
.z-linkcard .z-text { flex: 1; font-size: 15px; }
.z-linkcard > .z-h3, .z-linkcard > .z-text, .z-linkcard-foot { margin-left: 8px; margin-right: 8px; }
.z-linkcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--z-line); }
.z-linkcard-foot b { color: var(--z-heading); }
.z-linkcard-foot .z-link { margin-top: 0; }
.z-grid[hidden] { display: none; }

/* ---------- Home: choose what you are running ---------- */
.z-routes { display: grid; gap: 8px; }
.z-route {
    display: grid; grid-template-columns: 44px 1fr auto 18px; align-items: center; gap: 16px; padding: 16px 18px;
    background: var(--z-chip); color: var(--z-heading) !important; text-decoration: none !important;
    clip-path: polygon(0 0, calc(100% - var(--z-cut)) 0, 100% var(--z-cut), 100% 100%, 0 100%);
    transition: background-color .15s ease;
}
.z-route:hover { background: var(--z-chip-hi); }
.z-route-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--z-radius-sm); background: var(--z-accent-soft); color: var(--z-accent); }
.z-route-text strong { display: block; font: 700 18px/1.2 var(--z-font-display); font-stretch: 112%; }
.z-route-text em { display: block; margin-top: 2px; font-style: normal; font-size: 14px; color: var(--z-muted); }
.z-route-price { font: 400 13px/1.2 var(--z-font-mono); color: var(--z-muted); white-space: nowrap; }
.z-route-price b { font-weight: 600; font-size: 16px; color: var(--z-heading); }
.z-route-go { font-size: 13px; color: var(--z-accent); transition: transform .15s ease; }
.z-route:hover .z-route-go { transform: translateX(3px); }
@media (max-width: 600px) {
    .z-route { grid-template-columns: 44px 1fr 18px; }
    .z-route-price { grid-column: 2; grid-row: 2; }
    .z-route-go { grid-column: 3; grid-row: 1; }
}

/* ---------- Blog ---------- */
.z-article-section { padding-top: 56px; }
/* Row of links inside an article block, e.g. "Popular uses" on the code hosting page */
.z-article-section:has(.z-chip-row) { padding: 24px 0; }
.z-article-section:has(.z-chip-row) .z-wrap-narrow, .z-article-section:has(.z-chip-row) .z-prose-doc { max-width: var(--z-wrap); }
.z-chip-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.z-chip-label { flex: 0 0 100%; margin-bottom: 4px; text-align: center; font: 500 12px/1 var(--z-font-mono); text-transform: uppercase; color: var(--z-muted); }
.z-chip { padding: 6px 12px; border-radius: 999px; background: var(--z-chip); color: var(--z-heading); font-size: 13px; white-space: nowrap; font-weight: 600; text-decoration: none; transition: background .15s ease, color .15s ease; }
.z-chip:hover, .z-chip:focus-visible { background: var(--z-chip-hi); color: var(--z-accent); }
.z-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0 0 28px; font: 400 14px/1.4 var(--z-font-mono); color: var(--z-muted); }
.z-article-meta .z-pill, .z-post-meta .z-pill { background: var(--z-accent-soft); color: var(--z-accent); }
.z-article.z-prose-doc { max-width: none; }
.z-article > :first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.z-article a { color: var(--z-accent); }
.z-article code { font: 14px/1.5 var(--z-font-mono); color: var(--z-teal-bright); background: var(--z-console); border-radius: 4px; padding: 2px 6px; }
.z-article pre { margin: 0 0 1.4em; padding: 16px 18px; overflow-x: auto; background: var(--z-console); border: 1px solid var(--z-line); border-radius: var(--z-radius-sm); }
.z-article pre code { padding: 0; background: none; color: var(--z-teal-bright); white-space: pre; }
.z-article blockquote { margin: 0 0 1.4em; padding: 14px 18px; border-left: 3px solid var(--z-accent); background: var(--z-accent-soft); border-radius: 0 var(--z-radius-sm) var(--z-radius-sm) 0; }
.z-article blockquote p:last-child { margin-bottom: 0; }
.z-article .z-table { width: 100%; overflow-x: auto; margin: 0 0 1.4em; }
.z-article table { width: 100%; border-collapse: collapse; font-size: 15px; }
.z-article th, .z-article td { padding: 10px 12px; border-bottom: 1px solid var(--z-line); text-align: left; vertical-align: top; }
.z-article th { color: var(--z-heading); font-weight: 600; }
.z-post-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 8px 8px; font: 400 13px/1 var(--z-font-mono); color: var(--z-muted); }
.z-post { padding-top: 18px; }

/* ---------- RAM calculator ---------- */
.z-ram { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.z-ram [hidden] { display: none !important; }
.z-ram-main { display: grid; gap: 20px; min-width: 0; }
.z-ram-form { display: grid; gap: 26px; }
.z-ram-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.z-ram-field legend, .z-ram-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; margin: 0 0 10px; font: 600 15px/1.3 var(--z-font); color: var(--z-heading); }
.z-ram-label output { font: 700 20px/1 var(--z-font-display); color: var(--z-accent); }
.z-ram-label code, .z-ram-hint code, .z-ram-stats code, .z-ram-tips code { font: 13px/1.4 var(--z-font-mono); color: var(--z-accent); }
.z-ram-hint { margin: 8px 0 0; font-size: 13.5px; color: var(--z-muted); }
.z-ram-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.z-ram-options-5 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.z-ram-option, .z-ram-check { position: relative; display: block; margin: 0; cursor: pointer; }
.z-ram-option input, .z-ram-check input { position: absolute; opacity: 0; pointer-events: none; }
.z-ram-option > span, .z-ram-check > span { display: grid; gap: 3px; height: 100%; padding: 11px 14px; border-radius: var(--z-radius-sm); background: var(--z-chip); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s ease, background-color .15s ease; }
.z-ram-option strong, .z-ram-check strong { font: 600 14.5px/1.25 var(--z-font); color: var(--z-heading); }
.z-ram-option em, .z-ram-check em { font-style: normal; font-size: 12.5px; line-height: 1.35; color: var(--z-muted); }
.z-ram-option:hover > span, .z-ram-check:hover > span { background: var(--z-chip-hi); }
.z-ram-option input:checked + span, .z-ram-check input:checked + span { background: var(--z-accent-soft); box-shadow: inset 0 0 0 2px var(--z-teal); }
.z-ram-option input:focus-visible + span, .z-ram-check input:focus-visible + span { outline: 2px solid var(--z-teal); outline-offset: 2px; }
.z-ram-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.z-ram-check > span { padding-left: 42px; }
.z-ram-check > span::before { content: ""; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--z-muted); }
.z-ram-check input:checked + span::before { border-color: var(--z-teal); background: var(--z-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%23052224' stroke-width='2.2' fill='none'/%3E%3C/svg%3E") center / 12px no-repeat; }
.z-ram-range { width: 100%; height: 6px; margin: 6px 0 0; border-radius: 3px; background: var(--z-track); accent-color: var(--z-teal); cursor: pointer; }

.z-ram-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.z-ram-result .z-eyebrow { margin-bottom: 6px; }
.z-ram-total { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--z-heading); }
.z-ram-total strong { font: 800 clamp(56px, 7vw, 76px)/1 var(--z-font-display); font-stretch: 112%; letter-spacing: -.02em; }
.z-ram-total span { font: 700 24px/1 var(--z-font-display); color: var(--z-muted); }
.z-ram-tier { margin: 10px 0 18px; color: var(--z-muted); font-size: 14.5px; }
.z-ram-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.z-ram-stats div { padding: 12px 14px; border-radius: var(--z-radius-sm); background: var(--z-chip); }
.z-ram-stats dt { font-weight: 400; font-size: 12.5px; color: var(--z-muted); }
.z-ram-stats dd { margin: 4px 0 0; font: 700 20px/1.1 var(--z-font-display); color: var(--z-heading); }
.z-ram-bars { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.z-ram-bars li { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; font-size: 13.5px; color: var(--z-text); }
.z-ram-bars b { font: 500 13px/1.4 var(--z-font-mono); color: var(--z-heading); }
.z-ram-bars i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--z-teal) var(--z-w), var(--z-track) var(--z-w)); }
.z-ram-bars li:last-child i { background: linear-gradient(90deg, var(--z-muted) var(--z-w), var(--z-track) var(--z-w)); opacity: .7; }
.z-ram-match { margin: 0 0 16px; padding: 10px 12px; border-radius: var(--z-radius-sm); background: var(--z-ok-soft); color: var(--z-text); font-size: 14px; }
.z-ram-match i { color: var(--z-ok); margin-right: 4px; }
.z-ram-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.z-ram-tips ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 14.5px; color: var(--z-muted); }
.z-ram-tips a { color: var(--z-accent); font-weight: 600; }
.z-ram-command-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.z-ram-command-head .z-h4 { margin: 0; }
.z-ram-command pre { margin: 0; padding: 14px 16px; overflow-x: auto; background: var(--z-console); border: 1px solid var(--z-line); border-radius: var(--z-radius-sm); }
.z-ram-command pre code { font: 13px/1.6 var(--z-font-mono); color: var(--z-teal-bright); white-space: pre-wrap; word-break: break-all; }
.z-ram-guide { margin: 22px 0 0; }
.z-ram-guide a { color: var(--z-accent); font-weight: 600; }
.z-plan.is-match { --z-edge: var(--z-teal); }
.z-plan.is-match::after { content: "Best fit"; position: absolute; top: 14px; right: 22px; padding: 3px 8px; border-radius: 4px; background: var(--z-teal); color: var(--z-on-teal); font: 600 11px/1.2 var(--z-font-mono); text-transform: uppercase; }
@media (max-width: 991px) {
    .z-ram { grid-template-columns: 1fr; }
    .z-ram-side { position: static; order: 2; }
    .z-ram-main { display: contents; }
    .z-ram-command { order: 3; }
}
@media (max-width: 480px) {
    .z-ram-stats { grid-template-columns: 1fr; }
    .z-ram-actions .z-btn { flex: 1 1 100%; justify-content: center; }
}
.z-compare-jump { margin: 28px 0 0; text-align: center; }

/* ---------- Seasonal events (content/events/*.json) ----------
   .z-event-{theme} on the page wrapper recolours buttons and accents for the whole page.
   --ev-1/2/3 are the event's own colours for the hero decorations. Light values follow the dark ones. */
.z-event { --ev-1: var(--z-teal); --ev-2: var(--z-amber); --ev-3: #ffffff; }
.z-hero-event { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.z-hero-event i { position: absolute; display: block; }
.z-hero-mark { position: absolute; right: -1%; bottom: 8%; font: 900 clamp(80px, 13vw, 190px)/.85 var(--z-font-display); font-stretch: 125%; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--ev-1); opacity: .22; pointer-events: none; }
@media (max-width: 991px) { .z-hero-mark { opacity: .12; bottom: auto; top: 12%; } }

/* Countdown under the hero copy */
.z-countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 26px 0 0; font: 500 13px/1 var(--z-font-mono); color: var(--z-muted); text-transform: uppercase; letter-spacing: .04em; }
.z-countdown-units { display: none; align-items: baseline; gap: 4px; }
.z-countdown.is-live .z-countdown-units { display: inline-flex; }
.z-countdown-units b { min-width: 2.3em; padding: 9px 8px; font: 600 22px/1 var(--z-font-mono); text-align: center; color: var(--z-heading); background: var(--z-chip); border-bottom: 2px solid var(--ev-1); border-radius: var(--z-radius-sm) var(--z-radius-sm) 0 0; }
.z-countdown-units em { font-style: normal; margin-right: 6px; color: var(--z-muted); }
.z-countdown-label { color: var(--z-accent); }
.z-hero-center .z-countdown { justify-content: center; }

/* Promo block: copy on the left, coupon tickets on the right */
.z-promo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.z-promo-solo { grid-template-columns: 1fr; max-width: 780px; }
.z-promo .z-actions { margin-top: 26px; }
.z-promo-terms { margin: 18px 0 0; font-size: 13px; color: var(--z-muted); }
.z-promo-codes { display: grid; gap: 14px; }
.z-coupon { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 18px; padding: 20px 22px 18px 26px; background: var(--z-card); border: 1px solid var(--z-line); border-left: 4px solid var(--ev-1, var(--z-teal)); border-radius: var(--z-radius); box-shadow: var(--z-shadow); }
.z-coupon::before, .z-coupon::after { content: ""; position: absolute; right: 172px; width: 18px; height: 18px; border-radius: 50%; background: var(--z-bg); border: 1px solid var(--z-line); }
.z-tone-alt .z-coupon::before, .z-tone-alt .z-coupon::after { background: var(--z-bg-alt); }
.z-coupon::before { top: -10px; clip-path: inset(50% 0 0 0); }
.z-coupon::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.z-coupon-off { margin: 0; font: 500 15px/1.1 var(--z-font-display); color: var(--z-muted); }
.z-coupon-off strong { font: 800 34px/1 var(--z-font-display); font-stretch: 112%; color: var(--z-heading); letter-spacing: -.02em; margin-right: 2px; }
.z-coupon-for { grid-column: 1; margin: 0; font-weight: 600; color: var(--z-text); }
.z-coupon-code { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: center; gap: 6px; width: 150px; padding: 12px 10px; background: var(--z-accent-soft); border: 1.5px dashed var(--z-accent); border-radius: var(--z-radius-sm); color: var(--z-accent); cursor: pointer; transition: background-color .15s ease; }
.z-coupon-code:hover, .z-coupon-code.is-copied { background: var(--z-chip-hi); }
.z-coupon-code code { font: 600 14px/1.2 var(--z-font-mono); color: var(--z-heading); word-break: break-all; text-align: center; background: none; padding: 0; }
.z-coupon-code span { font: 500 11px/1 var(--z-font-mono); text-transform: uppercase; letter-spacing: .06em; }
.z-coupon-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--z-line); font: 400 12px/1.3 var(--z-font-mono); color: var(--z-muted); }
.z-coupon-meta b { font-weight: 600; color: var(--z-heading); }
.z-coupon-empty { grid-template-columns: auto 1fr; gap: 16px; }
.z-coupon-empty::before, .z-coupon-empty::after { display: none; }
.z-coupon-empty i { font-size: 26px; color: var(--ev-1, var(--z-accent)); }
.z-coupon-empty p { margin: 0; color: var(--z-muted); }
@media (max-width: 860px) { .z-promo { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 460px) {
    .z-coupon { grid-template-columns: 1fr; }
    .z-coupon-code { grid-column: 1; grid-row: auto; width: 100%; margin-top: 10px; }
    .z-coupon::before, .z-coupon::after { display: none; }
}

/* Ticker: what the code covers, a slanted band in the event colour between the hero and the promo */
.z-promo-section { padding-top: 0; }
.z-ticker { position: relative; z-index: 1; margin: -18px -2% clamp(44px, 5.5vw, 72px); padding: 0; background: var(--z-teal); color: var(--z-on-teal); transform: rotate(-1.2deg); box-shadow: var(--z-shadow-lg); overflow: hidden; }
.z-ticker-track { display: flex; width: max-content; animation: z-ticker var(--z-ticker-time, 40s) linear infinite; }
.z-ticker:hover .z-ticker-track, .z-ticker:focus-within .z-ticker-track { animation-play-state: paused; }
.z-ticker-list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.z-ticker-list li { display: flex; align-items: center; white-space: nowrap; font: 600 15px/1 var(--z-font); }
.z-ticker-list li::after { content: ""; width: 7px; height: 7px; margin: 0 22px; background: currentColor; opacity: .45; transform: rotate(45deg); }
.z-ticker-list a, .z-ticker-list span { display: inline-flex; align-items: center; gap: 8px; padding: 15px 0; color: inherit !important; text-decoration: none !important; }
.z-ticker-list a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.z-ticker-list i { font-size: 12px; opacity: .6; }
.z-ticker-lead { font: 700 14px/1 var(--z-font-mono) !important; text-transform: uppercase; letter-spacing: .05em; }
.z-ticker-lead b { padding: 5px 8px; margin-right: 8px; background: var(--z-on-teal); color: var(--z-teal); border-radius: 4px; }
@keyframes z-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .z-ticker { overflow-x: auto; }
    .z-ticker-track { animation: none; }
    .z-ticker-list[aria-hidden] { display: none; }
}

/* Black Friday: black and amber, hazard tape across the hero */
.z-event-black-friday { --ev-1: #f4b740; --ev-2: #ffffff; --z-teal: #f4b740; --z-teal-bright: #ffcc5c; --z-on-teal: #120d00; --z-accent: #f4b740; --z-accent-soft: rgba(244, 183, 64, .14); --z-chip-hi: rgba(244, 183, 64, .22); --z-bg-hero: #050607; }
:root[data-theme="light"] .z-event-black-friday { --ev-1: #b07a00; --z-teal: #16120a; --z-teal-bright: #33291a; --z-on-teal: #f4b740; --z-accent: #8a5a00; --z-accent-soft: #fff2d6; --z-chip-hi: rgba(244, 183, 64, .3); --z-bg-hero: #f4efe4; }
.z-event-black-friday .z-hero-event::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 18%; height: 38px; transform: rotate(-4deg); background: repeating-linear-gradient(-45deg, var(--ev-1) 0 18px, transparent 18px 36px); opacity: .18; }
.z-event-black-friday .z-hero-event::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: calc(18% + 54px); height: 2px; transform: rotate(-4deg); background: var(--ev-1); opacity: .35; }
.z-event-black-friday .z-hero-event i { display: none; }

/* Cyber Monday: neon cyan and magenta, scan lines and glitch bars */
.z-event-cyber-monday { --ev-1: #29e3ff; --ev-2: #ff3fd8; --z-teal: #29e3ff; --z-teal-bright: #7cefff; --z-on-teal: #001a20; --z-accent: #29e3ff; --z-accent-soft: rgba(41, 227, 255, .13); --z-chip-hi: rgba(255, 63, 216, .2); --z-bg-hero: #07051a; }
:root[data-theme="light"] .z-event-cyber-monday { --ev-1: #0089a8; --ev-2: #b8139a; --z-teal: #00728c; --z-teal-bright: #0089a8; --z-on-teal: #ffffff; --z-accent: #00708a; --z-accent-soft: #dff7fc; --z-chip-hi: rgba(184, 19, 154, .14); --z-bg-hero: #eef0fb; }
.z-event-cyber-monday .z-hero-event { background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--ev-1) 6%, transparent) 0 1px, transparent 1px 4px); }
.z-event-cyber-monday .z-hero-event::after { content: ""; position: absolute; top: -20%; right: -10%; width: 55%; height: 140%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ev-2) 22%, transparent), transparent); }
.z-event-cyber-monday .z-hero-event i { height: 3px; left: calc(40% + var(--x) * .6); top: var(--y); width: var(--w); background: var(--ev-1); box-shadow: 0 0 12px var(--ev-1); opacity: .55; animation: z-glitch 4s steps(1) infinite; animation-delay: var(--t); }
.z-event-cyber-monday .z-hero-event i:nth-child(even) { background: var(--ev-2); box-shadow: 0 0 12px var(--ev-2); }
.z-event-cyber-monday .z-hero-mark { -webkit-text-stroke-color: var(--ev-2); }
@keyframes z-glitch { 0%, 100% { transform: translateX(0); opacity: .55; } 30% { transform: translateX(-40px); opacity: .2; } 32% { transform: translateX(22px); opacity: .8; } 60% { opacity: 0; } 62% { opacity: .55; } }

/* Christmas: festive red with falling snow */
.z-event-christmas { --ev-1: #ff5f57; --ev-2: #3ccf8e; --ev-3: #ffffff; --z-teal: #e5453d; --z-teal-bright: #ff5f57; --z-on-teal: #ffffff; --z-accent: #ff7a73; --z-accent-soft: rgba(229, 69, 61, .14); --z-chip-hi: rgba(229, 69, 61, .22); --z-bg-hero: #071513; }
:root[data-theme="light"] .z-event-christmas { --ev-1: #c62f28; --ev-2: #13804f; --ev-3: #8fb8ca; --z-teal: #c62f28; --z-teal-bright: #de3b33; --z-accent: #b02a24; --z-accent-soft: #fde6e4; --z-chip-hi: rgba(198, 47, 40, .14); --z-bg-hero: #eef4f2; }
.z-event-christmas .z-hero-event i { top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--ev-3); opacity: .7; animation: z-fall var(--d) linear infinite; animation-delay: var(--t); }
.z-event-christmas .z-hero-event::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--ev-3) 1px, transparent 1.5px); background-size: 46px 46px; opacity: .1; mask-image: linear-gradient(100deg, transparent 30%, #000 85%); -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%); }
@keyframes z-fall { to { transform: translate(-40px, 110vh); } }

/* New Year: midnight and gold, falling confetti */
.z-event-new-year { --ev-1: #f4c542; --ev-2: #7fd6d4; --ev-3: #ff7ab8; --z-teal: #f4c542; --z-teal-bright: #ffd766; --z-on-teal: #1a1200; --z-accent: #f4c542; --z-accent-soft: rgba(244, 197, 66, .14); --z-chip-hi: rgba(244, 197, 66, .22); --z-bg-hero: #060b1f; }
:root[data-theme="light"] .z-event-new-year { --ev-1: #b8860b; --ev-2: #1c7372; --ev-3: #c2185b; --z-teal: #0f1a3d; --z-teal-bright: #1d2b5c; --z-on-teal: #f4c542; --z-accent: #8a6400; --z-accent-soft: #fff4d4; --z-chip-hi: rgba(184, 134, 11, .16); --z-bg-hero: #f1f1f7; }
.z-event-new-year .z-hero-event i { top: -14px; left: var(--x); width: calc(var(--s) * 1.6); height: calc(var(--s) * .7); background: var(--ev-1); opacity: .8; animation: z-confetti var(--d) linear infinite; animation-delay: var(--t); }
.z-event-new-year .z-hero-event i:nth-child(3n) { background: var(--ev-2); }
.z-event-new-year .z-hero-event i:nth-child(3n + 1) { background: var(--ev-3); }
@keyframes z-confetti { to { transform: translate(30px, 110vh) rotate(720deg); } }

/* Easter: soft pastels, floating eggs */
.z-event-easter { --ev-1: #c4a7ff; --ev-2: #8ee6c0; --ev-3: #ffe08a; --z-teal: #c4a7ff; --z-teal-bright: #d6c2ff; --z-on-teal: #1d1035; --z-accent: #d0b8ff; --z-accent-soft: rgba(196, 167, 255, .14); --z-chip-hi: rgba(196, 167, 255, .22); }
:root[data-theme="light"] .z-event-easter { --ev-1: #8257e5; --ev-2: #2fa676; --ev-3: #e0a800; --z-teal: #7048d6; --z-teal-bright: #8257e5; --z-on-teal: #ffffff; --z-accent: #6a43cf; --z-accent-soft: #efe8ff; --z-chip-hi: rgba(130, 87, 229, .14); --z-bg-hero: #f6f2fc; }
.z-event-easter .z-hero-event i { left: calc(50% + var(--x) * .45); top: calc(var(--y) * .8 + 12%); width: calc(var(--s) * 9); aspect-ratio: 4 / 5; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: repeating-linear-gradient(-20deg, var(--ev-1) 0 8px, transparent 8px 18px), color-mix(in srgb, var(--ev-1) 40%, transparent); opacity: .3; animation: z-bob 6s ease-in-out infinite; animation-delay: var(--t); }
.z-event-easter .z-hero-event i:nth-child(3n) { background: radial-gradient(circle, var(--ev-3) 0 4px, transparent 5px) 0 0 / 18px 18px, color-mix(in srgb, var(--ev-2) 50%, transparent); }
.z-event-easter .z-hero-event i:nth-child(3n + 1) { background: repeating-linear-gradient(0deg, var(--ev-3) 0 7px, transparent 7px 16px), color-mix(in srgb, var(--ev-3) 40%, transparent); }
.z-event-easter .z-hero-event i:nth-child(n + 8) { display: none; }
@keyframes z-bob { 50% { transform: translateY(-14px) rotate(6deg); } }

/* Halloween: orange moon and rising embers */
.z-event-halloween { --ev-1: #ff8a1f; --ev-2: #9a5cff; --z-teal: #ff8a1f; --z-teal-bright: #ffa04d; --z-on-teal: #1c0b00; --z-accent: #ff9a3d; --z-accent-soft: rgba(255, 138, 31, .14); --z-chip-hi: rgba(154, 92, 255, .22); --z-bg-hero: #0c0714; }
:root[data-theme="light"] .z-event-halloween { --ev-1: #d4650a; --ev-2: #6b2fd1; --z-teal: #b85406; --z-teal-bright: #d4650a; --z-on-teal: #ffffff; --z-accent: #a84f05; --z-accent-soft: #ffeedd; --z-chip-hi: rgba(107, 47, 209, .14); --z-bg-hero: #f5f0f8; }
.z-event-halloween .z-hero-event::before { content: ""; position: absolute; top: 14%; right: 12%; width: clamp(140px, 18vw, 260px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 36%, color-mix(in srgb, var(--ev-1) 70%, #fff) 0, var(--ev-1) 55%, color-mix(in srgb, var(--ev-1) 60%, #000) 100%); box-shadow: 0 0 120px 30px color-mix(in srgb, var(--ev-1) 35%, transparent); opacity: .45; }
.z-event-halloween .z-hero-event::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: radial-gradient(60% 80% at 70% 100%, color-mix(in srgb, var(--ev-2) 30%, transparent), transparent); }
.z-event-halloween .z-hero-event i { bottom: -10px; left: calc(40% + var(--x) * .6); width: 4px; height: 4px; border-radius: 50%; background: var(--ev-1); box-shadow: 0 0 8px var(--ev-1); opacity: .8; animation: z-rise var(--d) ease-in infinite; animation-delay: var(--t); }
@keyframes z-rise { to { transform: translate(-30px, -70vh); opacity: 0; } }

/* Per-particle spread, shared by every theme */
.z-hero-event i:nth-child(1) { --x: 4%; --y: 10%; --s: 4px; --d: 11s; --t: -2s; --w: 80px; }
.z-hero-event i:nth-child(2) { --x: 12%; --y: 54%; --s: 6px; --d: 14s; --t: -9s; --w: 140px; }
.z-hero-event i:nth-child(3) { --x: 21%; --y: 30%; --s: 3px; --d: 9s; --t: -4s; --w: 60px; }
.z-hero-event i:nth-child(4) { --x: 29%; --y: 72%; --s: 5px; --d: 12s; --t: -7s; --w: 200px; }
.z-hero-event i:nth-child(5) { --x: 38%; --y: 18%; --s: 4px; --d: 10s; --t: -1s; --w: 90px; }
.z-hero-event i:nth-child(6) { --x: 46%; --y: 44%; --s: 7px; --d: 16s; --t: -12s; --w: 120px; }
.z-hero-event i:nth-child(7) { --x: 55%; --y: 8%; --s: 3px; --d: 8s; --t: -5s; --w: 70px; }
.z-hero-event i:nth-child(8) { --x: 63%; --y: 62%; --s: 5px; --d: 13s; --t: -3s; --w: 160px; }
.z-hero-event i:nth-child(9) { --x: 71%; --y: 36%; --s: 4px; --d: 11s; --t: -10s; --w: 50px; }
.z-hero-event i:nth-child(10) { --x: 80%; --y: 80%; --s: 6px; --d: 15s; --t: -6s; --w: 110px; }
.z-hero-event i:nth-child(11) { --x: 88%; --y: 24%; --s: 3px; --d: 9s; --t: -8s; --w: 180px; }
.z-hero-event i:nth-child(12) { --x: 95%; --y: 50%; --s: 5px; --d: 12s; --t: -11s; --w: 75px; }
@media (prefers-reduced-motion: reduce) { .z-hero-event i { animation: none !important; } }
