/* =====================================================================
   Alliance Software & Technology Systems — public site
   ===================================================================== */
:root {
  --bg: #050a18;
  --bg-2: #081128;
  --bg-3: #0c1733;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --line: rgba(148, 170, 220, .14);
  --line-2: rgba(148, 170, 220, .26);
  --ink: #eaf0ff;
  --ink-2: #c3cee8;
  --muted: #8f9dc0;
  --brand: #2f8cf0;
  --brand-2: #5ab4ff;
  --cyan: #38d1e8;
  --ok: #22c55e;
  --bad: #f87171;
  --grad: linear-gradient(135deg, #2f8cf0 0%, #38d1e8 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px var(--line);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand-2); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
::selection { background: rgba(47, 140, 240, .4); }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(47, 140, 240, .7); }
.btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(56, 209, 232, .7); transform: translateY(-1px); }
.btn-ghost { background: var(--panel); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand-2); background: var(--panel-2); }
.btn-lg { padding: .9em 1.6em; font-size: 16px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .i { transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 10px var(--cyan); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5, 10, 24, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo img { width: 34px; height: auto; }
.logo span { display: flex; flex-direction: column; line-height: 1.1; }
.logo strong { font-family: var(--display); font-size: 19px; letter-spacing: .01em; }
.logo small { font-size: 10.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { color: var(--ink-2); padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.active { color: var(--ink); background: var(--panel-2); }
.nav-cta { margin-left: 8px; padding: .6em 1.2em; }
.chev { transition: transform .25s; width: 16px; height: 16px; }
.dropdown { position: relative; }
.dropdown.open .chev { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; width: 380px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: all .25s cubic-bezier(.2, .8, .2, 1); background: rgba(10, 18, 40, .96); backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow); }
.dropdown.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.dd-item:hover { background: var(--panel-2); }
.dd-item .p-logo { width: 40px; height: 40px; }
.dd-item strong { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.dd-item span { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; }
.dd-foot { border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 10px 4px; font-size: 13px; display: flex; justify-content: space-between; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 56px) 0 48px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 40% at 75% 35%, rgba(47, 140, 240, .22), transparent 70%), radial-gradient(30% 30% at 15% 20%, rgba(56, 209, 232, .12), transparent 70%), linear-gradient(to bottom, transparent 70%, var(--bg)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(47, 140, 240, .1); border: 1px solid rgba(90, 180, 255, .3); color: var(--ink); font-size: 14px; margin-bottom: 22px; transition: border-color .2s, background .2s; }
.pill:hover { border-color: var(--brand-2); background: rgba(47, 140, 240, .18); }
.pill-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); position: relative; }
.pill-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
.hero h1 { font-size: clamp(36px, 4.7vw, 62px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 .typed-line { display: block; white-space: nowrap; min-height: 1.15em; }
.typed { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: 4px; height: .9em; background: var(--cyan); margin-left: 6px; vertical-align: -.08em; border-radius: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof .i { color: var(--ok); }

.hero-visual { position: relative; aspect-ratio: 1 / .82; perspective: 1400px; }
.window { position: absolute; border-radius: 14px; overflow: hidden; background: #0d1430; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.window img { width: 100%; height: auto; }
.window-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #121b3a; border-bottom: 1px solid var(--line); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3963; }
.window-bar i:nth-child(1) { background: #f87171; } .window-bar i:nth-child(2) { background: #fbbf24; } .window-bar i:nth-child(3) { background: #34d399; }
.window-bar span { margin-left: 8px; font: 11px var(--mono); color: var(--muted); }
.w-main { width: 88%; top: 0; right: 0; }
.w-side { width: 62%; left: 0; bottom: 0; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(12, 22, 50, .9); backdrop-filter: blur(10px); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); font-size: 13px; transition: transform .4s cubic-bezier(.2, .8, .2, 1); animation: bob 6s ease-in-out infinite; }
.float-card img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 2px; }
.float-card strong { display: block; font-size: 13.5px; }
.float-card span { color: var(--muted); font-size: 12px; }
.fc-1 { right: -12px; bottom: 18%; }
.fc-2 { left: 6%; top: 10%; animation-delay: -3s; }
.fc-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.fc-icon.ok { background: rgba(34, 197, 94, .15); color: var(--ok); }
@keyframes bob { 50% { translate: 0 -8px; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8, 17, 40, .6); backdrop-filter: blur(8px); }
.stat { padding: 22px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 700 clamp(26px, 3vw, 34px) var(--display); letter-spacing: -.02em; background: linear-gradient(180deg, #fff, #a9bce6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); font-size: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; translate: -50% 0; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; border-radius: 2px; background: var(--brand-2); translate: -50% 0; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.section-head h2, .about-copy h2, .sc-copy h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-bottom: 16px; }
.section-lead { color: var(--ink-2); font-size: 18px; margin: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- products ---------- */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-bar button { padding: 8px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; font-size: 14px; transition: all .2s; }
.filter-bar button:hover { border-color: var(--line-2); color: var(--ink); }
.filter-bar button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.p-card { --accent: var(--brand); position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, opacity .3s; transform-style: preserve-3d; }
.p-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
.p-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--accent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.p-card:hover::before, .p-card:hover::after { opacity: 1; }
.p-card:hover { border-color: transparent; }
.p-card.hide { display: none; }
.p-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.p-logo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, #0b1430); border: 1px solid var(--line-2); padding: 8px; flex: none; }
.p-logo img { width: 100%; height: 100%; object-fit: contain; }
.p-name { font-size: 22px; font-weight: 700; }
.p-cat { font-size: 13px; color: var(--muted); }
.p-badge { position: absolute; top: 22px; right: 22px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #04131f; background: var(--grad); }
.p-badge.ext { background: var(--panel-2); color: var(--ink-2); border: 1px solid var(--line-2); }
.p-tagline { font: 600 18px/1.35 var(--display); margin-bottom: 10px; letter-spacing: -.01em; }
.p-summary { color: var(--muted); font-size: 15px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; padding: 0; list-style: none; }
.chips li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2); }
.p-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.p-actions .btn { font-size: 14px; padding: .62em 1.1em; }
.p-card .btn-primary { background: var(--accent); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #38d1e8)); box-shadow: 0 8px 24px -10px var(--accent); }

/* ---------- showcases ---------- */
.showcase { --accent: var(--brand); padding: 110px 0; position: relative; overflow: hidden; }
.showcase::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; top: 10%; right: -250px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%); pointer-events: none; }
.showcase.flip::before { right: auto; left: -250px; }
.sc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.showcase.flip .sc-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
.showcase.flip .sc-copy { order: 2; }
.gallery { position: sticky; top: calc(var(--nav-h) + 30px); }
.sc-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sc-brand .p-logo { width: 60px; height: 60px; }
.sc-brand small { display: block; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); filter: brightness(1.4); }
.sc-brand strong { font: 700 24px var(--display); }
.sc-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.sc-copy .section-lead { margin-bottom: 24px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 4px; }
.feature-list li { display: flex; gap: 14px; padding: 12px; border-radius: 12px; transition: background .2s; }
.feature-list li:hover { background: var(--panel); }
.f-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); color: color-mix(in srgb, var(--accent) 60%, #fff); flex: none; }
.feature-list strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-actions .btn-primary { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #38d1e8)); box-shadow: 0 8px 24px -10px var(--accent); }

.gallery { position: relative; }
.g-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.g-tab { position: relative; overflow: hidden; padding: 8px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; font-size: 13.5px; transition: all .2s; }
.g-tab:hover { color: var(--ink); border-color: var(--line-2); }
.g-tab[aria-selected="true"] { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.g-tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.g-frame { position: relative; border-radius: 16px; overflow: hidden; background: #0d1430; box-shadow: var(--shadow); cursor: zoom-in; }
.g-stage { position: relative; aspect-ratio: 16 / 10.3; background: #f5f7fb; }
.g-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.02); transition: opacity .55s, transform .9s cubic-bezier(.2, .8, .2, 1); }
.g-stage img.on { opacity: 1; transform: none; }
.g-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted); font-size: 14.5px; min-height: 1.6em; }
.g-zoom { display: inline-flex; gap: 6px; align-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; }
.g-zoom:hover { color: var(--ink); }
.g-wrap { position: relative; }
.g-caption.has-phone { padding-right: calc(22% + 10px); }
.phone { position: absolute; right: -18px; bottom: -28px; width: 22%; min-width: 110px; border-radius: 22px; border: 6px solid #0b0f1c; background: #0b0f1c; box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .8); overflow: hidden; z-index: 2; pointer-events: none; }
.phone img { width: 100%; border-radius: 16px; }

.sc-extra { margin-top: 72px; display: grid; gap: 22px; }
.flow { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 0; position: relative; counter-reset: flow; }
.flow li { list-style: none; text-align: center; position: relative; padding: 0 8px; }
.flow li::before { counter-increment: flow; content: counter(flow); display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--bg-3); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); font: 600 15px var(--display); position: relative; z-index: 1; transition: background .4s, color .4s, box-shadow .4s; }
.flow li::after { content: ''; position: absolute; top: 22px; left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .35; }
.flow li:last-child::after { display: none; }
.flow li.lit::before { background: var(--accent); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent); }
.flow strong { font-family: var(--display); }
.flow-wrap { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.flow-wrap h3 { font-size: 18px; margin-bottom: 24px; text-align: center; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.plan { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.plan small { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2); }
.plan h3 { font-size: 20px; margin: 6px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { display: flex; gap: 10px; padding: 5px 0; color: var(--ink-2); font-size: 15px; }
.plan li .i { color: var(--ok); margin-top: 4px; }

.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.module { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: transform .3s, border-color .3s; }
.module:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.module h3 { font-size: 20px; }
.module em { display: block; font-style: normal; color: color-mix(in srgb, var(--accent) 50%, #fff); margin: 4px 0 12px; font-size: 14.5px; }
.module ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; }
.module li { margin-bottom: 6px; }
.fun-fact { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent); border: 1px solid var(--line); }
.fun-fact img { width: 64px; height: 64px; flex: none; border-radius: 50%; padding: 6px; animation: spin 40s linear infinite; }
.fun-fact p { margin: 0; color: var(--ink-2); }
.fun-fact strong { color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.industries { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.industries span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); background: var(--panel); }
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pain { padding: 18px 20px; border-radius: 14px; border: 1px dashed rgba(248, 113, 113, .3); background: rgba(248, 113, 113, .04); color: var(--ink-2); font-size: 14.5px; display: flex; gap: 12px; }
.pain .i { color: var(--bad); margin-top: 3px; }
.extra-title { text-align: center; font-size: 15px; font-family: var(--mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 40px; }
.s-card { padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, background .3s; }
.s-card:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--panel-2); }
.s-card .f-icon { --accent: var(--brand); width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; transition: transform .4s; }
.s-card:hover .f-icon { transform: rotate(-8deg) scale(1.08); }
.s-card .f-icon .i { width: 22px; height: 22px; }
.s-card h3 { font-size: 19px; margin-bottom: 8px; }
.s-card p { margin: 0; color: var(--muted); font-size: 15px; }
.s-card .num { position: absolute; top: 18px; right: 22px; font: 500 12px var(--mono); color: var(--line-2); }

/* ---------- process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; z-index: 1; }
.process li { padding: 24px 20px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s, transform .4s; }
.process li.lit { border-color: rgba(90, 180, 255, .5); }
.step-num { display: inline-block; font: 600 13px var(--mono); color: var(--brand-2); padding: 4px 10px; border-radius: 999px; background: rgba(47, 140, 240, .12); margin-bottom: 14px; }
.process h3 { font-size: 18px; margin-bottom: 8px; }
.process p { margin: 0; color: var(--muted); font-size: 14.5px; }
.process-line { height: 3px; background: var(--line); border-radius: 3px; margin-top: 26px; overflow: hidden; }
.process-line span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-copy p { color: var(--ink-2); }
.about-copy em { font-style: normal; color: var(--brand-2); font-weight: 600; }
.values { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.values li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; background: var(--panel); transition: all .25s; cursor: default; }
.values li:hover { border-color: var(--brand-2); color: #fff; background: rgba(47, 140, 240, .14); transform: translateY(-2px); }
.tabs { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { position: relative; z-index: 1; padding: 8px 18px; border-radius: 999px; background: none; border: 0; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 14.5px; transition: color .25s; }
.tabs button[aria-selected="true"] { color: var(--bg); }
.tab-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--ink); transition: transform .35s cubic-bezier(.2, .8, .2, 1), width .35s cubic-bezier(.2, .8, .2, 1); }
.tab-panels { min-height: 150px; }
.tab-panels [role=tabpanel] { animation: fadeUp .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quote { font: 500 clamp(18px, 1.8vw, 21px)/1.55 var(--display); letter-spacing: -.01em; padding-left: 20px; border-left: 3px solid var(--brand); color: var(--ink); }
.timeline { list-style: none; padding: 0; margin: 36px 0 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 67px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line-2), var(--brand)); }
.timeline li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 10px 0; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 62px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--brand-2); }
.timeline li.undated { padding: 4px 0; }
.timeline li.undated::before { width: 8px; height: 8px; left: 64px; top: 18px; background: var(--brand-2); border: 0; }
.timeline li.undated strong { font-size: 15px; }
.timeline li.now::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(56, 209, 232, .2); }
.timeline .year { font: 600 13px var(--mono); color: var(--muted); padding-top: 12px; }
.timeline strong { display: block; font-size: 16px; }
.timeline p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.timeline div { padding: 10px 16px; border-radius: 12px; transition: background .2s; margin-left: 16px; }
.timeline li:hover div { background: var(--panel); }

/* ---------- apply ---------- */
.apply-grid { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 28px; align-items: start; }
.apply-options { display: grid; gap: 10px; position: sticky; top: calc(var(--nav-h) + 24px); }
.a-opt { --accent: var(--brand); display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; text-align: left; transition: all .25s; width: 100%; color: var(--ink); }
.a-opt:hover { border-color: var(--line-2); background: var(--panel-2); }
.a-opt[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.a-opt .p-logo { width: 44px; height: 44px; border-radius: 12px; padding: 6px; }
.a-opt strong { display: block; font-size: 15.5px; }
.a-opt span.sub { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.a-opt .ext { margin-left: auto; color: var(--muted); }
.a-opt .radio { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; position: relative; transition: border-color .2s; }
.a-opt[aria-checked="true"] .radio { border-color: var(--accent); }
.a-opt[aria-checked="true"] .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.a-divider { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 10px 4px 0; }

.form-panel { --accent: var(--brand); border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)); padding: 32px; min-height: 420px; position: relative; overflow: hidden; }
.form-panel::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), var(--cyan)); opacity: .8; }
.form-placeholder { height: 360px; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--muted); }
.form-placeholder .i { width: 40px; height: 40px; margin-bottom: 12px; color: var(--line-2); }
.form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.form-head h3 { font-size: 24px; }
.form-head p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.draft-note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.draft-note button { background: none; border: 0; color: var(--brand-2); cursor: pointer; font-size: 12.5px; padding: 0; }

.stepper { display: flex; gap: 6px; margin-bottom: 30px; list-style: none; padding: 0; }
.stepper li { flex: 1; min-width: 0; }
.stepper button { width: 100%; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--muted); font-size: 12.5px; }
.stepper button[disabled] { cursor: default; }
.stepper .seg { display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; overflow: hidden; position: relative; }
.stepper .seg::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--accent); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.stepper li.done .seg::after, .stepper li.current .seg::after { width: 100%; }
.stepper li.current button { color: var(--ink); font-weight: 600; }
.stepper li.done button { color: var(--ink-2); }
.stepper .lbl { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper .n { font-family: var(--mono); margin-right: 4px; opacity: .7; }

.step-pane { animation: slideIn .45s cubic-bezier(.2, .8, .2, 1); }
.step-pane.back { animation-name: slideBack; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes slideBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.step-pane h4 { font-size: 18px; margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { grid-column: 1 / -1; min-width: 0; }
.field.half { grid-column: span 1; }
.field[hidden] { display: none; }
.field > label, .field > .flabel { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 7px; }
.req { color: var(--cyan); margin-left: 2px; }
.input { width: 100%; background: rgba(3, 8, 20, .6); border: 1px solid var(--line-2); color: var(--ink); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.input::placeholder { color: #5d6a8c; }
.input:hover { border-color: rgba(148, 170, 220, .4); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); background: rgba(3, 8, 20, .85); }
textarea.input { resize: vertical; min-height: 80px; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9dc0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
select.input option { background: #0c1733; }
input[type=date].input { color-scheme: dark; }
.help { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.err { display: none; font-size: 13px; color: var(--bad); margin-top: 6px; }
.field.invalid .input, .field.invalid .opts { border-color: rgba(248, 113, 113, .6); }
.field.invalid .err { display: block; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.counter { float: right; font: 11.5px var(--mono); color: var(--muted); margin-top: 6px; }

.opts { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 12px; border: 1px solid transparent; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(3, 8, 20, .5); cursor: pointer; font-size: 14px; color: var(--ink-2); transition: all .2s; user-select: none; }
.opt span::before { content: ''; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); transition: all .2s; flex: none; }
.opt input[type=radio] + span::before { border-radius: 50%; }
.opt:hover span { border-color: rgba(148, 170, 220, .45); color: var(--ink); }
.opt input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--ink); }
.opt input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px #0b1430; }
.opt input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }

.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { width: 44px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .25s; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.form-nav .step-count { font: 12.5px var(--mono); color: var(--muted); }
.form-panel .btn-primary { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #38d1e8)); box-shadow: 0 8px 24px -10px var(--accent); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); color: #fecaca; margin-bottom: 18px; font-size: 14.5px; }

.review { display: grid; gap: 14px; }
.review-sec { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.review-sec header { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--panel); font: 600 14px var(--display); }
.review-sec header button { background: none; border: 0; color: var(--brand-2); cursor: pointer; font-size: 13px; }
.review-sec dl { margin: 0; padding: 6px 16px 10px; display: grid; grid-template-columns: minmax(120px, 42%) 1fr; }
.review-sec dt, .review-sec dd { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.review-sec dt { color: var(--muted); padding-right: 12px; }
.review-sec dd { word-break: break-word; white-space: pre-line; }
.review-sec dl > :nth-last-child(-n+2) { border-bottom: 0; }

.success { text-align: center; padding: 30px 10px; animation: fadeUp .6s cubic-bezier(.2, .8, .2, 1); }
.success-badge { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, .12); color: var(--ok); position: relative; }
.success-badge::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(34, 197, 94, .3); animation: ping 2s infinite; }
.success-badge svg { width: 40px; height: 40px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 26px; margin-bottom: 8px; }
.success p { color: var(--ink-2); max-width: 480px; margin: 0 auto 22px; }
.ref { display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); margin-bottom: 26px; }
.ref code { font: 600 22px var(--mono); letter-spacing: .06em; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 620px, 0) rotate(var(--r)); opacity: 0; } }

/* ---------- contact ---------- */
.contact { overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -1; opacity: .16; background: url('../../web_images/Office Meeting Picture_1.jpg') center / cover no-repeat; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: rgba(8, 17, 40, .75); backdrop-filter: blur(10px); color: var(--ink); transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s; position: relative; }
.contact-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.contact-card strong { font: 600 20px var(--display); word-break: break-word; }
.contact-card strong a { color: inherit; }
.cc-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(47, 140, 240, .14); color: var(--brand-2); margin-bottom: 14px; }
.cc-icon .i { width: 22px; height: 22px; }
.cc-label { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cc-sub { color: var(--muted); font-size: 14px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); cursor: pointer; font-size: 13px; transition: all .2s; }
.copy-btn:hover { border-color: var(--brand-2); color: var(--ink); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer .logo { margin-bottom: 14px; }
.footer p { font-size: 14.5px; max-width: 300px; }
.footer h4 { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14.5px; }
.footer ul a { color: var(--ink-2); transition: color .2s; }
.footer ul a:hover { color: var(--ink); }
.footer-base { width: calc(100% - 48px); max-width: 1172px; padding: 22px 0 0 !important; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.to-top { color: var(--muted); }
.to-top:hover { color: var(--ink); }

/* ---------- lightbox / toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(2, 5, 14, .92); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 56px 72px; animation: fadeUp .3s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1400px; width: 100%; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox figcaption { text-align: center; color: var(--ink-2); margin-top: 14px; }
.lb-close, .lb-nav { position: absolute; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .14); }
.lb-close { top: 16px; right: 16px; }
.lb-nav.prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-nav.next { right: 14px; top: 50%; translate: 0 -50%; }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; opacity: 0; z-index: 400; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; transition: all .3s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .process { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .burger { display: block; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 40px; background: rgba(5, 10, 24, .98); backdrop-filter: blur(16px); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-link { font-size: 18px; padding: 14px 12px; border-radius: 12px; justify-content: space-between; width: 100%; }
  .nav-cta { margin: 14px 0 0; padding: 14px; font-size: 16px; }
  .dd-menu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 8px 6px; }
  .dropdown.open .dd-menu { display: block; transform: none; }
  .hero-grid, .sc-grid, .showcase.flip .sc-grid, .about-grid, .apply-grid { grid-template-columns: 1fr; }
  .showcase.flip .sc-copy { order: 0; }
  .gallery, .apply-options { position: static; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .about-grid { gap: 40px; }
  .apply-options { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .a-divider { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section, .showcase { padding: 76px 0; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero h1 .typed-line { white-space: normal; min-height: 2.3em; }
  .footer-base { width: calc(100% - 32px); }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .logo small { display: none; }
  .product-grid, .service-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .field.half { grid-column: 1 / -1; }
  .form-panel { padding: 22px 18px; border-radius: 18px; }
  .stepper .lbl { display: none; }
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow li { display: flex; align-items: center; gap: 14px; text-align: left; }
  .flow li::before { margin: 0; }
  .flow li::after { display: none; }
  .flow-wrap { padding: 20px; }
  .phone { right: -6px; bottom: -20px; }
  .fc-1 { right: 0; }
  .review-sec dl { grid-template-columns: 1fr; }
  .review-sec dt { border-bottom: 0; padding-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 64px 12px; }
  .lb-nav { top: auto; bottom: 14px; translate: none; }
  .lb-nav.prev { left: calc(50% - 56px); }
  .lb-nav.next { right: calc(50% - 56px); }
  .ref code { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
