/* bCRM — bcrm.ro · tokens mirror the bCRM design system */
:root {
  --surface: #f6f7f4;
  --surface-raised: #ffffff;
  --surface-soft: #dff5f1;
  --ink: #0c1424;
  --ink-muted: #56606f;
  --line: #e2e5e9;
  --brand: #14b8a6;
  --brand-ink: #0f766e;
  --on-brand: #0c1424;
  --accent: #ff6a3d;
  --accent-ink: #c2410c;
  --gold: #b7791f;
  --tile: #0c1424;
  --shadow-card: 0 1px 2px rgba(12,20,36,.06), 0 12px 32px -12px rgba(12,20,36,.18);
  --shadow-lift: 0 2px 4px rgba(12,20,36,.06), 0 24px 48px -16px rgba(12,20,36,.26);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --space-2: 8px; --space-4: 16px; --space-6: 24px; --space-12: 48px; --space-24: 96px;
  --radius-sm: 8px; --radius-md: 16px; --radius-xl: 28px; --radius-pill: 999px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --gutter: 16px;
  --max: 1200px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0a0f1a;
    --surface-raised: #121a28;
    --surface-soft: #0f2a2a;
    --ink: #f2f5f9;
    --ink-muted: #98a3b3;
    --line: #243042;
    --brand: #2dd4bf;
    --brand-ink: #2dd4bf;
    --accent: #ff8a63;
    --accent-ink: #ff8a63;
    --gold: #e0b24f;
    --tile: #1b2536;
    --shadow-card: 0 1px 0 rgba(255,255,255,.04), 0 16px 40px -16px rgba(0,0,0,.6);
    --shadow-lift: 0 1px 0 rgba(255,255,255,.06), 0 28px 56px -16px rgba(0,0,0,.75);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--surface); padding: 8px 14px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.eyebrow {
  font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-ink); display: inline-flex; align-items: center; gap: var(--space-2);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill);
  font: 600 15px/1 var(--font-sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px -10px var(--brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px var(--brand); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface-raised); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.menu-open { background: var(--surface); border-bottom-color: var(--line); box-shadow: var(--shadow-card); }
.nav { display: flex; align-items: center; gap: var(--space-6); height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { height: 34px; width: auto; }
.logo .orbit { transform-origin: 31px 37px; transform-box: view-box; }
.nav-links { display: none; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: var(--radius-pill);
  font: 600 14px/1 var(--font-sans); color: var(--ink-muted); text-decoration: none; transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-raised); }
.nav-end { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.lang {
  display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  font: 600 12px/1 var(--font-mono); background: var(--surface-raised);
}
.lang a, .lang span { padding: 8px 10px; border-radius: var(--radius-pill); text-decoration: none; color: var(--ink-muted); min-width: 36px; text-align: center; }
.lang [aria-current] { background: var(--ink); color: var(--surface); }
.nav-cta { display: none; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-raised);
  display: inline-grid; place-items: center; cursor: pointer; color: var(--ink);
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background-color .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu {
  display: grid; gap: 4px; padding: 0 var(--gutter); max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}
.menu-open .mobile-menu { max-height: 420px; padding-bottom: var(--space-4); }
.mobile-menu a { padding: 14px 4px; font: 600 18px/1.2 var(--font-display); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: var(--space-4); border-bottom: 0; font: 600 15px/1 var(--font-sans); }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-end { margin-left: 0; }
  .nav-cta { display: inline-flex; min-height: 42px; padding: 0 18px; }
  .menu-btn, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.partner-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-raised);
  text-decoration: none; font: 600 13px/1.2 var(--font-sans); color: var(--ink);
  box-shadow: var(--shadow-card); transition: transform .25s var(--ease), border-color .25s;
}
.partner-badge:hover { transform: translateY(-2px); border-color: var(--gold); }
.partner-badge .star {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold);
}
.partner-badge small { color: var(--ink-muted); font-weight: 500; }
.hero h1 {
  margin-top: var(--space-6);
  font-size: clamp(42px, 11vw, 80px); line-height: .95; font-weight: 700; letter-spacing: -.035em;
}
.hero h1 em { font-style: normal; color: var(--brand-ink); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 99px;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
  animation: underline 1s .9s var(--ease) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero .lead { margin-top: var(--space-6); font-size: clamp(18px, 2.4vw, 20px); line-height: 1.55; color: var(--ink-muted); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-ctas .btn { flex: 1 1 auto; }
@media (min-width: 520px) { .hero-ctas .btn { flex: 0 0 auto; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--brand-ink); flex: none; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
}

/* Hero visual: a deal card the apps write into */
.stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; margin: 0 auto; }
.stage .ring {
  position: absolute; inset: 6%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, transparent);
  animation: spin 60s linear infinite;
}
.stage .ring.r2 { inset: 20%; border-style: solid; border-color: var(--surface-soft); border-width: 14px; animation: none; }
.stage .dot {
  position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent);
  offset-path: circle(44% at 50% 50%);
  animation: orbit 14s linear infinite;
}
@supports not (offset-path: circle(44%)) { .stage .dot { top: 8%; left: 78%; animation: pulse 3s ease-in-out infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes pulse { 50% { transform: scale(1.25); } }

.deal {
  position: absolute; left: 50%; top: 50%; width: min(86%, 400px); transform: translate(-50%, -50%);
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift); padding: 20px; font-size: 14px;
}
.deal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deal-title { font: 600 17px/1.2 var(--font-display); }
.deal-sub { color: var(--ink-muted); font-size: 13px; margin-top: 2px; }
.deal-amt { font: 600 18px/1 var(--font-display); }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 16px 0 14px; }
.stages i { height: 6px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.stages i::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; animation: fill 12s var(--ease) infinite; }
.stages i:nth-child(2)::after { animation-name: fill2; }
.stages i:nth-child(3)::after { animation-name: fill3; }
.stages i:nth-child(4)::after { animation-name: fill4; }
@keyframes fill  { 0%, 4% { transform: scaleX(0); } 10%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fill2 { 0%, 26% { transform: scaleX(0); } 32%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fill3 { 0%, 48% { transform: scaleX(0); } 54%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fill4 { 0%, 70% { transform: scaleX(0); } 76%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed li {
  display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface);
  opacity: 0; transform: translateY(8px); animation: feed 12s var(--ease) infinite;
}
.feed li:nth-child(2) { animation-name: feed2; }
.feed li:nth-child(3) { animation-name: feed3; }
.feed li:nth-child(4) { animation-name: feed4; }
@keyframes feed  { 0%, 3%  { opacity: 0; transform: translateY(8px); } 8%, 90%  { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes feed2 { 0%, 25% { opacity: 0; transform: translateY(8px); } 30%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes feed3 { 0%, 47% { opacity: 0; transform: translateY(8px); } 52%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes feed4 { 0%, 69% { opacity: 0; transform: translateY(8px); } 74%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4px); } }
.feed .ico { width: 32px; height: 32px; border-radius: 10px; background: var(--tile); display: grid; place-items: center; flex: none; }
.feed .ico svg { width: 18px; height: 18px; }
.feed b { font-weight: 600; display: block; font-size: 13px; line-height: 1.25; }
.feed span { color: var(--ink-muted); font-size: 12px; line-height: 1.3; display: block; }
.feed .ok { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-soft); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.feed .ok svg { width: 12px; height: 12px; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card); font: 600 12px/1 var(--font-sans); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip .ico { width: 24px; height: 24px; border-radius: 8px; background: var(--tile); display: grid; place-items: center; }
.chip .ico svg { width: 14px; height: 14px; }
.chip.c1 { top: 4%; left: 0; }
.chip.c2 { bottom: 6%; right: 0; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Proof strip ---------- */
.proof { border-block: 1px solid var(--line); background: var(--surface-raised); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.proof li { padding: 24px 8px; text-align: center; }
.proof li + li { border-left: 1px solid var(--line); }
.proof li:nth-child(3) { border-left: 0; }
.proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
.proof strong { display: block; font: 700 clamp(28px, 6vw, 40px)/1 var(--font-display); letter-spacing: -.03em; }
.proof span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-muted); }
@media (min-width: 720px) {
  .proof ul { grid-template-columns: repeat(4, 1fr); }
  .proof li:nth-child(3) { border-left: 1px solid var(--line); }
  .proof li:nth-child(n+3) { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: var(--space-24) 0; } }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { margin-top: 14px; font-size: clamp(34px, 6vw, 52px); line-height: 1.02; font-weight: 700; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-muted); }
.band { background: var(--surface-soft); }
.band .eyebrow { color: var(--brand-ink); }
@media (prefers-color-scheme: dark) { .band { background: color-mix(in srgb, var(--surface-soft) 60%, var(--surface)); } }

/* ---------- Apps ---------- */
.apps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .apps { grid-template-columns: repeat(2, 1fr); } .app.featured { grid-column: 1 / -1; } }
@media (min-width: 1040px) {
  .apps { grid-template-columns: repeat(2, 1fr); }
  .app.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 56px; row-gap: 16px; align-content: start; padding: 40px; }
  .app.featured .app-top, .app.featured > p, .app.featured .app-foot { grid-column: 1; }
  .app.featured ul { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 32px; position: relative; z-index: 1; }
}
.app {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border-radius: var(--radius-xl); background: var(--surface-raised);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.app:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.app-top { display: flex; align-items: center; gap: 14px; }
.app-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--tile); flex: none;
  display: grid; place-items: center; transition: transform .45s var(--ease);
}
.app-icon svg { width: 30px; height: 30px; }
.app:hover .app-icon { transform: rotate(-6deg) scale(1.05); }
.app h3 { font-size: 24px; line-height: 1.15; font-weight: 600; }
.app .cat { font: 500 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }
.app p { color: var(--ink-muted); }
.app ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.app li { display: flex; gap: 10px; align-items: flex-start; }
.app li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--brand); }
.app-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.price { font: 600 13px/1.2 var(--font-sans); padding: 7px 12px; border-radius: var(--radius-pill); background: var(--surface-soft); color: var(--ink); }
.app-link { font: 600 14px/1 var(--font-sans); color: var(--brand-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.app-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.app-link .arr { transition: transform .25s var(--ease); }
.app:hover .app-link .arr { transform: translate(3px, -3px); }
.app.featured { background: var(--tile); color: #f2f5f9; border-color: transparent; overflow: hidden; overflow: clip; }
.app.featured .app-icon { background: rgba(255,255,255,.08); }
.app.featured p, .app.featured .cat { color: #b4bfcd; }
.app.featured .price { background: rgba(45,212,191,.16); color: #f2f5f9; }
.app.featured .app-link { color: #2dd4bf; }
.app.featured h3 { font-size: clamp(28px, 4vw, 40px); }
.app.featured li::before { background: #2dd4bf; }
.app.featured .tag-new { position: absolute; top: 24px; right: 24px; }
.featured-art { display: none; }
@media (min-width: 1040px) { .featured-art { display: block; } }
.featured-art { position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 22px solid rgba(45,212,191,.14); pointer-events: none; }
.featured-art::after { content: ""; position: absolute; top: 6px; left: 28px; width: 20px; height: 20px; border-radius: 50%; background: #ff8a63; }

.tag { font: 600 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: var(--radius-pill); background: var(--accent); color: #1a0a03; }

/* ---------- Services ---------- */
.services { display: grid; gap: 16px; }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service { padding: 24px; border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service .num { font: 500 12px/1 var(--font-mono); color: var(--accent-ink); letter-spacing: .1em; }
.service h3 { margin-top: 18px; font-size: 22px; line-height: 1.2; font-weight: 600; }
.service p { margin-top: 10px; color: var(--ink-muted); font-size: 15px; }
.service .s-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--surface-soft); color: var(--brand-ink); display: grid; place-items: center; margin-top: 18px; }
.service .s-ico svg { width: 22px; height: 22px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; padding: 28px 24px 24px; border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--surface);
  font: 600 14px/1 var(--font-mono);
}
.steps h3 { margin-top: 18px; font-size: 22px; font-weight: 600; }
.steps p { margin-top: 8px; color: var(--ink-muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: var(--surface-raised); transition: border-color .25s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 600 17px/1.35 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--brand-ink); border-bottom: 2px solid var(--brand-ink); transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 22px; color: var(--ink-muted); }
.faq .answer a { color: var(--brand-ink); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; overflow: clip; border-radius: var(--radius-xl); background: var(--tile); color: #f2f5f9;
  padding: 40px 24px; display: grid; gap: 24px;
}
@media (min-width: 900px) { .cta { padding: 64px; grid-template-columns: 1.4fr 1fr; align-items: center; } }
.cta h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.02; font-weight: 700; }
.cta p { margin-top: 14px; color: #b4bfcd; font-size: 17px; }
.cta .eyebrow { color: #2dd4bf; }
.cta-actions { display: grid; gap: 12px; position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-actions { justify-items: end; } }
.cta .btn-primary { background: #2dd4bf; color: #0c1424; }
.cta .btn-ghost { background: transparent; color: #f2f5f9; border-color: rgba(255,255,255,.22); }
.cta .btn-ghost:hover { border-color: #f2f5f9; }
.cta-art { position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 36px solid rgba(45,212,191,.12); }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); margin-top: 64px; font-size: 14px; color: var(--ink-muted); }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .foot-grid { grid-template-columns: 1.6fr 1fr .8fr .8fr; gap: 40px; } }
.site-footer h2 { font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer .tagline { margin-top: 14px; max-width: 360px; }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 16px; font-size: 13px; line-height: 1.55; }
@media (min-width: 900px) { .legal { grid-template-columns: 1fr auto; align-items: start; gap: 32px; } }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal-links a { padding: 6px 0; }
.company { font-style: normal; display: grid; gap: 4px; line-height: 1.5; }
.company strong { color: var(--ink); font-weight: 600; }
.company a { color: var(--brand-ink); padding: 2px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: 600 12px/1 var(--font-sans); color: var(--ink); background: var(--surface-raised); }
.chips svg { width: 13px; height: 13px; color: var(--brand-ink); }
.consumer { display: grid; gap: 10px; margin-top: 20px; max-width: 460px; }
.consumer a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface-raised); transition: border-color .25s, transform .25s var(--ease);
}
.consumer a:hover { border-color: var(--brand); transform: translateY(-2px); }
.consumer .c-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-soft); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.consumer .c-ico svg { width: 18px; height: 18px; }
.consumer b { display: block; color: var(--ink); font-size: 14px; line-height: 1.2; }
.consumer small { display: block; font-size: 12px; line-height: 1.3; margin-top: 2px; }

/* ---------- Legal pages ---------- */
.prose { max-width: calc(760px + 2 * var(--gutter)); padding-top: 48px; padding-bottom: 24px; margin-left: 0; }
@media (min-width: 1040px) { .prose { margin-left: max(0px, calc((100% - var(--max)) / 2 - var(--gutter))); } }
.prose h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1; font-weight: 700; margin-top: 14px; }
.prose .updated { margin-top: 14px; color: var(--ink-muted); font-size: 14px; }
.prose .intro { margin-top: 24px; font-size: 18px; color: var(--ink-muted); }
.prose h2 { font-size: 24px; line-height: 1.2; font-weight: 600; margin: 44px 0 12px; letter-spacing: -.01em; }
.prose p, .prose li { color: var(--ink-muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand-ink); }
.prose .note { margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: var(--surface-soft); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-muted); }
.prose th { color: var(--ink); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.logo-anim .orbit { animation: logo-orbit 1.4s .2s var(--ease) both; }
@keyframes logo-orbit { from { transform: rotate(-300deg); } to { transform: rotate(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .feed li { opacity: 1; transform: none; }
  .stages i::after { transform: scaleX(1); }
  .stages i:nth-child(4)::after { transform: scaleX(0); }
  .hero h1 em::after { transform: scaleX(1); }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Contact form ---------- */
@media (min-width: 900px) { .cta.contact { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 48px; } }
.contact-info { position: relative; z-index: 1; display: grid; gap: 0; justify-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; color: #d5dce6; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.contact-list svg { width: 20px; height: 20px; color: #2dd4bf; flex: none; }
.contact-list a { color: #f2f5f9; text-decoration: none; padding: 4px 0; }
.contact-list a:hover { color: #2dd4bf; }
.contact-form {
  position: relative; z-index: 1; display: grid; gap: 14px; grid-template-columns: 1fr;
  background: var(--surface-raised); color: var(--ink); border-radius: 22px; padding: 22px;
}
@media (min-width: 560px) { .contact-form { grid-template-columns: 1fr 1fr; padding: 28px; } .contact-form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font: 600 13px/1.2 var(--font-sans); color: var(--ink); }
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: 400 16px/1.4 var(--font-sans);
  transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); background: var(--surface-raised); }
.field [aria-invalid="true"] { border-color: var(--accent-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.consent a { color: var(--brand-ink); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.form-foot .btn { width: 100%; }
@media (min-width: 560px) { .form-foot .btn { width: auto; } }
.cta .contact-form .btn-primary { background: var(--brand); color: var(--on-brand); }
.form-status { font-size: 14px; line-height: 1.4; color: var(--ink-muted); flex: 1 1 200px; }
.form-status.ok { color: var(--brand-ink); font-weight: 600; }
.form-status.err { color: var(--accent-ink); font-weight: 600; }
.contact-form.sent .field, .contact-form.sent .consent { opacity: .55; pointer-events: none; }
.btn[disabled] { opacity: .7; cursor: progress; }
