/* Blue Camel Studios - one stylesheet for the website and the back-end */
:root {
  --navy: #0b1a2e;
  --navy-2: #12284a;
  --blue: #1e6bd6;
  --blue-dark: #1556b0;
  --sky: #4aa3ff;
  --sand: #e8b366;
  --sand-dark: #d39a45;
  --sand-soft: #fbf1e1;
  --ink: #16202e;
  --text: #3b4656;
  --muted: #6b7685;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --success: #1f9d61;
  --danger: #d64045;
  --warning: #c98a12;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(11, 26, 46, .08);
  --shadow-lg: 0 24px 60px rgba(11, 26, 46, .16);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font);
  --btn-radius: 999px;
  --tint: #e9f0fb;
  --tint-2: #f4f8fd;
  --tint-border: #b4cdf1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { background: var(--bg-alt); padding: .1em .4em; border-radius: 5px; font-size: .9em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); }
.muted-light { color: rgba(255, 255, 255, .72); }
.small { font-size: .875rem; }
.center { text-align: center; justify-content: center; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.inline { display: inline; margin: 0; }
.stack { display: grid; gap: 22px; align-content: start; }
.stack-sm { display: grid; gap: 8px; margin: 12px 0; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* icons */
.icon { display: inline-flex; width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.icon svg { width: 100%; height: 100%; }
.logo-mark { display: inline-flex; width: 38px; height: 38px; flex: none; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-mark.big { width: 56px; height: 56px; }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--tint-2), var(--tint)); color: var(--blue); margin-bottom: 14px; }
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.big { width: 64px; height: 64px; }
.icon-badge.big svg { width: 32px; height: 32px; }
.icon-badge.success { background: #e2f6ec; color: var(--success); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: var(--btn-radius); border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid rgba(74, 163, 255, .5); outline-offset: 2px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--blue) 30%, transparent); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-sand { background: var(--sand); color: var(--navy); box-shadow: 0 6px 16px color-mix(in srgb, var(--sand) 40%, transparent); }
.btn-sand:hover { background: var(--sand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); }
.btn-link { background: none; color: var(--muted); padding-inline: .5em; }
.btn-link:hover { color: var(--blue); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f1c4c6; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-small { padding: .5em .95em; font-size: .87rem; }
.btn-large { padding: .92em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--ink); text-decoration: none !important; letter-spacing: -.01em; }
.brand-light { color: #fff; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 20px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .95rem; text-decoration: none; }
.site-nav ul a:hover { background: var(--bg-alt); color: var(--ink); }
.site-nav ul a.active { color: var(--blue); background: var(--tint); }
.nav-account { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle span:not(.sr) { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.flashes { margin-top: 18px; }

/* alerts */
.alert { position: relative; padding: 13px 44px 13px 16px; border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid; font-weight: 500; }
.alert-success { background: #e9f8f0; border-color: #b9e6cf; color: #145c3b; }
.alert-error { background: #fdecec; border-color: #f4c2c4; color: #8d2427; }
.alert-info { background: var(--tint); border-color: var(--tint-border); color: var(--navy-2); }
.alert-warning { background: #fff6e3; border-color: #f2dba8; color: #7a5410; }
.alert-close { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: inherit; opacity: .6; }
.alert-close:hover { opacity: 1; }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 500px at 85% -10%, color-mix(in srgb, var(--sky) 35%, transparent), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, color-mix(in srgb, var(--navy-2) 70%, var(--blue)) 100%); color: #fff; padding: 90px 0 110px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .8); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--sand); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.lead-sm { font-size: 1.06rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; min-height: 380px; }
.mock-window { position: absolute; inset: 10px 40px 40px 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-1.5deg); }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; background: #eef2f8; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd8e5; }
.mock-bar i:first-child { background: #f39a8f; }
.mock-bar i:nth-child(2) { background: #f5cf73; }
.mock-bar i:nth-child(3) { background: #8fd5a2; }
.mock-body { display: flex; height: calc(100% - 34px); }
.mock-side { width: 26%; background: var(--navy-2); }
.mock-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mock-line { height: 10px; border-radius: 6px; background: #e4e9f1; }
.mock-line.w70 { width: 70%; } .mock-line.w40 { width: 40%; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.mock-cards span { height: 56px; border-radius: 10px; background: linear-gradient(135deg, var(--tint), var(--tint-2)); border: 1px solid var(--tint-border); }
.mock-cards span:nth-child(2) { background: linear-gradient(135deg, var(--sand-soft), #fff); border-color: #f2e2c8; }
.mock-chart { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding-top: 10px; min-height: 90px; }
.mock-chart b { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--sky), var(--blue)); }
.mock-phone { position: absolute; right: 0; bottom: 0; width: 150px; height: 260px; background: #fff; border-radius: 24px; border: 6px solid #0f2340; box-shadow: var(--shadow-lg); padding: 22px 12px; display: flex; flex-direction: column; gap: 9px; transform: rotate(3deg); }
.mock-block { height: 70px; border-radius: 10px; background: linear-gradient(135deg, var(--sand), #f6d6a3); }
.dune { position: absolute; left: -10%; right: -10%; border-radius: 50%; pointer-events: none; }
.dune-1 { bottom: -150px; height: 200px; background: rgba(232, 179, 102, .18); }
.dune-2 { bottom: -175px; left: 30%; height: 210px; background: rgba(232, 179, 102, .12); }

.stats-strip { background: #fff; position: relative; margin-top: -48px; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat { padding: 22px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.6rem; color: var(--ink); }
.stat span { font-size: .9rem; color: var(--muted); }

/* sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: none; }
.row-head h2 { margin: 0; }
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 64px 0 60px; }
.page-hero.slim { padding: 44px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-hero .lead { color: rgba(255, 255, 255, .8); margin: 0; }
.page-hero .row-head { align-items: center; }

/* cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card, .service-card, .download-card, .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(11, 26, 46, .04); }
.service-card, .download-card { display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service-card:hover, .download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card p { flex: 0 0 auto; }
.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: .2em; }
.check-list.two-col { grid-template-columns: 1fr 1fr; }
.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.from { color: var(--muted); font-size: .92rem; }
.from strong { color: var(--ink); font-size: 1.1rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.card-blue { background: linear-gradient(150deg, var(--navy-2), var(--blue-dark)); color: #fff; border: 0; }
.card-blue h3 { color: #fff; }
.card-blue p { color: rgba(255, 255, 255, .8); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); position: relative; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sand); color: var(--navy); font-weight: 800; margin-bottom: 14px; font-size: .95rem; }
.steps p { margin: 0; color: var(--muted); }

.dl-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--navy-2); color: var(--sand); margin-bottom: 14px; flex: none; }
.dl-icon svg { width: 28px; height: 28px; }
.meta { color: var(--muted); font-size: .9rem; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--muted); }

.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue-dark) 100%); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* services page */
.service-detail { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; align-items: center; }
.service-detail.flip > :first-child { order: 2; }
.price-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.price-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.price-big { font-size: 2.6rem; color: var(--ink); line-height: 1; }
.price-big.small { font-size: 1.7rem; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 20px; }
.form-grid.four { grid-template-columns: repeat(4, 1fr); }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid.tight { gap: 10px 14px; margin-bottom: 10px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label { font-weight: 600; color: var(--ink); font-size: .92rem; }
.field-label { margin: 18px 0 10px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .68em .85em; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent); outline: none; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--blue); }
input[type="range"] { padding: 0; border: 0; box-shadow: none; accent-color: var(--blue); }
input:disabled { background: var(--bg-alt); color: var(--muted); }
textarea { resize: vertical; }
.hint { font-size: .82rem; color: var(--muted); }
.has-error input, .has-error textarea, .has-error select { border-color: var(--danger); }
.error { color: var(--danger); font-size: .85rem; font-weight: 600; }
.inline-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.inline-form select { width: auto; }

/* estimate */
.estimate-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.estimate-form { display: grid; gap: 22px; }
.est-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; background: #fff; min-width: 0; }
.est-step legend { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 1.15rem; padding: 0 8px; margin-left: -8px; }
.est-step legend .step-num { margin: 0; width: 30px; height: 30px; font-size: .88rem; }
.choice-grid { display: grid; gap: 14px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-grid.two { grid-template-columns: 1fr 1fr; }
.choice-card { position: relative; cursor: pointer; display: block; }
.choice-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice-body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px; border: 2px solid var(--line); border-radius: var(--radius); transition: border-color .15s, background .15s, box-shadow .15s; }
.choice-card.small .choice-body { padding: 14px 16px; }
.choice-body .icon-badge { margin-bottom: 8px; width: 44px; height: 44px; }
.choice-body strong { color: var(--ink); }
.choice-body small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.choice-card:hover .choice-body { border-color: var(--tint-border); }
.choice-card input:checked + .choice-body { border-color: var(--blue); background: var(--tint-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 12%, transparent); }
.choice-card input:focus-visible + .choice-body { outline: 3px solid rgba(74, 163, 255, .5); outline-offset: 2px; }
.choice-card input:disabled + .choice-body { opacity: .45; cursor: not-allowed; }
.units-row { display: grid; grid-template-columns: auto 1fr 110px; gap: 18px; align-items: center; }
.units-row label { font-weight: 700; color: var(--ink); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, background .15s; }
.feature-check:hover { border-color: var(--tint-border); }
.feature-check:has(input:checked) { border-color: var(--blue); background: var(--tint-2); }
.feature-check input { width: 18px; height: 18px; flex: none; }
.feature-check.is-hidden { display: none; }
.estimate-result { position: sticky; top: 96px; }
.result-card { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.result-card .price-label { color: var(--sand); }
.result-card .muted { color: rgba(255, 255, 255, .65); }
.range { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 18px; line-height: 1.15; }
.result-card .range { color: #fff; }
.result-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.result-meta div { background: rgba(255, 255, 255, .08); border-radius: var(--radius-sm); padding: 12px 14px; }
.result-meta strong { display: block; font-size: 1.35rem; }
.result-meta span { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.breakdown { list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.breakdown li span:last-child { color: rgba(255, 255, 255, .85); white-space: nowrap; }
.breakdown li.total { border-bottom: 0; font-weight: 700; padding-top: 10px; }
.success-card { text-align: center; padding: 44px; }
.estimate-summary { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin: 24px 0; text-align: left; }
.estimate-summary .range { text-align: center; color: var(--ink); }
.estimate-summary dl, .details { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 0 0 16px; }
dt { font-weight: 700; color: var(--ink); }
dd { margin: 0; }

/* downloads */
.download-list { display: grid; gap: 18px; }
.download-row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.download-row .dl-icon { margin: 0; }
.download-row h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-desc { color: var(--text); margin-bottom: 10px; }
.dl-action { display: grid; gap: 8px; justify-items: end; text-align: right; }
.hash { font-family: Consolas, monospace; font-size: .75rem; word-break: break-all; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.pill-lock { background: var(--sand-soft); color: #8a5a17; }
.empty-state { text-align: center; padding: 60px 20px; }

/* contact */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list.dark .icon { color: var(--blue); }

/* auth & account */
.auth-section { background: var(--bg-alt); min-height: calc(100vh - 72px - 300px); }
.auth-wrap { display: grid; place-items: center; }
.auth-card { width: min(460px, 100%); display: grid; gap: 16px; padding: 36px; }
.auth-head { text-align: center; }
.auth-head h1 { font-size: 1.8rem; margin: 12px 0 4px; }
.account-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.simple-list { list-style: none; padding: 0; margin: 0 0 16px; }
.simple-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.simple-list li:last-child { border-bottom: 0; }

/* tables & badges */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbfd; }
.table.compact td { padding: 8px 12px; }
.table tr.unread td { background: var(--tint-2); }
.table tr.unread td:first-child { box-shadow: inset 3px 0 0 var(--blue); }
.form-table td { padding: 6px; }
.form-table input:not([type="checkbox"]) { padding: .5em .6em; min-width: 80px; }
.form-table td.center { text-align: center; vertical-align: middle; }
.form-table tr.new-row td { background: #fbfcfe; }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef1f5; color: var(--text); text-transform: capitalize; white-space: nowrap; }
.badge-new { background: var(--tint); color: var(--blue); }
.badge-contacted, .badge-read, .badge-members { background: var(--sand-soft); color: #8a5a17; }
.badge-won, .badge-replied, .badge-active, .badge-public { background: #e2f6ec; color: #17784a; }
.badge-lost, .badge-disabled { background: #fdecec; color: #a3292d; }
.badge-archived, .badge-hidden { background: #eef1f5; color: var(--muted); }
.badge-admin { background: var(--navy-2); color: var(--sand); }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 6px; background: #eef1f5; color: var(--text); white-space: nowrap; text-transform: capitalize; }
.tag-login, .tag-register { background: #e2f6ec; color: #17784a; }
.tag-login_failed, .tag-login_blocked, .tag-download_missing { background: #fdecec; color: #a3292d; }
.tag-estimate, .tag-contact { background: var(--tint); color: var(--blue); }
.tag-download { background: var(--sand-soft); color: #8a5a17; }

/* footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .contact-list .icon { color: var(--sand); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .85rem; color: rgba(255, 255, 255, .55); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer .footer-bottom .admin-link { color: rgba(255, 255, 255, .55); display: inline-flex; align-items: center; gap: 6px; }
.site-footer .footer-bottom .admin-link:hover { color: #fff; }

/* maintenance & install */
.maintenance, .install-body { background: linear-gradient(160deg, var(--navy), var(--navy-2)); min-height: 100vh; }
.maintenance { display: grid; place-items: center; padding: 20px; }
.maintenance-box { background: #fff; border-radius: var(--radius); padding: 48px; text-align: center; max-width: 520px; box-shadow: var(--shadow-lg); }
.install-wrap { width: min(820px, 100% - 32px); margin: 0 auto; padding: 48px 0; }
.install-wrap > .auth-head h1 { color: #fff; }
.install-wrap h2 { font-size: 1.2rem; margin-top: 8px; }

/* ------------------------------------------------------------ back-end */
.admin-body { background: var(--bg-alt); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 22px 14px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { padding: 0 8px; }
.admin-nav { display: grid; gap: 2px; }
.admin-nav a, .admin-side-foot a, .admin-side-foot button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: rgba(255, 255, 255, .75); font-weight: 600; font-size: .94rem; text-decoration: none; border: 0; background: none; font-family: inherit; cursor: pointer; width: 100%; text-align: left; }
.admin-nav a:hover, .admin-side-foot a:hover, .admin-side-foot button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-nav a.active { background: var(--blue); color: #fff; }
.admin-nav .count { margin-left: auto; background: var(--sand); color: var(--navy); font-size: .74rem; border-radius: 999px; padding: 1px 8px; }
.admin-side-foot { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px; }
.admin-side-foot form { margin: 0; }
.admin-main { min-width: 0; padding: 0 32px 48px; }
.admin-top { display: flex; align-items: center; gap: 16px; padding: 22px 0; margin-bottom: 8px; }
.admin-top h1 { font-size: 1.6rem; margin: 0; }
.admin-me { margin-left: auto; display: flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 600; }
.admin-content { display: grid; gap: 22px; }
.admin-content > p { margin: 0; }
.panel { padding: 24px; }
.panel h2 { font-size: 1.15rem; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.kpi-grid.four { grid-template-columns: repeat(4, 1fr); }
.kpi-grid.three { grid-template-columns: repeat(3, 1fr); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 4px; }
.kpi > span { font-size: .82rem; font-weight: 700; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.kpi strong { font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.kpi strong.kpi-small { font-size: 1.3rem; }
.kpi small { color: var(--muted); }
.kpi-alert { border-color: var(--sand); background: var(--sand-soft); }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 200px; padding-top: 10px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar b { width: 100%; min-height: 3px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--sky), var(--blue)); }
.bar span { font-size: .72rem; color: var(--muted); }
.rank-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.rank-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; overflow: hidden; }
.rank-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list li:last-child { border-bottom: 0; }
.msg-list { list-style: none; padding: 0; margin: 0; }
.msg-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.msg-list li:last-child { border-bottom: 0; }
.msg-list a { display: grid; color: var(--text); text-decoration: none; }
.msg-list a strong { color: var(--ink); }
.msg-list li.unread a strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: middle; }
.msg-list small { color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.toolbar > p { margin: 0; flex: 1; }
.tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; flex-wrap: wrap; }
.tabs a { padding: 6px 14px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .88rem; text-decoration: none; }
.tabs a.active { background: var(--navy-2); color: #fff; }
.search { display: flex; gap: 8px; margin-left: auto; }
.search input, .search select { padding: .5em .8em; width: auto; min-width: 200px; }
.message-body { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 20px; white-space: normal; }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.action-row form { margin: 0; }
.pager { display: flex; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pager a, .pager .gap { min-width: 36px; text-align: center; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; }
.pager .gap { border: 0; background: none; }
.pager a.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.switch { display: flex !important; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .slider { position: relative; width: 46px; height: 26px; flex: none; background: #cfd8e3; border-radius: 999px; transition: background .2s; }
.switch .slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + .slider { background: var(--blue); }
.switch input:checked + .slider::after { transform: translateX(20px); }
.switch input:focus-visible + .slider { outline: 3px solid rgba(74, 163, 255, .5); outline-offset: 2px; }

/* preview banner (static preview only) */
.preview-banner { background: var(--sand); color: var(--navy); text-align: center; font-size: .88rem; font-weight: 600; padding: 8px 16px; }

/* responsive */
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 14px 20px 20px; display: none; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .nav-account { flex-wrap: wrap; }
  .hero-grid, .faq-grid, .service-detail, .estimate-layout, .contact-layout, .account-grid { grid-template-columns: 1fr; }
  .service-detail.flip > :first-child { order: 0; }
  .hero { padding: 64px 0 96px; }
  .hero-art { min-height: 300px; }
  .cards-3, .steps { grid-template-columns: 1fr 1fr; }
  .estimate-result { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 60; transform: translateX(-100%); transition: transform .25s; }
  .admin-side.open { transform: none; box-shadow: var(--shadow-lg); }
  .admin-main { padding: 0 18px 40px; }
  .admin-grid { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: auto; }
  .nav-toggle.dark { display: flex; margin: 0; }
  .search { margin-left: 0; width: 100%; }
  .search input { flex: 1; min-width: 0; }
}
@media (min-width: 961px) { .nav-toggle.dark { display: none; } }
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards-3, .steps, .choice-grid.three, .choice-grid.two, .feature-grid, .form-grid, .form-grid.three, .form-grid.two, .footer-grid, .check-list.two-col { grid-template-columns: 1fr; }
  .kpi-grid, .kpi-grid.four, .kpi-grid.three { grid-template-columns: 1fr 1fr; }
  .download-row { grid-template-columns: 1fr; }
  .dl-action { justify-items: start; text-align: left; }
  .units-row { grid-template-columns: 1fr 90px; }
  .units-row label { grid-column: 1 / -1; }
  .estimate-summary dl, .details { grid-template-columns: 1fr; gap: 2px; }
  .estimate-summary dd, .details dd { margin-bottom: 10px; }
  .hero-art { display: none; }
  .stats-strip { margin-top: -36px; }
  .card, .service-card, .download-card, .panel, .est-step { padding: 20px; }
  .success-card { padding: 28px 20px; }
  .cta-inner .btn { width: 100%; }
}
/* ------------------------------------------------------------ effects */
.announce { background: linear-gradient(90deg, var(--sand), color-mix(in srgb, var(--sand) 60%, #fff), var(--sand)); background-size: 200% 100%; animation: shimmer 8s linear infinite; color: var(--navy); font-size: .9rem; font-weight: 600; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 0; }
.announce a { color: var(--navy); }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sand), var(--blue), var(--sky)); box-shadow: 0 0 10px color-mix(in srgb, var(--blue) 60%, transparent); }
.site-header { transition: box-shadow .25s, background .25s; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(11, 26, 46, .1); background: rgba(255, 255, 255, .97); }

/* hero */
.hero, .page-hero, .cta-band { position: relative; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-glow i:nth-child(1) { width: 520px; height: 520px; background: var(--blue); top: -160px; right: -80px; animation: drift1 18s ease-in-out infinite alternate; }
.hero-glow i:nth-child(2) { width: 420px; height: 420px; background: var(--sand); bottom: -220px; left: 10%; opacity: .32; animation: drift2 22s ease-in-out infinite alternate; }
.hero-glow i:nth-child(3) { width: 360px; height: 360px; background: var(--sky); top: 30%; left: 45%; opacity: .25; animation: drift3 26s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
body.hero-gradient .hero-glow, body.hero-plain .hero-glow, body.hero-plain .hero::after { display: none; }
body.hero-gradient .hero { background: linear-gradient(120deg, var(--navy), var(--navy-2), color-mix(in srgb, var(--blue) 55%, var(--navy-2)), var(--navy)); background-size: 300% 300%; animation: gradientShift 16s ease infinite; }
body.hero-plain .hero { background: var(--navy); }
.page-hero::before { content: ""; position: absolute; width: 480px; height: 480px; right: -120px; top: -240px; border-radius: 50%; background: var(--blue); filter: blur(80px); opacity: .45; z-index: -1; }
.page-hero::after { content: ""; position: absolute; width: 300px; height: 300px; left: 8%; bottom: -220px; border-radius: 50%; background: var(--sand); filter: blur(80px); opacity: .25; z-index: -1; }
.hero h1 { background: linear-gradient(100deg, #fff 30%, color-mix(in srgb, var(--sky) 70%, #fff) 70%, var(--sand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-rotate { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; color: #fff; margin: -.2em 0 .7em; }
.rotator { display: inline-block; background: linear-gradient(90deg, var(--sand), color-mix(in srgb, var(--sand) 50%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; border-right: 3px solid var(--sand); padding-right: 4px; white-space: nowrap; }
body.fx .rotator { animation: caret 1s step-end infinite; }
body.fx .mock-window { animation: floatA 7s ease-in-out infinite; }
body.fx .mock-phone { animation: floatB 6s ease-in-out infinite; }
body.fx .mock-chart b { transform-origin: bottom; animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) both; }
body.fx .mock-chart b:nth-child(2) { animation-delay: .1s; } body.fx .mock-chart b:nth-child(3) { animation-delay: .2s; }
body.fx .mock-chart b:nth-child(4) { animation-delay: .3s; } body.fx .mock-chart b:nth-child(5) { animation-delay: .4s; }
.stats { backdrop-filter: blur(12px); background: rgba(255, 255, 255, .92); }
.stat strong { background: linear-gradient(90deg, var(--blue), var(--navy-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ticker */
.ticker { overflow: hidden; padding: 26px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; }
body.fx .ticker-track { animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; gap: 14px; padding-right: 14px; }
.ticker-set span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 18px; border-radius: 999px; background: var(--tint-2); border: 1px solid var(--tint-border); color: var(--navy-2); font-weight: 600; font-size: .92rem; }
.ticker-set .icon { color: var(--sand-dark); }

/* buttons */
.btn-primary { background: linear-gradient(135deg, var(--blue), color-mix(in srgb, var(--blue) 70%, var(--sky))); position: relative; overflow: hidden; }
.btn-sand { position: relative; overflow: hidden; }
.btn-primary::after, .btn-sand::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .6s; pointer-events: none; }
.btn-primary:hover::after, .btn-sand:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--blue) 45%, transparent); }
.btn-sand:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--sand) 55%, transparent); }

/* cards: spotlight + glowing border + tilt */
.service-card, .download-card, .steps li, .price-box { position: relative; isolation: isolate; transform-style: preserve-3d; will-change: transform; }
.service-card::before, .download-card::before, .steps li::before, .price-box::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--blue) 14%, transparent), transparent 45%); }
.service-card:hover::before, .download-card:hover::before, .steps li:hover::before, .price-box:hover::before { opacity: 1; }
.service-card:hover, .download-card:hover, .steps li:hover { border-color: var(--tint-border); box-shadow: 0 18px 44px color-mix(in srgb, var(--blue) 18%, transparent); }
.service-card .icon-badge { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.service-card:hover .icon-badge { transform: rotate(-8deg) scale(1.1); }
.steps li { transition: transform .3s, box-shadow .3s, border-color .3s; }
.step-num { background: linear-gradient(135deg, var(--sand), color-mix(in srgb, var(--sand) 55%, #fff)); box-shadow: 0 6px 14px color-mix(in srgb, var(--sand) 45%, transparent); }
.eyebrow { background: linear-gradient(90deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { background: none; color: var(--sand); }
.result-card { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 60%, color-mix(in srgb, var(--navy-2) 70%, var(--blue)) 100%); }
.result-card .range span { transition: color .3s; }
.range.bump { animation: bump .4s ease; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue-dark), var(--navy-2), var(--blue-dark)); background-size: 300% 300%; }
body.fx .cta-band { animation: gradientShift 14s ease infinite; }

/* footer socials */
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }

/* back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--blue) 45%, transparent); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top .icon { transform: rotate(-90deg); width: 20px; height: 20px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* scroll reveal (only with JavaScript and animations on) */
.js body.fx .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js body.fx .reveal.in { opacity: 1; transform: none; }

@keyframes drift1 { to { transform: translate(-140px, 90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(180px, -60px) scale(1.2); } }
@keyframes drift3 { to { transform: translate(-120px, -80px) scale(.85); } }
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes caret { 50% { border-color: transparent; } }
@keyframes floatA { 0%, 100% { transform: rotate(-1.5deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-12px); } }
@keyframes floatB { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(10px); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes bump { 40% { transform: scale(1.05); } }

body.no-fx *, body.no-fx *::before, body.no-fx *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; }
  .js body.fx .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ appearance page */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.theme-card { position: relative; cursor: pointer; display: block; }
.theme-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.theme-card .tc-body { display: block; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; background: #fff; }
.theme-card:hover .tc-body { transform: translateY(-2px); }
.theme-card input:checked + .tc-body { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.theme-card input:focus-visible + .tc-body { outline: 3px solid rgba(74, 163, 255, .5); outline-offset: 2px; }
.tc-swatch { display: block; height: 64px; position: relative; }
.tc-swatch i { position: absolute; bottom: 10px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); }
.tc-swatch i:nth-child(1) { left: 12px; } .tc-swatch i:nth-child(2) { left: 38px; }
.tc-name { display: block; padding: 10px 12px; font-weight: 700; color: var(--ink); font-size: .92rem; }
.color-row { display: flex; align-items: center; gap: 10px; }
.color-row input[type="color"] { width: 54px; height: 42px; padding: 3px; cursor: pointer; }
.color-row .hint { flex: 1; }
.live-preview { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.lp-hero { padding: 26px; color: #fff; position: relative; overflow: hidden; }
.lp-hero h3 { color: #fff; margin: 0 0 6px; font-size: 1.4rem; }
.lp-hero p { margin: 0 0 14px; opacity: .8; font-size: .9rem; }
.lp-hero .eyebrow { margin-bottom: 6px; }
.lp-body { padding: 18px 22px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lp-body .pill { font-size: .8rem; }
.sticky-preview { position: sticky; top: 20px; }
