/* Zres.io booking + sustainability demo */
:root {
  --bg: #070b1c; --bg2: #0a0f24; --panel: #0d1329; --line: #1b2239; --line2: #272f4a;
  --text: #e2e4ea; --muted: #9aa0ad; --dim: #6b717e;
  --teal: #6d28d9; --teal2: #a78bfa; --violet: #5a35fc; --grad: linear-gradient(135deg, #6e00e4 0%, #5a35fc 40%, #00c4d7 100%); --blue: #47b4eb; --amber: #e7a33e; --red: #b45309; --warn: #b45309; --car: #1f9d55; --bike: #2563eb;
  --brand: #6d28d9; --b: var(--brand); --brand-ink: #ffffff; --brand-soft: #f0e8fd;
  --ink: #0b1112; --ink2: #2f3b3a; --ink3: #5b6a68; --paper: #ffffff; --paper2: #f3f6f8; --paper-line: #e0e6eb;
  --r: 16px; --r-sm: 10px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --display: 'Space Grotesk', 'Inter', sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.app-open { overflow: hidden; }
a { color: inherit; }
img, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.03em; }
:focus-visible { outline: 2px solid var(--teal2); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; min-height: 44px; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 24px -4px rgba(112,31,230,.35); }
.btn-primary:hover { background: #8133f0; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal2); }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13px; border-radius: 10px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(0,2,14,.72); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.05); }
.logo { font-family: var(--display); font-weight: 800; letter-spacing: .02em; font-size: 18px; text-decoration: none; color: #fff; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 560px) { .nav-cta .btn-ghost { display: none; } .logo { font-size: 15px; } }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px) 40px; max-width: 1400px; margin: 0 auto; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(110,0,228,.28), transparent 70%); pointer-events: none; z-index: -1; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal2); margin: 0 0 16px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal2); box-shadow: 0 0 0 0 rgba(0,196,215,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0,196,215,.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(0,196,215,0); } }
.hero h1 { font-size: clamp(36px, 5.2vw, 66px); font-weight: 700; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #5a35fc, #2580f8 45%, #00c4d7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: #a3a8b4; max-width: 560px; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 560px; }
.hero-proof li { border-left: 2px solid var(--teal); padding-left: 12px; display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--display); font-size: 17px; }
.hero-proof span { font-size: 13px; color: var(--muted); }
.stage { position: relative; height: clamp(380px, 46vw, 600px); border-radius: 28px; background: radial-gradient(120% 80% at 50% 0%, #1f1610 0%, #00020e 70%); border: 1px solid var(--line); overflow: hidden; }
.stage canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); padding: 24px; text-align: center; }
.stage-hint { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(0,0,0,.4); border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; }
.stage-panel { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(0,2,14,.72); backdrop-filter: blur(12px); border: 1px solid var(--line2); }
.panel-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; width: 70px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); padding: 0; position: relative; transition: transform .2s var(--ease); }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-checked="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(0,196,215,.45); }
.swatches.lg .swatch { width: 36px; height: 36px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--text); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; min-height: 32px; transition: all .2s; }
.chip:hover { border-color: var(--teal2); }
.chip[aria-checked="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-coat { background: var(--grad); color: #fff; border: 0; position: relative; overflow: hidden; }
.btn-coat::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); }
.btn-coat:hover::after { animation: shine 1s; }
.btn-coat[aria-pressed="true"] { background: rgba(255,255,255,.06); border: 1px solid var(--teal2); color: var(--teal2); }
@keyframes shine { to { left: 120%; } }
.price-pill { margin-left: auto; font-size: 13px; color: var(--muted); }
.price-pill b { color: #fff; font-size: 15px; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; } .stage { height: 460px; } }
@media (max-width: 560px) { .hero-proof { grid-template-columns: 1fr; } .price-pill { margin-left: 0; } .panel-label { width: auto; } .stage { height: 480px; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg2); padding: 14px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.marquee-track span::before { content: '◆'; color: var(--teal); margin-right: 14px; font-size: 10px; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px); max-width: 1280px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2, .section h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marquee-track { animation: none; } html { scroll-behavior: auto; } }

/* demo cards */
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.demo-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; text-decoration: none; background: #eaf3f1; color: var(--ink); border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s; transform-style: preserve-3d; will-change: transform; }
.demo-card.dark { background: var(--panel); color: var(--text); border-color: var(--line); }
.demo-card:hover { box-shadow: 0 30px 60px -30px rgba(0,196,215,.45); }
.demo-visual { height: 260px; display: grid; place-items: center; position: relative; overflow: hidden; }
.demo-visual-cust { background: linear-gradient(160deg, #d7ece9, #f3f8f7); }
.demo-visual-admin { background: linear-gradient(160deg, #15171c, #00020e); }
.demo-copy { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.demo-copy h3 { font-size: 22px; }
.demo-copy p { margin: 0; color: var(--ink3); }
.demo-card.dark .demo-copy p { color: var(--muted); }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: rgba(110,0,228,.12); padding: 4px 10px; border-radius: 999px; }
.demo-card.dark .tag { color: var(--teal2); }
.link { font-weight: 800; color: var(--teal); margin-top: 6px; }
.demo-card.dark .link { color: var(--teal2); }
.mini-phone { width: 210px; background: #fff; border-radius: 26px; padding: 16px 14px; box-shadow: 0 30px 50px -20px rgba(11,17,18,.35), 0 0 0 7px #1b1e23; display: flex; flex-direction: column; gap: 8px; transform: rotate(-4deg) translateY(30px); transition: transform .5s var(--ease); font-size: 11px; }
.demo-card:hover .mini-phone { transform: rotate(0) translateY(18px); }
.mp-bar { display: flex; gap: 4px; } .mp-bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--teal); } .mp-bar i.off { background: #d5dddc; }
.mp-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--paper-line); border-radius: 8px; padding: 6px 8px; }
.mp-row em { font-style: normal; background: var(--ink); color: #fff; border-radius: 4px; padding: 1px 5px; font-weight: 700; font-size: 10px; }
.mp-pkg { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--paper-line); border-radius: 8px; padding: 6px 8px; }
.mp-pkg span { display: flex; flex-direction: column; font-weight: 700; } .mp-pkg small { font-weight: 500; color: var(--ink3); }
.mp-pkg.on { border: 1.5px solid var(--teal); background: var(--brand-soft); } .mp-pkg.on b { color: var(--teal); }
.mp-slots { display: flex; gap: 5px; } .mp-slots i { flex: 1; font-style: normal; text-align: center; border: 1px solid var(--paper-line); border-radius: 6px; padding: 4px 0; font-weight: 700; } .mp-slots i.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mp-btn { background: var(--teal); color: #fff; text-align: center; border-radius: 8px; padding: 8px; font-weight: 800; }
.mini-dash { width: 86%; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: perspective(900px) rotateX(10deg) translateY(18px); transition: transform .5s var(--ease); font-size: 11px; }
.demo-card:hover .mini-dash { transform: perspective(900px) rotateX(0) translateY(10px); }
.md-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.md-stats i { font-style: normal; background: var(--paper2); border-radius: 8px; padding: 6px 8px; font-family: var(--display); font-weight: 700; font-size: 18px; display: flex; flex-direction: column; } .md-stats small { font-family: var(--font); font-size: 10px; color: var(--ink3); font-weight: 600; }
.md-rows > div { position: relative; height: 30px; border-top: 1px solid var(--paper-line); padding-left: 46px; }
.md-rows span { position: absolute; left: 0; top: 7px; font-weight: 700; color: var(--ink2); }
.md-rows b { position: absolute; top: 4px; bottom: 4px; margin-left: 46px; max-width: calc(100% - 46px); background: var(--teal); color: #fff; border-radius: 5px; font-size: 10px; padding: 0 6px; display: flex; align-items: center; overflow: hidden; }
.md-rows b.lt { background: #bfe9e3; color: #0f4f49; } .md-rows b.x { background: #d5dddc; color: #566563; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }

/* tour */
.tour { margin-top: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.tour-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.tour-head h3 { font-size: 20px; } .tour-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.tour-ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--teal2) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; position: relative; transition: --p .6s; }
.tour-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--panel); }
.tour-ring span { position: relative; font-family: var(--display); font-weight: 700; font-size: 15px; }
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tour-list li a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; min-height: 56px; }
.tour-list li a:hover { border-color: var(--teal2); }
.tour-list .tick { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; transition: all .3s; }
.tour-list li.done .tick { background: var(--teal); border-color: var(--teal); }
.tour-list li.done a { background: rgba(110,0,228,.08); }
.tour-list li.done .t-text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(167,173,182,.5); }
.tour-list .t-text { font-size: 14px; font-weight: 600; }
.tour-list .t-where { font-size: 12px; color: var(--dim); display: block; font-weight: 500; text-decoration: none; }
@media (max-width: 860px) { .tour-list { grid-template-columns: 1fr; } }

/* how */
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.how-step { padding: 24px; border-radius: 20px; background: linear-gradient(180deg, var(--panel), transparent); border: 1px solid var(--line); position: relative; }
.how-step .num { font-family: var(--display); font-weight: 800; font-size: 40px; background: linear-gradient(180deg, var(--teal2), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 18px; }
.how-step h3 { font-size: 20px; margin-bottom: 8px; } .how-step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feat { padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.feat::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,196,215,.18), transparent); opacity: 0; transition: opacity .3s; }
.feat:hover { transform: translateY(-4px); border-color: var(--line2); } .feat:hover::after { opacity: 1; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(110,0,228,.14); color: var(--teal2); margin-bottom: 16px; }
.feat h3 { font-size: 17px; margin-bottom: 6px; } .feat p { margin: 0; color: var(--muted); font-size: 14px; }
.feat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 22px; }
.feat-filter .chip { min-height: 38px; padding: 6px 14px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.feat-filter .chip small { font-size: 11px; color: var(--dim); font-weight: 700; }
.feat-filter .chip[aria-checked="true"] small { color: inherit; opacity: .8; }
.feat.ws { background: linear-gradient(180deg, rgba(110,0,228,.06), var(--panel) 60%); }
.feat .who b { color: var(--teal2); font-weight: 800; }
.feat .who { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 1100px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* customise */
.customise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cust-copy p:not(.kicker) { color: var(--muted); font-size: 17px; }
.cust-form { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field input { text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 600; color: var(--text); background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.field input:focus { border-color: var(--teal2); outline: none; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 4px; align-self: flex-start; }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: 9px; background: rgba(255,255,255,.05); font-size: 20px; font-weight: 700; }
.stepper button:hover { background: var(--teal); }
.stepper output { min-width: 40px; text-align: center; font-family: var(--display); font-size: 20px; color: var(--text); }
.note { font-size: 15px !important; }
.cust-preview { border-radius: 24px; padding: 18px; background: linear-gradient(160deg, #16181d, #00020e); border: 1px solid var(--line); }
@media (max-width: 960px) { .customise { grid-template-columns: 1fr; } }

/* case */
.case-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: linear-gradient(120deg, rgba(110,0,228,.22), rgba(71,180,235,.08)); border: 1px solid var(--line2); }
.case-inner p:not(.kicker) { color: #a3a8b4; margin: 14px 0 0; }
.case-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.case-list li { padding: 12px 14px 12px 40px; border-radius: 12px; background: rgba(0,0,0,.3); position: relative; font-weight: 600; font-size: 15px; }
.case-list li::before { content: ''; position: absolute; left: 14px; top: 50%; width: 14px; height: 8px; border-left: 2.5px solid var(--teal2); border-bottom: 2.5px solid var(--teal2); transform: translateY(-70%) rotate(-45deg); }
@media (max-width: 860px) { .case-inner { grid-template-columns: 1fr; } }

/* pricing */
.billing { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 22px; }
.billing button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; font-weight: 700; color: var(--muted); min-height: 40px; }
.billing button.on { background: var(--teal); color: #fff; }
.billing em { font-style: normal; font-size: 11px; color: var(--teal2); margin-left: 4px; }
.billing button.on em { color: #cffafe; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { padding: 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.pop { background: linear-gradient(180deg, #2a170c, var(--panel)); border-color: var(--teal); }
.plan .badge { position: absolute; top: -12px; right: 20px; background: var(--teal2); color: #1a0b02; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 6px; }
.plan h3 { font-size: 22px; } .plan .sub { color: var(--muted); font-size: 14px; margin: -6px 0 0; }
.plan .price { font-family: var(--display); font-size: 40px; font-weight: 700; } .plan .price small { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 600; }
.plan .setup { font-size: 14px; color: var(--muted); background: rgba(255,255,255,.04); padding: 8px 12px; border-radius: 10px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: #a3a8b4; }
.plan li { padding-left: 24px; position: relative; } .plan li::before { content: '✓'; position: absolute; left: 0; color: var(--teal2); font-weight: 800; }
.plan .live { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--teal2); }
.fine { color: var(--dim); font-size: 13px; margin-top: 18px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* contact / footer */
.contact { text-align: center; max-width: 900px; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); margin: 0 auto 60px; border-radius: 32px; background: radial-gradient(120% 120% at 50% 0%, rgba(110,0,228,.35), transparent 60%), var(--panel); border: 1px solid var(--line2); }
.contact p { color: #a3a8b4; font-size: 17px; }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 24px 0 18px; }
.contact-meta { font-size: 14px !important; color: var(--muted) !important; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer p { margin: 0; }

/* ================= DEMO APP ================= */
.app { position: fixed; inset: 0; z-index: 60; background: var(--paper2); color: var(--ink); display: flex; flex-direction: column; animation: appIn .45s var(--ease); }
@keyframes appIn { from { opacity: 0; transform: scale(.985); } }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(12px, 3vw, 24px); background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); }
.app-back { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); padding: 8px 6px; }
.app-back:hover { color: #fff; }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.seg a { text-decoration: none; padding: 7px 16px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg a[aria-selected="true"] { background: var(--teal); color: #fff; }
.app-bar-right { display: flex; align-items: center; gap: 10px; }
.demo-badge { font-size: 12px; font-weight: 700; color: var(--amber); border: 1px solid rgba(231,163,62,.4); background: rgba(231,163,62,.08); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 560px) { .app-back span, .demo-badge { display: none; } }
.app-body { flex: 1; overflow: auto; display: flex; flex-direction: column; }
.view { flex: 1 0 auto; display: flex; flex-direction: column; }
.view > * { width: 100%; }

/* customer app (light, brandable) */
.cx { --b: var(--brand); max-width: 1180px; margin: 0 auto; padding: clamp(16px, 3vw, 32px); }
.cx-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.cx-logo { width: 46px; height: 46px; border-radius: 14px; background: var(--b); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.cx-head h1 { font-size: 22px; } .cx-head p { margin: 0; font-size: 14px; color: var(--ink3); }
.cx-head .spacer { flex: 1; }
.cx-link { border: 1px solid var(--paper-line); background: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 14px; min-height: 40px; }
.cx-link:hover { border-color: var(--b); }
.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .cx-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--paper-line); border-radius: 20px; padding: clamp(16px, 2.4vw, 26px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.step { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; border-bottom: 3px solid var(--paper-line); font-weight: 700; font-size: 14px; color: var(--ink3); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; transition: border-color .3s, color .3s; }
.step .n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--paper2); font-size: 13px; flex-shrink: 0; }
.step.on { color: var(--ink); border-color: var(--b); } .step.on .n { background: var(--b); color: #fff; }
.step.done { color: var(--ink2); border-color: color-mix(in srgb, var(--b) 45%, white); } .step.done .n { background: color-mix(in srgb, var(--b) 18%, white); color: var(--b); }
.step:disabled { cursor: default; }
@media (max-width: 560px) { .step .lbl { display: none; } }
.h2 { font-family: var(--display); font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.sub { color: var(--ink3); font-size: 14px; margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.f.full { grid-column: 1 / -1; }
.f input, .f select, .f textarea { font-weight: 500; font-size: 15px; border: 1.5px solid var(--paper-line); background: var(--paper2); border-radius: 12px; padding: 11px 12px; min-height: 46px; color: var(--ink); transition: border-color .2s, background .2s; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--b); background: #fff; }
.f .err { color: var(--red); font-weight: 600; font-size: 12px; min-height: 0; }
.f.bad input, .f.bad select { border-color: var(--red); }
.size-callout { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--b) 10%, white); border: 1px dashed color-mix(in srgb, var(--b) 45%, white); margin: 4px 0 18px; font-size: 14px; animation: pop .4s var(--ease); }
.size-callout b.sz { font-family: var(--display); font-size: 22px; color: var(--b); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--paper-line); flex-wrap: wrap; }
.b { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 11px 18px; font-weight: 800; font-size: 15px; border: 1.5px solid transparent; min-height: 46px; transition: transform .15s, filter .2s, background .2s; }
.b:active { transform: scale(.98); }
.b-pri { background: var(--b); color: #fff; } .b-pri:hover { filter: brightness(1.08); }
.b-pri:disabled { opacity: .45; cursor: not-allowed; }
.b-sec { background: #fff; border-color: var(--paper-line); color: var(--ink); } .b-sec:hover { border-color: var(--ink3); }
.b-danger { background: #fff; border-color: #cbd5e1; color: #334155; }
.b-danger:hover { background: #f1f5f9; }
.b-text { background: none; border: 0; color: var(--ink3); font-weight: 700; padding: 8px; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
@media (max-width: 760px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat { border: 1.5px solid var(--paper-line); background: #fff; border-radius: 14px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; transition: all .2s; min-height: 80px; position: relative; }
.cat svg { color: var(--ink3); transition: color .2s, transform .3s var(--ease); }
.cat:hover svg { transform: translateY(-2px) scale(1.08); }
.cat.on { border-color: var(--b); background: color-mix(in srgb, var(--b) 8%, white); } .cat.on svg { color: var(--b); }
.cat .cnt { position: absolute; top: 6px; right: 8px; background: var(--b); color: #fff; font-size: 11px; border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; }
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .pkgs { grid-template-columns: 1fr; } }
.pkg { text-align: left; border: 1.5px solid var(--paper-line); background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, box-shadow .2s, transform .2s; position: relative; }
.pkg:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(11,17,18,.35); }
.pkg.on { border-color: var(--b); box-shadow: 0 0 0 3px color-mix(in srgb, var(--b) 18%, transparent); }
.pkg .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.pkg h4 { font-family: var(--font); font-size: 16px; font-weight: 800; }
.pkg p { margin: 0; color: var(--ink3); font-size: 13px; }
.pkg .meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.pkg .pr { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.pkg.on .pr { color: var(--b); }
.pkg .du { font-size: 13px; color: var(--ink3); font-weight: 600; }
.pkg .ptag { font-size: 11px; font-weight: 800; background: var(--ink); color: #fff; border-radius: 6px; padding: 3px 7px; white-space: nowrap; }
.pkg .chk { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--paper-line); display: grid; place-items: center; flex-shrink: 0; transition: all .2s; }
.pkg.on .chk { background: var(--b); border-color: var(--b); }
.cal { user-select: none; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-head b { font-family: var(--display); font-size: 18px; }
.cal-nav { display: flex; gap: 6px; } .cal-nav button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--paper-line); background: #fff; font-size: 18px; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink3); padding: 4px 0; }
.day { aspect-ratio: 1 / .9; border: 1.5px solid var(--paper-line); background: #fff; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 800; font-size: 15px; position: relative; transition: all .15s; min-height: 44px; }
.day:hover:not(:disabled) { border-color: var(--b); }
.day .load { width: 60%; height: 4px; border-radius: 2px; background: var(--paper-line); overflow: hidden; }
.day .load i { display: block; height: 100%; background: var(--teal); }
.day .load i.hi { background: var(--amber); } .day .load i.full { background: #64748b; }
.day:disabled { color: #b5c1bf; background: var(--paper2); cursor: not-allowed; }
.day.on { background: var(--b); border-color: var(--b); color: #fff; } .day.on .load { background: rgba(255,255,255,.3); } .day.on .load i { background: #fff; }
.day.today::after { content: ''; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--b); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink3); margin-top: 10px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 18px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; }
.slot { border: 1.5px solid var(--paper-line); background: #fff; border-radius: 10px; padding: 9px 4px; font-weight: 800; font-size: 14px; min-height: 44px; transition: all .15s; }
.slot small { display: block; font-size: 11px; font-weight: 600; color: var(--ink3); }
.slot:hover:not(:disabled) { border-color: var(--b); }
.slot:disabled { color: #b5c1bf; text-decoration: line-through; background: var(--paper2); cursor: not-allowed; }
.slot.on { background: var(--ink); border-color: var(--ink); color: #fff; } .slot.on small { color: #cfdad8; }
.empty { padding: 24px; text-align: center; color: var(--ink3); border: 1.5px dashed var(--paper-line); border-radius: 14px; font-size: 14px; }

.summary { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.sum-car { height: 190px; background: radial-gradient(120% 90% at 50% 10%, #1f242c, #00020e 70%); position: relative; }
.sum-car canvas { width: 100%; height: 100%; }
.sum-car .sz { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.sum-car .paints { position: absolute; right: 10px; top: 10px; display: flex; gap: 5px; }
.sum-car .paints button { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); padding: 0; }
.sum-car .paints button[aria-checked="true"] { border-color: #fff; }
.sum-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.sum-title { font-family: var(--display); font-size: 17px; font-weight: 700; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sum-row span { color: var(--ink3); } .sum-row b { text-align: right; }
.sum-lines { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--paper-line); padding-top: 12px; }
.sum-line { display: flex; justify-content: space-between; font-size: 14px; animation: pop .3s var(--ease); }
.sum-line button { border: 0; background: none; color: var(--ink3); padding: 0 0 0 6px; font-size: 16px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--paper-line); padding-top: 12px; }
.sum-total b { font-family: var(--display); font-size: 26px; color: var(--b); }
.sum-hint { font-size: 12px; color: var(--ink3); }

.done-wrap { max-width: 720px; margin: 0 auto; text-align: center; padding: 20px 0; }
.done-check { width: 84px; height: 84px; border-radius: 50%; background: var(--b); display: grid; place-items: center; margin: 0 auto 18px; animation: popin .6s var(--ease); box-shadow: 0 0 0 12px color-mix(in srgb, var(--b) 16%, transparent); }
@keyframes popin { 0% { transform: scale(0); } 70% { transform: scale(1.1); } }
.done-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-wrap h2 { font-size: clamp(26px, 3.4vw, 36px); }
.ref { display: inline-block; font-family: var(--display); font-weight: 700; background: var(--paper2); border-radius: 10px; padding: 6px 14px; margin: 12px 0; letter-spacing: .06em; }
.done-card { text-align: left; margin: 20px 0; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); } }

/* inbox */
.inbox { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 420px; border: 1px solid var(--paper-line); border-radius: 18px; overflow: hidden; background: #fff; text-align: left; }
@media (max-width: 720px) { .inbox { grid-template-columns: 1fr; } }
.inbox-list { border-right: 1px solid var(--paper-line); background: var(--paper2); }
.inbox-list button { width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--paper-line); background: none; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.inbox-list button.on { background: #fff; box-shadow: inset 3px 0 0 var(--b); }
.inbox-list .from { font-weight: 800; font-size: 14px; display: flex; justify-content: space-between; }
.inbox-list .from em { font-style: normal; font-weight: 600; font-size: 11px; color: var(--ink3); }
.inbox-list .subj { font-size: 13px; font-weight: 600; } .inbox-list .when { font-size: 12px; color: var(--ink3); }
.mail { padding: 0; }
.mail-head { padding: 16px 20px; border-bottom: 1px solid var(--paper-line); font-size: 13px; color: var(--ink3); }
.mail-head b { color: var(--ink); font-size: 16px; display: block; margin-bottom: 4px; }
.mail-body { padding: 20px; background: var(--paper2); }
.mail-sheet { max-width: 480px; margin: 0 auto; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--paper-line); }
.mail-top { background: var(--b); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.mail-top .cx-logo { width: 34px; height: 34px; font-size: 14px; background: rgba(255,255,255,.2); border-radius: 10px; }
.mail-content { padding: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
.mail-content .kv { display: grid; grid-template-columns: 90px 1fr; gap: 6px; background: var(--paper2); border-radius: 10px; padding: 12px; }
.mail-content .kv span { color: var(--ink3); }
.mail-btns { display: flex; gap: 8px; }
.mail-btns span { flex: 1; text-align: center; border-radius: 9px; padding: 9px; font-weight: 800; font-size: 13px; background: var(--b); color: #fff; }
.mail-btns span.alt { background: var(--paper2); color: var(--ink); }

/* modal & toast */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0,2,14,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { background: #fff; color: var(--ink); width: min(560px, 100%); max-height: 90vh; overflow: auto; border-radius: 22px; padding: 24px; animation: up .3s var(--ease); }
.modal-card.wide { width: min(980px, 100%); }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.modal-head h3 { font-size: 20px; }
.x { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--paper-line); background: #fff; font-size: 20px; }
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 95; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); display: flex; align-items: center; gap: 10px; animation: toastIn .35s var(--ease); max-width: 90vw; }
.toast.out { animation: toastOut .3s forwards; }
.toast .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
@keyframes toastIn { from { transform: translateY(16px); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(16px); opacity: 0; } }

/* ================= ADMIN ================= */
.ad { flex: 1 0 auto; display: grid; grid-template-columns: 240px minmax(0, 1fr); background: linear-gradient(90deg, #0b1112 240px, transparent 240px); }
.ad-side { background: #0b1112; color: #cfdad8; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; align-self: start; height: calc(100vh - 57px); overflow-y: auto; }
.ad-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; }
.ad-brand .cx-logo { width: 36px; height: 36px; font-size: 14px; border-radius: 10px; }
.ad-brand b { font-size: 14px; color: #fff; display: block; } .ad-brand small { font-size: 12px; color: #7f9491; }
.ad-nav { border: 0; background: none; text-align: left; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; color: #a9bab8; min-height: 42px; position: relative; }
.ad-nav:hover { background: rgba(255,255,255,.05); color: #fff; }
.ad-nav.on { background: var(--brand); color: #fff; }
.ad-nav .pip { margin-left: auto; background: var(--amber); color: #111; font-size: 11px; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.ad-main { padding: clamp(16px, 2.6vw, 30px); min-width: 0; }
.ad-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.ad-top h2 { font-size: 26px; } .ad-top p { margin: 4px 0 0; color: var(--ink3); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; padding: 16px 18px; position: relative; overflow: hidden; }
.stat span { font-size: 13px; color: var(--ink3); font-weight: 700; }
.stat b { display: block; font-family: var(--display); font-size: 32px; margin-top: 4px; }
.stat i { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .two { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ad { grid-template-columns: 1fr; background: none; } .ad-side { flex-direction: row; overflow-x: auto; padding: 8px; gap: 4px; height: auto; z-index: 5; } .ad-brand { display: none; } .ad-nav { white-space: nowrap; flex-shrink: 0; } }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 10px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar i { width: 100%; max-width: 30px; border-radius: 7px 7px 3px 3px; background: color-mix(in srgb, var(--brand) 30%, white); transition: height .8s var(--ease); position: relative; }
.bar.today i { background: var(--brand); }
.bar i:hover::after { content: attr(data-v); position: absolute; top: -24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.bar small { font-size: 11px; color: var(--ink3); font-weight: 700; }
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; }
.li:last-child { border-bottom: 0; }
.li .t { font-family: var(--display); font-weight: 700; width: 52px; flex-shrink: 0; }
.li .who { flex: 1; min-width: 0; } .li .who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .li .who small { color: var(--ink3); }
.pill { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 999px; white-space: nowrap; text-transform: capitalize; }
.pill.confirmed { background: #e2f5f2; color: #17706a; } .pill.pending { background: #fdf1dd; color: #94600f; } .pill.completed { background: #e6eefc; color: #2d58a8; } .pill.cancelled { background: #eceff3; color: #475569; }
.pill.new { background: var(--ink); color: #fff; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.toolbar input, .toolbar select { border: 1.5px solid var(--paper-line); background: #fff; border-radius: 10px; padding: 9px 12px; min-height: 42px; font-size: 14px; }
.toolbar input { flex: 1; min-width: 200px; }
.tbl-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink3); padding: 12px 14px; border-bottom: 1px solid var(--paper-line); background: var(--paper2); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--paper-line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr.hl td { background: color-mix(in srgb, var(--brand) 9%, white); animation: flash 2s; }
@keyframes flash { 0% { background: color-mix(in srgb, var(--brand) 35%, white); } }
td .sel { border: 1px solid var(--paper-line); border-radius: 8px; padding: 6px 8px; font-weight: 700; font-size: 13px; background: #fff; min-height: 36px; }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--paper-line); background: #fff; display: inline-grid; place-items: center; color: var(--ink3); }
.icon-btn:hover { color: #334155; border-color: #94a3b8; }
.planner { background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; padding: 16px; overflow-x: auto; }
.pl-inner { min-width: 760px; }
.pl-hours { display: grid; margin-left: 80px; font-size: 12px; color: var(--ink3); font-weight: 700; margin-bottom: 6px; }
.pl-row { display: flex; align-items: stretch; height: 64px; border-top: 1px solid var(--paper-line); }
.pl-lab { width: 80px; flex-shrink: 0; font-weight: 800; font-size: 14px; display: flex; align-items: center; }
.pl-track { flex: 1; position: relative; background-image: linear-gradient(90deg, var(--paper-line) 1px, transparent 1px); cursor: copy; }
.pl-blk { position: absolute; top: 7px; bottom: 7px; border-radius: 10px; padding: 6px 9px; font-size: 12px; font-weight: 700; overflow: hidden; white-space: nowrap; cursor: pointer; border: 0; text-align: left; display: flex; flex-direction: column; justify-content: center; transition: transform .15s, box-shadow .15s; }
.pl-blk:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); z-index: 2; }
.pl-blk span, .pl-blk small { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pl-blk small { font-weight: 600; opacity: .85; }
.pl-blk.confirmed, .pl-blk.completed { background: var(--brand); color: #fff; }
.pl-blk.pending { background: #f7d9a6; color: #5b3b06; }
.pl-blk.block { background: repeating-linear-gradient(45deg, #dfe6e5, #dfe6e5 6px, #eef2f1 6px, #eef2f1 12px); color: var(--ink2); }
.pl-blk.ghost { background: color-mix(in srgb, var(--brand) 20%, white); color: var(--ink); border: 2px dashed var(--brand); pointer-events: none; }
.pl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: #00c4d7; z-index: 3; pointer-events: none; }
.pl-tip { font-size: 13px; color: var(--ink3); margin-top: 10px; }
.svc-table input { width: 84px; border: 1.5px solid var(--paper-line); border-radius: 8px; padding: 7px 8px; font-weight: 700; font-size: 14px; min-height: 38px; background: var(--paper2); }
.svc-table input:focus { outline: none; border-color: var(--brand); background: #fff; }
.svc-table input.flash { animation: inflash 1s; }
@keyframes inflash { 0% { background: color-mix(in srgb, var(--brand) 30%, white); } }
.toggle { width: 46px; height: 26px; border-radius: 999px; background: #cfd9d7; border: 0; position: relative; transition: background .2s; padding: 0; flex-shrink: 0; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.toggle[aria-checked="true"] { background: var(--brand); } .toggle[aria-checked="true"]::after { transform: translateX(20px); }
.mcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mday { min-height: 92px; background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: 8px; text-align: left; display: flex; flex-direction: column; gap: 4px; font-size: 12px; transition: border-color .15s; }
.mday:hover { border-color: var(--brand); }
.mday .d { font-weight: 800; font-size: 14px; }
.mday.off { opacity: .4; } .mday.today { border: 2px solid var(--brand); } .mday.closed { background: var(--paper2); }
.mday .ev { background: color-mix(in srgb, var(--brand) 14%, white); border-radius: 5px; padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; color: var(--ink2); }
.mday .more { color: var(--ink3); font-weight: 700; }
.brand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 980px) { .brand-grid { grid-template-columns: 1fr; } }
.swatch.light { border-color: var(--paper-line); }
.swatch.light[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 20%, transparent); }
.login { max-width: 420px; margin: 8vh auto; background: #fff; border: 1px solid var(--paper-line); border-radius: 24px; padding: 30px; text-align: center; }
.login .cx-logo { margin: 0 auto 14px; width: 56px; height: 56px; font-size: 22px; border-radius: 16px; }
.login form { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-top: 20px; }
.hint-box { background: #fff8e8; border: 1px solid #f3dca8; color: #6b4a0b; border-radius: 12px; padding: 10px 12px; font-size: 13px; text-align: left; }

/* customise preview (landing) */
.pv { background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden; --b: var(--brand); transition: box-shadow .3s; }
.pv-top { background: var(--b); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; transition: background .4s; }
.pv-top .cx-logo { background: rgba(255,255,255,.2); width: 40px; height: 40px; font-size: 16px; }
.pv-top b { font-family: var(--display); font-size: 18px; display: block; } .pv-top small { opacity: .85; font-size: 13px; }
.pv-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.pv-steps { display: flex; gap: 6px; } .pv-steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--paper-line); } .pv-steps i.on { background: var(--b); transition: background .4s; }
.pv-pkg { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--paper-line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.pv-pkg.on { border-color: var(--b); background: color-mix(in srgb, var(--b) 8%, white); } .pv-pkg.on b { color: var(--b); }
.pv-pkg span small { display: block; color: var(--ink3); font-size: 12px; }
.pv-bays { display: flex; flex-direction: column; gap: 5px; }
.pv-bay { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ink3); animation: pop .35s var(--ease); }
.pv-bay div { flex: 1; height: 16px; background: var(--paper2); border-radius: 5px; position: relative; overflow: hidden; }
.pv-bay div i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--b); opacity: .85; }
.pv-btn { background: var(--b); color: #fff; border-radius: 12px; text-align: center; padding: 12px; font-weight: 800; transition: background .4s; }

/* add-ons row */
.addons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.addons-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-right: 4px; }
.addon { font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--muted); }
.addon b { color: var(--text); margin-left: 4px; }
.addon.hl { border-color: rgba(110,0,228,.5); background: rgba(110,0,228,.08); }
.addon.hl b { color: var(--teal2); }

.credit { display: inline-block; margin-top: 6px; font-size: 11px; color: var(--dim); }

.plan .quote-btn { margin-top: 4px; justify-content: center; }

/* vehicle type */
.vt-seg { display: inline-flex; gap: 4px; background: var(--paper2); border: 1px solid var(--paper-line); border-radius: 14px; padding: 4px; margin: 4px 0 18px; }
.vt-seg button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: 700 14px var(--font); color: var(--ink3); padding: 9px 18px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.vt-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,17,18,.12); }
.vt-seg button[data-v="car"].on svg { color: var(--car); } .vt-seg button[data-v="bike"].on svg { color: var(--bike); }
.vt-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.vt-dot.car { background: var(--car); } .vt-dot.bike { background: var(--bike); }
.vt-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.vt-tag.car { background: #e3f4ea; color: #157a41; } .vt-tag.bike { background: #e3ecfd; color: #1d4fbf; }

.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.vt-filter { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: 3px; }
.vt-filter button { border: 0; background: none; font: 700 13px var(--font); color: var(--ink3); padding: 7px 12px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; }
.vt-filter button.on { background: var(--ink); color: #fff; }
.vt-legend { display: flex; gap: 14px; font-size: 12px; font-weight: 700; color: var(--ink3); }
.mday .ev.car { background: #e3f4ea; color: #126b38; border-left: 3px solid var(--car); }
.mday .ev.bike { background: #e3ecfd; color: #1a46aa; border-left: 3px solid var(--bike); }
.pl-blk.confirmed.vt-car, .pl-blk.completed.vt-car { background: var(--car); }
.pl-blk.confirmed.vt-bike, .pl-blk.completed.vt-bike { background: var(--bike); }
.pl-blk.pending { box-shadow: inset 4px 0 0 var(--car); } .pl-blk.pending.vt-bike { box-shadow: inset 4px 0 0 var(--bike); }
.pl-blk.dim { opacity: .22; }
.svc-table .ro { color: var(--ink3); font-weight: 600; font-size: 13px; }

/* inventory */
.st-ok { background: var(--car); } .st-low { background: #e7a33e; } .st-now { background: #64748b; }
.pill.st-ok { background: #e3f4ea; color: #126b38; } .pill.st-low { background: #fdf1dd; color: #8a5a0c; } .pill.st-now { background: #e5e9ef; color: #334155; }
.pill.st-ok, .pill.st-low, .pill.st-now { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.inv-bar { height: 4px; background: var(--paper2); border-radius: 4px; margin-top: 6px; width: 110px; overflow: hidden; }
.inv-bar i { display: block; height: 100%; border-radius: 4px; }
.inv-table input, .use-row input { width: 86px; }
.inv-alert { display: flex; gap: 10px; align-items: flex-start; background: #fdf1dd; color: #6b4608; border: 1px solid #f1d9a8; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-size: 14px; }
.inv-alert.soft { background: #eef4fb; color: #1e3a6b; border-color: #d3e1f3; }
.inv-alert svg { flex: none; margin-top: 1px; }
.use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
@media (max-width: 760px) { .use-grid { grid-template-columns: 1fr; } }
.use-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.use-row span { flex: 1; } .use-row em { font-style: normal; color: var(--ink3); width: 26px; }
.rep-table td, .rep-table th { font-size: 13px; }
/* sustainability */
.env-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 1000px) { .env-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .env-top { grid-template-columns: 1fr; } }
.env-grade { display: flex; gap: 16px; align-items: center; }
.env-grade small, .env-kpi small { color: var(--ink3); font-weight: 700; font-size: 12px; display: block; }
.env-grade b { font-size: 20px; font-family: var(--display); display: block; }
.env-grade p, .env-kpi p { margin: 4px 0 0; font-size: 13px; color: var(--ink3); }
.grade { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font: 800 32px var(--display); color: #fff; }
.grade.sm { width: 26px; height: 26px; border-radius: 7px; font-size: 14px; display: inline-grid; vertical-align: middle; margin-right: 4px; }
.g-a { background: #1f9d55; } .g-b { background: #0e7490; } .g-c { background: #b45309; } .g-d { background: #475569; }
.env-kpi { position: relative; }
.env-kpi b { font-size: 24px; font-family: var(--display); display: block; margin-top: 4px; } .env-kpi b em { font-size: 13px; font-style: normal; color: var(--ink3); font-family: var(--font); }
.env-ic { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 10px; background: #e3f4ea; color: #157a41; display: grid; place-items: center; }
.env-good { color: #157a41; font-weight: 800; } .env-warn { color: #8a5a0c; font-weight: 800; }
.env-legend { display: flex; gap: 18px; font-size: 12px; font-weight: 700; color: var(--ink2); margin: 4px 0 10px; flex-wrap: wrap; }
.env-legend i { display: inline-block; width: 18px; height: 0; vertical-align: middle; margin-right: 6px; }
.lg-act { border-top: 2px solid #0e7490; } .lg-base { border-top: 2px dashed #94a3b8; }
.env-charts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 1100px) { .env-charts { grid-template-columns: 1fr; } }
.env-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.env-chart .grid { stroke: var(--paper-line); stroke-width: 1; }
.env-chart .ax { font: 600 11px var(--font); fill: var(--ink3); }
.env-chart .ln-act { fill: none; stroke: #0e7490; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.env-chart .ln-base { fill: none; stroke: #94a3b8; stroke-width: 2; stroke-dasharray: 5 4; }
.env-chart .pt-act { fill: #0e7490; stroke: #fff; stroke-width: 2; }
.env-chart rect[data-tip]:hover { fill: rgba(14,116,144,.06); }
.env-tip { position: fixed; z-index: 50; width: 180px; transform: translateY(-100%); background: var(--ink); color: #fff; font-size: 12px; line-height: 1.5; padding: 8px 10px; border-radius: 8px; pointer-events: none; }

.inv-two { grid-template-columns: 1.35fr 1fr; } @media (max-width: 1100px) { .inv-two { grid-template-columns: 1fr; } }
.inv-two .use-grid { grid-template-columns: 1fr; }
.env-chart .ax { font-size: 12px; }

/* booking assistant */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 80; font-family: var(--font); }
.chat-fab { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--brand); color: #fff; font: 800 15px var(--font); padding: 13px 18px 13px 15px; border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); transition: transform .2s var(--ease); }
.chat-fab:hover { transform: translateY(-2px); }
.chat.open .chat-fab { display: none; }
.chat-panel { width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100vh - 110px)); background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 24px 60px -12px rgba(0,0,0,.45); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--paper-line); }
.chat-panel[hidden] { display: none; }
.chat-panel header { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 16px; background: var(--brand); color: #fff; }
.chat-panel header div { flex: 1; min-width: 0; } .chat-panel header b { display: block; font-size: 15px; } .chat-panel header small { opacity: .85; font-size: 12px; }
.chat-av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.chat-x { border: 0; background: rgba(255,255,255,.15); color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; line-height: 1; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--paper2); }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--paper-line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg small { color: var(--ink3); }
.msg.typing { display: flex; gap: 4px; padding: 13px 14px; } .msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink3); animation: chdot 1s infinite; } .msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chdot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ch-tbl { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 13px; } .ch-tbl td { padding: 4px 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; } .ch-tbl td + td { text-align: right; padding-left: 10px; }
.ch-list { margin: 6px 0 8px; padding-left: 18px; } .ch-list li { margin: 2px 0; }
.ch-slots { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; } .ch-slots span { background: var(--brand-soft); color: var(--ink); font-weight: 700; font-size: 13px; padding: 4px 9px; border-radius: 8px; } .ch-slots .more { background: none; color: var(--ink3); }
.ch-btn { display: inline-block; margin-top: 8px; background: var(--brand); color: #fff; font-weight: 800; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.chat-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px 0; background: #fff; scrollbar-width: none; }
.chat-chips:empty { display: none; }
.chat-chips button { flex: none; border: 1px solid var(--paper-line); background: #fff; color: var(--ink2); font: 700 12.5px var(--font); padding: 6px 10px; border-radius: 999px; cursor: pointer; } .chat-chips button:hover { border-color: var(--brand); color: var(--ink); }
.chat-in { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.chat-in input { flex: 1; min-width: 0; border: 1px solid var(--paper-line); background: var(--paper2); border-radius: 12px; padding: 10px 12px; font: 500 14px var(--font); color: var(--ink); }
.chat-in input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.chat-in button { border: 0; background: var(--brand); color: #fff; width: 42px; border-radius: 12px; cursor: pointer; display: grid; place-items: center; }
@media (max-width: 560px) { .chat { right: 12px; bottom: 12px; } .chat-fab span { display: none; } .chat-fab { padding: 14px; } }

html, body { overflow-x: clip; }

/* landing: sustainability */
.sus { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .sus { grid-template-columns: 1fr; gap: 32px; } }
.sus-copy > p:not(.kicker) { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.sus-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.sus-list li { padding-left: 26px; position: relative; color: var(--muted); font-size: 15px; line-height: 1.55; }
.sus-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #34c77b; box-shadow: 0 0 0 4px rgba(52,199,123,.15); }
.sus-list b { color: var(--text); }
.sus-card { background: linear-gradient(160deg, #10201a, var(--panel) 60%); border: 1px solid var(--line2); border-radius: 24px; padding: 26px; }
.sus-top { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.sus-grade { width: 64px; height: 64px; border-radius: 16px; background: #1f9d55; color: #fff; display: grid; place-items: center; font: 800 32px var(--display); }
.sus-top small { color: var(--muted); font-weight: 700; display: block; font-size: 13px; } .sus-top b { font: 700 22px var(--display); }
.sus-row { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sus-row span { color: var(--muted); } .sus-row em { font-style: normal; color: #5fd897; font-weight: 800; font-size: 13px; }
.sus-row i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.sus-row i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #34c77b; border-radius: 4px; }
.sus-card p { color: var(--dim); font-size: 12px; margin: 14px 0 0; }
/* WhatsApp preview */
.wa-phone { max-width: 380px; margin: 4px auto 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--paper-line); }
.wa-top { display: flex; gap: 10px; align-items: center; background: #075e54; color: #fff; padding: 12px 14px; }
.wa-top .cx-logo { width: 36px; height: 36px; font-size: 13px; } .wa-top b { display: block; font-size: 15px; } .wa-top small { opacity: .8; font-size: 12px; }
.wa-chat { background: #ece5dd; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; max-height: 56vh; overflow-y: auto; }
.wa-day { align-self: center; background: #d9eef7; color: #33525e; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; }
.wa-msg { background: #fff; border-radius: 10px 10px 10px 2px; padding: 9px 11px 6px; max-width: 92%; font-size: 13.5px; line-height: 1.45; color: #111b21; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-msg p { margin: 0 0 6px; } .wa-msg small { display: block; text-align: right; color: #667781; font-size: 11px; }
.wa-quick { display: flex; flex-wrap: wrap; gap: 6px; } .wa-quick span { border: 1px solid #d1d7db; color: #027eb5; font-weight: 600; font-size: 12.5px; padding: 4px 9px; border-radius: 999px; }

/* model not listed: size chooser */
.other-model { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; padding: 14px; border: 1px dashed var(--paper-line); border-radius: 14px; background: var(--paper2); }
.size-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-top: 6px; }
.size-pick button { border: 1px solid var(--paper-line); background: #fff; border-radius: 12px; padding: 10px; text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.size-pick button b { display: block; font-size: 16px; } .size-pick button small { color: var(--ink3); font-size: 12px; font-weight: 600; }
.size-pick button.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; }

/* landing: inventory */
.inv-sec { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 960px) { .inv-sec { grid-template-columns: 1fr; } .inv-sec .inv-card { order: 2; } }
.inv-card { background: linear-gradient(160deg, #10182a, var(--panel) 60%); }
.inv-ic { background: #2563eb; }
.sus-row em.ok { color: #5fd897; } .sus-row em.warn { color: #f0b54a; }
.inv-card .sus-row i::after { background: #4d8af0; } .inv-card .sus-row.low i::after { background: #e7a33e; }

/* bookings table: sortable headers */
.bk-table th.sortable { padding: 0; }
.bk-table th.sortable button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 12px 14px; width: 100%; box-sizing: border-box; font: inherit; color: inherit; white-space: nowrap; }
.bk-table th.sortable button:hover, .bk-table th.sortable.on button { color: var(--ink); }
.bk-table th.sortable button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.sort-ic { font-size: 10px; opacity: .45; } .bk-table th.on .sort-ic { opacity: 1; color: var(--brand); }
.pill.walkin { background: #fdf1dd; color: #8a5a0c; } .pill.prebook { background: #e3ecfd; color: #1d4fbf; }
.bk-table td { vertical-align: top; }

.wa-msg.muted { opacity: .55; }

.ext-info { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--paper2); border: 1px solid var(--paper-line); font-size: 13.5px; }
.ext-info p { margin: 6px 0 0; color: var(--ink2); } .ext-info p.warn { color: #8a5a0c; font-weight: 700; }
.ext-info ul { margin: 6px 0 0; padding-left: 18px; }

/* WhatsApp templates */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.tpl { border: 1px solid var(--paper-line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.tpl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; } .tpl-head small { color: var(--ink3); flex: 1; }
.tpl textarea { width: 100%; box-sizing: border-box; font: 13px/1.5 var(--font); border: 1px solid var(--paper-line); border-radius: 10px; padding: 8px 10px; background: var(--paper2); color: var(--ink); resize: vertical; }
.tpl-prev { background: #ece5dd; border-radius: 10px; padding: 8px; } .tpl-prev small { color: #54656f; font-size: 11px; font-weight: 700; display: block; margin-bottom: 4px; }
.tpl-prev .wa-msg { max-width: 100%; }
code { font-size: 12px; background: var(--paper2); border: 1px solid var(--paper-line); border-radius: 6px; padding: 1px 5px; }
.pill.walkin, .pill.prebook { text-transform: none; }

.stat-help { grid-column: 1 / -1; display: block; color: var(--ink3); font-size: 12px; line-height: 1.4; margin-top: 6px; font-weight: 500; }
.band { font-style: normal; font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.band.profit { background: #e3f4ea; color: #126b38; } .band.even { background: #fdf1dd; color: #8a5a0c; } .band.loss { background: #e5e9ef; color: #334155; }
.band-set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: 13px; color: var(--ink2); }
.band-set span { display: inline-flex; align-items: center; gap: 6px; } .band-set input { width: 56px; }

@media (max-width: 1250px) { .env-top { grid-template-columns: repeat(3, 1fr); } }
.env-ic.money { background: #e3ecfd; color: #1d4fbf; }
.env-kpi b.neg, td.neg { color: #8a5a0c; }
.env-ch { font-size: 15px; display: flex; gap: 8px; align-items: center; } .env-ch small { color: var(--ink3); font-weight: 600; }
.env-two { grid-template-columns: 1.2fr 1fr; } @media (max-width: 1100px) { .env-two { grid-template-columns: 1fr; } }
.store-meter { font-size: 13px; color: var(--ink2); } .store-meter i { display: block; height: 6px; border-radius: 6px; background: var(--paper2); margin-top: 6px; overflow: hidden; } .store-meter i b { display: block; height: 100%; background: #0e7490; }
.f .hint { color: var(--ink3); font-weight: 600; font-size: 11.5px; }
@media (max-width: 1000px) { .env-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .env-top { grid-template-columns: 1fr; } }

.cust-cost { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line2); border-radius: 18px; background: var(--panel); }
.cust-cost b { display: block; font-size: 16px; margin-bottom: 6px; } .cust-cost p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; } .cust-cost p b { display: inline; font-size: inherit; color: var(--text); }

/* language picker */
.lang-sel { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23a7adb6' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--text); border: 1px solid var(--line2); border-radius: 12px; padding: 9px 28px 9px 12px; font: 700 14px var(--font); cursor: pointer; }
.lang-sel option { color: #111; }
.app-lang { padding: 6px 26px 6px 10px; font-size: 13px; border-radius: 10px; }
@media (max-width: 760px) { .nav-cta .lang-sel { padding: 8px 24px 8px 8px; font-size: 13px; } .nav-cta .btn-ghost { display: none; } }

/* ---- clean & minimal: solid colours, no glows or gradient text ---- */
.btn { border-radius: 10px; }
.btn-primary, .btn-coat { background: var(--teal) !important; box-shadow: none !important; }
.btn-primary:hover, .btn-coat:hover { background: #7c3aed !important; transform: none; }
.btn-coat::after, .hero::before, .feat::after { display: none !important; }
.logo span { background: none; color: var(--teal2); }
.hero h1 em, .how-step .num { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--teal2); }
.kicker .dot { animation: none; box-shadow: none; }
.stage, .sum-car { background: var(--bg2); }
.how-step, .feat.ws, .case-inner, .contact, .plan.pop, .sus-card, .inv-card, .cust-preview { background: var(--panel); }
.plan.pop { border-color: var(--teal); }
.demo-card, .demo-card:hover, .feat, .feat:hover, .plan, .plan:hover { box-shadow: none !important; }
.tilt { transform: none !important; }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 3px rgba(167,139,250,.45); }
.tag { background: rgba(109,40,217,.15); color: var(--teal2); }
.feat .ic { background: rgba(109,40,217,.15); color: var(--teal2); }

/* ---- plain: one accent colour on buttons only ---- */
.hero h1 em, .logo span, .how-step .num { color: inherit !important; }
.kicker { color: var(--muted); letter-spacing: .08em; }
.kicker .dot { display: none; }
.hero-proof li { border-left-color: var(--line2); }
.marquee { display: none !important; }
.tag, .feat .ic { background: rgba(255,255,255,.05); color: var(--muted); }
.feat .who b, .live { color: var(--muted) !important; }

/* ---- buttons: black with a purple border ---- */
.btn-primary, .btn-coat { background: #000 !important; color: #fff !important; border: 1px solid #8b5cf6 !important; box-shadow: none !important; }
.btn-primary:hover, .btn-coat:hover { background: #0d0a1a !important; border-color: var(--teal2) !important; }
.chip[aria-checked="true"], .app-bar .seg [aria-selected="true"], .app-bar .seg .on, .chat-fab { background: #000 !important; color: #fff !important; border: 1px solid #8b5cf6 !important; }

/* carbon footprint panel */
.fp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.fp-total > b { display: block; font-size: 34px; font-family: var(--display); margin: 4px 0 2px; }
.fp-total > b em { font-size: 15px; font-style: normal; color: var(--ink3); }
.fp-total p { margin: 0 0 10px; color: var(--ink3); font-size: 13px; }
.fp-eq { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--paper2); margin-top: 8px; font-size: 14px; }
.fp-stack { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--paper2); margin: 10px 0 12px; }
.fp-bar { display: block; height: 100%; }
.s1 { background: #b45309; } .s2 { background: #1d4fbf; } .s3 { background: #0e7490; }
.fp-row { display: grid; grid-template-columns: 12px 1fr auto 44px; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--paper-line); }
.fp-dot { width: 10px; height: 10px; border-radius: 3px; display: block; }
.fp-pct { text-align: right; color: var(--ink3); }
.fp-cmp { display: grid; grid-template-columns: 170px 1fr 90px; gap: 10px; align-items: center; font-size: 14px; margin: 10px 0; }
.fp-cmp i { display: block; height: 10px; border-radius: 99px; background: var(--paper2); overflow: hidden; }
.fp-cmp i b { display: block; height: 100%; background: #94a3b8; }
.fp-cmp.me i b { background: var(--brand); }
.fp-cmp span:last-child { text-align: right; font-weight: 700; }
.fp-tgt { width: 64px; padding: 4px 6px; border: 1px solid var(--paper-line); border-radius: 8px; font-weight: 700; }
.fp-tips { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
@media (max-width: 760px) { .fp-grid { grid-template-columns: 1fr; } .fp-cmp { grid-template-columns: 110px 1fr 80px; font-size: 13px; } }

/* social links in the footer */
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line2); color: var(--muted); transition: color .15s, border-color .15s; }
.socials a:hover { color: #fff; border-color: #8b5cf6; }
@media (min-width: 761px) { .footer { padding-right: 190px; } }

/* social links in the contact section */
.contact-social { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact-social > span { color: var(--dim); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.contact-social > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.contact-social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line2); border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; transition: color .15s, border-color .15s; }
.contact-social a:hover { color: #fff; border-color: #8b5cf6; }
.contact-social a, .contact-social a span { text-decoration: none !important; }

/* hero: live chatbot in place of the 3D car */
.stage-chat { background: none !important; border: 0 !important; padding: 0 !important; min-height: 0 !important; display: flex; align-items: stretch; }
.hero-chat { width: 100%; }
.chat-panel.chat-inline { position: static !important; display: flex; flex-direction: column; width: 100%; height: 520px; max-height: none; transform: none !important; opacity: 1 !important; border: 1px solid var(--line2); border-radius: 18px; box-shadow: none; }
.chat-inline .chat-log { flex: 1; }
.chat-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #4ade80; font-weight: 600; }
.chat-live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
@media (max-width: 760px) { .chat-panel.chat-inline { height: 440px; } }

/* ---- hero chat: dark glass look ---- */
.stage-chat { position: relative; padding: 28px 8px !important; overflow: visible !important; }
.stage-chat::before { content: ''; position: absolute; inset: 8% 6%; background: radial-gradient(closest-side, rgba(109,40,217,.32), transparent 72%); filter: blur(30px); z-index: 0; pointer-events: none; }
.hero-chat { position: relative; z-index: 1; max-width: 520px; margin-left: auto; }
.chat-panel.chat-inline { background: rgba(14,19,40,.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: var(--text); border: 1px solid rgba(255,255,255,.09); border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; height: 500px; }
.chat-inline header { background: transparent; color: var(--text); border-bottom: 1px solid rgba(255,255,255,.07); padding: 16px 18px; }
.chat-inline header small { color: var(--muted); opacity: 1; }
.chat-inline .chat-av { background: #6d28d9; border-radius: 10px; color: #fff; }
.chat-inline .chat-log { background: transparent; padding: 18px; gap: 10px; }
.chat-inline .msg { font-size: 14px; }
.chat-inline .msg.bot { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: var(--text); }
.chat-inline .msg.me { background: #6d28d9; color: #fff; }
.chat-inline .msg small, .chat-inline .msg .ch-note { color: var(--muted); }
.chat-inline .msg.typing i { background: var(--muted); }
.chat-inline .ch-tbl td { border-bottom-color: rgba(255,255,255,.08); }
.chat-inline .ch-slots span { background: rgba(139,92,246,.16); color: #ddd6fe; }
.chat-inline .ch-btn { background: #000; border: 1px solid #8b5cf6; }
.chat-inline .chat-chips { background: transparent; padding: 4px 16px 0; }
.chat-inline .chat-chips button { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); color: var(--muted); border-radius: 999px; }
.chat-inline .chat-chips button:hover { color: #fff; border-color: #8b5cf6; }
.chat-inline .chat-in { background: transparent; padding: 12px 16px 16px; }
.chat-inline .chat-in input { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--text); border-radius: 12px; padding: 12px 14px; }
.chat-inline .chat-in input::placeholder { color: var(--dim); }
.chat-inline .chat-in input:focus { outline: 1px solid #8b5cf6; }
.chat-inline .chat-in button { background: #6d28d9; border-radius: 12px; }
.chat-inline .chat-live { color: #4ade80; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.2); }
.chat-inline .chat-live i { box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
/* floating "live" cards */
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgba(17,23,48,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; box-shadow: 0 20px 50px -18px rgba(0,0,0,.8); animation: fcfloat 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 13.5px; color: var(--text); }
.float-card small { display: flex; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 2px; }
.fc-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(139,92,246,.18); color: #c4b5fd; font-weight: 800; flex: none; }
.fc-ic.ok { background: rgba(74,222,128,.14); color: #4ade80; }
.fc-slot { padding: 1px 7px; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--text); }
.fc-top { top: 2px; left: -26px; }
.fc-bottom { bottom: 0; right: -18px; animation-delay: -3s; }
@keyframes fcfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }
@media (max-width: 1100px) { .fc-top { left: 0; } .fc-bottom { right: 0; } }
@media (max-width: 760px) { .float-card { display: none; } .stage-chat { padding: 8px 0 !important; } .hero-chat { max-width: none; } .chat-panel.chat-inline { height: 460px; } }
.stage-chat { padding: 56px 8px 48px !important; }
.fc-top { top: 0; left: auto; right: 150px; }
.fc-bottom { bottom: 0; right: auto; left: 40px; }
@media (min-width: 761px) and (max-width: 1100px) { .fc-top { right: 40px; } .fc-bottom { left: 0; } }
@media (min-width: 761px) { .stage-chat { padding-bottom: 88px !important; } .fc-bottom { bottom: 4px; } }
@media (min-width: 761px) { .stage-chat .fc-bottom { bottom: -30px; } }

/* support policy page */
:root { --hair: rgba(255,255,255,.08); --hair2: rgba(255,255,255,.14); --accent: #8b5cf6; }
.doc { max-width: 920px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px) 80px; }
.doc-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; margin: 0 0 16px; }
.doc-head .lead { font-size: 18px; max-width: 64ch; margin: 0; }
.doc-meta { color: var(--dim); font-size: 14px; margin: 16px 0 0; }
.doc-sec { padding-top: 56px; margin-top: 56px; border-top: 1px solid var(--hair); }
.doc-sec h2 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 16px; }
.doc-sec p { color: var(--muted); max-width: 70ch; line-height: 1.65; }
.doc-sec a { color: var(--text); }
.doc-table { overflow-x: auto; margin: 20px 0; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.doc-table th { background: none; text-align: left; font-weight: 500; color: var(--dim); text-transform: none; letter-spacing: 0; font-size: 14px; padding: 0 16px 12px 0; border-bottom: 1px solid var(--hair2); }
.doc-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--hair); vertical-align: top; color: var(--muted); line-height: 1.5; }
.doc-table td b, .doc-table td:first-child { color: var(--text); font-weight: 500; }
.sup-form { display: grid; gap: 18px; margin-top: 24px; max-width: 680px; }
.sup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sup-form .field { color: var(--muted); }
.sup-form input, .sup-form select, .sup-form textarea { font: inherit; font-size: 15px; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--hair2); border-radius: 10px; padding: 12px 14px; }
.sup-form input:focus, .sup-form select:focus, .sup-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.sup-form select option { background: #0e1329; }
.sup-form .btn { justify-self: start; }
.sup-err { color: #fca5a5; margin: 0; }
.sup-done { margin-top: 24px; padding: 28px; border: 1px solid var(--hair2); border-radius: 16px; }
.sup-done h3 { font-size: 22px; margin: 0 0 8px; }
.sup-done:focus { outline: none; }
@media (max-width: 640px) { .sup-row { grid-template-columns: 1fr; } .doc-page .nav-links { display: none; } }

.doc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.doc-two h3 { font-size: 17px; margin: 0 0 8px; }
.doc-list { color: var(--muted); padding-left: 18px; margin: 8px 0 0; line-height: 1.6; display: grid; gap: 6px; max-width: 70ch; }
@media (max-width: 640px) { .doc-two { grid-template-columns: 1fr; } }
.doc-note { color: var(--muted); max-width: 70ch; margin: 14px 0 0; line-height: 1.6; }
/* Zres logo */
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(80,220,240,.35)); }
.logo .logo-word, .logo span.logo-word { background: linear-gradient(90deg, #a24ee8, #6d8fe0 55%, #5fd0d8); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.nav-links a { white-space: nowrap; }
.nav .logo { flex-shrink: 0; margin-right: 20px; }
.nav .logo .logo-word { background-image: linear-gradient(90deg, #a24ee8, #6d8fe0 55%, #5fd0d8) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent; }
footer .logo .logo-word { background-image: linear-gradient(90deg, #a24ee8, #6d8fe0 55%, #5fd0d8) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent; }
@media (max-width: 1320px) { .nav-links { gap: 18px; } .nav-links a { font-size: 13.5px; } }
