/*!
 * PulseFit – Gym & Fitness Studio HTML Template
 * Copyright (c) 2026 DesignVersa. All rights reserved.
 * https://designversa.com
 * Licensed for use under the DesignVersa Standard License (see LICENSE.txt).
 * Redistribution or resale of this template, in whole or in part, is prohibited.
 */

:root {
    --bg: #0b0c0f;
    --panel: #14161b;
    --panel-2: #1b1e25;
    --line: #262a33;
    --text: #b9bec9;
    --muted: #7c8392;
    --white: #ffffff;
    --lime: #c6ff3d;
    --lime-dark: #a8e021;
    --orange: #ff6b2c;
    --radius: 18px;
    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--white); text-transform: uppercase; line-height: .95; margin: 0 0 .4em; letter-spacing: .01em; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.section { padding: 100px 0; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.tag::before { content: ""; width: 26px; height: 3px; background: var(--lime); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.head h2 { font-size: clamp(44px, 6vw, 80px); margin-top: 10px; }
.lime { color: var(--lime); }
.stroke { color: transparent; -webkit-text-stroke: 2px var(--white); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 12px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: #0b0c0f; box-shadow: 0 10px 30px rgba(198, 255, 61, .25); }
.btn-lime:hover { background: var(--lime-dark); }
.btn-ghost { border-color: var(--line); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 15, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 40px; height: 80px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--white); letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.logo i { width: 34px; height: 34px; border-radius: 9px; background: var(--lime); display: grid; place-items: center; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--text); }
.nav-links a:hover, .nav-links a.active { color: var(--lime); }
.nav-right { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--white); place-items: center; cursor: pointer; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(198, 255, 61, .16), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(64px, 10vw, 150px); margin: 18px 0; }
.hero p { font-size: 19px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--display); font-size: 48px; color: var(--white); line-height: 1; }
.hero-stats span { font-size: 14px; color: var(--muted); }
.hero-art { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; background: linear-gradient(160deg, #1b1e25, #0f1115); border: 1px solid var(--line); overflow: hidden; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-card { position: absolute; left: -26px; bottom: 50px; background: var(--white); color: #0b0c0f; border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); font-weight: 600; font-size: 14px; }
.live-card .pulse { width: 12px; height: 12px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.hr-card { position: absolute; right: 22px; top: 26px; background: rgba(20, 22, 27, .9); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; color: var(--white); }
.hr-card b { font-family: var(--display); font-size: 34px; color: var(--lime); }

/* Ticker */
.ticker { background: var(--lime); color: #0b0c0f; overflow: hidden; transform: rotate(-1.5deg); margin: 10px -20px; }
.ticker-track { display: flex; gap: 50px; width: max-content; padding: 16px 0; animation: ticker 24s linear infinite; font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; }
.ticker-track span::after { content: " ✚"; margin-left: 50px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Programs */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.program { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; min-height: 320px; transition: border-color .2s, transform .2s; position: relative; overflow: hidden; }
.program:hover { border-color: var(--lime); transform: translateY(-4px); }
.program .ic { width: 58px; height: 58px; border-radius: 16px; background: rgba(198, 255, 61, .1); color: var(--lime); display: grid; place-items: center; margin-bottom: auto; }
.program h3 { font-size: 36px; margin-top: 30px; }
.program p { margin: 0; color: var(--muted); }
.program .num { position: absolute; right: 18px; top: 10px; font-family: var(--display); font-size: 80px; font-weight: 800; color: rgba(255, 255, 255, .04); }

/* Why / BMI */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--white); font-weight: 600; }
.checks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 8px; background: var(--lime); color: #0b0c0f; display: grid; place-items: center; font-weight: 900; flex: none; }
.bmi { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.bmi h3 { font-size: 40px; }
.bmi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.bmi label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.bmi input { width: 100%; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: var(--white); padding: 0 14px; font: inherit; font-size: 17px; }
.bmi input:focus { outline: none; border-color: var(--lime); }
.bmi-result { margin-top: 20px; padding: 18px; border-radius: 14px; background: var(--panel-2); display: none; }
.bmi-result.show { display: block; }
.bmi-result b { font-family: var(--display); font-size: 46px; color: var(--lime); }
.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; font-size: 12px; text-align: center; }
.scale span { padding: 8px 4px; border-radius: 8px; background: var(--bg); }
.scale span.on { background: var(--lime); color: #0b0c0f; font-weight: 800; }

/* Schedule */
.days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.day { background: var(--panel); border: 1px solid var(--line); color: var(--white); border-radius: 12px; padding: 12px 20px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.day.active { background: var(--lime); color: #0b0c0f; border-color: var(--lime); }
.schedule { display: grid; gap: 12px; }
.slot { display: grid; grid-template-columns: 120px 1fr 1fr 150px 130px; gap: 20px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; }
.slot time { font-family: var(--display); font-size: 28px; color: var(--white); font-weight: 800; }
.slot b { color: var(--white); font-size: 17px; }
.slot small { display: block; color: var(--muted); }
.level { justify-self: start; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(198, 255, 61, .12); color: var(--lime); }
.level.hard { background: rgba(255, 107, 44, .14); color: var(--orange); }
.slot .btn { height: 44px; font-size: 16px; padding: 0 18px; }

/* Trainers */
.trainers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trainer { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trainer-art { height: 280px; position: relative; }
.trainer-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.trainer-info { padding: 20px; }
.trainer-info h3 { font-size: 30px; margin: 0; }
.trainer-info span { color: var(--lime); font-weight: 600; font-size: 14px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; }
.plan.hot { background: var(--lime); color: #1b1e25; border-color: var(--lime); transform: scale(1.03); }
.plan.hot h3, .plan.hot .price { color: #0b0c0f; }
.plan h3 { font-size: 34px; }
.price { font-family: var(--display); font-size: 70px; font-weight: 800; color: var(--white); line-height: 1; margin: 10px 0; }
.price small { font-size: 22px; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan li::before { content: "✓  "; font-weight: 900; color: var(--lime); }
.plan.hot li::before { color: #0b0c0f; }
.plan.hot .btn-lime { background: #0b0c0f; color: var(--lime); box-shadow: none; }

/* Testimonial */
.transform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.story .result { font-family: var(--display); font-size: 46px; color: var(--lime); font-weight: 800; line-height: 1; }
.story p { color: var(--white); font-size: 16px; margin: 14px 0 18px; }
.story small { color: var(--muted); }

/* CTA */
.cta { position: relative; border-radius: 30px; overflow: hidden; padding: 80px 50px; background: linear-gradient(120deg, #1b1e25, #0f1115); border: 1px solid var(--line); text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(198, 255, 61, .25), transparent 60%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(46px, 7vw, 96px); }

/* Forms */
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--panel-2); color: var(--white); border-radius: 12px; padding: 14px; font: inherit; }
.field input:focus, .field select:focus { outline: none; border-color: var(--lime); }
.field .error { display: none; color: var(--orange); font-size: 13px; margin-top: 6px; }
.field.invalid input, .field.invalid select { border-color: var(--orange); }
.field.invalid .error { display: block; }
.form-success { display: none; background: rgba(198, 255, 61, .12); color: var(--lime); padding: 14px; border-radius: 12px; font-weight: 700; }

/* Page hero */
.page-hero { padding: 80px 0 40px; }
.page-hero h1 { font-size: clamp(60px, 9vw, 130px); margin-top: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 80px 0 30px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 24px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.footer a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
    .hero-grid, .split { grid-template-columns: 1fr; }
    .hero-art { max-width: 520px; }
    .programs, .trainers { grid-template-columns: 1fr 1fr; }
    .plans, .transform { grid-template-columns: 1fr; }
    .plan.hot { transform: none; }
    .slot { grid-template-columns: 100px 1fr 1fr; }
    .slot .level, .slot .btn { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .nav-links, .nav-right .btn-ghost { display: none; }
    .menu-toggle { display: grid; }
    .mobile-menu.open { display: grid; padding: 10px 20px 20px; border-top: 1px solid var(--line); }
    .mobile-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--white); }
}
@media (max-width: 580px) {
    .section { padding: 70px 0; }
    .programs, .trainers, .form-row, .bmi-row { grid-template-columns: 1fr; }
    .slot { grid-template-columns: 1fr; gap: 6px; }
    .live-card { left: 10px; }
    .cta { padding: 50px 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-right .btn-lime { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   Shared page components (blog, auth, FAQ, team, gallery, legal, 404…)
   Colours come from the --x-* variables mapped above for this template.
   Copyright (c) 2026 DesignVersa. All rights reserved.
------------------------------------------------------------------- */
.x-center { text-align: center; }
.x-narrow { max-width: 760px; margin-inline: auto; }
.x-mt { margin-top: 40px; }
.x-muted { color: var(--x-muted); }
.x-grid-2, .x-grid-3, .x-grid-4 { display: grid; gap: 24px; }
.x-grid-2 { grid-template-columns: repeat(2, 1fr); }
.x-grid-3 { grid-template-columns: repeat(3, 1fr); }
.x-grid-4 { grid-template-columns: repeat(4, 1fr); }
.x-card { background: var(--x-card); border: 1px solid var(--x-line); border-radius: var(--x-radius); padding: 28px; }
.x-card h3 { font-size: 22px; margin-bottom: 8px; }
.x-card p:last-child { margin-bottom: 0; }
.x-icon { width: 52px; height: 52px; border-radius: calc(var(--x-radius) * .7); display: grid; place-items: center; background: color-mix(in srgb, var(--x-accent) 16%, transparent); color: var(--x-accent); margin-bottom: 18px; font-size: 22px; font-weight: 800; }
.x-title { font-size: clamp(30px, 4vw, 48px); margin: 10px 0 14px; }
.x-lead { font-size: 18px; color: var(--x-muted); max-width: 640px; }
.x-center .x-lead { margin-inline: auto; }
.x-head { margin-bottom: 44px; }

/* Placeholder artwork (swap for your own images) */
.x-art { position: relative; border-radius: var(--x-radius); overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(135deg, hsl(var(--h, 240) 80% 62%), hsl(calc(var(--h, 240) + 45) 75% 48%)); }
.x-art::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -12%; top: -20%; border: 28px solid rgba(255, 255, 255, .18); }
.x-art::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 24%; left: 8%; bottom: -12%; background: rgba(255, 255, 255, .16); transform: rotate(14deg); }
.x-art.tall { aspect-ratio: 3 / 4; }
.x-art.wide { aspect-ratio: 21 / 9; }
.x-art.square { aspect-ratio: 1; }
.x-art span { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }

/* Blog */
.x-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.x-post { display: flex; flex-direction: column; gap: 12px; }
.x-post .x-meta { font-size: 13px; color: var(--x-muted); display: flex; gap: 10px; flex-wrap: wrap; }
.x-post h3 { font-size: 22px; line-height: 1.25; margin: 0; }
.x-post p { color: var(--x-muted); margin: 0; }
.x-post .x-more { color: var(--x-accent); font-weight: 700; }
.x-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--x-accent) 16%, transparent); color: var(--x-accent); }
.x-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 60px; }
.x-featured h2 { font-size: clamp(28px, 3.4vw, 42px); }
.x-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.x-cats a, .x-cats button { border: 1px solid var(--x-line); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; background: transparent; color: var(--x-text); cursor: pointer; }
.x-cats .active { background: var(--x-accent); border-color: var(--x-accent); color: var(--x-on-accent); }

/* Article / prose */
.x-article { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.8; }
.x-article h2 { font-size: 30px; margin: 44px 0 14px; }
.x-article h3 { font-size: 23px; margin: 32px 0 10px; }
.x-article p { margin: 0 0 1.2em; }
.x-article ul, .x-article ol { padding-left: 22px; margin: 0 0 1.2em; }
.x-article li { margin-bottom: 8px; }
.x-article blockquote { margin: 32px 0; padding: 20px 26px; border-left: 4px solid var(--x-accent); background: var(--x-soft); border-radius: 0 var(--x-radius) var(--x-radius) 0; font-size: 21px; color: var(--x-ink); }
.x-article .x-art { margin: 30px 0; }
.x-author { display: flex; gap: 14px; align-items: center; margin: 22px 0 34px; }
.x-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; background: linear-gradient(135deg, hsl(var(--h, 240) 75% 55%), hsl(calc(var(--h, 240) + 50) 70% 42%)); }
.x-avatar.lg { width: 110px; height: 110px; font-size: 34px; }
.x-share { display: flex; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--x-line); align-items: center; flex-wrap: wrap; }
.x-share a { border: 1px solid var(--x-line); border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* FAQ (no JavaScript needed) */
.x-faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.x-faq details { background: var(--x-card); border: 1px solid var(--x-line); border-radius: var(--x-radius); padding: 20px 24px; }
.x-faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; color: var(--x-ink); display: flex; justify-content: space-between; gap: 16px; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; color: var(--x-accent); font-size: 24px; line-height: 1; }
.x-faq details[open] summary::after { content: "–"; }
.x-faq details p { margin: 12px 0 0; color: var(--x-muted); }
.x-faq-group { margin-bottom: 44px; }
.x-faq-group h2 { font-size: 26px; margin-bottom: 16px; max-width: 860px; margin-inline: auto; }

/* Auth pages */
.x-auth { min-height: 72vh; display: grid; place-items: center; padding: 60px 20px; }
.x-auth-card { width: min(460px, 100%); background: var(--x-card); border: 1px solid var(--x-line); border-radius: var(--x-radius); padding: 40px; box-shadow: 0 20px 50px rgba(0, 0, 0, .08); }
.x-auth-card h1 { font-size: 32px; margin: 0 0 6px; }
.x-auth-card form { display: grid; gap: 16px; margin-top: 26px; }
.x-field label { display: block; font-size: 14px; font-weight: 600; color: var(--x-ink); margin-bottom: 7px; }
.x-field input, .x-field select, .x-field textarea { width: 100%; border: 1px solid var(--x-line); background: var(--x-soft); color: var(--x-ink); border-radius: calc(var(--x-radius) * .6); padding: 13px 15px; font: inherit; }
.x-field input:focus, .x-field select:focus, .x-field textarea:focus { outline: none; border-color: var(--x-accent); }
.x-field .error { display: none; color: #dc2626; font-size: 13px; margin-top: 5px; }
.x-field.invalid input { border-color: #dc2626; }
.x-field.invalid .error { display: block; }
.x-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; flex-wrap: wrap; }
.x-row a, .x-link { color: var(--x-accent); font-weight: 600; }
.x-check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.x-divider { display: flex; align-items: center; gap: 12px; color: var(--x-muted); font-size: 13px; margin: 6px 0; }
.x-divider::before, .x-divider::after { content: ""; flex: 1; height: 1px; background: var(--x-line); }
.x-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x-social button { border: 1px solid var(--x-line); background: transparent; color: var(--x-ink); border-radius: calc(var(--x-radius) * .6); padding: 12px; font: inherit; font-weight: 600; cursor: pointer; }
.x-full { width: 100%; }
.form-success.x-success, .x-success { display: none; background: color-mix(in srgb, var(--x-accent) 16%, transparent); color: var(--x-ink); padding: 12px 14px; border-radius: calc(var(--x-radius) * .6); font-weight: 600; }

/* 404 */
.x-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.x-404 .code { font-size: clamp(110px, 22vw, 240px); font-weight: 800; line-height: .9; color: var(--x-accent); letter-spacing: -.05em; font-family: var(--x-heading); }
.x-404 h1 { font-size: clamp(28px, 4vw, 42px); margin: 16px 0 10px; }
.x-404 .x-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Team / people */
.x-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.x-member { text-align: center; }
.x-member .x-art { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.x-member h3 { font-size: 20px; margin: 0 0 2px; }
.x-member p { color: var(--x-muted); margin: 0; font-size: 14px; }
.x-profile { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; }
.x-profile .x-art { aspect-ratio: 4 / 5; }
.x-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.x-stats div { background: var(--x-soft); border-radius: calc(var(--x-radius) * .8); padding: 18px; text-align: center; }
.x-stats b { display: block; font-size: 28px; color: var(--x-ink); font-family: var(--x-heading); }
.x-stats span { font-size: 13px; color: var(--x-muted); }

/* Lists, timeline, values */
.x-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.x-list li { display: flex; gap: 12px; align-items: flex-start; }
.x-list li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: color-mix(in srgb, var(--x-accent) 18%, transparent); color: var(--x-accent); }
.x-timeline { position: relative; display: grid; gap: 28px; padding-left: 34px; max-width: 760px; }
.x-timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--x-line); }
.x-timeline div { position: relative; }
.x-timeline div::before { content: ""; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--x-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--x-accent) 20%, transparent); }
.x-timeline b { display: block; color: var(--x-accent); font-family: var(--x-heading); font-size: 20px; }
.x-timeline h3 { font-size: 20px; margin: 2px 0 4px; }
.x-timeline p { margin: 0; color: var(--x-muted); }
.x-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.x-kpi { text-align: center; padding: 26px; border: 1px solid var(--x-line); border-radius: var(--x-radius); background: var(--x-card); }
.x-kpi b { display: block; font-size: 40px; color: var(--x-ink); font-family: var(--x-heading); line-height: 1.1; }
.x-kpi span { color: var(--x-muted); font-size: 14px; }

/* Gallery */
.x-gallery { columns: 3; column-gap: 20px; }
.x-gallery .x-art { break-inside: avoid; margin-bottom: 20px; }

/* Jobs / list rows */
.x-rows { display: grid; gap: 12px; }
.x-rowcard { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 22px 26px; border: 1px solid var(--x-line); border-radius: var(--x-radius); background: var(--x-card); transition: border-color .2s; }
.x-rowcard:hover { border-color: var(--x-accent); }
.x-rowcard h3 { font-size: 20px; margin: 0 0 2px; }
.x-rowcard small { color: var(--x-muted); }

/* Pricing packages */
.x-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.x-plan { background: var(--x-card); border: 1px solid var(--x-line); border-radius: var(--x-radius); padding: 32px; display: flex; flex-direction: column; }
.x-plan.hot { border: 2px solid var(--x-accent); }
.x-plan .x-price { font-size: 44px; font-weight: 800; color: var(--x-ink); font-family: var(--x-heading); margin: 12px 0; }
.x-plan .x-price small { font-size: 15px; color: var(--x-muted); font-weight: 500; }
.x-plan .x-list { flex: 1; }

/* Calculator */
.x-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.x-calc-out { background: var(--x-soft); border-radius: var(--x-radius); padding: 30px; text-align: center; }
.x-calc-out b { display: block; font-size: 52px; color: var(--x-accent); font-family: var(--x-heading); line-height: 1.1; margin: 8px 0; }
.x-range { width: 100%; accent-color: var(--x-accent); }

/* Legal */
.x-legal { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.x-toc { position: sticky; top: 110px; display: grid; gap: 8px; font-size: 14px; }
.x-toc a { color: var(--x-muted); }
.x-toc a:hover { color: var(--x-accent); }
.x-legal .x-article { margin: 0; font-size: 16px; }

/* Logo / partner row */
.x-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.x-logos div { border: 1px solid var(--x-line); border-radius: var(--x-radius); padding: 18px 26px; font-weight: 800; font-size: 18px; color: var(--x-ink); background: var(--x-card); min-width: 150px; text-align: center; }

/* Call to action band */
.x-cta { border-radius: var(--x-radius); padding: 56px; text-align: center; background: var(--x-soft); border: 1px solid var(--x-line); }
.x-cta h2 { font-size: clamp(28px, 3.6vw, 42px); }

@media (max-width: 1024px) {
    .x-grid-4, .x-team, .x-kpis { grid-template-columns: repeat(2, 1fr); }
    .x-grid-3, .x-posts, .x-plans { grid-template-columns: repeat(2, 1fr); }
    .x-featured, .x-profile, .x-calc, .x-legal { grid-template-columns: 1fr; }
    .x-toc { position: static; }
    .x-gallery { columns: 2; }
}
@media (max-width: 640px) {
    .x-grid-2, .x-grid-3, .x-grid-4, .x-posts, .x-team, .x-plans, .x-kpis { grid-template-columns: 1fr; }
    .x-gallery { columns: 1; }
    .x-rowcard { grid-template-columns: 1fr; }
    .x-auth-card, .x-cta { padding: 28px 22px; }
    .x-stats { grid-template-columns: 1fr 1fr; }
}
.page-hero .x-lead { margin-inline: auto; }
.x-center .x-author { justify-content: center; }
.x-center .x-author > div { text-align: left; }

/* Shared component colours for PulseFit */
:root { --x-accent: var(--lime); --x-on-accent: #0b0c0f; --x-ink: var(--white); --x-text: var(--text); --x-muted: var(--muted); --x-line: var(--line); --x-card: var(--panel); --x-soft: var(--panel-2); --x-radius: 18px; --x-heading: var(--display); }
.page-hero p.x-lead { margin-inline: 0; }
.page-hero .x-center p.x-lead { margin-inline: auto; }
.x-card h3, .x-post h3, .x-member h3, .x-rowcard h3 { font-size: 30px; }
.x-article h2, .x-article h3 { color: var(--white); }
.x-auth-card { box-shadow: none; }
.x-art { background: linear-gradient(145deg, hsl(var(--h, 80) 70% 45%), #0f1115 120%); }
