:root {
  /* Light / Swiss base */
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #f4f1fb;
  --ink: #0b1220;        /* headings + primary buttons */
  --ink-2: #1c2638;
  --muted: #5a6675;
  --muted-2: #8a94a3;
  --border: #e7ebf1;
  --border-2: #dde3ec;

  /* HackneyLane brand */
  --cyan: #22d3ee;
  --purple: #a855f7;
  --magenta: #ec0e96;
  --teal: #a855f7; /* accent links use brand purple */
  --grad: linear-gradient(100deg, #22d3ee 0%, #a855f7 52%, #ec0e96 100%);

  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 8px 24px rgba(11,18,32,.06);
  --shadow-md: 0 12px 40px rgba(11,18,32,.10);
  --shadow-lg: 0 30px 70px rgba(11,18,32,.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Hanken Grotesk", system-ui, sans-serif; color: var(--ink-2); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, .brand-text { font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif; letter-spacing: -0.02em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: .95rem; padding: .8rem 1.5rem; border-radius: 10px; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s, box-shadow .3s, background .25s, color .25s, border-color .25s; }
.btn--sm { padding: .58rem 1.1rem; font-size: .88rem; }
.btn--lg { padding: .95rem 1.8rem; font-size: 1rem; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(11,18,32,.18); }
.btn--ink:hover { background: #000; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11,18,32,.24); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); }
.brand img { border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-size: 1.05rem; }
.brand-sub { font-size: .54rem; letter-spacing: .42em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a.btn { color: #fff; }
.site-header.scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(11,18,32,.04); border-color: var(--border); }
/* White header over the dark hero (before scroll) */
.site-header:not(.scrolled) .brand { color: #fff; }
.site-header:not(.scrolled) .nav a { color: rgba(255,255,255,.82); }
.site-header:not(.scrolled) .nav a:hover { color: #fff; }
.site-header:not(.scrolled) .nav a.btn { color: #fff; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
/* keep links readable in the open mobile panel (white background) */
.site-header:not(.scrolled) .nav.open a { color: var(--ink); }
.site-header:not(.scrolled) .nav.open a.btn { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* ---------- Hero (dark, swirling WebGL shader) ---------- */
.hero { position: relative; background: #05060d; color: #fff; overflow: hidden; padding: 7rem 1.5rem 5.5rem; text-align: center; min-height: 92vh; display: flex; align-items: center; justify-content: center; }
/* fallback gradient shown if WebGL/shader is unavailable */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(75% 65% at 28% 18%, rgba(34,211,238,.20), transparent 60%), radial-gradient(70% 65% at 82% 28%, rgba(236,14,150,.22), transparent 60%), radial-gradient(95% 90% at 50% 105%, rgba(168,85,247,.22), transparent 60%); }
#shader-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 95% at 50% 35%, rgba(5,6,13,0) 28%, rgba(5,6,13,.6) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; font-weight: 600; color: var(--purple); margin-bottom: 1.1rem; }
.eyebrow.teal { color: var(--purple); }
.hero .eyebrow { color: #cbb9ff; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.04; color: #fff; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lede { max-width: 620px; margin: 1.5rem auto 2.2rem; font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: rgba(255,255,255,.8); }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.hero-trust { margin-top: 1.8rem; display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: rgba(255,255,255,.72); }
.hero-trust strong { color: #fff; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: #f5a623; }
.hero .btn--ink { background: #fff; color: #0b1220; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero .btn--ink:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,0,0,.45); }
.hero .btn--ghost { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.14); }

/* Hero preview window */
.hero-preview { position: relative; z-index: 1; max-width: 940px; margin: 3.4rem auto 0; }
.window { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: .7rem 1rem; border-bottom: 1px solid var(--border); background: #fbfcfe; }
.wdot { width: 11px; height: 11px; border-radius: 50%; background: #e2e7ee; }
.wdot:nth-child(1){ background:#ff5f57;} .wdot:nth-child(2){ background:#febc2e;} .wdot:nth-child(3){ background:#28c840;}
.window-url { margin-left: auto; font-size: .76rem; color: var(--muted-2); background: #f1f4f8; padding: .25rem .8rem; border-radius: 999px; }
.window-body { display: grid; grid-template-columns: 150px 1fr; min-height: 280px; text-align: left; }
.wp-side { background: #fbfcfe; border-right: 1px solid var(--border); padding: 1.1rem .9rem; display: flex; flex-direction: column; gap: .7rem; }
.wp-logo { height: 26px; width: 26px; border-radius: 8px; background: var(--grad); }
.wp-nav { height: 11px; border-radius: 6px; background: #eef1f6; }
.wp-nav.is-on { background: var(--ink); width: 80%; }
.wp-main { padding: 1.4rem; display: flex; flex-direction: column; gap: 1.3rem; }
.wp-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem; }
.wp-kpi { border: 1px solid var(--border); border-radius: 12px; padding: .9rem; background: #fff; }
.wp-kpi-num { display: block; font-family: "Bricolage Grotesque"; font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.wp-kpi-lbl { font-size: .74rem; color: var(--muted-2); }
.wp-chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding-top: .4rem; border-top: 1px solid var(--border); }
.wp-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: var(--grad); opacity: .85; }

.float-card { position: absolute; display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md); border-radius: 12px; padding: .6rem .9rem; font-size: .82rem; font-weight: 600; color: var(--ink); animation: floaty 5s ease-in-out infinite; }
.float-card--a { top: 16%; left: -2%; }
.float-card--b { bottom: 14%; right: -2%; animation-delay: 1.2s; }
.fc-dot { width: 9px; height: 9px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40,200,64,.16); }
.fc-ico { width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 5.5rem 1.5rem; }
.section--light { max-width: none; background: var(--bg-soft); }
.section--light > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin-bottom: 3.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.1; }
.section-lede { color: var(--muted); margin-top: .9rem; font-size: 1.08rem; }

/* ---------- Feature rows ---------- */
.feature-rows { display: flex; flex-direction: column; gap: 5rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.frow--rev .frow-copy { order: 2; }
.frow-ix { font-family: "Bricolage Grotesque"; font-weight: 700; font-size: .8rem; letter-spacing: .1em; color: var(--purple); display: inline-block; margin-bottom: .7rem; padding: .25rem .65rem; border: 1px solid var(--border-2); border-radius: 999px; }
.frow-copy h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .7rem; }
.frow-copy > p { color: var(--muted); font-size: 1.04rem; }
.ticks { list-style: none; margin: 1.3rem 0 1.6rem; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink-2); font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center/16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center/16px no-repeat; }
.learn { display: inline-flex; align-items: center; font-weight: 600; color: var(--ink); font-size: .96rem; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.learn:hover { color: var(--purple); border-color: var(--purple); }

/* Feature visual panels */
.frow-visual { display: flex; }
.vpanel { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(160deg, #fbfcff, #f3f0fb); box-shadow: var(--shadow-md); padding: 1.5rem; position: relative; overflow: hidden; }
.vpanel::after { content: ""; position: absolute; width: 60%; height: 60%; right: -15%; top: -20%; background: var(--grad); filter: blur(70px); opacity: .18; }
.vpanel > * { position: relative; z-index: 1; }
/* dashboard */
.vpanel--dash { display: flex; flex-direction: column; gap: 1rem; }
.vp-row { display: flex; gap: .6rem; align-items: center; }
.vp-pill { height: 14px; width: 120px; border-radius: 7px; background: var(--ink); }
.vp-pill.sm { width: 60px; background: #dfe4ec; }
.vp-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.vp-card { height: 54px; border-radius: 10px; background: #fff; border: 1px solid var(--border); }
.vp-chart { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.vp-chart span { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: var(--grad); opacity: .85; }
/* board */
.vpanel--board { display: flex; gap: .8rem; align-items: stretch; }
.vp-col { flex: 1; display: flex; flex-direction: column; gap: .6rem; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .8rem; }
.vp-tag { height: 10px; width: 60%; border-radius: 5px; background: var(--cyan); }
.vp-tag.alt { background: var(--purple); }
.vp-tag.alt2 { background: var(--magenta); }
.vp-note { height: 30px; border-radius: 8px; background: #f0f3f8; }
.vp-note.sm { height: 18px; }
/* web */
.vpanel--web { display: flex; flex-direction: column; gap: .8rem; }
.vp-browser { display: flex; gap: 6px; }
.vp-dot { width: 9px; height: 9px; border-radius: 50%; background: #dfe4ec; }
.vp-hero { height: 46%; border-radius: 12px; background: var(--grad); opacity: .9; }
.vp-blocks { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; flex: 1; }
.vp-blocks span { border-radius: 10px; background: #fff; border: 1px solid var(--border); }
/* ai */
.vpanel--ai { display: flex; flex-direction: column; gap: 1rem; }
.vp-term { background: var(--ink); border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.vp-line { height: 9px; border-radius: 5px; background: rgba(255,255,255,.22); width: 90%; }
.vp-line.sm { width: 60%; background: var(--cyan); }
.vp-line.xs { width: 40%; background: var(--magenta); }
.vp-nodes { display: flex; justify-content: space-between; align-items: center; }
.vp-node { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); position: relative; }
.vp-nodes::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--magenta)); opacity: .4; }

/* ---------- Process funnel ---------- */
.funnel { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.funnel-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.4rem; transition: transform .3s, box-shadow .3s, border-color .3s; }
.funnel-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.funnel-step:not(:last-child)::after { content: ""; position: absolute; top: 2.4rem; right: -.8rem; width: 1.6rem; height: 2px; background: var(--border-2); z-index: 1; }
.fs-num { font-family: "Bricolage Grotesque"; font-weight: 700; font-size: 1rem; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--grad); color: #fff; margin-bottom: 1rem; }
.funnel-step h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.funnel-step p { color: var(--muted); font-size: .93rem; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.work-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-thumb { height: 200px; position: relative; display: flex; align-items: flex-start; padding: 1rem; }
.work-thumb--astar { background: linear-gradient(135deg, #0e2a3a, #19a7d8 70%, var(--cyan)); }
.work-thumb--wehire { background: linear-gradient(135deg, #2a0e3a, #7c3aed 60%, var(--magenta)); }
.work-thumb--vunzerble { background: linear-gradient(135deg, #0a2e2a, #0f9b8e 65%, #22d3ee); }
.work-thumb--jdw { background: linear-gradient(135deg, #10331a, #3fa34d 65%, #9ad94f); }
.work-tag { background: rgba(5,6,13,.5); backdrop-filter: blur(6px); color: #fff; padding: .3rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.work-body { padding: 1.5rem; }
.work-body h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.work-body p { color: var(--muted); font-size: .96rem; margin-bottom: .9rem; }

/* ---------- Pricing ---------- */
.section--tint { max-width: none; background: var(--bg-tint); padding: 5.5rem 1.5rem; }
.section--tint > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem 1.6rem 1.8rem; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.price-card .bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.price-card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.price-card > p { color: var(--muted); font-size: .95rem; }
.price-amount { margin: 1.5rem 0 1.4rem; }
.price-amount .from { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); font-weight: 600; margin-bottom: .2rem; }
.price-amount .big { font-family: "Bricolage Grotesque"; font-size: 2.2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.price-amount .setup { color: var(--muted); font-size: .95rem; }
.price-amount .mo { display: block; margin-top: .4rem; font-weight: 600; color: var(--ink); font-size: 1rem; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card .ticks { margin: 0 0 1.5rem; }
.price-card--featured { border-color: transparent; box-shadow: var(--shadow-md); }
.price-card--featured::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1.6px; background: var(--grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-badge { position: absolute; top: 1rem; right: 1rem; z-index: 1; background: var(--grad); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }
.price-group { text-align: center; max-width: 620px; margin: 0 auto 1.8rem; }
.price-group--mt { margin-top: 3.6rem; }
.price-group-title { font-size: 1.45rem; }
.price-group-sub { color: var(--muted); margin-top: .3rem; font-size: .98rem; }
.price-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 2rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.price-note a { color: var(--purple); font-weight: 600; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.price-note a:hover { border-color: var(--purple); }
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 1.06rem; color: var(--ink); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--purple); font-size: 1.5rem; font-weight: 400; line-height: 1; flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--purple); }
.faq-item p { margin: 0; padding: 0 0 1.3rem; color: var(--muted); font-size: 1rem; max-width: 680px; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 1rem; padding-bottom: 6rem; }
.cta-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 3.4rem; text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; top: -60%; left: 50%; width: 70%; height: 220%; background: var(--grad); filter: blur(120px); opacity: .35; transform: translateX(-50%); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-card .eyebrow { color: var(--cyan); }
.cta-lede { color: rgba(255,255,255,.78); margin: .8rem auto 2rem; max-width: 460px; }
.contact-form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; gap: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: .85rem 1rem; color: #fff; font-family: inherit; font-size: .96rem; resize: vertical; transition: border-color .2s, background .2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.55); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); background: rgba(255,255,255,.12); }
.contact-form .btn { align-self: center; margin-top: .4rem; }
.contact-info { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.ci-item { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500; transition: color .2s; }
.ci-item svg { width: 19px; height: 19px; color: var(--cyan); }
.ci-item:hover { color: #fff; }
.ci-static { cursor: default; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 4rem 1.5rem 2rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-blurb { color: var(--muted); font-size: .92rem; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: .7rem; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: .3rem; }
.footer-col a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-address { color: var(--muted-2); font-size: .82rem; max-width: 260px; margin-top: .3rem; }
.footer-base { max-width: var(--maxw); margin: 2.6rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: var(--muted-2); font-size: .85rem; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: var(--grad); box-shadow: 0 0 12px rgba(168,85,247,.5); transition: width .1s linear; }

/* ---------- Button shine ---------- */
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -120%; } 80%, 100% { left: 140%; } }

/* ---------- Tech marquee ---------- */
.marquee-band { background: var(--bg); padding: 2.4rem 0 1rem; text-align: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.marquee-label { color: var(--muted-2); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: inline-flex; gap: 3rem; white-space: nowrap; animation: scrollx 28s linear infinite; will-change: transform; }
.marquee-track span { font-family: "Bricolage Grotesque"; font-size: 1.2rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats band ---------- */
.stats-band { background: var(--bg); padding: 3.4rem 1.5rem; }
.stats-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { font-family: "Bricolage Grotesque"; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.stat p { color: var(--muted); font-size: .92rem; margin-top: .3rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .frow { grid-template-columns: 1fr; gap: 1.8rem; }
  .frow--rev .frow-copy { order: 0; }
  .funnel { grid-template-columns: repeat(2, 1fr); }
  .funnel-step:not(:last-child)::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; padding: 2rem; background: #fff; box-shadow: -10px 0 40px rgba(11,18,32,.12); transform: translateX(100%); transition: transform .35s ease; }
  .nav.open { transform: none; }
  .nav a { font-size: 1.1rem; }
  .float-card--a { left: 2%; } .float-card--b { right: 2%; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .cta-card { padding: 2.2rem 1.3rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .window-body { grid-template-columns: 1fr; }
  .wp-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--border); }
  .hero-preview { margin-top: 2.4rem; }
  .float-card { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .btn--shine::after, .marquee-track, .float-card { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- Chat assistant ---------- */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(168,85,247,.4); transition: transform .25s, box-shadow .25s; }
.chat-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px rgba(168,85,247,.5); }
.chat-fab .cf-ico { width: 26px; height: 26px; position: absolute; transition: opacity .2s, transform .2s; }
.chat-fab .cf-close { opacity: 0; transform: rotate(-45deg) scale(.6); }
.chat-fab.open .cf-open { opacity: 0; transform: rotate(45deg) scale(.6); }
.chat-fab.open .cf-close { opacity: 1; transform: none; }
.chat-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(168,85,247,.5); animation: chatpulse 2.6s ease-out infinite; }
.chat-fab.open::after, .chat-fab:hover::after { animation: none; }
@keyframes chatpulse { 0% { box-shadow: 0 0 0 0 rgba(168,85,247,.45); } 70% { box-shadow: 0 0 0 16px rgba(168,85,247,0); } 100% { box-shadow: 0 0 0 0 rgba(168,85,247,0); } }

.chat-panel { position: fixed; right: 22px; bottom: 94px; z-index: 200; width: min(380px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 130px)); background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.chat-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: var(--ink); color: #fff; }
.chat-avatar { display: inline-grid; place-items: center; flex-shrink: 0; }
.chat-avatar img { border-radius: 9px; }
.chat-id { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.chat-id strong { font-family: "Bricolage Grotesque"; font-size: .98rem; color: #fff; }
.chat-status { font-size: .76rem; color: rgba(255,255,255,.65); display: inline-flex; align-items: center; gap: .35rem; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 3px rgba(40,200,64,.2); }
.chat-x { background: rgba(255,255,255,.1); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.chat-x svg { width: 17px; height: 17px; }
.chat-x:hover { background: rgba(255,255,255,.2); }

.chat-log { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .7rem; background: var(--bg-soft); scroll-behavior: smooth; }
.msg { max-width: 84%; padding: .65rem .9rem; border-radius: 14px; font-size: .92rem; line-height: 1.5; animation: msgin .3s ease; }
.msg a { color: var(--purple); font-weight: 600; text-decoration: underline; }
.msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); color: var(--ink-2); border-bottom-left-radius: 5px; }
.msg-bot a { word-break: break-word; }
.msg-user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.msg-user a { color: #fff; }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.chat-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: .75rem .9rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; border-bottom-left-radius: 5px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); animation: typing 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-quick { display: flex; flex-wrap: wrap; gap: .45rem; padding: .2rem .9rem .1rem; background: var(--bg-soft); }
.chat-quick:empty { display: none; }
.chip { background: #fff; border: 1px solid var(--border-2); color: var(--ink); font-size: .82rem; font-weight: 500; font-family: inherit; padding: .42rem .8rem; border-radius: 999px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { border-color: var(--purple); color: var(--purple); }

.chat-input { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--border); background: #fff; }
.chat-input input { flex: 1; border: 1px solid var(--border-2); border-radius: 999px; padding: .65rem 1rem; font-family: inherit; font-size: .92rem; color: var(--ink); transition: border-color .2s; }
.chat-input input:focus { outline: none; border-color: var(--purple); }
.chat-input button { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad); color: #fff; display: grid; place-items: center; transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 16px rgba(168,85,247,.32); }
.chat-input button svg { width: 18px; height: 18px; }
.chat-input button:hover { transform: scale(1.06); }

@media (max-width: 560px) {
  .chat-fab { right: 16px; bottom: 16px; }
  .chat-panel { right: 16px; left: 16px; bottom: 84px; width: auto; max-height: calc(100vh - 110px); }
}
@media (prefers-reduced-motion: reduce) {
  .chat-fab::after { animation: none; }
  .chat-panel, .msg, .chat-typing span { transition: none; animation: none; }
}
