/* ---------- Public website ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(244, 244, 241, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); border: 0; background: none; padding: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--lime); display: inline-flex; align-items: center; justify-content: center; }
.logo-mark .ic { width: 22px; height: 22px; }
.logo-txt { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.logo-txt b { color: var(--lime-ink); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { border: 0; background: none; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); }
.nav-link:hover { background: #E9E9E4; }
.nav .lang { margin: 0 8px; }
.menu-btn { display: none; }
.sheet { display: none; }

/* hero */
.hero { padding: 8px 16px 0; }
.hero-card { max-width: 1320px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 56px 48px 28px; display: flex; flex-direction: column; gap: 40px; position: relative; overflow: hidden; }
.hero-card::before { content: ''; position: absolute; right: -180px; top: -220px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 242, 59, .16), rgba(212, 242, 59, 0) 65%); pointer-events: none; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; position: relative; }
.hero-txt { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink-3); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; color: #C9CBCF; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(212, 242, 59, .18); }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-sub { font-size: 18px; line-height: 1.6; color: #B7B9BE; max-width: 540px; }
.perks { display: flex; flex-wrap: wrap; gap: 8px; }
.perk { display: inline-flex; align-items: center; gap: 8px; background: var(--ink-2); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 600; color: #E3E4E6; }
.perk .ic { color: var(--lime); width: 16px; height: 16px; }
.perk .ic svg { stroke-width: 2.6; }
.hero-visual { flex: 1 1 440px; min-height: 340px; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-disc { position: absolute; width: min(430px, 92%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #F4F5EE, #D9DBD2 72%); box-shadow: 0 0 0 14px rgba(255,255,255,.04), 0 0 0 30px rgba(255,255,255,.025); }
.hero-car { position: relative; width: 100%; max-width: 560px; animation: drive 1s cubic-bezier(.2, .8, .2, 1) both; }
.hero-car img { border-radius: 22px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
@keyframes drive { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.price-tag { position: absolute; top: 4px; right: 4px; background: var(--lime); color: var(--ink); border-radius: 18px; padding: 12px 16px; display: flex; flex-direction: column; line-height: 1.15; }
.price-tag small { font-size: 12px; font-weight: 700; }
.price-tag strong { font-family: var(--display); font-weight: 700; font-size: 24px; }
.price-tag strong span { font-family: var(--font); font-size: 13px; }
.feat-pill { position: absolute; left: 4px; bottom: 4px; background: #fff; color: var(--ink); border-radius: 18px; padding: 10px 10px 10px 16px; display: flex; align-items: center; gap: 14px; text-decoration: none; box-shadow: var(--shadow); }
.feat-pill span { display: flex; flex-direction: column; line-height: 1.2; }
.feat-pill small { font-size: 12px; color: var(--muted); font-weight: 700; }
.feat-pill b { font-size: 15px; }
.feat-pill .icon-btn { background: var(--ink); color: var(--lime); width: 40px; height: 40px; }

/* search bar */
.searchbar { position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.sb-cell { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 14px; background: var(--paper); min-width: 0; }
.sb-cell label, .sb-cell .lbl { font-size: 12px; font-weight: 700; color: var(--muted); }
.sb-cell select, .sb-cell input { border: 0; background: transparent; padding: 4px 0; font-size: 16px; font-weight: 700; color: var(--ink); width: 100%; min-height: 32px; }
.sb-cell select:focus, .sb-cell input:focus { outline: none; }
.sb-cell:focus-within { box-shadow: 0 0 0 3px var(--lime) inset; }
.sb-days { flex: 0 1 120px; }
.sb-days strong { font-size: 16px; padding: 4px 0; min-height: 32px; display: flex; align-items: center; }
.searchbar .btn { flex: 0 1 200px; min-height: 64px; border-radius: 14px; }
.date-err { position: absolute; left: 12px; bottom: -34px; font-size: 13px; color: #FFB4B4; font-weight: 700; }

/* sections */
.sec { padding: 80px 0 16px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.sec-title { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.02em; }
.sec-sub { font-size: 15px; color: var(--muted); margin-top: 8px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.sort select { min-height: 44px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 16px; font-size: 14px; font-weight: 600; background: #fff; }

/* filters */
.filters { background: #fff; border-radius: 22px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-end; margin-bottom: 20px; }
.fgroup { display: flex; flex-direction: column; gap: 8px; }
.fgroup > span, .fgroup > label > span.l { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.frange { flex: 1 1 220px; }
.frange label { display: flex; flex-direction: column; gap: 10px; }
.frange .row { display: flex; justify-content: space-between; align-items: baseline; }
.frange output { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: 0; text-transform: none; }
input[type=range] { width: 100%; accent-color: var(--ink); height: 28px; }
.linkbtn { border: 0; background: none; font-size: 14px; font-weight: 700; text-decoration: underline; padding: 10px 4px; }

/* car grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ccard { background: #fff; border-radius: 24px; padding: 10px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; animation: up .45s ease both; position: relative; }
.ccard:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(13, 14, 16, .12); }
.ccard .media { height: 190px; border-radius: 18px; }
.ccard .media .car-art { transition: transform .4s ease; }
.ccard:hover .media .car-art { transform: translateX(6px) scale(1.03); }
.ccard .tagl { position: absolute; top: 12px; left: 12px; }
.tag { background: #fff; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; }
.tag.eco { background: var(--lime); }
.fav { position: absolute; top: 8px; right: 8px; background: #fff; }
.fav[aria-pressed="true"] { color: #E5484D; }
.fav[aria-pressed="true"] svg { fill: #E5484D; stroke: #E5484D; }
.status-note { position: absolute; bottom: 10px; left: 10px; }
.cbody { padding: 16px 10px 8px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cbody h3 { font-size: 19px; font-weight: 800; }
.cbody h3 a { text-decoration: none; }
.cbody h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 24px; }
.cmeta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.specs-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.specs-mini > span { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 600; }
.specs-mini .ic { width: 15px; height: 15px; color: var(--muted); }
.cfoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: flex; align-items: baseline; gap: 2px; }
.price strong { font-family: var(--display); font-weight: 700; font-size: 24px; }
.price span { font-size: 13px; color: var(--muted); font-weight: 600; }
.ccard .cfoot .btn { position: relative; z-index: 2; }
.ccard .fav { position: absolute; z-index: 2; }
.empty { background: #fff; border-radius: 24px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-weight: 700; }

/* steps & faq */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; }
.step h3 { font-size: 19px; font-weight: 800; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.faq details { background: #fff; border-radius: 20px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-size: 17px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pl { width: 32px; height: 32px; border-radius: 50%; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s; flex: none; }
.faq details[open] summary .pl { transform: rotate(45deg); background: var(--lime); }
.faq details p { padding: 0 0 20px; color: #4A4D52; line-height: 1.65; max-width: 720px; }
.cta { margin-top: 80px; background: var(--lime); border-radius: var(--r-xl); padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; max-width: 640px; }

/* footer */
.ftr { padding: 64px 16px 16px; }
.ftr-card { max-width: 1320px; margin: 0 auto; background: var(--ink); color: #B7B9BE; border-radius: var(--r-xl); padding: 44px 40px 28px; display: flex; flex-direction: column; gap: 32px; }
.ftr-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 15px; }
.ftr-cols > div { display: flex; flex-direction: column; gap: 10px; }
.ftr .logo { color: #fff; }
.ftr .logo-txt b { color: var(--lime); }
.ftr h4 { margin: 0; color: #fff; font-size: 15px; font-weight: 800; }
.ftr a { color: #D7D9DC; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ftr a:hover { color: #fff; }
.ftr .ic { width: 16px; height: 16px; color: var(--lime); }
.ftr-bot { border-top: 1px solid var(--ink-3); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.ftr-bot a { display: inline; text-decoration: underline; }
.demo-strip { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* car page */
.page { padding: 12px 0 0; animation: up .4s ease both; }
.backbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; text-decoration: none; margin-bottom: 20px; }
.split { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.split-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.split-side { flex: 1 1 340px; position: sticky; top: 92px; }
.gallery { background: #fff; border-radius: 28px; padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.gallery .main { height: clamp(260px, 42vw, 460px); border-radius: 22px; }
.gallery .main .car-art { width: 78%; }
.gal-nav { position: absolute; top: 50%; margin-top: -22px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.gal-nav.prev { left: 14px; } .gal-nav.next { right: 14px; }
.gal-count { position: absolute; bottom: 14px; left: 14px; background: rgba(13, 14, 16, .75); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
.thumbs button { height: 76px; border-radius: 14px; border: 3px solid transparent; padding: 0; overflow: hidden; background: var(--paper); opacity: .65; transition: opacity .15s; }
.thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.car-head { display: flex; flex-direction: column; gap: 10px; }
.car-head .badge { align-self: flex-start; }
.car-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; }
.car-head p { font-size: 16px; line-height: 1.65; color: #4A4D52; max-width: 700px; }
.h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.spec { background: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.spec span { font-size: 13px; font-weight: 600; color: var(--muted); }
.spec strong { font-size: 17px; font-weight: 800; }
.feats { display: flex; flex-wrap: wrap; gap: 8px; }
.feats > span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.feats .ic { color: var(--lime-ink); width: 16px; height: 16px; }
.feats .ic svg { stroke-width: 2.6; }
.rows { background: #fff; border-radius: 22px; padding: 4px 22px; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid #EFEEEA; font-size: 15px; }
.rows > div:last-child { border-bottom: 0; }
.rows span { color: var(--muted); }
.rows strong { text-align: right; }

/* booking box */
.bbox { background: var(--ink); color: #fff; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.bbox .bprice { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.bbox .bprice strong { font-family: var(--display); font-weight: 700; font-size: 38px; color: var(--lime); }
.bbox .bprice span { color: #B7B9BE; font-weight: 600; }
.bbox .bprice small { width: 100%; color: #9EA1A7; font-size: 13px; font-weight: 600; }
.bfields { background: var(--ink-2); border-radius: 18px; padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bfields .bf { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; }
.bfields .bf:focus-within { background: #24272C; }
.bfields .bf.wide { grid-column: 1 / -1; }
.bfields label { font-size: 12px; font-weight: 700; color: #9EA1A7; }
.bfields input, .bfields select { background: transparent; border: 0; color: #fff; font-size: 15px; font-weight: 700; padding: 2px 0; min-height: 30px; width: 100%; color-scheme: dark; }
.bfields select option { color: var(--ink); }
.bfields input:focus, .bfields select:focus { outline: none; }
.bx-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #9EA1A7; text-transform: uppercase; }
.xtra { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; border: 0; background: transparent; color: #fff; padding: 0; text-align: left; }
.xtra span { display: flex; flex-direction: column; }
.xtra b { font-size: 15px; }
.xtra small { font-size: 13px; color: #9EA1A7; }
.xtra .switch { background: #3A3D42; }
.xtra[aria-checked="true"] .switch { background: var(--lime); }
.xtra[aria-checked="true"] .switch::after { background: var(--ink); }
.sumrows { border-top: 1px solid var(--ink-3); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.sumrows > div { display: flex; justify-content: space-between; gap: 10px; }
.sumrows span { color: #9EA1A7; }
.sumrows .tot { padding-top: 6px; align-items: baseline; }
.sumrows .tot span { color: #fff; font-weight: 800; }
.sumrows .tot strong { font-family: var(--display); font-weight: 700; font-size: 30px; }
.bbox .note { font-size: 13px; color: #9EA1A7; text-align: center; }
.bbox .alert { background: #3A1A1C; color: #FFB4B4; }

/* booking form page */
.stepper > span { display: inline-flex; align-items: center; gap: 8px; }
.stepper { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 20px; }
.stepper i { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; background: #E7E7E2; color: var(--ink); }
.stepper .s-done i { background: var(--ink); color: var(--lime); }
.stepper .s-cur { color: var(--ink); }
.stepper .s-cur i { background: var(--lime); }
.stepper hr { width: 28px; height: 2px; border: 0; background: var(--line-2); margin: 0; }
.formcard { background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.formcard h1 { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -.02em; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.sumcard { background: #fff; border-radius: 28px; padding: 10px 10px 22px; display: flex; flex-direction: column; gap: 16px; }
.sumcard .media { height: 160px; border-radius: 20px; }
.sumcard .media .car-art { width: 70%; }
.sumcard .inner { padding: 0 12px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.sumcard .r { display: flex; justify-content: space-between; gap: 12px; }
.sumcard .r span { color: var(--muted); }
.sumcard .r b { text-align: right; }
.sumcard .tot { border-top: 1px solid #EFEEEA; padding-top: 12px; align-items: baseline; }
.sumcard .tot b { font-family: var(--display); font-size: 26px; }
.payinfo { background: var(--lime-soft); color: #3F4F00; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; }

/* done */
.done { max-width: 620px; margin: 24px auto 0; background: #fff; border-radius: 32px; padding: 48px 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; animation: pop .35s ease both; }
.done-ic { width: 88px; height: 88px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; animation: pop .5s .15s ease both; }
.done-ic .ic { width: 42px; height: 42px; }
.done-ic .ic svg { stroke-width: 2.6; }
.done h1 { font-family: var(--display); font-weight: 600; font-size: 32px; letter-spacing: -.02em; }
.done p { font-size: 16px; line-height: 1.6; color: #4A4D52; max-width: 440px; }
.codebox { background: var(--paper); border-radius: 18px; padding: 14px 26px; display: flex; flex-direction: column; gap: 2px; }
.codebox small { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.codebox strong { font-family: var(--display); font-size: 26px; }
.done .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* responsive */
@media (max-width: 980px) {
  .nav .nav-link, .nav .lang, .nav .btn { display: none; }
  .menu-btn { display: inline-flex; background: #fff; }
  .sheet { position: fixed; inset: 0; z-index: 80; background: rgba(13, 14, 16, .45); }
  .sheet.open { display: block; animation: fade .2s ease; }
  .sheet-in { position: absolute; top: 10px; left: 10px; right: 10px; background: #fff; border-radius: 26px; padding: 18px; display: flex; flex-direction: column; gap: 6px; animation: up .25s ease; }
  .sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .sheet .nav-link { font-size: 18px; text-align: left; padding: 14px 12px; }
  .sheet .lang { align-self: flex-start; margin: 10px 0; }
  .split-side { position: static; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 4px 8px 0; }
  .hero-card { padding: 32px 18px 18px; border-radius: 26px; gap: 28px; }
  .hero-visual { min-height: 220px; }
  .price-tag { padding: 8px 12px; } .price-tag strong { font-size: 19px; }
  .feat-pill { position: relative; left: auto; bottom: auto; margin-top: 12px; }
  .hero-visual { flex-direction: column; }
  .searchbar { border-radius: 18px; }
  .sb-cell { flex-basis: 100%; }
  .sb-days { flex-basis: 100%; }
  .searchbar .btn { flex-basis: 100%; }
  .sec { padding-top: 56px; }
  .filters { padding: 16px; }
  .cta { padding: 28px 22px; }
  .ftr { padding: 48px 8px 8px; }
  .ftr-card { padding: 32px 22px 22px; border-radius: 26px; }
  .formcard { padding: 22px; }
  .bfields { grid-template-columns: 1fr; }
}

.credit { margin: -18px 0 0 10px; font-size: 12px; color: var(--muted); }
.credit a { color: var(--muted); }
.hero-car img { box-shadow: 0 30px 60px rgba(0,0,0,.45); }

.hdr .logo { gap: 12px; }
.hdr .logo .dlogo { font-size: 22px; }
.ftr .logo { color: #fff; }
.ftr .dlogo { font-size: 22px; }
.sheet-top .dlogo { font-size: 20px; }
@media (max-width: 420px) { .hdr .demo-tag { display: none; } }

/* ---------- Dark mode (website only) ---------- */
.theme-btn { background: transparent; color: var(--ink); }
.theme-btn .moon { display: inline-flex; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0B0A10; --card: #16151D; --card-2: #201F29; --line: #2A2933; --line-2: #383743;
  --muted: #A6A4B2; --text: #EEEDF3; --raise: #121119; --raise-line: #26252F;
}
:root[data-theme="dark"] body { color: var(--text); background: var(--paper); }
:root[data-theme="dark"] .hdr { background: rgba(11, 10, 16, .82); }
:root[data-theme="dark"] .hdr.scrolled { border-bottom-color: var(--line); }
:root[data-theme="dark"] .logo, :root[data-theme="dark"] .nav-link, :root[data-theme="dark"] .theme-btn { color: var(--text); }
:root[data-theme="dark"] .nav-link:hover { background: var(--card-2); }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: inline-flex; }
:root[data-theme="dark"] .demo-tag { background: rgba(124, 92, 255, .2); color: #C9BCFF; }

/* raised dark panels keep a visible edge on the dark page */
:root[data-theme="dark"] .hero-card, :root[data-theme="dark"] .ftr-card, :root[data-theme="dark"] .bbox { background: var(--raise); border: 1px solid var(--raise-line); }
:root[data-theme="dark"] .hero-card::before { background: radial-gradient(circle, rgba(124, 92, 255, .22), rgba(124, 92, 255, 0) 65%); }
:root[data-theme="dark"] .hero-disc { background: radial-gradient(circle at 50% 35%, #2B2A36, #17161E 72%); box-shadow: 0 0 0 14px rgba(124, 92, 255, .06), 0 0 0 30px rgba(124, 92, 255, .03); }

/* surfaces */
:root[data-theme="dark"] :is(.ccard, .filters, .step, .faq details, .spec, .feats > span, .rows, .formcard, .sumcard, .done, .backbtn, .searchbar, .empty, .gallery, .feat-pill, .sheet-in, .tag, .fav, .menu-btn) { background: var(--card); color: var(--text); }
:root[data-theme="dark"] .ccard { border: 1px solid var(--line); }
:root[data-theme="dark"] .ccard:hover { box-shadow: 0 22px 46px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .tag.eco { background: var(--lime); color: #0D0E10; }
:root[data-theme="dark"] :is(.sb-cell, .specs-mini > span, .faq summary .pl, .codebox, .thumbs button, .icon-btn) { background: var(--card-2); color: var(--text); }
:root[data-theme="dark"] .fav { background: var(--card); }
:root[data-theme="dark"] .fav[aria-pressed="true"] { color: #FF6B70; }
:root[data-theme="dark"] .sb-cell select, :root[data-theme="dark"] .sb-cell input, :root[data-theme="dark"] .frange output { color: var(--text); }
:root[data-theme="dark"] .feat-pill { box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
:root[data-theme="dark"] .feat-pill .icon-btn { background: var(--lime); color: #0D0E10; }
:root[data-theme="dark"] .rows > div, :root[data-theme="dark"] .sumcard .tot { border-color: var(--line); }
:root[data-theme="dark"] .faq details p, :root[data-theme="dark"] .car-head p, :root[data-theme="dark"] .done p { color: #C3C1CE; }
:root[data-theme="dark"] .payinfo { background: rgba(212, 242, 59, .12); color: var(--lime); }
:root[data-theme="dark"] .feats .ic { color: var(--lime); }
:root[data-theme="dark"] .alert { background: #3A1A1C; color: #FFB4B4; }
:root[data-theme="dark"] .stepper i { background: var(--card-2); color: var(--text); }
:root[data-theme="dark"] .stepper .s-done i { background: var(--lime); color: #0D0E10; }
:root[data-theme="dark"] .stepper .s-cur { color: var(--text); }
:root[data-theme="dark"] .thumbs button[aria-current="true"] { border-color: var(--lime); }

/* controls */
:root[data-theme="dark"] .btn-dark { background: var(--text); color: #0D0E10; }
:root[data-theme="dark"] .btn-dark .ic { color: #0D0E10; }
:root[data-theme="dark"] .cta .btn-dark { background: #0D0E10; color: #fff; }
:root[data-theme="dark"] .cta .btn-dark .ic { color: var(--lime); }
:root[data-theme="dark"] .cta h2 { color: #0D0E10; }
:root[data-theme="dark"] .btn-ghost { background: var(--card); border-color: var(--line-2); color: var(--text); }
:root[data-theme="dark"] .seg { background: var(--card-2); }
:root[data-theme="dark"] .seg button { color: #C9C7D3; }
:root[data-theme="dark"] .seg button[aria-pressed="true"] { background: var(--text); color: #0D0E10; }
:root[data-theme="dark"] .chip { background: var(--card); border-color: var(--line-2); color: var(--text); }
:root[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #0D0E10; }
:root[data-theme="dark"] .lang { background: var(--card-2); }
:root[data-theme="dark"] .lang button { color: var(--muted); }
:root[data-theme="dark"] .lang button[aria-pressed="true"] { background: var(--text); color: #0D0E10; }
:root[data-theme="dark"] .sort select { background: var(--card); border-color: var(--line-2); color: var(--text); }
:root[data-theme="dark"] .input, :root[data-theme="dark"] .select, :root[data-theme="dark"] .textarea { background: var(--card-2); border-color: var(--line-2); color: var(--text); }
:root[data-theme="dark"] .input:focus, :root[data-theme="dark"] .textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(212, 242, 59, .2); }
:root[data-theme="dark"] .field { color: #C9C7D3; }
:root[data-theme="dark"] input[type=range], :root[data-theme="dark"] .check input { accent-color: var(--lime); }
:root[data-theme="dark"] .toast { background: var(--text); color: #0D0E10; }
.theme-btn-m { display: none; }
@media (max-width: 980px) { .nav .theme-btn { display: none; } .nav .theme-btn-m { display: inline-flex; background: #fff; } :root[data-theme="dark"] .nav .theme-btn-m { background: var(--card); } }
:root[data-theme="dark"] .step-n { color: #0D0E10; }
