/* AstraTech Solutions — public website styles
   Dark navy base with warm "paper" bands for long reading. Mobile first. */

@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --bg0: #070B14; --bg1: #0B1322; --glow: #142139; --panel: #111B2E; --panel2: #16233A; --line: #26364F; --line-soft: rgba(255,255,255,.08);
  --accent: #B76227; --accent-hi: #D98A52; --accent-soft: #E7A877; --accent-tint: rgba(183,98,39,.10); --accent-tint2: rgba(183,98,39,.18);
  --brand: #F26B1D; --amber: #FFB547;
  --fg: #F3F5F8; --soft: #B7C2D1; --muted: #8291A7;
  --paper: #FFF5EC; --paper2: #FBEBDD; --ink: #1B2A41; --ink-soft: #4E5B6E; --ink-line: #EADFD2; --accent-ink: #A2541E;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --gutter: clamp(16px, 4.5vw, 40px);
  --maxw: 1240px;
  --radius: 20px; --radius-sm: 12px;
  --header-h: 80px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg0); color: var(--fg); font: 400 16px/1.65 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.15; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(183,98,39,.45); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.ico { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
@view-transition { navigation: auto; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { position: relative; padding-block: clamp(56px, 7vw, 96px); isolation: isolate; }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.section--paper .lead, .section--paper p.muted { color: var(--ink-soft); }
.section--paper .eyebrow { color: var(--accent-ink); }
.section--deep { background: var(--bg1); }
.section--glow { background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow), var(--bg1) 55%, var(--bg0)); }
.section--line { border-top: 1px solid var(--line-soft); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; } }

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(16px, 2.2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.stack { display: grid; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { text-align: center; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-hi); font: 600 12.5px/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; }
.eyebrow .star { width: 13px; height: 13px; color: var(--accent); }
.display { font: 700 clamp(38px, 6vw, 72px)/1.05 var(--display); letter-spacing: -.025em; }
.display--sm { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; }
.h1 { font: 700 clamp(36px, 5.6vw, 68px)/1.06 var(--display); letter-spacing: -.02em; }
.h2 { font: 600 clamp(30px, 4.2vw, 50px)/1.1 var(--display); letter-spacing: -.02em; }
.h3 { font: 600 clamp(20px, 2vw, 24px)/1.25 var(--display); }
.hl { color: var(--accent); }
.hl-grad { background: linear-gradient(100deg, #D98A52 0%, #B76227 45%, #FFB547 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--soft); font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.65; max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); }
.prose { font-size: 17.5px; line-height: 1.8; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.8em; color: var(--ink); }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 23px; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li + li { margin-top: .45em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 3px solid var(--accent); background: #fff; border-radius: 0 14px 14px 0; font-style: italic; }
.prose img { border-radius: 16px; margin-inline: auto; }
.prose pre { background: var(--ink); color: #E8EDF4; padding: 18px; border-radius: 14px; overflow-x: auto; font: 14px/1.6 var(--mono); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--ink-line); padding: 8px 12px; text-align: left; }

/* ---------- buttons ---------- */
.btn { --b: var(--accent); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--body); color: var(--accent-hi); background: var(--accent-tint); border: 1px solid var(--b); white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s, transform .3s var(--ease), box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, #B76227, #D17A3E); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover, .btn:focus-visible { color: #fff; box-shadow: 0 10px 30px rgba(183,98,39,.35); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn--solid { color: #fff; background: linear-gradient(110deg, #B76227, #C8702F); border-color: transparent; }
.btn--solid::before { background: linear-gradient(110deg, #C8702F, #E08A47); }
.btn--ghost { color: var(--fg); background: transparent; border-color: rgba(255,255,255,.2); font-weight: 500; }
.btn--ghost::before { background: rgba(255,255,255,.08); }
.btn--ghost:hover { color: var(--fg); box-shadow: none; border-color: rgba(255,255,255,.4); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn--block { width: 100%; }
.section--paper .btn { color: var(--accent-ink); }
.section--paper .btn:hover { color: #fff; }
.section--paper .btn--ghost { color: var(--ink); border-color: rgba(27,42,65,.22); }
.section--paper .btn--ghost::before { background: rgba(27,42,65,.06); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-hi); font-weight: 600; }
.link-arrow .ico { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.section--paper .link-arrow { color: var(--accent-ink); }

/* ---------- chips, badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(17,27,46,.7); color: #D4DBE5; font-size: 14px; white-space: nowrap; }
.chip .ico { width: 15px; height: 15px; color: var(--accent); }
.chip--btn { cursor: pointer; transition: border-color .25s, color .25s, background .25s; min-height: 40px; }
.chip--btn[aria-pressed="true"], .chip--btn.is-active { border-color: var(--accent); color: var(--fg); background: var(--accent-tint2); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font: 600 11.5px/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-soft); background: var(--accent-tint2); border: 1px solid rgba(183,98,39,.4); }
.section--paper .chip { background: #fff; border-color: var(--ink-line); color: var(--ink); }
.section--paper .badge { color: var(--accent-ink); background: #FFE9D7; border-color: #F2C8A6; }

/* ---------- cards ---------- */
.card { position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(22,35,58,.9), rgba(17,27,46,.9)); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); transition: border-color .35s, transform .45s var(--ease), box-shadow .45s; }
.card:hover { border-color: rgba(183,98,39,.55); }
.card--lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card--paper { background: #fff; border-color: var(--ink-line); color: var(--ink); }
.card--paper:hover { box-shadow: 0 18px 44px rgba(27,42,65,.1); border-color: #E9C3A3; }
.card-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-tint2); color: var(--accent-soft); border: 1px solid rgba(183,98,39,.3); }
.card-ico .ico { width: 24px; height: 24px; }
.section--paper .card-ico { background: #FFF0E3; color: var(--accent); border-color: #F6D5BA; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; color: var(--soft); }
.card--paper p, .section--paper .card p { color: var(--ink-soft); }
.card .link-arrow { margin-top: 18px; }
.glow-border { position: relative; }
.glow-border::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(217,138,82,.9), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.glow-border:hover::after { opacity: 1; }
.tick-list { list-style: none; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list .ico { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h); padding-top: env(safe-area-inset-top); transition: background .3s, border-color .3s, transform .3s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(7,11,20,.96); border-color: var(--line-soft); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav > nav { margin-left: auto; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 60px; width: auto; }
@media (max-width: 480px) { .brand img { height: 52px; } }
.nav-links { display: none; list-style: none; gap: 4px; align-items: center; }
.nav-links a { position: relative; display: inline-flex; padding: 10px 14px; border-radius: 999px; color: #C9D2DE; font-size: 15px; font-weight: 500; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,.05); }
.nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; background: var(--accent); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { display: none; }
.burger { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(17,27,46,.7); }
.burger span { position: relative; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .35s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1080px) { .nav-links { display: flex; } .burger { display: none; } .nav-cta .btn { display: inline-flex; } }

.mobile-menu { position: fixed; inset: 0; z-index: 85; background: radial-gradient(ellipse at 80% 0%, var(--glow), var(--bg0) 60%); padding: calc(var(--header-h) + 24px + env(safe-area-inset-top)) var(--gutter) calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; display: grid; gap: 2px; }
.mobile-menu li { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.mobile-menu a.mm-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font: 600 clamp(26px, 7vw, 34px)/1.15 var(--display); border-bottom: 1px solid var(--line-soft); }
.mobile-menu a.mm-link[aria-current="page"] { color: var(--accent-hi); }
.mobile-menu a.mm-link .ico { width: 22px; height: 22px; color: var(--muted); }
.mm-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mm-foot .row .btn { flex: 1; }
.menu-open { overflow: hidden; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(48px, 6vw, 80px); background: radial-gradient(ellipse 70% 70% at 70% 30%, var(--glow), var(--bg1) 50%, var(--bg0) 100%); isolation: isolate; }
.page-hero > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.page-hero .h1 { margin-top: 18px; max-width: 900px; }
.page-hero .lead { margin-top: 22px; }
.page-hero--center { text-align: center; }
.page-hero--center .h1, .page-hero--center .lead { margin-inline: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted); list-style: none; }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.page-hero--center .breadcrumbs { justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.page-hero--center .hero-actions { justify-content: center; }

/* ---------- floating background icons ---------- */
.float-icons { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.float-icons .fi { position: absolute; width: var(--s, 34px); height: var(--s, 34px); color: rgba(183,98,39,.34); animation: drift var(--d, 18s) ease-in-out infinite alternate; animation-delay: var(--delay, 0s); animation-play-state: paused; }
.float-icons.run .fi { animation-play-state: running; }
.cta-band:not(.run) .cta-star { animation-play-state: paused; }
.float-icons .fi.alt { color: rgba(183,194,209,.12); }
.section--paper .float-icons .fi { color: rgba(183,98,39,.18); }
.section--paper .float-icons .fi.alt { color: rgba(27,42,65,.08); }
@keyframes drift { 0% { transform: translate3d(0,0,0) rotate(0); } 50% { transform: translate3d(var(--x, 18px), var(--y, -22px), 0) rotate(var(--r, 12deg)); } 100% { transform: translate3d(calc(var(--x, 18px) * -.6), calc(var(--y, -22px) * .8), 0) rotate(calc(var(--r, 12deg) * -1)); } }
.grid-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.section--paper .grid-bg { background-image: linear-gradient(rgba(27,42,65,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(27,42,65,.05) 1px, transparent 1px); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(100svh, 980px); display: flex; align-items: center; padding: calc(var(--header-h) + 32px) 0 72px; background: radial-gradient(ellipse at 70% 45%, var(--glow) 0%, var(--bg1) 45%, var(--bg0) 100%); isolation: isolate; }
.hero > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; gap: 40px; align-items: center; width: 100%; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; } }
.hero-copy .display { margin-top: 20px; }
.hero-copy .lead { margin-top: 22px; max-width: 520px; }
.rot { display: block; color: var(--accent); min-height: 1.1em; }
.rot > span { display: inline-block; transition: opacity .35s ease, transform .35s ease, filter .35s; }
.rot > span.out { opacity: 0; transform: translateY(18px); }
.hero-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--soft); font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { width: 16px; height: 16px; color: var(--accent); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.hero-trust b { display: block; font: 700 26px/1 var(--display); color: var(--fg); }
.hero-trust b span { color: var(--accent); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: rgba(19,30,51,.8); color: #C9D2DE; }
.icon-btn .ico { width: 16px; height: 16px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue i { width: 22px; height: 34px; border: 1.5px solid var(--line); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 960px) and (min-height: 760px) { .scroll-cue { display: flex; } }
/* hero A */
#boxA { width: 100%; max-width: 560px; aspect-ratio: 1 / .72; }
/* hero B */
.orbit { position: relative; width: 100%; max-width: 560px; height: 420px; }
.ocore { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; z-index: 50; display: grid; place-items: center; color: var(--accent); }
.ocore .star { width: 92px; height: 92px; background: radial-gradient(circle, rgba(183,98,39,0.35) 0, transparent 68%); border-radius: 50%; }
.ocard { position: absolute; left: 0; top: 0; width: 184px; padding: 14px 16px; border-radius: 16px; background: rgba(19,30,51,.93); border: 1px solid var(--line); text-align: left; transform-origin: center; }
.ocard:hover, .ocard.front { border-color: rgba(183,98,39,.6); }
.ocard .card-ico { width: 36px; height: 36px; border-radius: 10px; }
.ocard .card-ico .ico { width: 18px; height: 18px; }
.ocard b { display: block; font: 600 15px var(--display); margin-top: 10px; }
.ocard i { display: block; height: 6px; border-radius: 3px; background: var(--line); margin-top: 8px; }
.ocap { text-align: center; min-height: 72px; max-width: 440px; }
.ocap b { display: block; font: 600 18px var(--display); }
.ocap span { color: var(--soft); font-size: 15px; }
/* hero C */
.devwrap { width: 100%; max-width: 600px; }
.devstage { position: relative; width: 600px; height: 440px; transform-origin: top left; }
.laptop { position: absolute; left: 0; top: 30px; width: 470px; }
.lscreen { position: relative; height: 300px; background: #0A101C; border: 10px solid #1A263B; border-radius: 16px 16px 6px 6px; overflow: hidden; }
.lbase { height: 16px; margin: 0 -28px; background: #22314A; border-radius: 0 0 14px 14px; }
.phone { position: absolute; right: 6px; bottom: 8px; width: 152px; height: 304px; border-radius: 28px; background: #080E19; border: 3px solid #22314A; padding: 7px; }
.pscreen { position: relative; height: 100%; border-radius: 21px; overflow: hidden; background: #0A101C; }
.code { position: absolute; inset: 0; padding: 18px 20px; font: 500 14px/1.75 var(--mono); color: #C9D3E0; white-space: pre; }
.pscreen .code { font-size: 9.5px; padding: 14px 10px; }
.code .k { color: #FFB547; } .code .s { color: #9ED3A3; } .code .t { color: #D98A52; } .code .c { color: #6F7E95; }
.ui { position: absolute; inset: 0; background: #FFF6EE; opacity: 0; }
.ui .pop { position: absolute; }
.stages { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.stage-pill { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); }
.stage-pill.on { border-color: var(--accent); color: var(--fg); background: var(--accent-tint2); }
.building { color: var(--soft); font-size: 15px; min-height: 24px; }

/* ---------- trust strip / counters ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stat { padding: clamp(22px, 3vw, 34px) clamp(8px, 2vw, 24px); border-right: 1px solid var(--line-soft); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stat { border-bottom: 0 !important; border-right: 1px solid var(--line-soft) !important; } .stat:last-child { border-right: 0 !important; } }
.stat b { display: block; font: 700 clamp(36px, 4.6vw, 56px)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat b span { color: var(--accent); }
.stat em { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: 14.5px; }

/* ---------- services cards (home) ---------- */
.svc-card { display: flex; flex-direction: column; min-height: 100%; transform-style: preserve-3d; will-change: transform; }
.svc-card .num { position: absolute; right: 24px; top: 20px; font: 500 13px var(--mono); color: var(--muted); }
.svc-card p { flex: 1; }
.svc-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.svc-card .tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--soft); }

/* ---------- featured work: grid on desktop, native swipe row on phones (no scroll hijacking) ---------- */
.work-grid { display: grid; gap: clamp(16px, 2.2vw, 24px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.swipe-hint { display: none; }
@media (max-width: 899px) {
  .work-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-grid > * { flex: 0 0 min(82vw, 380px); scroll-snap-align: start; }
  .swipe-hint { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; text-align: right; }
}
.why-sticky { align-self: start; }
@media (min-width: 900px) { .why-sticky { position: sticky; top: 110px; } }

/* ---------- project card ---------- */
.proj { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .35s, box-shadow .45s; height: 100%; }
.proj:hover { transform: translateY(-6px); border-color: rgba(183,98,39,.55); box-shadow: var(--shadow); }
.proj-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #142139, #0B1322); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj:hover .proj-media img, .proj:hover .proj-media > svg { transform: scale(1.04); }
.proj-media > svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.proj-media .badge { position: absolute; left: 14px; top: 14px; background: rgba(7,11,20,.82); }
.proj-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.proj-meta { color: var(--accent-soft); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.proj-body h3 { font-size: 21px; }
.proj-body p { color: var(--soft); font-size: 15px; flex: 1; }
.proj-body .link-arrow { margin-top: 8px; font-size: 15px; }
.section--paper .proj { background: #fff; border-color: var(--ink-line); }
.section--paper .proj-body p { color: var(--ink-soft); }
.section--paper .proj-meta { color: var(--accent-ink); }

/* ---------- one-read ---------- */
.read { position: relative; display: flex; flex-direction: column; background: var(--bg0); overflow: hidden; padding-block: clamp(56px, 8vw, 110px) 10px; }
.read::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(183,98,39,.10), transparent 40%), radial-gradient(circle at 85% 85%, rgba(20,33,57,.9), transparent 50%); pointer-events: none; }
.read > .container { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 20px; min-height: 0; }
#para { font: 600 clamp(22px, 3.4vw, 48px)/1.28 var(--display); letter-spacing: -.4px; margin-top: 22px; max-width: 1120px; }
#para .w { opacity: .16; display: inline-block; white-space: pre; transition: opacity .35s ease; }
#para .w.on { opacity: 1; }
#para .k { color: var(--accent); }
.rchip { display: inline-flex; align-items: center; justify-content: center; width: 1.12em; height: .86em; border-radius: 999px; background: rgba(183,98,39,.16); border: 1.5px solid rgba(183,98,39,.65); vertical-align: -.08em; margin: 0 .12em; transform: scale(.3); opacity: .3; color: #E7A877; transition: transform .45s cubic-bezier(.3,1.6,.5,1), opacity .3s; }
.rchip.on { transform: none; opacity: 1; }
.rchip svg { width: .5em; height: .5em; }
.hud { position: relative; width: 100%; padding-bottom: 28px; }
.hud .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; }
@media (min-width: 760px) { .hud .container { grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; } }
.hud-stage { font: 500 14px var(--mono); color: var(--fg); min-width: 230px; }
.hud-stage b { color: var(--accent-hi); font-weight: 500; }
.track { position: relative; height: 2px; background: var(--line); border-radius: 2px; }
.track .fill { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(183,98,39,.3), #B76227); transform-origin: left; transform: scaleX(0); }
.track .star { position: absolute; top: 50%; left: 0; will-change: transform; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: var(--accent);  }
.track .ticks { position: absolute; inset: 0; }
.track .ticks span { position: absolute; top: -4px; width: 2px; height: 10px; background: var(--line); }
.track .ticks span.on { background: var(--accent); }
.read.static #para .w { opacity: 1; }
.read.static .rchip { transform: none; }
.read.static .track .fill { transform: scaleX(1); }
.read.static .track .star { left: 100%; }
.read.static .rchip { opacity: 1; }
.read.static { padding-block: 72px 32px; }

/* ---------- marquee ---------- */
.marq { padding: 70px 0 80px; background: var(--bg1); border-block: 1px solid var(--line-soft); overflow: hidden; }
.marq-row { display: flex; width: max-content; gap: 14px; margin-top: 26px; }
.marq-row + .marq-row { margin-top: 14px; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font: 500 16px var(--body); white-space: nowrap; color: var(--soft); }
.tag .star { width: 12px; height: 12px; color: var(--accent); }
.tag.hi { color: var(--fg); border-color: rgba(183,98,39,.5); }
.marq-row { animation: marq 60s linear infinite; animation-play-state: paused; will-change: transform; }
.marq-row.rev { animation-direction: reverse; animation-duration: 70s; }
.marq.run .marq-row { animation-play-state: running; }
.marq-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- why list ---------- */
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--ink-line); }
.why-item:last-child { border-bottom: 1px solid var(--ink-line); }
.why-item .n { font: 500 14px var(--mono); color: var(--accent-ink); padding-top: 4px; }
.why-item h3 { font-size: 21px; color: var(--ink); }
.why-item p { margin-top: 6px; color: var(--ink-soft); }

/* ---------- products ---------- */
.product { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .product.rev .product-visual { order: 2; } }
.product-visual { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; background: radial-gradient(ellipse at 30% 20%, #1E2F4E, #0B1322 70%); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.section--paper .product-visual { background: radial-gradient(ellipse at 30% 20%, #FFE3CC, #F6E7DA 70%); border-color: var(--ink-line); }

/* device mockups */
.device { position: relative; width: 82%; transform: perspective(1400px) rotateY(-12deg) rotateX(6deg); transition: transform .8s var(--ease); }
.product-visual:hover .device { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.device .screen { aspect-ratio: 16 / 10; border-radius: 14px 14px 4px 4px; border: 8px solid #1A263B; background: #F6F1EA; overflow: hidden; }
.device .base { height: 12px; margin: 0 -6%; background: linear-gradient(#2A3A55, #1A263B); border-radius: 0 0 14px 14px; }
.device-phone { position: absolute; right: 6%; bottom: 8%; width: 24%; aspect-ratio: 9 / 18.5; border-radius: 22px; border: 5px solid #1A263B; background: #F6F1EA; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.4); transform: perspective(900px) rotateY(-10deg); }

/* ---------- blog cards ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--ink-line); color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(27,42,65,.12); }
.post-cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1B2A41, #0B1322); overflow: hidden; position: relative; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover .gen { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: #fff; font: 600 20px/1.3 var(--display); }
.post-cover .gen .star { position: absolute; width: 140px; height: 140px; right: -30px; bottom: -30px; color: rgba(183,98,39,.35); }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body .meta { font-size: 13px; color: var(--ink-soft); display: flex; gap: 10px; flex-wrap: wrap; }
.post-body h3 { font-size: 20px; line-height: 1.3; }
.post-body p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.dark .post-card { background: var(--panel); border-color: var(--line); color: var(--fg); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding-block: clamp(90px, 12vw, 150px); background: radial-gradient(ellipse 60% 80% at 50% 100%, #1B2C4C, var(--bg0) 70%); isolation: isolate; }
.cta-band .h2 { max-width: 820px; margin: 16px auto 0; }
.cta-band .lead { margin: 18px auto 0; }
.cta-band .hero-actions { justify-content: center; }
.cta-star { width: 64px; height: 64px; margin: 0 auto; color: var(--accent); background: radial-gradient(circle, rgba(183,98,39,0.4) 0, transparent 68%); border-radius: 50%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.site-footer { background: var(--bg0); border-top: 1px solid var(--line-soft); padding: clamp(56px, 7vw, 88px) 0 calc(96px + env(safe-area-inset-bottom)); color: var(--soft); font-size: 15px; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .foot-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }
.foot-brand img { height: 60px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 360px; }
.site-footer .foot-title, .sitemap-col .foot-title { font: 600 13px var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--fg); margin-bottom: 16px; }
.foot-links { list-style: none; display: grid; gap: 10px; }
.foot-links a { display: inline-flex; align-items: center; gap: 9px; color: var(--soft); transition: color .2s; }
.foot-links .ico { width: 15px; height: 15px; color: var(--accent); opacity: .85; }
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { display: inline-flex; align-items: center; gap: 6px; }
.foot-legal .ico { width: 14px; height: 14px; }
.rot-up { transform: rotate(-45deg); }
.foot-links a:hover { color: var(--accent-hi); }
.foot-contact { list-style: none; display: grid; gap: 12px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ico { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--soft); transition: color .2s, border-color .2s, transform .3s; }
.socials a:hover { color: var(--fg); border-color: var(--accent); transform: translateY(-3px); }
.socials .ico { width: 18px; height: 18px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: 13.5px; }
.foot-bottom a:hover { color: var(--fg); }
.foot-word { font: 700 clamp(44px, 10vw, 136px)/.9 var(--display); letter-spacing: -.04em; text-align: center; margin-top: 48px; background: linear-gradient(180deg, rgba(183,98,39,.35), rgba(183,98,39,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color .3s; }
.faq details[open] { border-color: rgba(183,98,39,.55); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font: 600 17px/1.4 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--soft); }
.section--paper .faq details { background: #fff; border-color: var(--ink-line); }
.section--paper .faq details p { color: var(--ink-soft); }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 500; font-size: 14.5px; color: var(--fg); }
.field .opt { color: var(--muted); font-weight: 400; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(7,11,20,.55); color: var(--fg); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(183,98,39,.18); }
.input::placeholder, .textarea::placeholder { color: #66758C; }
.field.invalid .input, .field.invalid .textarea { border-color: #E5735F; }
.field .err { color: #F19A88; font-size: 13.5px; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--soft); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; flex: 0 0 auto; }

/* ---------- consent + misc ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; max-width: 520px; padding: 18px 20px; border-radius: 18px; background: rgba(17,27,46,.97); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; color: var(--soft); }
.consent .row { margin-top: 12px; }
@media (min-width: 640px) { .consent { left: 24px; right: auto; bottom: 24px; } }
.progress-bar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 100; background: linear-gradient(90deg, #B76227, #FFB547); transform-origin: left; transform: scaleX(0); }

/* ---------- reveal (JS adds .js to <html>); compositor-only transitions ---------- */
.js [data-reveal], .js [data-split], .js [data-reveal-stagger] > * { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js .in[data-reveal], .js .in[data-split], .js [data-reveal-stagger].in > * { opacity: 1; transform: none; }
.js.reduced [data-reveal], .js.reduced [data-split], .js.reduced [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
.hero [data-split], .page-hero [data-split] { animation: heroIn .7s var(--ease) both; opacity: 1 !important; transform: none !important; }
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

/* back to top: sits above the chat button */
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 79; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(17,27,46,.95); border: 1px solid var(--line); color: var(--fg); box-shadow: 0 8px 24px rgba(0,0,0,.35); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s, border-color .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); }
.to-top .ico { width: 18px; height: 18px; }
.astra-bot:has(.ab-panel:not([hidden])) ~ .to-top { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.hl-grad .sw { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Ask Astra chatbot ---------- */
.astra-bot { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; font-family: var(--body); }
.ab-launcher { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 8px; border-radius: 999px; background: linear-gradient(110deg, #B76227, #CF7535); color: #fff; font-weight: 600; box-shadow: 0 14px 34px rgba(183,98,39,.45); transition: transform .3s var(--ease); }
.ab-launcher:hover { transform: translateY(-3px); }
.ab-launcher-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(7,11,20,.25); display: grid; place-items: center; color: #FFE1C2; }
.ab-launcher-icon svg { width: 20px; height: 20px; animation: spin 10s linear infinite; }
.ab-nudge { position: absolute; right: 0; bottom: 66px; width: 230px; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink); font-size: 14px; box-shadow: var(--shadow); cursor: pointer; animation: valIn .4s var(--ease); }
.ab-panel { width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100svh - 110px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #0E1626; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55); animation: valIn .35s var(--ease); }
@keyframes valIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ab-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(120deg, #142139, #0B1322); border-bottom: 1px solid var(--line); }
.ab-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint2); color: var(--amber); border: 1px solid rgba(183,98,39,.5); }
.ab-avatar svg { width: 18px; height: 18px; }
.ab-title { font: 600 16px var(--display); }
.ab-sub { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ab-sub i { width: 7px; height: 7px; border-radius: 50%; background: #5BC27A; display: inline-block; }
.ab-close { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--soft); }
.ab-close:hover { background: rgba(255,255,255,.06); }
.ab-close svg { width: 18px; height: 18px; }
.ab-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.ab-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; animation: valIn .3s var(--ease); white-space: pre-line; }
.ab-bot { align-self: flex-start; background: #17233A; border-bottom-left-radius: 4px; color: #E3E8EF; }
.ab-user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.ab-typing { display: inline-flex; gap: 4px; }
.ab-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.ab-typing span:nth-child(2) { animation-delay: .15s; } .ab-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.ab-options { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-opt { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(183,98,39,.55); color: var(--accent-soft); font-size: 14px; text-align: left; transition: background .2s, color .2s; }
.ab-opt:hover { background: var(--accent); color: #fff; }
.ab-cta, .ab-lead { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: #131E33; border: 1px solid var(--line); }
.ab-wa, .ab-call, .ab-lead button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.ab-wa { background: #25A55F; color: #fff; }
.ab-wa svg { width: 18px; height: 18px; }
.ab-call, .ab-lead button { background: var(--accent-tint2); border: 1px solid var(--accent); color: var(--accent-soft); }
.ab-lead input { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #0B1322; color: var(--fg); font-size: 16px; }
.ab-err { color: #F19A88; font-size: 13px; }
.ab-secondary { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.ab-link { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.ab-inline-link { color: var(--accent-hi); font-weight: 600; }
.ab-input { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #0B1322; }
.ab-input input { flex: 1; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #131E33; color: var(--fg); font-size: 16px; }
.ab-input input:focus { outline: none; border-color: var(--accent); }
.ab-input button { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.ab-input button svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .ab-launcher-text { display: none; } .ab-launcher { padding: 0 7px; } .astra-bot:has(.ab-panel:not([hidden])) { right: 8px; left: 8px; bottom: 8px; } .ab-panel { width: 100%; height: calc(100svh - 16px - env(safe-area-inset-top)); } }
.err-page { position: relative; overflow: hidden; isolation: isolate; }
.section, .cta-band, .page-hero { overflow-x: clip; }
