/* Summit Digital AI — styles
   Spacing scale is on an 8px grid (--s1 = 8px). */
:root {
  --bg: #07080c;
  --bg-2: #0b0d14;
  --surface: rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef0f6;
  --muted: #a3a8b8;
  --dim: #8a90a2;
  --cyan: #5ee7ff;
  --violet: #9b8cff;
  --amber: #ffb36b;
  --grad: linear-gradient(100deg, #7ce8ff 0%, #a9a2ff 100%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
  --r: 16px; --r-sm: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--s2)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(94, 231, 255, .3); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: var(--s2); top: -100px; z-index: 100; background: var(--text); color: var(--bg); padding: var(--s1) var(--s2); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: var(--s2); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s3); }
.container--narrow { max-width: 800px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  height: var(--h); padding: 0 var(--s3); border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .2s, border-color .2s;
}
.btn--sm { --h: 36px; padding: 0 var(--s2); font-size: 14px; }
.btn--lg { --h: 52px; padding: 0 var(--s4); font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--text); color: #07080c; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn--primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7), 0 0 0 4px rgba(255, 255, 255, .08); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { color: var(--cyan); font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.is-open { background: rgba(7, 8, 12, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: var(--s4); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.logo__mark { width: 28px; height: 28px; }
.logo__dim { color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: var(--s1); margin-left: auto; }
.nav__links a { font-size: 14px; color: var(--muted); padding: 6px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); padding: var(--s2) var(--s3) var(--s3); height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a:not(.btn) { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.02em; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: var(--s4); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + var(--s8)) 0 var(--s12); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; transform: scale(1.06); will-change: transform; }
.hero__overlay { position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 15% 40%, rgba(7, 8, 12, .82) 0%, rgba(7, 8, 12, .55) 45%, rgba(7, 8, 12, .1) 80%),
    linear-gradient(180deg, rgba(7, 8, 12, .55) 0%, rgba(7, 8, 12, 0) 30%, rgba(7, 8, 12, 0) 60%, var(--bg) 100%);
}
.hero__content { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3); }
.eyebrow .dot, .chat__status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(94, 231, 255, .16); }
.hero .eyebrow { padding: 6px 14px 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7, 8, 12, .4); backdrop-filter: blur(8px); text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); }
.hero__title { font-size: clamp(44px, 8.4vw, 104px); line-height: .98; letter-spacing: -.045em; max-width: 12ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .serif { font-size: 1.04em; letter-spacing: -.02em; padding-right: .08em; }
.hero__sub { margin-top: var(--s3); max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #c5c9d6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.hero__assure { margin-top: var(--s2); font-size: 14px; color: var(--muted); }
.hero__assure span { white-space: nowrap; }
.hero__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: var(--s6); margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); max-width: 680px; }
.hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.hero__facts strong { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero__facts span { font-size: 13px; color: var(--muted); }
.hero__scroll { position: absolute; left: 50%; bottom: var(--s4); width: 24px; height: 40px; margin-left: -12px; border: 1.5px solid var(--line-2); border-radius: 12px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: scrollDot 2s var(--ease) infinite; }
.hero__pause { position: absolute; right: var(--s3); bottom: var(--s4); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(7, 8, 12, .7); cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.hero__pause:hover { opacity: 1; border-color: rgba(255, 255, 255, .3); }
.hero__pause svg { width: 14px; height: 14px; stroke: var(--text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__pause .i-play { display: none; fill: var(--text); stroke: none; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { position: relative; isolation: isolate; padding: 112px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 20%, var(--bg-2) 80%, var(--bg) 100%); }
.section--alt::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 35% at 50% 30%, rgba(255, 255, 255, .025), transparent 100%); }
.section__head { max-width: 720px; margin-bottom: var(--s8); position: relative; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head h2 { font-size: clamp(34px, 5vw, 60px); }
.lede { margin-top: var(--s3); font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 620px; }
.micro { margin-top: var(--s4); font-size: 14px; color: var(--dim); position: relative; }
.section__more { margin-top: var(--s4); }

.grid { display: grid; gap: var(--s3); position: relative; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--ai { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards + hover glow ---------- */
.card, .industry, .work, .price, .chat, .form-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 2px rgba(0, 0, 0, .4);
}
.card { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
/* .glow marks clickable cards: spotlight border, lift, focus ring */
/* Lift uses `translate`, independent of the reveal's `transform`, so the two never fight. */
.glow { --mx: 50%; --my: 50%; transition: translate .5s var(--ease), border-color .3s; }
.js .reveal.glow { transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s), translate .5s var(--ease), border-color .3s; }
.glow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .35s;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(255, 255, 255, .45), rgba(94, 231, 255, .2) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glow:hover::after { opacity: 1; }
.glow:hover { translate: 0 -3px; border-color: var(--line-2); }
.glow:focus-visible { border-radius: var(--r); outline-offset: 4px; }
.card h3 { font-size: 22px; letter-spacing: -.02em; }
.card p { color: var(--muted); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(94, 231, 255, .08); border: 1px solid rgba(94, 231, 255, .18); margin-bottom: var(--s1); }
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__price { font-family: var(--display); font-size: 32px; font-weight: 600; letter-spacing: -.03em; color: var(--text) !important; }
.card__price span { font-family: var(--font); font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.card--feature { border-color: rgba(94, 231, 255, .22); background: linear-gradient(180deg, rgba(94, 231, 255, .07), rgba(155, 140, 255, .02)); }

.ticks { display: flex; flex-direction: column; gap: 10px; margin-top: var(--s1); }
.ticks li { position: relative; padding-left: 28px; color: #c9cdd8; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(94, 231, 255, .14); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 3.5px; border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-45deg); }

.ai-card h3 { font-size: 20px; }
.ai-card__price { margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--line); color: var(--text) !important; font-weight: 500; font-size: 15px; }
.ai-card__price .from { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); margin-bottom: 2px; }
.card--cta { justify-content: center; background: radial-gradient(120% 120% at 100% 0%, rgba(155, 140, 255, .16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); border-style: dashed; border-color: var(--line-2); }
.card--cta .eyebrow { margin-bottom: 0; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); }
.industry { padding: var(--s3); display: flex; flex-direction: column; justify-content: flex-start; gap: var(--s1); }
.industry h3 { font-size: 19px; letter-spacing: -.02em; margin-top: var(--s2); }
.industry p { font-size: 14px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 1px; background: linear-gradient(90deg, var(--line-2), rgba(94, 231, 255, .5), var(--line-2)); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1.2s var(--ease); }
.step { position: relative; padding-top: var(--s8); }
.step__n { position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.step--hi .step__n { border-color: rgba(94, 231, 255, .6); color: var(--cyan); background: #0c1a20; }
.step h3 { font-size: 22px; margin-bottom: var(--s1); }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Work ---------- */
.work { display: flex; flex-direction: column; overflow: hidden; }
.work__frame { margin: var(--s2) var(--s2) 0; border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; background: #0d1018; }
.work__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.work__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.work__bar span { margin-left: var(--s1); font-size: 12px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work__shot { aspect-ratio: 20 / 9; position: relative; overflow: hidden; background: #0d1018; }
.work__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work:hover .work__shot img { transform: scale(1.035); }
.work__meta { padding: var(--s3) var(--s4) var(--s4); display: flex; flex-direction: column; gap: var(--s1); }
.work__meta h3 { font-size: 24px; }
.work__meta p { color: var(--muted); }
.work__meta .link { margin-top: var(--s1); }
.tag { align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); background: rgba(255, 179, 107, .1); border: 1px solid rgba(255, 179, 107, .25); padding: 4px 10px; border-radius: 999px; }

/* ---------- Pricing ---------- */
.price { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.plan-group { display: flex; gap: var(--s2); }
.plan-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.plan-group ~ .plan-group { margin-top: var(--s8); }
.price h4 { font-size: 18px; font-family: var(--font); font-weight: 500; letter-spacing: -.01em; color: #d5d8e2; }
.price__amt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; font-family: var(--display); font-weight: 600; font-size: 56px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price__amt .cur { font-size: 28px; color: var(--muted); align-self: flex-start; margin-top: 6px; }
.price__amt .per { font-family: var(--font); font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price__desc { color: var(--muted); font-size: 15px; }
.price .ticks { flex: 1; margin-bottom: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); }
.price--pro { border-color: rgba(94, 231, 255, .35); background: linear-gradient(180deg, rgba(94, 231, 255, .09), rgba(155, 140, 255, .03) 60%); box-shadow: 0 24px 64px -40px rgba(94, 231, 255, .3); }
.badge { position: absolute; top: -12px; left: var(--s4); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--cyan); color: #07080c; }
.badge--alt { background: rgba(255, 179, 107, .14); color: var(--amber); border: 1px solid rgba(255, 179, 107, .3); backdrop-filter: blur(8px); }
.addon { margin-top: var(--s4); padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 15px; position: relative; }
.addon strong { color: var(--text); font-weight: 600; }

.table-wrap { margin-top: var(--s4); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.table-title { font-size: 18px; padding: var(--s3) var(--s3) var(--s2); letter-spacing: -.02em; }
.scroll-x { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th:not(:first-child), .compare td { width: 20%; }
.compare th, .compare td { padding: 14px var(--s3); text-align: left; border-top: 1px solid var(--line); white-space: nowrap; }
.compare thead th { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); border-top: 0; }
.compare tbody th { font-weight: 400; color: #c9cdd8; }
.compare td { color: var(--text); }
.compare .hi { background: rgba(94, 231, 255, .05); }
.compare thead .hi { color: var(--cyan); }
.compare .total th, .compare .total td { font-weight: 600; color: var(--text); }
.compare i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; position: relative; vertical-align: middle; }
.compare i.y { background: rgba(94, 231, 255, .16); }
.compare i.y::after { content: ""; position: absolute; left: 5px; top: 4.5px; width: 6px; height: 3.5px; border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-45deg); }
.compare i.n::after { content: ""; position: absolute; left: 4px; right: 4px; top: 7.5px; height: 1px; background: var(--dim); }

/* ---------- Demo chat ---------- */
.demo { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s8); align-items: center; }
.demo__copy { margin-bottom: 0; }
.demo__copy .ticks { margin-top: var(--s4); }
.chat { display: flex; flex-direction: column; height: 560px; overflow: hidden; background: linear-gradient(180deg, rgba(16, 19, 28, .9), rgba(10, 12, 18, .95)); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }
.chat__avatar { width: 36px; height: 36px; border-radius: 10px; background: #0b0d14; border: 1px solid var(--line-2); display: grid; place-items: center; }
.chat__avatar svg { width: 22px; height: 22px; }
.chat__name { font-weight: 600; font-size: 15px; white-space: nowrap; }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.chat__status .dot { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .16); }
.chat__badge { margin-left: auto; white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: var(--amber); background: rgba(255, 179, 107, .1); border: 1px solid rgba(255, 179, 107, .25); }
.chat__log { flex: 1; overflow-y: auto; padding: var(--s3); display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; animation: msgIn .35s var(--ease) both; }
.msg--bot { align-self: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--text); color: #07080c; border-bottom-right-radius: 4px; }
.msg a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__chips { display: flex; flex-wrap: wrap; gap: var(--s1); padding: var(--s1) var(--s3) var(--s2); }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(94, 231, 255, .3); background: rgba(94, 231, 255, .06); color: var(--text); font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.chip:hover { background: rgba(94, 231, 255, .14); border-color: rgba(94, 231, 255, .6); transform: translateY(-1px); }
.chat__form { display: flex; gap: var(--s1); padding: 12px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; height: 44px; padding: 0 var(--s2); border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 15px; }
.chat__form input::placeholder { color: var(--dim); }
.chat__form input:focus { outline: none; border-color: rgba(94, 231, 255, .6); box-shadow: 0 0 0 3px rgba(94, 231, 255, .15); }
.chat__form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: var(--text); color: #07080c; cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.chat__form button:hover { transform: translateY(-1px); }
.chat__form button svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); position: relative; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s3) 0; font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -.015em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cyan); }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(var(--text), var(--text)) center / 10px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 10px no-repeat;
  transition: transform .3s var(--ease), background-size .3s; }
.faq details[open] summary::after { transform: rotate(180deg); background-size: 10px 1.5px, 1.5px 0; }
.faq details > div { overflow: hidden; }
.faq details p { padding: 0 var(--s6) var(--s3) 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 50% at 80% 50%, rgba(94, 231, 255, .05), transparent 70%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s8); align-items: start; position: relative; }
.contact__list { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.contact__list li { display: flex; flex-direction: column; gap: 2px; color: #c9cdd8; }
.contact__list span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.contact__list a { color: var(--text); border-bottom: 1px solid var(--line-2); align-self: flex-start; }
.contact__list a:hover { border-color: var(--cyan); }
.form-card { padding: var(--s5); background: linear-gradient(180deg, rgba(16, 19, 28, .85), rgba(10, 12, 18, .9)); }
.form-card form { display: flex; flex-direction: column; gap: var(--s3); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: flex; flex-direction: column; gap: var(--s1); border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: #d5d8e2; padding: 0; }
.field legend { margin-bottom: var(--s1); }
.field .opt { color: var(--dim); font-weight: 400; }
.field .req { color: var(--cyan); }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 var(--s2); border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: border-color .2s, box-shadow .2s, background .2s; font-size: 16px; }
.field textarea { height: auto; padding: 12px var(--s2); resize: vertical; min-height: 112px; }
.field textarea::placeholder { color: var(--dim); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .24); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(94, 231, 255, .7); box-shadow: 0 0 0 3px rgba(94, 231, 255, .15); background: rgba(255, 255, 255, .05); }
.field [aria-invalid="true"] { border-color: #ff7a8a; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: var(--s5); cursor: pointer; }
.select select option { background: #0f121a; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.checks { display: flex; flex-wrap: wrap; gap: var(--s1); }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s2); border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 14px; color: #c9cdd8; transition: border-color .2s, background .2s, color .2s; }
.check:hover span { border-color: rgba(255, 255, 255, .28); }
.check input:checked + span { border-color: rgba(94, 231, 255, .7); background: rgba(94, 231, 255, .12); color: var(--text); }
.check input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.err { font-size: 13px; color: #ff9aa6; min-height: 0; }
.err:empty { display: none; }
.form-card .micro { margin-top: 0; text-align: center; }
.form-card .micro a, .success a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.success { text-align: center; padding: var(--s8) var(--s3); animation: msgIn .5s var(--ease) both; }
.success:focus { outline: none; }
.success__icon { width: 64px; height: 64px; margin: 0 auto var(--s3); border-radius: 50%; display: grid; place-items: center; background: rgba(94, 231, 255, .12); border: 1px solid rgba(94, 231, 255, .4); }
.success__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 28px; margin-bottom: var(--s1); }
.success p { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: var(--s8) 0 var(--s4); }
.footer__inner { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.footer__brand p { margin-top: var(--s2); color: var(--muted); max-width: 360px; font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); align-items: flex-start; }
.footer__links a { color: var(--muted); font-size: 15px; }
.footer__links a:hover { color: var(--text); }
.footer__small { margin-top: var(--s6); font-size: 13px; color: var(--dim); }
.footer__small p { padding-top: var(--s3); border-top: 1px solid var(--line); }
.footer__small a:hover { color: var(--text); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .split .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * .08s + .1s); }
.js .split.is-in .line > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links a { padding: 6px 8px; }
  .industries { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .grid--3, .grid--ai { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: var(--s5); }
  .plan-group { max-width: 520px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--s6); }
  .steps::before { display: none; }
  .demo, .contact__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .chat { max-width: 640px; width: 100%; }
  .section { padding: var(--s12) 0; }
}
@media (min-width: 641px) and (max-width: 1080px) {
  .industries { grid-template-columns: repeat(6, 1fr); }
  .industry { grid-column: span 2; }
  .industry:nth-child(4), .industry:nth-child(5) { grid-column: span 3; }
}
@media (min-width: 641px) and (max-width: 960px) {
  #services .grid--3 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 var(--s2); }
  .section { padding: var(--s10) 0; }
  .section__head { margin-bottom: var(--s5); }
  .grid--2, .grid--3, .grid--ai, .industries, .steps { grid-template-columns: 1fr; }
  .industry { min-height: 0; }
  .hero { padding-bottom: var(--s10); align-items: flex-end; }
  .hero__video { object-position: 72% 50%; }
  .hero__overlay { background: linear-gradient(180deg, rgba(7, 8, 12, .5) 0%, rgba(7, 8, 12, .35) 30%, rgba(7, 8, 12, .85) 62%, var(--bg) 100%); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); gap: var(--s3); margin-top: var(--s6); }
  .hero__scroll { display: none; }
  .hero__pause { right: var(--s2); top: calc(var(--nav-h) + var(--s2)); bottom: auto; }
  .card, .price { padding: var(--s3); }
  .form-card { padding: var(--s3); }
  .row { grid-template-columns: 1fr; }
  .chat { height: 520px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .work__meta { padding: var(--s3); }
  .footer__inner { flex-direction: column; }
  .table-title { padding: var(--s2) var(--s2) var(--s1); }
  .compare { font-size: 13px; }
  .compare th, .compare td { white-space: normal; padding: 12px 8px; }
  .compare th:first-child { padding-left: var(--s2); }
  .compare th:last-child, .compare td:last-child { padding-right: var(--s2); }
  .compare thead th { font-size: 11px; letter-spacing: .04em; }
  .chat__head { padding: 12px var(--s2); }
  .chat__log { padding: var(--s2); }
  .chat__chips { padding: 0 var(--s2) 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .split .line > span { transform: none; }
  .hero__video { transform: none !important; }
}

/* v2: explainer video + portfolio */
.explainer { max-width: 1040px; margin: 0 auto; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -40px rgba(94, 231, 255, .25); background: #07080c; }
.explainer__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.work__more { margin-top: var(--s4); }
.pf__shot { aspect-ratio: 16 / 10; }
.pf__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.pf:hover .pf__shot img, .pf:focus-visible .pf__shot img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .pf__shot img { transition: none; } .pf:hover .pf__shot img { transform: none; } }
/* v2.1: explainer near top + sound button */
#see-it { padding-top: clamp(48px, 6vw, 80px); }
.explainer { position: relative; }
.explainer__sound { position: absolute; right: 14px; bottom: 14px; z-index: 2; font: 600 14px/1 inherit; font-family: inherit; color: #07080c; background: linear-gradient(100deg,#5ee7ff,#9b8cff); border: 0; border-radius: 999px; padding: 11px 16px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.explainer__sound:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pitch { margin-top: 14px; font-size: 1.1rem; color: var(--text, #e8eaf0); }
.pitch strong { color: #a3a8b8; font-weight: 600; }
.demo-hero { padding: clamp(100px, 12vw, 140px) 0 60px; text-align: center; }
.demo-hero .explainer { margin-top: 28px; max-width: 1200px; }
.demo-cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width:600px){.explainer__sound{font-size:12px;padding:7px 11px;right:8px;bottom:8px}}
