/* Boost My Business Online — agency site. Dark canvas, oversized type, product-UI mockups. */
:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --card: #0e0e0e;
  --card-2: #141414;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, .72);
  --fg-3: rgba(255, 255, 255, .5);
  --accent: #2dd4bf;
  --accent-2: #0f766e;
  --accent-soft: rgba(45, 212, 191, .12);
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --violet: #a78bfa;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.muted { color: var(--fg-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .2s var(--ease), color .2s, transform .2s var(--ease), border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: rgba(255, 255, 255, .86); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn svg { width: 14px; height: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand-mark { width: 32px; height: 32px; object-fit: contain; flex: none; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--fg-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border-radius: 10px; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 40px; }
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero h1 {
  margin: 0; max-width: 15ch;
  font-size: clamp(40px, 6.6vw, 84px); line-height: 1; letter-spacing: -.045em; font-weight: 600;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #fff 0%, #99f6e4 55%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 24px 0 0; max-width: 52ch; font-size: clamp(16px, 1.6vw, 19px); color: var(--fg-2); }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero-new { font-size: 14px; color: var(--fg-2); display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); transition: border-color .2s; }
.hero-new:hover { border-color: rgba(255, 255, 255, .3); }
.hero-new b { color: #fff; font-weight: 500; }
.hero-new .pill { background: var(--accent-soft); color: var(--accent); font-size: 12px; padding: 2px 8px; border-radius: 999px; font-weight: 500; }

/* ---------- Console (hero mockup) ---------- */
.console {
  margin-top: 56px; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #0c0c0c, #070707);
  overflow: hidden; position: relative;
}
.console::before {
  content: ""; position: absolute; inset: -40% 20% auto; height: 70%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, .16), transparent);
  pointer-events: none;
}
.console-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); position: relative; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }
.console-title { font-size: 13px; color: var(--fg-3); }
.console-title b { color: var(--fg-2); font-weight: 500; }
.console-bar .btn { margin-left: auto; }
.console-body { display: grid; grid-template-columns: 320px 1fr; min-height: 460px; position: relative; }
.console-body > * { min-width: 0; }
.chat { border-right: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .05); border-radius: 12px; }
.tab {
  flex: 1; height: 34px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--fg-3);
  transition: background .25s var(--ease), color .2s;
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: #fff; color: #000; }
.msg { background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 14px; }
.msg-user { align-self: flex-end; max-width: 92%; background: rgba(45, 212, 191, .1); border-color: rgba(45, 212, 191, .25); }
.msg-user .who { color: var(--accent); }
.who { display: block; font-size: 11px; font-family: var(--mono); color: var(--fg-3); margin-bottom: 4px; letter-spacing: .02em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--fg-2); }
.steps li { display: flex; gap: 8px; align-items: flex-start; opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.steps li.in { opacity: 1; transform: none; }
.steps li svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.thinking { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; color: var(--fg-3); }
.thinking i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; }
.thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.prompt {
  margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px;
  border-radius: 14px; background: #121212; border: 1px solid var(--line-2); font-size: 14px; color: var(--fg-3);
}
.prompt span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prompt .send { width: 30px; height: 30px; border-radius: 9px; background: #fff; color: #000; display: grid; place-items: center; flex: none; }
.prompt .send svg { width: 14px; height: 14px; }

.stage { position: relative; padding: 20px; overflow: hidden; display: grid; }
.pane { position: relative; grid-area: 1 / 1; min-width: 0; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.pane.active { opacity: 1; transform: none; pointer-events: auto; }
.pane-label { font-family: var(--mono); font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pane-label .live { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }

/* Flow (automation) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: stretch; margin-top: 40px; position: relative; }
.node { position: relative; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; font-size: 13px; }
.node .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 10px; }
.node .ic svg { width: 16px; height: 16px; }
.node b { display: block; font-weight: 500; font-size: 14px; }
.node small { color: var(--fg-3); font-size: 12px; }
.node:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -29px; width: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 10px);
  background-size: 20px 2px; animation: dash 1s linear infinite;
}
@keyframes dash { to { background-position: 20px 0; } }
.flow-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.mini-stat { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mini-stat span { font-size: 12px; color: var(--fg-3); }
.mini-stat strong { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.mini-stat em { font-style: normal; font-size: 12px; color: var(--good); }

/* Browser (design) */
.browser { border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; background: #f4f4f2; color: #111; }
.browser-bar { display: flex; align-items: center; gap: 10px; background: #e6e6e3; padding: 8px 12px; }
.browser-bar .dots i { background: #c9c9c5; width: 8px; height: 8px; }
.browser-bar .url { flex: 1; background: #fff; border-radius: 6px; font-size: 11px; color: #666; padding: 3px 10px; font-family: var(--mono); max-width: 280px; margin: 0 auto; text-align: center; }
.site { padding: 22px; display: grid; gap: 16px; }
.site-nav { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; }
.site-nav .links { display: flex; gap: 12px; color: #666; font-weight: 500; }
.site-nav .cta { background: #111; color: #fff; padding: 5px 10px; border-radius: 6px; }
.site-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; }
.site-hero h4 { margin: 0; font-size: 26px; line-height: 1.05; letter-spacing: -.03em; }
.site-hero p { margin: 8px 0 12px; font-size: 12px; color: #555; }
.site-hero .b { display: inline-block; background: var(--accent-2); color: #fff; font-size: 11px; padding: 6px 10px; border-radius: 6px; }
.site-hero .img { height: 120px; border-radius: 10px; background: linear-gradient(135deg, #99f6e4, #0f766e 60%, #134e4a); position: relative; overflow: hidden; }
.site-hero .img::after { content: ""; position: absolute; inset: 30% -10% -30% 30%; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.site-cards div { height: 54px; border-radius: 8px; background: #fff; border: 1px solid #e3e3e0; }
.vitals-chip {
  position: absolute; right: 8px; bottom: 8px; display: flex; gap: 14px; align-items: center;
  background: rgba(10, 10, 10, .9); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; font-size: 12px;
  backdrop-filter: blur(8px);
}
.vitals-chip b { display: block; font-size: 15px; }
.vitals-chip .ok { color: var(--good); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }

/* Rank grid (SEO) */
.rank-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map {
  position: relative; border-radius: 14px; border: 1px solid var(--line-2); padding: 16px; aspect-ratio: 1 / 1; max-height: 360px;
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 60% 40%, #0f2a27, #080808 70%);
}
.grid5 { position: absolute; inset: 16px; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); place-items: center; }
.pin { width: clamp(22px, 2.6vw, 32px); height: clamp(22px, 2.6vw, 32px); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #04140f; transform: scale(0); transition: transform .4s var(--ease); }
.in-view .pin, .pane.active .pin { transform: scale(1); }
.pin.g { background: var(--good); }
.pin.y { background: var(--warn); }
.pin.r { background: var(--bad); }
.kw { display: grid; gap: 8px; align-content: start; }
.kw-row { display: flex; align-items: center; gap: 10px; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.kw-row span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kw-row .pos { font-family: var(--mono); font-weight: 600; }
.kw-row .up { color: var(--good); font-family: var(--mono); font-size: 12px; }

/* Kanban (CRM) */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.col { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.col h5 { margin: 2px 4px 4px; font-size: 12px; font-weight: 500; color: var(--fg-3); display: flex; justify-content: space-between; }
.deal { background: var(--card-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px; font-size: 13px; }
.deal b { font-weight: 500; display: block; }
.deal .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; color: var(--fg-3); }
.score { font-family: var(--mono); font-size: 11px; padding: 2px 7px; border-radius: 999px; }
.score.hot { background: rgba(52, 211, 153, .14); color: var(--good); }
.score.warm { background: rgba(251, 191, 36, .14); color: var(--warn); }
.score.cold { background: rgba(248, 113, 113, .14); color: var(--bad); }
.insight { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; background: rgba(167, 139, 250, .08); border: 1px solid rgba(167, 139, 250, .25); border-radius: 12px; padding: 12px; font-size: 13px; color: var(--fg-2); }
.insight svg { width: 16px; height: 16px; color: var(--violet); flex: none; margin-top: 2px; }

/* ---------- Logos ---------- */
.logos { padding: 72px 0 24px; text-align: center; }
.logos p { font-size: 14px; color: var(--fg-3); margin: 0 0 28px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; max-width: 900px; margin: 0 auto; }
.logo-row span { font-size: 20px; font-weight: 600; color: rgba(255, 255, 255, .55); letter-spacing: -.02em; transition: color .2s; }
.logo-row span:hover { color: #fff; }
.logo-row .l-mono { font-family: var(--mono); font-weight: 500; font-size: 18px; }
.logo-row .l-light { font-weight: 400; }
.logo-row .l-caps { text-transform: uppercase; font-size: 15px; letter-spacing: .12em; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 72px; }
.section { padding: clamp(72px, 10vw, 128px) 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2, .h2 {
  margin: 0; max-width: 18ch;
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 600; text-wrap: balance;
}
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; display: block; }

.feature { border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); overflow: hidden; margin-bottom: 16px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1.25fr; }
.feature-copy { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.feature-copy h3 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; line-height: 1.1; font-weight: 600; }
.feature-copy p { margin: 0; color: var(--fg-2); max-width: 44ch; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--fg-2); }
.checks li { display: flex; gap: 10px; }
.checks svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.feature-visual { padding: clamp(16px, 3vw, 32px); border-left: 1px solid var(--line); background: radial-gradient(80% 80% at 70% 0%, rgba(45, 212, 191, .07), transparent 70%); position: relative; min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-visual { order: 1; border-left: 0; border-right: 1px solid var(--line); }

/* Terminal */
.term { background: #050505; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; font-family: var(--mono); font-size: 12.5px; }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--fg-3); font-size: 12px; }
.term-bar .dots i:nth-child(1) { background: #ff5f57; }
.term-bar .dots i:nth-child(2) { background: #febc2e; }
.term-bar .dots i:nth-child(3) { background: #28c840; }
.term-tabs { display: flex; gap: 6px; padding: 10px 14px 0; }
.term-tabs span { font-size: 11px; padding: 4px 10px; border-radius: 6px; color: var(--fg-3); background: rgba(255, 255, 255, .04); }
.term-tabs span.on { color: #fff; background: rgba(255, 255, 255, .1); }
.term-body { padding: 14px; min-height: 290px; line-height: 1.7; }
.term-body .ln { opacity: 0; transition: opacity .25s; white-space: pre-wrap; }
.term-body .ln.in { opacity: 1; }
.c-acc { color: var(--accent); }
.c-dim { color: var(--fg-3); }
.c-ok { color: var(--good); }
.c-warn { color: var(--warn); }
.c-vio { color: var(--violet); }
.cursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* CMS-ish table */
.table { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; font-size: 13px; }
.table-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--fg-3); font-size: 12px; }
.table-top .chip { background: rgba(255, 255, 255, .06); padding: 3px 8px; border-radius: 6px; color: var(--fg-2); }
.table-top .btn { margin-left: auto; }
.tr { display: grid; grid-template-columns: 1.8fr .8fr .9fr .7fr; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tr:last-child { border-bottom: 0; }
.tr.th { color: var(--fg-3); font-size: 12px; }
.tr span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.status.draft::before { background: var(--fg-3); }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: rgba(45, 212, 191, .1); color: var(--accent); justify-self: start; }
.tag.v { background: rgba(167, 139, 250, .12); color: var(--violet); }
.tag.y { background: rgba(251, 191, 36, .12); color: var(--warn); }
.score-bar { height: 6px; background: rgba(255, 255, 255, .08); border-radius: 99px; overflow: hidden; }
.score-bar i { display: block; height: 100%; background: var(--good); border-radius: 99px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 18px; min-height: 240px; transition: border-color .3s; overflow: hidden; }
.tile:hover { border-color: var(--line-2); }
.tile h4 { margin: 0; font-size: 15px; font-weight: 500; }
.tile p { margin: 4px 0 0; font-size: 14px; color: var(--fg-3); }
.tile .tile-foot { margin-top: auto; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vital { text-align: center; }
.ring { width: 64px; height: 64px; margin: 0 auto 6px; position: relative; }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .bgc { stroke: rgba(255, 255, 255, .08); }
.ring .fgc { stroke: var(--good); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; transition: stroke-dashoffset 1.2s var(--ease); }
.in-view .ring .fgc { stroke-dashoffset: var(--off, 20); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.vital span { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.big-num { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.big-num small { font-size: 16px; color: var(--fg-3); font-weight: 500; letter-spacing: 0; }
.spark { width: 100%; height: 90px; }
.spark path.line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease); }
.in-view .spark path.line { stroke-dashoffset: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { background: var(--card-2); border-radius: 10px; padding: 10px; }
.kpis span { font-size: 11px; color: var(--fg-3); display: block; }
.kpis b { font-size: 18px; font-weight: 600; }
.locales { display: grid; gap: 8px; }
.locale { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.locale .code { width: 30px; height: 22px; border-radius: 5px; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; background: rgba(255, 255, 255, .08); }
.locale .bar { flex: 1; height: 6px; background: rgba(255, 255, 255, .08); border-radius: 99px; overflow: hidden; }
.locale .bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.call { display: flex; align-items: center; gap: 12px; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.call .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.call .av svg { width: 18px; height: 18px; }
.call div { font-size: 13px; line-height: 1.35; }
.call small { color: var(--fg-3); }
.wave { display: flex; gap: 3px; align-items: center; height: 24px; margin-left: auto; }
.wave i { width: 3px; border-radius: 3px; background: var(--accent); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 8px; } .wave i:nth-child(2) { height: 18px; animation-delay: .1s; }
.wave i:nth-child(3) { height: 12px; animation-delay: .2s; } .wave i:nth-child(4) { height: 22px; animation-delay: .3s; }
.wave i:nth-child(5) { height: 10px; animation-delay: .4s; }
@keyframes wave { 50% { transform: scaleY(.4); } }
.ab { display: grid; gap: 6px; font-size: 13px; }
.ab-row { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--card-2); align-items: center; }
.ab-row.head { background: none; color: var(--fg-3); font-size: 12px; }
.win { font-family: var(--mono); font-size: 10px; color: var(--good); background: rgba(52, 211, 153, .12); padding: 1px 6px; border-radius: 4px; margin-left: 6px; }
.shield { display: flex; flex-wrap: wrap; gap: 8px; }
.shield span { font-size: 12px; padding: 6px 10px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); color: var(--fg-2); display: inline-flex; gap: 6px; align-items: center; }
.shield svg { width: 13px; height: 13px; color: var(--good); }

/* ---------- Work ---------- */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); }
.work-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.work-shot { aspect-ratio: 16 / 10; padding: 18px 18px 0; background: var(--c-bg); overflow: hidden; }
.mock { height: 100%; border-radius: 10px 10px 0 0; background: var(--c-surface); padding: 12px; display: grid; grid-template-rows: auto 1fr; gap: 10px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); transition: transform .5s var(--ease); }
.work-card:hover .mock { transform: translateY(-6px); }
.mock-nav { display: flex; align-items: center; gap: 6px; }
.mock-nav i { width: 14px; height: 14px; border-radius: 4px; background: var(--c-acc); }
.mock-nav b { height: 6px; width: 40px; border-radius: 3px; background: var(--c-ink); opacity: .7; }
.mock-nav em { margin-left: auto; height: 14px; width: 44px; border-radius: 4px; background: var(--c-acc); }
.mock-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; align-items: center; }
.mock-body .t { display: grid; gap: 6px; }
.mock-body .t i { height: 10px; border-radius: 3px; background: var(--c-ink); }
.mock-body .t i:nth-child(2) { width: 70%; }
.mock-body .t i:nth-child(3) { height: 5px; width: 85%; opacity: .35; margin-top: 4px; }
.mock-body .t i:nth-child(4) { height: 12px; width: 45%; background: var(--c-acc); margin-top: 6px; border-radius: 4px; }
.mock-body .p { height: 100%; min-height: 70px; border-radius: 8px; background: linear-gradient(135deg, var(--c-acc), var(--c-bg)); opacity: .9; }
.work-meta { padding: 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.work-meta h4 { margin: 0; font-size: 16px; font-weight: 500; }
.work-meta p { margin: 2px 0 0; font-size: 13px; color: var(--fg-3); }
.work-meta svg { width: 16px; height: 16px; color: var(--fg-3); flex: none; margin-top: 4px; transition: color .2s, transform .3s var(--ease); }
.work-card:hover .work-meta svg { color: #fff; transform: translate(2px, -2px); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chips span { font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--fg-2); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { border-top: 1px solid var(--line-2); padding-top: 20px; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--accent); transition: width 1s var(--ease); }
.in-view .step::before { width: 100%; }
.in-view .step:nth-child(2)::before { transition-delay: .2s; }
.in-view .step:nth-child(3)::before { transition-delay: .4s; }
.in-view .step:nth-child(4)::before { transition-delay: .6s; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.step h4 { margin: 10px 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--fg-2); font-size: 15px; }
.step .dur { display: inline-block; margin-top: 14px; font-size: 12px; font-family: var(--mono); color: var(--fg-3); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .06); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .2s; }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.faq details p { margin: 0 0 22px; color: var(--fg-2); max-width: 62ch; }

/* ---------- CTA / Contact ---------- */
.cta {
  margin-top: clamp(72px, 10vw, 128px);
  border-radius: 28px; border: 1px solid var(--line); overflow: hidden; position: relative;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(45, 212, 191, .22), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(167, 139, 250, .14), transparent 60%),
    var(--bg-2);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: clamp(28px, 5vw, 64px); }
.cta h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
.cta-copy p { color: var(--fg-2); margin: 20px 0 0; max-width: 40ch; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--fg-2); }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list svg { width: 16px; height: 16px; color: var(--accent); }
form.contact { background: rgba(0, 0, 0, .5); border: 1px solid var(--line-2); border-radius: 20px; padding: 24px; display: grid; gap: 14px; backdrop-filter: blur(10px); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--fg-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23999' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.field select option { background: #111; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(45, 212, 191, .05); }
.field .err { font-size: 12px; color: var(--bad); min-height: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.services-pick { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.services-pick legend { font-size: 13px; color: var(--fg-2); font-weight: 500; margin-bottom: 6px; }
.services-pick label { position: relative; }
.services-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.services-pick span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line-2); color: var(--fg-2); transition: all .2s; cursor: pointer; }
.services-pick input:checked + span { background: var(--accent); color: #022; border-color: var(--accent); }
.services-pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
form.contact .btn { height: 46px; justify-content: center; font-size: 15px; }
.form-note { font-size: 12px; color: var(--fg-3); margin: 0; }
.form-ok { display: none; text-align: center; padding: 40px 10px; }
.form-ok svg { width: 40px; height: 40px; color: var(--accent); margin: 0 auto 12px; }
.form-ok h3 { margin: 0 0 6px; }

/* ---------- Footer ---------- */
footer { padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot-grid h5 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--fg-3); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.foot-grid ul a { color: var(--fg-2); transition: color .2s; }
.foot-grid ul a:hover { color: #fff; }
.foot-grid .tagline { color: var(--fg-3); font-size: 14px; max-width: 32ch; margin: 14px 0 0; }
.foot-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--fg-3); }
.wordmark { margin-top: 56px; font-size: clamp(24px, 7.4vw, 104px); font-weight: 700; letter-spacing: -.055em; white-space: nowrap; line-height: .8; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .console-body { grid-template-columns: 280px 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .bento .wide { grid-column: span 2; }
  .work { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu { position: fixed; inset: 64px 0 0; background: #000; padding: 24px var(--gutter); z-index: 49; flex-direction: column; gap: 4px; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: 24px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: -.02em; }
  .mobile-menu .btn { margin-top: 20px; justify-content: center; height: 48px; font-size: 16px; }
  .console-body { grid-template-columns: 1fr; min-height: 0; }
  .chat { border-right: 0; border-bottom: 1px solid var(--line); }
  .chat .steps, .chat .msg:not(.msg-user) { display: none; }
  .console-bar .btn { display: none; }
  .feature-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .feature-visual, .feature.reverse .feature-visual { border-left: 0; border-right: 0; border-top: 1px solid var(--line); order: 2; min-height: 0; }
  .feature.reverse .feature-copy { order: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
  .node:not(:last-child)::after { display: none; }
  .flow-stats { grid-template-columns: 1fr 1fr; }
  .flow-stats .mini-stat:last-child { display: none; }
  .rank-wrap { grid-template-columns: 1fr; }
  .rank-wrap .kw { display: none; }
  .map { max-height: none; }
  .kanban { grid-template-columns: 1fr 1fr; }
  .kanban .col:last-child { display: none; }
  .site-hero { grid-template-columns: 1fr; }
  .site-hero .img { display: none; }
  .vitals-chip { position: static; margin-top: 12px; justify-content: space-between; }
  .bento { grid-template-columns: 1fr; }
  .bento .wide { grid-column: span 1; }
  .work { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 1.6fr .9fr .8fr; }
  .tr > :nth-child(4) { display: none; }
  .hero-new { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .06); margin-right: 4px; }
.lang-switch a { min-width: 34px; height: 26px; padding: 0 8px; display: grid; place-items: center; border-radius: 6px; font-size: 12px; font-weight: 500; font-family: var(--mono); color: var(--fg-3); transition: color .2s, background .2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 860px) { .lang-switch { display: none; } }

/* Long brand name: keep the nav on one line on phones */
.brand-name { white-space: nowrap; }
@media (max-width: 420px) {
  .brand { font-size: 15px; gap: 8px; }
  .nav-cta .btn-primary { display: none; }
}

/* Work cards: real homepage screenshots */
.work-shot { padding: 0; background: #111; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.work-card:hover .work-shot img { transform: scale(1.03); }
.work-meta > div { min-width: 0; }
.work-domain { overflow-wrap: anywhere; font-family: var(--mono); font-size: 12px; color: var(--accent) !important; margin-top: 4px !important; }
@media (min-width: 1025px) { .work { grid-template-columns: repeat(4, 1fr); } .work-meta h4 { font-size: 15px; } }
