/* REVOLA SOLUTION — site design system */
:root {
  --orange: #FF7A00;
  --orange-600: #E86A00;
  --orange-700: #B85200;      /* accessible orange text on white (5.0:1) */
  --amber: #FFB547;
  --orange-50: #FFF4EA;
  --orange-100: #FFE6CF;
  --ink: #1F1F1F;
  --ink-2: #2A2A2C;
  --ink-3: #3A3A3D;
  --text: #1F1F1F;
  --text-2: #55575E;
  --text-3: #7C7F87;
  --line: #E7E8EC;
  --line-2: #D9DBE1;
  --bg: #FFFFFF;
  --bg-2: #F5F6F8;
  --surface: #FFFFFF;
  --ok: #17803D; --ok-bg: #E8F6EC;
  --warn: #9A5B00; --warn-bg: #FFF3DC;
  --bad: #C0362C; --bad-bg: #FDECEA;
  --info: #2D57B5; --info-bg: #EAF0FC;
  --f-display: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 8px; --r: 12px; --r-lg: 20px; --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(31, 31, 31, .06), 0 2px 8px rgba(31, 31, 31, .04);
  --shadow-2: 0 18px 50px -18px rgba(31, 31, 31, .28);
  --shadow-orange: 0 24px 60px -24px rgba(255, 122, 0, .55);
  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--orange-100); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.02rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; line-height: 1; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled=true] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--orange); color: #1F1F1F; }
.btn-primary:hover { background: #FF8C1F; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--line-2); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-soft { background: var(--orange-50); color: var(--orange-700); }
.btn-soft:hover { background: var(--orange-100); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-onDark { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.btn-onDark:hover { border-color: #fff; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .84rem; gap: 6px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-icon { padding: 0; width: 36px; }
.btn-block { width: 100%; }
.link { color: var(--orange-700); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--text-2); }
.icon-btn:hover { background: var(--bg-2); color: var(--text); }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; }
.brand-word small { font-size: .62rem; letter-spacing: .42em; font-weight: 700; color: var(--orange-700); margin-top: 4px; }
.speed { display: inline-grid; gap: 5px; justify-items: end; }
.speed i { display: block; height: 7px; border-radius: 9px; background: linear-gradient(90deg, var(--amber), var(--orange)); }
.speed i:nth-child(1) { width: 46px; } .speed i:nth-child(2) { width: 58px; } .speed i:nth-child(3) { width: 34px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { padding: 9px 13px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .92rem; color: var(--text-2); }
.main-nav a:hover { color: var(--text); background: var(--bg-2); }
.main-nav a[aria-current=page] { color: var(--ink); background: var(--orange-50); box-shadow: inset 0 0 0 1px var(--orange-100); }
.head-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; }
.mobile-nav { display: none; }
@media (max-width: 1240px) {
  .main-nav, .head-cta .btn-outline { display: none; }
  .menu-btn { display: inline-grid; margin-left: -6px; }
  .head-cta { margin-left: auto; }
  .mobile-nav { display: block; position: fixed; inset: var(--nav-h) 0 0; background: #fff; padding: 18px var(--gutter) 32px; overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .18s; z-index: 39; }
  .mobile-nav.open { transform: none; opacity: 1; visibility: visible; }
  .mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: 1.25rem; font-weight: 650; }
  .mobile-nav a[aria-current=page] { color: var(--orange-700); }
  .mobile-nav .btn { margin-top: 20px; width: 100%; }
}
@media (max-width: 480px) { .head-cta .btn-primary span.long { display: none; } .brand-word b { font-size: 1rem; } .brand img { width: 34px; height: 34px; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(56px, 9vw, 112px) 0; }
.sec-tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-alt { background: var(--bg-2); }
.sec-ink { background: var(--ink); color: #fff; }
.sec-ink .muted { color: #B9BBC2; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-head > div { max-width: 640px; }
.sec-head p { color: var(--text-2); font-size: 1.06rem; margin: 0; }
.label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--orange-700); margin-bottom: 14px; }
.label::before { content: ''; width: 22px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--amber), var(--orange)); }
.sec-ink .label { color: var(--amber); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 60ch; line-height: 1.65; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 5vw, 64px); overflow: hidden; border-bottom: 1px solid var(--line); }
.phero::after { content: ''; position: absolute; right: -60px; top: 40px; width: 340px; height: 120px; background: repeating-linear-gradient(180deg, transparent 0 18px, rgba(255,122,0,.10) 18px 32px); border-radius: 40px; transform: skewX(-18deg); pointer-events: none; }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--text-3); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--text-2); }
.crumbs a:hover { color: var(--orange-700); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .mark { position: relative; white-space: nowrap; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: var(--text-2); }
.hero-proof span { display: inline-flex; gap: 8px; align-items: center; }
.hero-proof .i { color: var(--orange); }
.hero-speed { position: absolute; left: -40px; top: 46%; opacity: .9; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Live demo switcher in hero */
.live { position: relative; background: var(--ink); border-radius: var(--r-xl); padding: 14px; box-shadow: var(--shadow-orange); }
.live-tabs { display: flex; gap: 6px; padding: 4px 4px 14px; overflow-x: auto; scrollbar-width: none; }
.live-tabs::-webkit-scrollbar { display: none; }
.live-tabs button { flex: none; display: inline-flex; gap: 7px; align-items: center; border: 0; background: rgba(255,255,255,.07); color: #D7D8DC; font-weight: 650; font-size: .82rem; padding: 8px 12px; border-radius: 999px; }
.live-tabs button[aria-selected=true] { background: var(--orange); color: var(--ink); }
.live-screen { background: #fff; border-radius: 18px; overflow: hidden; min-height: 360px; }
.live-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--text-3); }
.live-bar .dots { display: flex; gap: 5px; } .live-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.live-bar .sample { margin-left: auto; }
.live-body { padding: 18px; }
.live-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 6px 2px; color: #B9BBC2; font-size: .82rem; flex-wrap: wrap; }
.live-foot a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.live-foot a:hover { color: var(--amber); }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mini-kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mini-kpis small { display: block; font-size: .72rem; color: var(--text-3); }
.mini-kpis b { font-family: var(--f-display); font-size: 1.15rem; }
.mini-list { display: grid; gap: 8px; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .86rem; }
.mini-row b { margin-left: auto; font-family: var(--f-display); }
.mini-row button { margin-left: 6px; }
.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Chips/badges ---------- */
.sample-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; color: var(--warn); background: var(--warn-bg); padding: 4px 9px; border-radius: 999px; letter-spacing: .01em; }
.concept-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; color: var(--info); background: var(--info-bg); padding: 4px 9px; border-radius: 999px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); font-size: .82rem; font-weight: 650; color: var(--text-2); text-decoration: none; border: 1px solid transparent; }
a.chip:hover { border-color: var(--orange-100); background: var(--orange-50); color: var(--orange-700); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1.5px solid var(--line); background: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--text-2); display: inline-flex; gap: 8px; align-items: center; }
.filters button em { font-style: normal; font-size: .75rem; color: var(--text-3); }
.filters button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button[aria-pressed=true] em { color: #bbb; }

/* ---------- Capability list (services) ---------- */
.caps { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.caps-sticky { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.cap { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.cap:last-child { border-bottom: 1px solid var(--line); }
.cap-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-700); }
.cap h3 { margin-bottom: 6px; }
.cap p { color: var(--text-2); margin-bottom: 12px; }
.cap .chips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 860px) { .caps { grid-template-columns: 1fr; } .caps-sticky { position: static; } }

/* ---------- Demo cards ---------- */
.dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .dcards { grid-template-columns: 1fr; } }
.dcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.dcard:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.dcard-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.dcard-thumb .thumb-ic { position: absolute; left: 18px; top: 16px; width: 42px; height: 42px; border-radius: 12px; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.dcard-thumb .thumb-n { position: absolute; right: 16px; top: 14px; font-family: var(--f-display); font-weight: 700; color: rgba(255,255,255,.35); font-size: .9rem; }
.thumb-ui { position: absolute; left: 18px; right: 18px; bottom: -8px; height: 58%; background: #fff; border-radius: 12px 12px 0 0; padding: 12px; display: grid; grid-template-columns: 30% 1fr; gap: 10px; }
.thumb-ui .tside { display: grid; gap: 6px; align-content: start; }
.thumb-ui .tside i { height: 7px; border-radius: 4px; background: var(--line); }
.thumb-ui .tside i:first-child { background: var(--orange-100); }
.thumb-ui .tmain { display: grid; grid-template-rows: auto 1fr; gap: 8px; }
.thumb-ui .tk { display: flex; gap: 6px; }
.thumb-ui .tk i { flex: 1; height: 18px; border-radius: 6px; background: var(--bg-2); }
.thumb-ui .tbars { display: flex; align-items: end; gap: 4px; }
.thumb-ui .tbars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--orange); opacity: .85; }
.thumb-ui .tbars i:nth-child(even) { background: #3B5BA9; opacity: .55; }
.dcard-b { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.dcard-b .meta { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; font-size: .78rem; color: var(--text-3); font-weight: 700; }
.dcard-b h3 { font-size: 1.12rem; margin-bottom: 6px; }
.dcard-b h3 a { text-decoration: none; }
.dcard-b h3 a::after { content: ''; position: absolute; inset: 0; }
.dcard-b p { color: var(--text-2); font-size: .92rem; margin-bottom: 14px; }
.dcard-feat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.dcard-feat span { font-size: .75rem; font-weight: 650; padding: 4px 9px; background: var(--bg-2); border-radius: 999px; color: var(--text-2); }
.dcard-go { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 16px; }

/* ---------- Generic blocks ---------- */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); background: #fff; }
.box-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.box-soft { background: var(--bg-2); border-color: transparent; }
.box h3 { margin-bottom: 8px; }
.box p { color: var(--text-2); }
.box-ink p { color: #C4C6CC; }
.ic-sq { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-700); margin-bottom: 16px; }
.box-ink .ic-sq { background: rgba(255,122,0,.16); color: var(--amber); }

/* Process steps (sequence) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 2px solid rgba(255,255,255,.12); }
.step { position: relative; padding: 28px 24px 8px 0; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; color: var(--orange); line-height: 1; margin-bottom: 18px; }
.step::after { content: ''; position: absolute; top: -2px; left: 0; width: 46px; height: 2px; background: var(--orange); }
.step h3 { font-size: 1.15rem; }
.step p { color: #C4C6CC; font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: #C4C6CC; max-width: 52ch; margin: 0; }
.cta-band .speed { position: absolute; right: 28px; top: 26px; opacity: .55; }
.cta-band .acts { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .speed { display: none; } }

/* Notices */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--warn-bg); color: #6B4300; font-size: .9rem; line-height: 1.5; }
.notice .i { flex: none; margin-top: 2px; }
.notice-info { background: var(--info-bg); color: #1F3F86; }
.notice-ok { background: var(--ok-bg); color: #0F5A2A; }
.notice-bad { background: var(--bad-bg); color: #8A231B; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form label, .fld { display: grid; gap: 7px; font-weight: 700; font-size: .88rem; }
.form label > span i, .fld i.req { color: var(--orange-700); font-style: normal; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .inp {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 500; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.form textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus, .inp:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,0,.15); }
.form [aria-invalid=true] { border-color: var(--bad) !important; }
.field-error { color: var(--bad); font-size: .82rem; font-weight: 650; }
.hint { font-weight: 500; color: var(--text-3); font-size: .82rem; }
.check { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 500 !important; font-size: .9rem !important; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.choice { position: relative; display: flex !important; gap: 10px !important; align-items: center; padding: 14px; border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; font-weight: 650 !important; background: #fff; transition: border-color .15s, background .15s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .i { color: var(--text-3); flex: none; }
.choice:has(input:checked) { border-color: var(--orange); background: var(--orange-50); }
.choice:has(input:checked) .i { color: var(--orange-700); }
.choice:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.choice small { display: block; font-weight: 500; color: var(--text-3); font-size: .78rem; }

/* ---------- Wizard ---------- */
.wizard { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.wz-steps { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 4px; list-style: none; padding: 0; margin: 0; }
.wz-steps li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--text-3); font-weight: 650; font-size: .92rem; }
.wz-steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); font-size: .8rem; flex: none; background: #fff; }
.wz-steps li.cur { color: var(--ink); background: var(--orange-50); }
.wz-steps li.cur span { border-color: var(--orange); background: var(--orange); color: var(--ink); }
.wz-steps li.done { color: var(--text-2); }
.wz-steps li.done span { background: var(--ink); border-color: var(--ink); color: #fff; }
.wz-panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3.5vw, 36px); background: #fff; min-width: 0; }
.wz-panel h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.wz-progress { display: none; }
@media (max-width: 860px) {
  .wizard { grid-template-columns: 1fr; }
  .wz-steps { display: none; }
  .wz-progress { display: block; margin-bottom: 16px; font-size: .85rem; font-weight: 700; color: var(--text-2); }
  .wz-progress .bar { height: 6px; background: var(--line); border-radius: 6px; margin-top: 8px; overflow: hidden; }
  .wz-progress .bar span { display: block; height: 100%; background: var(--orange); border-radius: 6px; transition: width .25s; }
}

/* Calendar picker */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px; }
@media (max-width: 760px) { .cal-wrap { grid-template-columns: 1fr; } }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head b { font-family: var(--f-display); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: .72rem; font-weight: 700; color: var(--text-3); padding: 6px 0; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; font-weight: 650; font-size: .92rem; color: var(--text-3); position: relative; }
.cal-day.avail { color: var(--ink); background: var(--orange-50); }
.cal-day.avail:hover { background: var(--orange-100); }
.cal-day.avail::after { content: ''; position: absolute; bottom: 7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); }
.cal-day.sel { background: var(--ink) !important; color: #fff; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.cal-day:disabled { cursor: default; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 330px; overflow: auto; padding-right: 4px; }
.slot { border: 1.5px solid var(--line-2); background: #fff; border-radius: 10px; padding: 11px 6px; font-weight: 700; font-size: .9rem; }
.slot:hover { border-color: var(--orange); }
.slot[aria-pressed=true] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.tz-note { font-size: .82rem; color: var(--text-3); margin-top: 10px; }
.summary { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.summary div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.summary div:last-child { border-bottom: 0; }
.summary dt, .summary div > span:first-child { color: var(--text-3); font-weight: 650; }
@media (max-width: 520px) { .summary div { grid-template-columns: 1fr; gap: 2px; } }
.result { text-align: center; padding: 20px 0; }
.result .big-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--ok-bg); color: var(--ok); }
.result .big-ic.pending { background: var(--warn-bg); color: var(--warn); }
.ref { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; letter-spacing: .04em; background: var(--bg-2); display: inline-block; padding: 8px 16px; border-radius: 10px; margin: 8px 0 16px; }

/* Estimator */
.est-out { position: sticky; top: calc(var(--nav-h) + 24px); }
.meter { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; margin: 8px 0 4px; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--orange)); border-radius: 10px; transition: width .3s; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.kv span:first-child { color: #B9BBC2; }
.kv b { text-align: right; }
.tier-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .tier-cards { grid-template-columns: 1fr; } }
.tier { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.tier.feat { border: 2px solid var(--orange); box-shadow: var(--shadow-orange); }
.tier h3 { font-size: 1.5rem; margin: 6px 0 0; }
.tier .for { color: var(--text-2); font-weight: 650; }
.tier ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 10px; }
.tier li { display: flex; gap: 10px; font-size: .93rem; color: var(--text-2); }
.tier li .i { color: var(--orange); flex: none; margin-top: 3px; }
.tier .btn { margin-top: auto; }
.price-note { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; margin-top: 8px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-display); font-weight: 650; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s; flex: none; color: var(--orange-700); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 18px; margin: 0; max-width: 70ch; }

/* ---------- Demo page wrapper ---------- */
.demo-hero { padding: 28px 0 22px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-2)); }
.demo-hero-in { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.demo-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 6px 0 8px; display: flex; align-items: center; gap: 14px; }
.demo-hero h1 .ic-sq { margin: 0; width: 48px; height: 48px; background: var(--orange); color: var(--ink); }
.demo-hero p { margin: 0; color: var(--text-2); max-width: 64ch; }
.demo-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-stage { padding: 22px 0 40px; background: var(--bg-2); }
.demo-banner { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #FFF8EC; border: 1px solid #FFE1B0; color: #6B4300; padding: 10px 14px; border-radius: 12px; font-size: .86rem; margin-bottom: 14px; }
.demo-banner > span { display: inline-flex; gap: 8px; align-items: center; }
.demo-root { min-height: 560px; }
.demo-root.full { position: fixed; inset: 0; z-index: 60; background: var(--bg-2); padding: 12px; overflow: auto; }
.demo-aside { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin-top: 22px; }
@media (max-width: 860px) { .demo-aside { grid-template-columns: 1fr; } }
.try-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: t; }
.try-list li { display: flex; gap: 12px; font-size: .93rem; color: var(--text-2); }
.try-list li::before { counter-increment: t; content: counter(t); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange-50); color: var(--orange-700); font-weight: 800; font-size: .78rem; display: grid; place-items: center; }
.demo-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.demo-pager a { flex: 1; min-width: 220px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 18px; text-decoration: none; display: grid; gap: 2px; }
.demo-pager a:hover { border-color: var(--orange); }
.demo-pager small { color: var(--text-3); font-weight: 700; }
.demo-pager b { font-family: var(--f-display); }
.demo-pager a.next { text-align: right; }
.loading { display: grid; place-items: center; min-height: 420px; color: var(--text-3); gap: 12px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--orange); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Solutions index (demo details) */
.sol-list { display: grid; gap: 0; }
.sol { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 22px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.sol:last-child { border-bottom: 1px solid var(--line); }
.sol h3 { margin: 0 0 4px; font-size: 1.1rem; }
.sol p { margin: 0; color: var(--text-2); font-size: .92rem; }
.sol ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.sol ul li { font-size: .78rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--text-2); }
.sol-acts { display: flex; gap: 8px; }
@media (max-width: 900px) { .sol { grid-template-columns: 48px 1fr; } .sol > ul, .sol-acts { grid-column: 2; } }

/* Portfolio */
.concepts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .concepts { grid-template-columns: 1fr; } }
.concept { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.concept-art { aspect-ratio: 16 / 9; background: var(--ink); position: relative; overflow: hidden; padding: 22px; display: flex; align-items: flex-end; }
.concept-art .screen { width: 100%; height: 78%; background: #fff; border-radius: 14px 14px 0 0; margin-bottom: -22px; padding: 14px; display: grid; gap: 10px; align-content: start; }
.concept-b { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.concept-b h3 { margin: 4px 0 2px; }
.concept-b p { color: var(--text-2); margin: 0 0 6px; }
.concept-b dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .88rem; margin: 6px 0 14px; }
.concept-b dt { color: var(--text-3); font-weight: 700; }
.concept-b dd { margin: 0; color: var(--text-2); }

/* Footer */
.site-foot { background: var(--ink); color: #D0D2D7; padding: clamp(48px, 7vw, 80px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: #C9CBD1; text-decoration: none; font-size: .92rem; }
.foot-grid a:hover { color: var(--amber); }
.site-foot .brand { color: #fff; }
.site-foot .brand-word small { color: var(--amber); }
.foot-about { font-size: .92rem; color: #A9ABB2; max-width: 36ch; margin-top: 16px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8E9098; }
.foot-bottom a { color: #C9CBD1; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Toasts, modal, tooltip */
.toasts { pointer-events: none; position: fixed; right: 16px; bottom: 16px; z-index: 200; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; padding: 13px 16px; border-radius: 14px; box-shadow: var(--shadow-2); font-size: .9rem; font-weight: 600; transform: translateY(10px); opacity: 0; transition: .25s; }
.toast.in { transform: none; opacity: 1; }
.toast-ok .i { color: #5FD38D; } .toast-warn .i { color: var(--amber); } .toast-bad .i { color: #FF8A80; } .toast-info .i { color: #8FB0FF; }
.modal-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(20,20,22,.5); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .18s; }
.modal-backdrop.in { opacity: 1; }
.modal { width: 100%; background: #fff; border-radius: 22px; box-shadow: var(--shadow-2); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; transform: translateY(10px) scale(.98); transition: transform .18s; outline: none; }
.modal-backdrop.in .modal { transform: none; }
.modal-sm { max-width: 420px; } .modal-md { max-width: 560px; } .modal-lg { max-width: 820px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 10px 24px; }
.modal-head h2 { font-size: 1.25rem; margin: 0; }
.modal-body { padding: 6px 24px 20px; overflow: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 560px) { .modal-backdrop { align-items: end; padding: 0; } .modal { border-radius: 22px 22px 0 0; max-height: 92dvh; } }
.tooltip { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; background: var(--ink); color: #fff; font-size: .78rem; padding: 8px 10px; border-radius: 10px; opacity: 0; transition: opacity .1s; max-width: 260px; line-height: 1.45; }
.tooltip.on { opacity: 1; }
.tooltip b { font-weight: 800; }
.tooltip div { color: #D0D2D7; }

/* 404 */
.nf { text-align: center; padding: 120px 0; }
.nf .speed { margin-bottom: 26px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
@media print { .site-head, .site-foot, .demo-acts, .demo-banner .btn { display: none !important; } }

/* Quote page */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 920px) { .quote-grid { grid-template-columns: 1fr; } .est-out { position: static; order: -1; } }
.qfs { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); margin: 0; display: grid; gap: 14px; min-width: 0; }
.qfs legend { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; padding: 0 8px; margin-left: -8px; display: flex; align-items: center; gap: 10px; }
.qfs legend span { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-size: .85rem; }
.qdetails summary { cursor: pointer; font-weight: 700; font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; color: var(--orange-700); }
.choice .ind { flex: none; }
.choice input[type=checkbox] ~ .ind { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; }
.choice:has(input[type=checkbox]:checked) .ind { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.choice input[type=radio] ~ .ind { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; }
.choice:has(input[type=radio]:checked) .ind { border: 6px solid var(--orange); }
.choice input[type=radio] ~ .ind svg { display: none; }
.seo-shell{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
