/* ===================================================================
   SEOZIAL — Shared Stylesheet
   Theme: Minimalist light — warm off-white, near-black ink,
          single restrained accent. Editorial typography, generous space.
   Fonts: Bricolage Grotesque (display) + Geist (body)
=================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces */
  --bg:            #fafaf7;            /* warm off-white */
  --bg-soft:       #f3f3ee;            /* deeper warm */
  --surface:       #ffffff;
  --surface-2:     #f6f6f1;
  --line:          rgba(15,15,18,.08);
  --line-strong:   rgba(15,15,18,.14);

  /* Ink */
  --text:          #0f0f12;            /* near-black */
  --text-soft:     #4a4a52;
  --text-mute:     #8a8a92;

  /* Brand + accent (used sparingly) */
  --brand:         #4e2fda;            /* primary brand purple */
  --brand-soft:    rgba(78,47,218,.08);
  --brand-line:    rgba(78,47,218,.24);
  --accent:        var(--brand);
  --accent-soft:   var(--brand-soft);
  --accent-line:   var(--brand-line);
  --cyan:          var(--accent);      /* legacy alias used by JS */
  --blue:          var(--accent);

  /* Type */
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body:    "Geist", sans-serif;

  /* Radius + motion */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --maxw: 1200px;
  --shadow-sm: 0 1px 2px rgba(15,15,18,.04);
  --shadow:    0 6px 24px -12px rgba(15,15,18,.12), 0 2px 6px rgba(15,15,18,.04);
  --shadow-lg: 0 30px 60px -30px rgba(15,15,18,.18), 0 10px 24px -12px rgba(15,15,18,.08);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Icons (Lucide) ---------- */
/* All icons inherit color from their parent so hover swaps cascade naturally */
i[data-lucide], svg.lucide { width: 20px; height: 20px; stroke-width: 1.75; display: inline-block; vertical-align: middle; flex: none; color: inherit; }
.svc-ico svg.lucide, .svc-ico i[data-lucide] { width: 22px; height: 22px; stroke-width: 1.75; }
.value-ico svg.lucide, .value-ico i[data-lucide] { width: 20px; height: 20px; }
.info-ico svg.lucide, .info-ico i[data-lucide] { width: 18px; height: 18px; }
.pop-ico svg.lucide, .pop-ico i[data-lucide] { width: 18px; height: 18px; }
.tag svg.lucide, .tag i[data-lucide] { width: 13px; height: 13px; stroke-width: 2; margin-right: 4px; }
.gc-head svg.lucide { width: 16px; height: 16px; }

/* Ambient brand-tinted gradient · fixed, sits behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 88% -5%, rgba(78,47,218,.07), transparent 55%),
    radial-gradient(800px 600px at 5% 25%, rgba(78,47,218,.04), transparent 55%),
    radial-gradient(700px 500px at 95% 70%, rgba(78,47,218,.035), transparent 55%);
}

/* Subtle paper grain — kept barely perceptible */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-soft);
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.eyebrow::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--accent); }

/* Type scale */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; color: var(--text); }
.h-xl { font-size: clamp(2.6rem, 6.2vw, 5rem); letter-spacing: -.035em; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.03em; }
.h-md { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.grad-text { font-style: italic; font-weight: 700; color: var(--brand); }
.cta-band .grad-text { color: var(--bg); }
.grad-text::after { content:""; }
.lead { font-size: 1.08rem; color: var(--text-soft); max-width: 58ch; }
.mute { color: var(--text-mute); }

/* Selection */
::selection { background: var(--text); color: var(--bg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .94rem; letter-spacing: -.01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--text); color: var(--bg);
  border: 1px solid var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); background:#1c1c22; }

.btn-ghost {
  border: 1px solid var(--line-strong); color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--text); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.nav.scrolled { background: rgba(250,250,247,.82); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; color: var(--text); }
.logo .mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--brand);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px -4px rgba(78,47,218,.5);
}
.logo .mark svg { width: 16px; height: 16px; }
.logo .mark svg path { stroke: #fff !important; }
.logo .brand-accent { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: .92rem; color: var(--text-soft); transition: color .2s; position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--text); transition: width .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .login { font-size: .92rem; color: var(--text-soft); }
.nav-cta .login:hover { color: var(--text); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 36px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; }
.footer h5 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-soft); font-size: .94rem; padding: 7px 0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--text); transform: translateX(3px); }
.footer-brand p { color: var(--text-soft); font-size: .95rem; margin: 16px 0 22px; max-width: 36ch; }
.newsletter { display: flex; gap: 8px; max-width: 360px; }
.newsletter input {
  flex: 1; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); padding: 12px 18px; color: var(--text); font-family: inherit; font-size: .92rem;
  transition: border-color .2s;
}
.newsletter input::placeholder { color: var(--text-mute); }
.newsletter input:focus { outline: none; border-color: var(--text); }
.newsletter button { background: var(--text); color: var(--bg); border-radius: var(--r-pill); padding: 0 20px; font-weight: 700; transition: background .2s; }
.newsletter button:hover { background: #1c1c22; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--text-mute); font-size: .86rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: .25s; color: var(--text-soft); background: var(--surface); }
.socials a:hover { background: var(--text); color: var(--bg); border-color: var(--text); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Reveal & scroll animations (SEO-safe: opacity/transform only) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
  will-change: opacity, transform;
  filter: blur(2px);
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* Variant: scale-in (for cards / mockups) */
[data-reveal="scale"] { transform: translateY(18px) scale(.96); }
[data-reveal="scale"].in { transform: none; }

/* Variant: slide-left / slide-right */
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="left"].in { transform: none; }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="right"].in { transform: none; }

/* Staggered children — apply [data-stagger] on the parent */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].in > *:nth-child(2) { transition-delay: .07s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .14s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .21s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .28s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .35s; }
[data-stagger].in > *:nth-child(7) { transition-delay: .42s; }
[data-stagger].in > *:nth-child(8) { transition-delay: .49s; }

/* Parallax base — JS sets translate3d Y */
[data-parallax] { will-change: transform; transition: transform .12s linear; }

/* Gentle floating (continuous) for hero pop tiles already use float keyframe.
   Add subtle hover-lift for general cards already covered by .card:hover */

/* Sticky-on-scroll subtle scale on section heads */
.section-head { transition: transform .6s var(--ease); }

/* Respect prefers-reduced-motion · disable all motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger] > *, [data-parallax] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .orb, .pop-1, .pop-2, .cta-orbits i, .live-pill .live-dot, .status-pill .status-dot {
    animation: none !important;
  }
}

/* ---------- Helpers ---------- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 16px; }

/* ---------- Responsive base ---------- */
@media (max-width: 940px) {
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .g-3 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .login { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 74px; left: 0; right: 0; background: var(--surface);
    padding: 24px; gap: 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   PAGE / COMPONENT STYLES
=================================================================== */

/* ---- Hero ---- */
.hero {
  padding-top: clamp(50px, 7vw, 90px); padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% -20% -5%;
  z-index: -1;
  background:
    radial-gradient(720px 480px at 85% 10%, rgba(78,47,218,.13), transparent 55%),
    radial-gradient(560px 400px at 5% 80%, rgba(78,47,218,.07), transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.hero-copy h1 { margin: 22px 0 22px; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0 30px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 14px; }
.hero-trust p { font-size: .92rem; color: var(--text-soft); }
.hero-trust strong { color: var(--text); }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background: var(--text); }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2){ background: #5a5a62; }
.avatars span:nth-child(3){ background: var(--accent); }
.avatars span:nth-child(4){ background: #b8b8c0; }

/* Hero visual — realistic analytics dashboard */
.hero-visual { position: relative; min-height: 480px; }
.orb { display: none; }
.glass-card {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.glass-card.big { padding: 24px; }

.gc-head {
  display:flex; align-items:center; gap:10px;
  font-size:.82rem; color: var(--text-soft); margin-bottom: 18px; font-weight: 500;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.gc-head .dot { width:7px; height:7px; border-radius:50%; background: #10b981; box-shadow:0 0 0 4px rgba(16,185,129,.15); }
.gc-head .title { color: var(--text); font-weight: 600; }
.gc-head .sep { color: var(--text-mute); }
.gc-head .menu { margin-left: auto; color: var(--text-mute); cursor: pointer; }

.metric { margin-bottom: 14px; }
.metric .label { color: var(--text-mute); font-size:.8rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.metric .value-row { display: flex; align-items: baseline; gap: 12px; }
.metric strong { font-family: var(--font-display); font-size: 2.1rem; color: var(--text); letter-spacing: -.03em; }
.metric .delta { display:inline-flex; align-items:center; gap:4px; color: #10b981; font-size: .82rem; font-weight: 600; background: rgba(16,185,129,.1); padding: 3px 8px; border-radius: var(--r-pill); }
.metric .delta svg { width: 12px; height: 12px; stroke-width: 2.5; }

.chart { width: 100%; height: 110px; display: block; margin: 6px 0 14px; }
.chart .line { fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { fill: url(#chartGrad); }
.chart .dot { fill: var(--surface); stroke: var(--accent); stroke-width: 2.5; }

.sources { padding-top: 14px; border-top: 1px solid var(--line); }
.sources .head { display:flex; justify-content:space-between; font-size:.78rem; color: var(--text-mute); margin-bottom: 10px; letter-spacing: .04em; text-transform: uppercase; }
.src-row { display:flex; align-items:center; gap: 12px; padding: 8px 0; font-size: .88rem; }
.src-row .swatch { width: 8px; height: 8px; border-radius: 2px; flex:none; }
.src-row .src-name { color: var(--text); font-weight: 500; flex: 1; }
.src-row .src-val { color: var(--text-soft); font-variant-numeric: tabular-nums; min-width: 50px; text-align: right; }
.src-row .src-pct { color: #10b981; font-size: .78rem; font-weight: 600; min-width: 44px; text-align: right; }

/* legacy bars kept for about page */
.bars { display:flex; align-items:flex-end; gap:6px; height: 54px; margin-top: 14px; }
.bars span { flex:1; height: var(--h); background: var(--text); border-radius: 3px 3px 1px 1px; opacity:.85; animation: grow 1s var(--ease) backwards; }
.bars span:last-child { background: var(--accent); opacity: 1; }
.bars span:nth-child(2){animation-delay:.08s} .bars span:nth-child(3){animation-delay:.16s}
.bars span:nth-child(4){animation-delay:.24s} .bars span:nth-child(5){animation-delay:.32s}

/* floating pop tiles */
.glass-card.pop {
  position:absolute; display:flex; align-items:center; gap:12px;
  padding:14px 16px; min-width: 180px;
}
.pop-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.glass-card.pop b { display:block; font-family: var(--font-display); font-size:1.05rem; color: var(--text); letter-spacing: -.02em; }
.glass-card.pop small { color: var(--text-mute); font-size:.76rem; }
.glass-card.pop .pop-trend { margin-left: auto; font-size: .72rem; font-weight: 600; color: #10b981; padding: 2px 7px; border-radius: var(--r-pill); background: rgba(16,185,129,.1); }
.pop-1 { top: 2%; right: -6%; animation: float 6s var(--ease) infinite; }
.pop-2 { bottom: 8%; left: -8%; animation: float 7s var(--ease) infinite .5s; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes grow { from { height: 0; opacity:0 } }

/* ---- Stats ---- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); padding: 40px; }
.stat { text-align:center; position:relative; }
.stat + .stat::before { content:""; position:absolute; left:0; top:15%; height:70%; width:1px; background: var(--line); }
.stat strong { display:block; font-family: var(--font-display); font-size: clamp(2rem,4vw,2.8rem); color: var(--text); letter-spacing: -.03em; }
.stat span { color: var(--text-mute); font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; }

/* ---- About ---- */
.about-grid { display:grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items:center; }
.about-visual { position:relative; }
.glass-panel { background: var(--surface); }
.panel-row { display:flex; align-items:center; gap:14px; padding: 14px 0; border-bottom:1px solid var(--line); font-size:.92rem; }
.panel-row:last-child { border-bottom:none; }
.panel-row.head { font-family: var(--font-display); font-size: 1rem; color: var(--text); }
.panel-row span:nth-child(2){ flex:1; color: var(--text-soft); }
.panel-row b { font-family: var(--font-display); color: var(--text); }
.tag { font-size:.7rem; font-weight:600; padding:4px 10px; border-radius: var(--r-pill); letter-spacing: .02em; }
.tag-cyan { background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.tag-blue { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.tag-violet { background: var(--bg-soft); color: var(--text-soft); border: 1px solid var(--line); }
.glass-panel.small { position:absolute; right:-26px; bottom:-40px; width:230px; padding:22px; box-shadow: var(--shadow-lg); }
.glass-panel.small strong { display:block; margin-top:6px; }
.about-copy h2 { margin:20px 0; }
.check-list { margin: 26px 0; }
.check-list li { position:relative; padding-left:32px; margin-bottom:14px; color: var(--text-soft); }
.check-list li::before { content:""; position:absolute; left:0; top:8px; width:18px; height:18px; border-radius:50%; background: var(--text); }
.check-list li::after { content:""; position:absolute; left:5px; top:13px; width:8px; height:4px; border-left:2px solid var(--bg); border-bottom:2px solid var(--bg); transform: rotate(-45deg); }

/* ---- Services cards ---- */
.svc { display:flex; flex-direction:column; gap:14px; padding: 32px; }
.svc-ico { width:54px; height:54px; border-radius:14px; background: var(--bg-soft); border:1px solid var(--line); display:grid; place-items:center; color: var(--text); transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.svc h3 { font-size:1.25rem; }
.svc:hover .svc-ico { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---- Testimonials ---- */
.quote { display:flex; flex-direction:column; gap:18px; }
.quote .stars { color: #d4a017; letter-spacing:2px; font-size: .95rem; }
.quote p { color: var(--text); font-size:1.02rem; line-height: 1.65; }
.quote footer { display:flex; align-items:center; gap:12px; margin-top:auto; }
.quote .ava { width:42px; height:42px; border-radius:50%; background: var(--bg-soft); border:1px solid var(--line-strong); }
.quote b { font-family: var(--font-display); display:block; color: var(--text); }
.quote small { color: var(--text-mute); }

/* ---- CTA band ---- */
.cta-band {
  padding: clamp(48px,6vw,80px);
  overflow:hidden;
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.cta-band h2, .cta-band p, .cta-band .grad-text { color: var(--bg); }
.cta-band .lead { color: rgba(250,250,247,.7); }
.cta-band .btn-primary { background: var(--bg); color: var(--text); border-color: var(--bg); }
.cta-band .btn-primary:hover { background: #ffffff; }
.cta-copy { position:relative; z-index:1; max-width: 600px; }
.cta-copy h2 { margin-bottom:16px; }
.cta-copy .btn { margin-top:28px; }
.cta-orbits { position:absolute; inset:0; z-index:0; pointer-events: none; }
.cta-orbits i { position:absolute; right:6%; top:50%; transform:translateY(-50%); border:1px solid rgba(250,250,247,.12); border-radius:50%; }
.cta-orbits i:nth-child(1){ width:160px;height:160px; }
.cta-orbits i:nth-child(2){ width:300px;height:300px; }
.cta-orbits i:nth-child(3){ width:460px;height:460px; }
.cta-orbits i::after { content:""; position:absolute; top:-5px; left:50%; width:10px; height:10px; border-radius:50%; background: var(--bg); }
.cta-orbits i:nth-child(1){ animation: spin 14s linear infinite; }
.cta-orbits i:nth-child(2){ animation: spin 22s linear infinite reverse; }
.cta-orbits i:nth-child(3){ animation: spin 32s linear infinite; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ---- Page header (inner pages) ---- */
.page-head {
  padding: clamp(70px,9vw,120px) 0 30px; text-align:center;
  position: relative;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 380px at 50% 0%, rgba(78,47,218,.10), transparent 60%),
    radial-gradient(500px 300px at 12% 90%, rgba(78,47,218,.05), transparent 60%);
  pointer-events: none;
}
.page-head .eyebrow { margin-bottom: 22px; }
.page-head h1 { margin-bottom: 18px; }
.page-head .lead { margin-inline:auto; text-align:center; }
.breadcrumb { color: var(--text-mute); font-size:.86rem; margin-top:18px; }
.breadcrumb a:hover { color: var(--text); }

/* ---- Services page extras ---- */
.process { counter-reset: step; }
.process .card { display:flex; gap:20px; align-items:flex-start; }
.step-num { font-family: var(--font-display); font-size:1.2rem; width:46px; height:46px; flex:none; border-radius:12px; background: var(--bg-soft); border:1px solid var(--line); display:grid; place-items:center; color: var(--text); font-weight: 700; }
.process .card h3 { font-size:1.2rem; margin-bottom:6px; }

.pricing-grid { align-items:stretch; }
.price-card { display:flex; flex-direction:column; padding: 36px; }
.price-card.featured { border-color: var(--text); box-shadow: var(--shadow-lg); }
.price-tag { font-family: var(--font-display); font-size:2.6rem; margin:10px 0 4px; color: var(--text); letter-spacing: -.03em; }
.price-tag small { font-family: var(--font-body); font-size:1rem; color: var(--text-mute); font-weight: 400; }
.price-card ul { margin: 22px 0 26px; }
.price-card li { padding:10px 0; padding-left:26px; position:relative; color: var(--text-soft); font-size:.94rem; border-bottom:1px solid var(--line); }
.price-card li::before { content:"→"; position:absolute; left:0; color: var(--text); }
.price-card .btn { margin-top:auto; justify-content:center; }
.badge-pop { position:absolute; top:20px; right:20px; font-size:.7rem; font-weight:700; padding:5px 12px; border-radius: var(--r-pill); background: var(--text); color: var(--bg); letter-spacing: .04em; text-transform: uppercase; }

/* ---- About page extras ---- */
.values .card h3 { font-size:1.2rem; margin:14px 0 8px; }
.value-ico { width:48px;height:48px;border-radius:12px;background:var(--bg-soft);border:1px solid var(--line);display:grid;place-items:center;font-size:1.3rem; }
.team-grid .member { text-align:center; }
.member .photo { aspect-ratio:1; border-radius:var(--r-lg); background: var(--bg-soft); border:1px solid var(--line); margin-bottom:16px; display:grid; place-items:center; font-family:var(--font-display); font-size:2.4rem; color:var(--text-mute); }
.member h4 { font-size:1.1rem; color: var(--text); }
.member span { color: var(--text-mute); font-size:.88rem; }

/* ---- Contact page ---- */
.contact-grid { display:grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items:start; }
.contact-info .info-item { display:flex; gap:16px; align-items:flex-start; margin-bottom:26px; }
.info-ico { width:44px;height:44px;flex:none;border-radius:12px;background:var(--bg-soft);border:1px solid var(--line);display:grid;place-items:center;font-size:1.1rem; }
.info-item b { font-family:var(--font-display); display:block; margin-bottom:2px; color: var(--text); }
.info-item p { color: var(--text-soft); font-size:.94rem; }
.form-card { padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-size:.84rem; color: var(--text-soft); margin-bottom:8px; font-weight: 500; }
.field input, .field textarea, .field select {
  width:100%; background: var(--surface); border:1px solid var(--line-strong);
  border-radius: var(--r); padding:13px 16px; color: var(--text); font-family:inherit; font-size:.95rem; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(15,15,18,.06); }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-note { margin-top:14px; font-size:.9rem; color: var(--text-mute); }
.map-embed { margin-top: 50px; border-radius: var(--r-lg); overflow:hidden; border:1px solid var(--line); height: 320px; }
.map-embed iframe { width:100%; height:100%; border:0; }

.faq .card { cursor:pointer; }
.faq summary { font-family:var(--font-display); font-size:1.05rem; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; color: var(--text); }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color: var(--text); font-size:1.4rem; transition: transform .3s; font-weight: 300; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-soft); margin-top:14px; }

/* ---- Case-study / results cards ---- */
.result-card { padding: 32px; display: flex; flex-direction: column; min-height: 320px; }
.result-meta { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--text-mute); margin-bottom: 16px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.result-meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mute); }
.result-card h3 { font-size: 1.3rem; margin-bottom: 14px; line-height: 1.25; }
.result-card .desc { color: var(--text-soft); font-size: .94rem; margin-bottom: auto; }
.result-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.result-metric strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--text); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 4px; }
.result-metric span { color: var(--text-mute); font-size: .8rem; }

/* ---- Service detail blocks ---- */
.svc-detail { display: grid; grid-template-columns: .42fr .58fr; gap: 70px; align-items: start; padding: 70px 0; border-top: 1px solid var(--line); }
.svc-detail:first-of-type { border-top: none; padding-top: 30px; }
.svc-detail .label { display:inline-flex; align-items:center; gap:8px; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; font-weight: 600; }
.svc-detail .label::before { content:""; width: 24px; height: 1px; background: var(--text-mute); }
.svc-detail h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 18px; letter-spacing: -.03em; line-height: 1.1; }
.svc-detail .desc { color: var(--text-soft); margin-bottom: 22px; font-size: 1.02rem; }
.svc-detail .deliverables h5 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; font-weight: 600; }
.svc-detail ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.svc-detail ul li { position: relative; padding-left: 22px; color: var(--text); font-size: .94rem; line-height: 1.5; }
.svc-detail ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--text); }

/* ---- Approach / why cards ---- */
.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.approach-card { padding: 36px; }
.approach-num { display: inline-block; font-family: var(--font-display); font-size: .92rem; color: var(--text-mute); margin-bottom: 16px; letter-spacing: .04em; font-weight: 600; }
.approach-card h4 { font-size: 1.25rem; margin-bottom: 12px; }
.approach-card p { color: var(--text-soft); font-size: .96rem; }

/* ---- Timeline (what to expect) ---- */
.timeline { display: grid; max-width: 720px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.timeline-item:last-child { border-bottom: none; }
.timeline-when { font-family: var(--font-display); font-size: 1rem; color: var(--text); letter-spacing: -.01em; }
.timeline-what b { color: var(--text); display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.timeline-what p { color: var(--text-soft); font-size: .94rem; }

/* ---- Industries / chips row ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: .9rem; transition: .25s; }
.chip:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip svg.lucide { width: 14px; height: 14px; }

/* ---- Awards / recognition strip ---- */
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 8px 0; }
.award { text-align: center; padding: 28px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.award .award-year { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); letter-spacing: -.02em; margin-bottom: 6px; }
.award .award-name { color: var(--text); font-size: .92rem; font-weight: 500; margin-bottom: 4px; }
.award .award-by { color: var(--text-mute); font-size: .8rem; }

/* ---- Responsive overrides for new sections ---- */
@media (max-width: 940px) {
  .svc-detail { grid-template-columns: 1fr; gap: 28px; padding: 50px 0; }
  .svc-detail ul { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .awards { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 100px 1fr; gap: 16px; }
  .result-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .awards { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ===================================================================
   RICH VISUAL ARTIFACTS — device mockups, browser frames, etc.
=================================================================== */

/* ---- Featured work: left=web, right=mobile ---- */
.work-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: 50px; align-items: center; }
.work-row .work-web { width: 100%; }
.work-row .work-mobile { display: flex; justify-content: center; align-items: center; }
@media (max-width: 940px) {
  .work-row { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Service packages (replaces pricing tiers) ---- */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.package { padding: 32px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.package:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.package.bundle { background: var(--text); color: var(--bg); border-color: var(--text); }
.package.bundle h3, .package.bundle .pkg-label { color: var(--bg); }
.package.bundle .pkg-meta, .package.bundle p { color: rgba(250,250,247,.7); }
.package.bundle li { color: rgba(250,250,247,.92); border-bottom-color: rgba(255,255,255,.1); }
.package.bundle li::before { color: var(--bg); }
.package.bundle .pkg-ico { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--bg); }
.pkg-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 18px; color: var(--text); }
.pkg-ico svg.lucide { width: 20px; height: 20px; }
.pkg-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 8px; font-weight: 700; }
.package h3 { font-size: 1.35rem; margin-bottom: 8px; letter-spacing: -.02em; }
.package .pkg-meta { font-size: .9rem; color: var(--text-soft); margin-bottom: 18px; }
.package ul { margin: 8px 0 24px; }
.package li { padding: 10px 0; padding-left: 22px; position: relative; font-size: .92rem; line-height: 1.5; border-bottom: 1px solid var(--line); }
.package li:last-child { border-bottom: none; }
.package li::before { content: "→"; position: absolute; left: 0; color: var(--text); font-weight: 600; }
.package .pkg-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; }
.package .pkg-from { font-family: var(--font-display); font-size: 1rem; }
.package .pkg-from small { color: var(--text-mute); font-weight: 400; font-family: var(--font-body); font-size: .82rem; }
.package.bundle .pkg-from small { color: rgba(250,250,247,.55); }
.pkg-bundle-tag { position: absolute; top: 20px; right: 20px; font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--brand); color: #fff; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 940px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .packages-grid { grid-template-columns: 1fr; } }

/* ---- Device mockups: iPhone + Android ---- */
.devices-row { display: flex; align-items: flex-end; gap: 30px; justify-content: center; flex-wrap: wrap; padding: 30px 0; }
.devices-row .iphone { transform: translateY(-20px); }

.iphone {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19.5;
  background: #0a0a0e;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 50px 80px -30px rgba(15,15,18,.35), 0 0 0 1.5px rgba(15,15,18,.18), inset 0 0 0 1px rgba(255,255,255,.05);
  flex: none;
}
.iphone::before {
  content: ""; position: absolute; top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 28px; background: #000; border-radius: 16px; z-index: 3;
}
.iphone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #fafaf7 0%, #f3f3ee 100%);
  border-radius: 34px; overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}

.android {
  position: relative;
  width: 252px;
  aspect-ratio: 9 / 19;
  background: #0a0a0e;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 50px 80px -30px rgba(15,15,18,.35), 0 0 0 1.5px rgba(15,15,18,.18), inset 0 0 0 1px rgba(255,255,255,.05);
  flex: none;
}
.android::before {
  content: ""; position: absolute; top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px; background: #000; border-radius: 50%; z-index: 3;
}
.android-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0f0f12 0%, #1a1a22 100%);
  border-radius: 30px; overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}

/* Phone status bar */
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px 10px; font-size: .7rem; font-weight: 700;
  font-family: var(--font-display);
}
.iphone .phone-status { color: var(--text); }
.android .phone-status { color: var(--bg); padding: 16px 22px 8px; }
.phone-status .icons { display: flex; gap: 4px; }
.phone-status .icons i { width: 11px; height: 11px; }

/* iPhone mockup: FinTech wallet */
.phone-body { padding: 6px 16px 14px; flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.ft-greet { font-size: .62rem; color: var(--text-mute); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.ft-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--text); margin-top: 2px; letter-spacing: -.02em; }
.ft-balance { margin-top: 4px; padding: 16px; border-radius: 14px; background: var(--text); color: var(--bg); position: relative; overflow: hidden; }
.ft-balance::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,.04); }
.ft-balance .lbl { font-size: .6rem; opacity: .6; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.ft-balance .val { font-family: var(--font-display); font-size: 1.55rem; margin-top: 4px; letter-spacing: -.02em; }
.ft-balance .trend { display: inline-flex; align-items: center; gap: 4px; font-size: .62rem; margin-top: 4px; color: #4ade80; }
.ft-balance .trend i { width: 10px; height: 10px; }
.ft-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ft-action { padding: 10px 4px; background: var(--surface); border-radius: 12px; text-align: center; border: 1px solid var(--line); }
.ft-action i { width: 13px; height: 13px; color: var(--text); }
.ft-action span { display: block; font-size: .54rem; margin-top: 4px; color: var(--text-soft); font-weight: 600; letter-spacing: .02em; }
.ft-section { font-size: .58rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.ft-list { display: flex; flex-direction: column; gap: 2px; }
.ft-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.ft-row .ico { width: 26px; height: 26px; border-radius: 8px; background: var(--bg-soft); display: grid; place-items: center; border: 1px solid var(--line); flex: none; }
.ft-row .ico i { width: 11px; height: 11px; color: var(--text); }
.ft-row .txt { flex: 1; min-width: 0; }
.ft-row .txt b { display: block; font-size: .66rem; color: var(--text); font-weight: 600; }
.ft-row .txt small { font-size: .54rem; color: var(--text-mute); }
.ft-row .amt { font-size: .68rem; font-weight: 700; color: var(--text); font-family: var(--font-display); }
.ft-row .amt.neg { color: var(--text); }
.ft-row .amt.pos { color: #16a34a; }

/* Android mockup: SaaS Analytics dashboard */
.an-body { padding: 6px 14px 0; flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 10px; color: var(--bg); }
.an-greet { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.an-greet .title { font-family: var(--font-display); font-size: .92rem; letter-spacing: -.02em; }
.an-greet .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 2px solid rgba(255,255,255,.1); }
.an-hero { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px; }
.an-hero .lbl { color: rgba(250,250,247,.55); font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.an-hero .val { font-family: var(--font-display); font-size: 1.35rem; margin-top: 4px; letter-spacing: -.02em; }
.an-hero .delta { display: inline-flex; align-items: center; gap: 3px; font-size: .6rem; color: #4ade80; margin-top: 4px; background: rgba(74,222,128,.12); padding: 2px 6px; border-radius: 99px; }
.an-hero .delta i { width: 9px; height: 9px; }
.an-spark { width: 100%; height: 38px; margin-top: 10px; }
.an-spark .ar { fill: var(--accent); opacity: .22; }
.an-spark .ln { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.an-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.an-tile { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 12px; }
.an-tile .lbl { color: rgba(250,250,247,.55); font-size: .56rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.an-tile .val { font-family: var(--font-display); font-size: .92rem; margin-top: 4px; letter-spacing: -.01em; }
.an-tile .sub { font-size: .56rem; color: #4ade80; margin-top: 2px; }
.an-nav { display: flex; justify-content: space-around; padding: 10px 14px 14px; border-top: 1px solid rgba(255,255,255,.08); margin-top: auto; background: rgba(0,0,0,.2); }
.an-nav .nav-item { padding: 4px 8px; border-radius: 8px; }
.an-nav .nav-item.active { background: rgba(255,255,255,.08); }
.an-nav i { width: 16px; height: 16px; color: rgba(250,250,247,.5); }
.an-nav .nav-item.active i { color: var(--bg); }

/* ---- Browser frame ---- */
.browser { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 5px 14px; font-size: .78rem; color: var(--text-mute); text-align: center; max-width: 360px; margin: 0 auto; display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.browser-url i { width: 11px; height: 11px; }
.browser-content { position: relative; overflow: hidden; background: var(--surface); }

/* Marketing-site mockup inside browser */
.bmock-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.bmock-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .92rem; font-weight: 700; }
.bmock-logo .dot { width: 18px; height: 18px; border-radius: 5px; background: var(--text); }
.bmock-links { display: flex; gap: 18px; font-size: .74rem; color: var(--text-soft); }
.bmock-btn { background: var(--text); color: var(--bg); font-size: .7rem; padding: 6px 14px; border-radius: 99px; }
.bmock-hero { padding: 36px 28px 28px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.bmock-eyebrow { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-mute); margin-bottom: 10px; font-weight: 700; }
.bmock-title { font-family: var(--font-display); font-size: 1.85rem; line-height: 1.06; letter-spacing: -.03em; margin-bottom: 12px; }
.bmock-sub { color: var(--text-soft); font-size: .82rem; max-width: 90%; }
.bmock-cta-row { display: flex; gap: 8px; margin-top: 16px; }
.bmock-cta-row .btn-mini { font-size: .68rem; padding: 6px 14px; border-radius: 99px; font-weight: 600; }
.bmock-cta-row .btn-mini.primary { background: var(--text); color: var(--bg); }
.bmock-cta-row .btn-mini.ghost { border: 1px solid var(--line-strong); }
.bmock-visual { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.bmock-visual .vh { display: flex; justify-content: space-between; align-items: center; font-size: .62rem; color: var(--text-mute); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.bmock-visual .vv { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; }
.bmock-visual svg.mini-chart { width: 100%; height: 50px; margin-top: 6px; }
.bmock-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 0 28px 28px; }
.bmock-card { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.bmock-card .ic { width: 24px; height: 24px; border-radius: 6px; background: var(--bg-soft); display:grid; place-items:center; margin-bottom: 8px; border: 1px solid var(--line); }
.bmock-card .ic i { width: 12px; height: 12px; }
.bmock-card b { font-size: .72rem; display: block; color: var(--text); }
.bmock-card small { font-size: .6rem; color: var(--text-mute); display: block; margin-top: 2px; }

/* ---- Code snippet card ---- */
.code-card {
  background: #0d0d11; color: #e5e5ec;
  border-radius: var(--r-lg); overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  box-shadow: var(--shadow-lg);
}
.code-head { display:flex; align-items:center; gap:12px; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--font-body); font-size: .8rem; color: rgba(255,255,255,.5); }
.code-head .dots { display:flex; gap:6px; }
.code-head .dots span { width: 9px; height: 9px; border-radius:50%; }
.code-head .dots span:nth-child(1){background:#ff5f57;} .code-head .dots span:nth-child(2){background:#febc2e;} .code-head .dots span:nth-child(3){background:#28c840;}
.code-head .file { margin-left: auto; }
.code-body { padding: 18px 22px; font-size: .82rem; line-height: 1.75; }
.code-body .ln { display: block; }
.code-body .kw { color: #c084fc; }
.code-body .fn { color: #60a5fa; }
.code-body .str { color: #86efac; }
.code-body .cm { color: rgba(255,255,255,.35); font-style: italic; }
.code-body .nm { color: #fbbf24; }
.code-body .pr { color: #f472b6; }
.code-body .ind { padding-left: 1.4rem; }

/* ---- Design tokens swatches ---- */
.tokens { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.token { padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.token .swatch { width: 100%; aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--line); margin-bottom: 10px; }
.token .name { font-size: .7rem; font-weight: 600; color: var(--text); }
.token .hex { font-size: .66rem; color: var(--text-mute); font-family: ui-monospace, monospace; margin-top: 2px; }

/* ---- "What we ship" achievement cards ---- */
.ship-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ship-card { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.ship-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.ship-card .ship-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 22px; }
.ship-card .ship-ico i { width: 18px; height: 18px; color: var(--text); }
.ship-card .ship-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--text); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.ship-card .ship-label { color: var(--text); font-size: .94rem; font-weight: 500; margin-bottom: 4px; }
.ship-card .ship-sub { color: var(--text-mute); font-size: .82rem; }

/* ---- Live iframe preview inside browser frame ---- */
.browser-live .browser-content { aspect-ratio: 16/10; padding: 0; background: var(--bg); }
.browser-live iframe { width: 100%; height: 100%; border: 0; display: block; background: var(--surface); }
.live-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; padding: 4px 10px; border-radius: 99px; background: rgba(16,185,129,.12); color: #16a34a; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.live-pill .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(16,185,129,.2); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---- Status pill (hero) ---- */
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: .86rem; font-weight: 500; color: var(--text);
  box-shadow: var(--shadow-sm);
}
.status-pill .status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex: none;
}
.status-pill .status-sep { color: var(--text-mute); }
.status-pill .status-mute { color: var(--text-soft); font-weight: 500; }

/* ---- Industry pills (themed strip) ---- */
.industry-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 6px 0; }
.industry-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); font-size: .94rem; color: var(--text); transition: all .25s var(--ease); }
.industry-pill:hover { transform: translateY(-2px); border-color: var(--text); }
.industry-pill svg.lucide { width: 16px; height: 16px; color: var(--text-soft); transition: color .25s; }
.industry-pill:hover svg.lucide { color: var(--text); }
.industry-pill.featured { background: var(--text); color: var(--bg); border-color: var(--text); }
.industry-pill.featured svg.lucide { color: var(--bg); }
.industry-pill.featured:hover { transform: translateY(-2px); }

/* Industries detail grid (large cards per vertical) */
.verticals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vertical { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: all .35s var(--ease); position: relative; overflow: hidden; }
.vertical:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.vertical .v-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 18px; color: var(--text); transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.vertical .v-ico svg.lucide, .vertical .v-ico i[data-lucide] { width: 20px; height: 20px; }
.vertical:hover .v-ico { background: var(--brand); border-color: var(--brand); color: #fff; }
.vertical h4 { font-size: 1.15rem; margin-bottom: 8px; }
.vertical p { color: var(--text-soft); font-size: .92rem; line-height: 1.5; }
.vertical .v-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.vertical .v-tag { font-size: .68rem; padding: 4px 9px; border-radius: 99px; background: var(--bg-soft); color: var(--text-soft); border: 1px solid var(--line); font-weight: 500; }

/* ---- Anonymous testimonial role meta (replaces avatar) ---- */
.quote footer .role { display: flex; flex-direction: column; gap: 2px; }
.quote footer .role b { font-family: var(--font-display); color: var(--text); font-size: .94rem; }
.quote footer .role small { color: var(--text-mute); font-size: .82rem; }
.quote footer .role-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.quote footer .role-ico i { width: 16px; height: 16px; color: var(--text); }

/* Hide legacy avatar elements where they linger */
.avatars { display: none !important; }

@media (max-width: 940px) {
  .verticals { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .verticals { grid-template-columns: 1fr; }
}

/* ---- WhatsApp floating button + inline ---- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  background: #25D366; color: #fff;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 14px 32px -8px rgba(37,211,102,.5), 0 4px 12px rgba(0,0,0,.18);
  z-index: 200; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 22px 44px -10px rgba(37,211,102,.6); color: #fff; }
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float .wa-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: .4; animation: wa-pulse 2.4s var(--ease) infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(1.7); opacity: 0; } }
.btn-wa { background: #25D366; color: #fff; border: 1px solid #25D366; }
.btn-wa:hover { background: #1ebd5b; border-color: #1ebd5b; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(37,211,102,.5); }
.btn-wa svg { width: 18px; height: 18px; }

/* ---- Responsive ---- */
@media (max-width: 940px) {
  .ship-grid { grid-template-columns: repeat(2,1fr); }
  .tokens { grid-template-columns: repeat(4, 1fr); }
  .bmock-hero { grid-template-columns: 1fr; }
  .bmock-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ship-grid { grid-template-columns: 1fr; }
  .tokens { grid-template-columns: repeat(3, 1fr); }
  .iphone, .android { width: 220px; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 26px; height: 26px; }
  .bmock-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   STACK-LIST · visual deliverable rows with brand logos
=================================================================== */
.stack-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; list-style: none; padding: 0; }
.stack-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.stack-row:hover { background: var(--surface); border-color: var(--line-strong); transform: translateX(2px); }
.stack-logos { display: flex; align-items: center; flex: none; }

/* Every direct child of .stack-logos is a 32×32 chip (img, .lu-ico, .brand-ico) */
.stack-logos > * {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  max-width: 32px;
  min-height: 32px;
  max-height: 32px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px;
  flex: none;
  margin-left: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(15,15,18,.05);
  box-sizing: border-box;
  overflow: hidden;
}
.stack-logos > :first-child { margin-left: 0; }

/* When the direct child is an <img> (simpleicons CDN), let it fill the chip */
.stack-logos > img { object-fit: contain; }

/* If we ever wrap an <img> in a div, fill the wrapper */
.stack-logos > div > img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Lucide fallback chips */
.stack-logos .lu-ico { background: var(--text); border-color: var(--text); color: #fff; }
.stack-logos .brand-ico { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Broken-image fallback chip (JS swaps img with initials when CDN 404s) */
.stack-logos .fallback-ico {
  background: var(--bg-soft); border-color: var(--line-strong); color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: -.02em;
  padding: 0;
}
.stack-logos .lu-ico > svg.lucide,
.stack-logos .lu-ico > i[data-lucide],
.stack-logos .brand-ico > svg.lucide,
.stack-logos .brand-ico > i[data-lucide] {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2;
}
.stack-text { flex: 1; min-width: 0; }
.stack-text b { display: block; font-size: .92rem; color: var(--text); font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.stack-text small { display: block; font-size: .78rem; color: var(--text-mute); margin-top: 2px; line-height: 1.45; }

/* Deliverable card head · cleaner with the new stack rows */
.pkg-detail { padding: 28px; }
.pkg-detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.pkg-detail-head .pkg-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); transition: all .25s var(--ease); }
.pkg-detail-head .pkg-ico svg.lucide, .pkg-detail-head .pkg-ico i[data-lucide] { width: 18px; height: 18px; }
.pkg-detail:hover .pkg-detail-head .pkg-ico { background: var(--brand); border-color: var(--brand); color: #fff; }
.pkg-detail-head h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.pkg-detail .pkg-sub { font-size: .86rem; color: var(--text-mute); margin-bottom: 6px; }

/* ===================================================================
   SERVICE PAGE ARTIFACTS · one signature visual per service
=================================================================== */

/* ---- SEO · Google SERP mockup ---- */
.serp {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.serp-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.serp-logo {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: -.04em;
}
.serp-logo .b { color: #4285f4; }
.serp-logo .r { color: #ea4335; }
.serp-logo .y { color: #fbbc04; }
.serp-logo .g { color: #34a853; }
.serp-search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 99px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: .82rem; color: var(--text-soft);
}
.serp-search svg.lucide { width: 14px; height: 14px; margin-left: auto; }
.serp-tabs {
  display: flex; gap: 18px; padding: 8px 20px 0;
  font-size: .76rem; color: var(--text-mute);
}
.serp-tab { padding: 8px 0; border-bottom: 2px solid transparent; }
.serp-tab.active { color: var(--text); border-bottom-color: #4285f4; font-weight: 500; }
.serp-stats { padding: 12px 20px 6px; font-size: .72rem; color: var(--text-mute); border-bottom: 1px solid var(--line); }
.serp-results { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 18px; }
.serp-result { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; transition: all .25s var(--ease); }
.serp-result.you {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  position: relative;
}
.serp-result.you::after {
  content: "Your site · rank #1 ↑13"; position: absolute; top: -10px; right: 12px;
  background: var(--brand); color: #fff;
  font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px;
}
.serp-url { font-size: .74rem; color: var(--text-mute); display: flex; align-items: center; gap: 6px; }
.serp-url .site { color: var(--text); font-weight: 500; }
.serp-title { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; color: #1a0dab; letter-spacing: -.01em; }
.serp-result.you .serp-title { color: var(--brand); }
.serp-desc { font-size: .82rem; color: var(--text-soft); line-height: 1.5; }
.serp-desc .hl { background: rgba(78,47,218,.15); padding: 0 2px; font-weight: 500; color: var(--text); }
.serp-sitelinks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin-top: 4px; }
.serp-sitelink { font-size: .72rem; color: #1a0dab; }

/* Rank-movement chip below SERP */
.rank-strip { display:flex; align-items:center; gap:14px; margin-top:18px; padding: 14px 18px; background: var(--surface); border:1px solid var(--line); border-radius: var(--r); font-size:.82rem; }
.rank-strip .rs-ico { width:34px;height:34px;border-radius:9px;background:var(--brand);color:#fff;display:grid;place-items:center; flex:none; }
.rank-strip .rs-ico svg.lucide { width:16px;height:16px; }
.rank-strip b { font-family: var(--font-display); color: var(--text); }

/* ---- Paid Media · ad creative mockup + stats ---- */
.ad-stack { display: flex; flex-direction: column; gap: 16px; position: relative; }
.ad-card {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ad-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
}
.ad-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #2a1a8a);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  flex: none;
}
.ad-head .who { flex: 1; min-width: 0; }
.ad-head .who b { display: block; font-size: .82rem; font-weight: 600; color: var(--text); }
.ad-head .who small { display: block; font-size: .68rem; color: var(--text-mute); }
.ad-head .who small .spon { color: var(--text-soft); }
.ad-head .menu svg.lucide { width: 16px; height: 16px; color: var(--text-mute); }
.ad-copy { padding: 0 16px 12px; font-size: .92rem; color: var(--text); line-height: 1.5; }
.ad-image {
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, rgba(78,47,218,.18) 0%, rgba(20,140,255,.12) 100%),
    radial-gradient(circle at 30% 70%, rgba(78,47,218,.28), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(34,197,94,.16), transparent 50%),
    var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ad-image .badge {
  font-family: var(--font-display); font-size: 1.6rem;
  color: var(--text); letter-spacing: -.03em; text-align: center;
  background: var(--surface); padding: 14px 20px; border-radius: 12px;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm);
}
.ad-image .badge small { display:block; font-family: var(--font-body); font-size: .72rem; color: var(--text-mute); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; margin-top: 2px; }
.ad-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.ad-link .info { flex: 1; min-width: 0; }
.ad-link .url { font-size: .68rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em; }
.ad-link .title { font-size: .88rem; color: var(--text); font-weight: 500; }
.ad-link .cta {
  background: var(--bg); border: 1px solid var(--line-strong);
  padding: 7px 14px; border-radius: 6px;
  font-size: .76rem; font-weight: 600; color: var(--text);
}
.ad-react { display:flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .72rem; color: var(--text-mute); }
.ad-react .grp { display:flex; gap: 14px; }
.ad-react svg.lucide { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }

/* ROAS floating chip */
.roas-chip {
  position: absolute; top: -14px; right: -14px;
  background: var(--brand); color: #fff;
  padding: 10px 14px; border-radius: 12px;
  font-family: var(--font-display); line-height: 1.1;
  box-shadow: 0 18px 36px -12px rgba(78,47,218,.5);
  transform: rotate(3deg);
}
.roas-chip .v { font-size: 1.4rem; letter-spacing: -.02em; }
.roas-chip .l { font-size: .62rem; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }

/* Channel performance strip below ad */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ch-tile { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.ch-tile .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-soft); display:grid; place-items:center; margin: 0 auto 6px; color: var(--text); }
.ch-tile .ico svg.lucide { width: 14px; height: 14px; }
.ch-tile .v { font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.ch-tile .l { font-size: .66rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* ---- Web Dev · code editor + Lighthouse panel ---- */
.dev-stack { display: flex; flex-direction: column; gap: 16px; position: relative; }
.dev-stack .code-card { margin: 0; }
.lighthouse {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); padding: 22px;
}
.lighthouse .lh-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 18px; }
.lighthouse .lh-title { font-family: var(--font-display); font-size: 1rem; letter-spacing: -.01em; }
.lighthouse .lh-mode { font-size: .68rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; padding: 3px 10px; background: var(--bg-soft); border-radius: 99px; border: 1px solid var(--line); }
.lh-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lh-score { text-align: center; }
.lh-ring { position: relative; width: 56px; height: 56px; margin: 0 auto 8px; }
.lh-ring svg { transform: rotate(-90deg); }
.lh-ring circle { fill: none; stroke-width: 5; }
.lh-ring .track { stroke: var(--bg-soft); }
.lh-ring .bar { stroke: #34a853; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.lh-ring .num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--text);
}
.lh-score .lbl { font-size: .68rem; color: var(--text-soft); font-weight: 500; }

.dev-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dev-metric { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.dev-metric .lbl { font-size: .66rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.dev-metric .v { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); margin-top: 4px; letter-spacing: -.02em; }
.dev-metric .v .ok { color: #16a34a; font-size: .68rem; margin-left: 4px; font-family: var(--font-body); font-weight: 600; }

/* ---- Mobile · App Store listing mockup ---- */
.app-store {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.as-head {
  padding: 22px 20px; display: flex; gap: 14px; align-items: center;
  border-bottom: 1px solid var(--line);
}
.as-icon {
  width: 64px; height: 64px; flex: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #1a0e5c);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-size: 1.8rem; letter-spacing: -.04em;
  box-shadow: 0 6px 16px -4px rgba(78,47,218,.4);
}
.as-info { flex: 1; min-width: 0; }
.as-info .name { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.02em; }
.as-info .tag { font-size: .78rem; color: var(--text-soft); margin-top: 2px; }
.as-info .rating { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: .72rem; color: var(--text-mute); }
.as-info .rating .stars { color: #f59e0b; letter-spacing: 1px; }
.as-get {
  background: var(--brand); color: #fff;
  padding: 7px 18px; border-radius: 99px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  flex: none;
}
.as-meta { display: flex; padding: 14px 20px; border-bottom: 1px solid var(--line); justify-content: space-between; gap: 16px; }
.as-meta .m { text-align: center; flex: 1; }
.as-meta .m .v { font-family: var(--font-display); font-size: 1rem; color: var(--text); }
.as-meta .m .l { font-size: .62rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-top: 2px; }
.as-meta .m + .m { border-left: 1px solid var(--line); }
.as-screens { padding: 18px 20px; display: flex; gap: 10px; overflow: hidden; }
.as-screen {
  flex: 1; aspect-ratio: 9/16; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 14px 10px;
  gap: 8px;
}
.as-screen .as-sh { height: 6px; background: var(--text); opacity: .15; border-radius: 99px; width: 60%; }
.as-screen .as-sh.long { width: 90%; }
.as-screen .as-sh.med  { width: 70%; }
.as-screen .as-sh.short { width: 40%; }
.as-screen .as-block { flex: 1; background: var(--brand-soft); border-radius: 8px; margin-top: 4px; }
.as-screen.dark { background: var(--text); }
.as-screen.dark .as-sh { background: #fff; opacity: .2; }
.as-screen.dark .as-block { background: rgba(255,255,255,.06); }
.as-screen.purple .as-block { background: var(--brand); opacity: .85; }

/* ---- Brand · design system showcase ---- */
.brand-system {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-lg);
}
.bs-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bs-title { font-family: var(--font-display); font-size: 1rem; letter-spacing: -.01em; }
.bs-version { font-size: .68rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; padding: 3px 10px; background: var(--bg-soft); border-radius: 99px; border: 1px solid var(--line); }
.bs-section { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.bs-section:last-child { border-bottom: none; }
.bs-section h6 { font-size: .68rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 10px; }

.bs-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.bs-swatch { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); position: relative; }
.bs-swatch .lab { position: absolute; bottom: 4px; left: 6px; font-size: .56rem; color: var(--text); background: rgba(255,255,255,.85); padding: 1px 5px; border-radius: 4px; font-weight: 600; }
.bs-swatch.dark .lab { color: var(--bg); background: rgba(0,0,0,.4); }

.bs-type { display: flex; flex-direction: column; gap: 6px; }
.bs-type .t-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bs-type .t-row .t-name { font-family: var(--font-display); color: var(--text); letter-spacing: -.02em; }
.bs-type .t-row .t-spec { font-size: .68rem; color: var(--text-mute); font-family: ui-monospace, monospace; }
.bs-type .h1 { font-size: 1.5rem; }
.bs-type .h2 { font-size: 1.15rem; }
.bs-type .body { font-size: .92rem; font-family: var(--font-body); }

.bs-components { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bs-comp { padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; gap: 6px; }
.bs-comp-name { font-size: .62rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.bs-comp-preview { display: flex; align-items: center; gap: 6px; }
.bs-btn-prim { background: var(--text); color: var(--bg); padding: 6px 12px; border-radius: 99px; font-size: .72rem; font-weight: 600; }
.bs-btn-sec { border: 1px solid var(--line-strong); padding: 5px 12px; border-radius: 99px; font-size: .72rem; }
.bs-input { background: var(--surface); border: 1px solid var(--line-strong); padding: 6px 10px; border-radius: 6px; font-size: .72rem; color: var(--text-mute); flex: 1; }
.bs-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: .66rem; font-weight: 600; border: 1px solid var(--brand-line); }

/* ---- Analytics · funnel + A/B card ---- */
.funnel {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--shadow-lg);
}
.funnel-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.funnel-title { font-family: var(--font-display); font-size: 1rem; letter-spacing: -.01em; }
.funnel-period { font-size: .68rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.funnel-rows { display: flex; flex-direction: column; gap: 14px; }
.funnel-row { display: flex; align-items: center; gap: 14px; }
.funnel-row .name { font-size: .82rem; color: var(--text-soft); width: 90px; flex: none; font-weight: 500; }
.funnel-row .bar {
  flex: 1; height: 32px; border-radius: 8px;
  background: linear-gradient(90deg, var(--brand) 0%, #1a0e5c 100%);
  position: relative; overflow: hidden;
  width: var(--w);
}
.funnel-row .bar::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.1) 100%); }
.funnel-row .bar .v {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: .92rem; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.funnel-row .rate { font-size: .72rem; color: var(--text-mute); font-family: ui-monospace, monospace; width: 50px; text-align: right; flex: none; }

.ab-card {
  margin-top: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px;
}
.ab-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 14px; }
.ab-head .name { font-family: var(--font-display); font-size: .95rem; }
.ab-head .winner { font-size: .66rem; padding: 3px 10px; background: rgba(16,185,129,.12); color: #16a34a; border-radius: 99px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ab-vars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-var { padding: 14px; border-radius: 10px; border: 1px solid var(--line); }
.ab-var.win { border-color: #16a34a; background: rgba(16,185,129,.04); }
.ab-var .lab { font-size: .66rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 6px; }
.ab-var .conv { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); letter-spacing: -.02em; }
.ab-var .lift { font-size: .72rem; color: var(--text-mute); margin-top: 2px; }
.ab-var.win .lift { color: #16a34a; font-weight: 600; }

/* Responsive · scale artifacts down on small screens */
@media (max-width: 940px) {
  .lh-scores { grid-template-columns: repeat(2, 1fr); }
  .channels, .dev-metrics, .as-meta .m, .ab-vars { grid-template-columns: 1fr 1fr; }
  .bs-swatches { grid-template-columns: repeat(4, 1fr); }
}

/* ===================================================================
   BLOG / INSIGHTS · article typography & tile cards
=================================================================== */

/* Post tiles on blog index */
.post-tile { display:flex; flex-direction:column; padding: 0; overflow: hidden; }
.post-tile .post-cover { aspect-ratio: 16/9; background: var(--bg-soft); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.post-tile .post-cover-mark { font-family: var(--font-display); font-size: 3rem; color: var(--text-mute); letter-spacing: -.04em; opacity: .35; }
.post-tile .post-cover.brand { background: linear-gradient(135deg, var(--brand) 0%, #2a1a8a 100%); color: #fff; }
.post-tile .post-cover.brand .post-cover-mark { color: rgba(255,255,255,.7); opacity: .9; }
.post-tile .post-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-tile .post-meta { display:flex; align-items:center; gap:10px; font-size:.74rem; color: var(--text-mute); letter-spacing:.08em; text-transform:uppercase; font-weight: 600; }
.post-tile .post-meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mute); }
.post-tile h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; }
.post-tile p { color: var(--text-soft); font-size: .94rem; flex: 1; }
.post-tile .post-foot { display:flex; align-items:center; justify-content: space-between; gap: 10px; margin-top: 6px; color: var(--text-mute); font-size: .82rem; }
.post-tile .post-coming { display:inline-flex; align-items:center; gap:6px; font-size:.7rem; padding:3px 9px; border-radius:99px; background: var(--bg-soft); color: var(--text-soft); border:1px solid var(--line); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.post-tile.featured { grid-column: span 2; flex-direction: row; align-items: stretch; }
.post-tile.featured .post-cover { aspect-ratio: auto; min-height: 320px; width: 45%; flex: none; }
.post-tile.featured .post-body { padding: 36px 40px; justify-content: center; }
.post-tile.featured h3 { font-size: 1.8rem; }

@media (max-width: 940px) {
  .post-tile.featured { grid-column: span 1; flex-direction: column; }
  .post-tile.featured .post-cover { width: 100%; aspect-ratio: 16/9; min-height: 0; }
  .post-tile.featured .post-body { padding: 28px; }
}

/* Article body (single post) */
.article-head { max-width: 760px; margin: 0 auto; text-align: center; padding-top: clamp(50px, 7vw, 90px); }
.article-head .post-meta { justify-content: center; margin-bottom: 22px; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 22px; }
.article-head .lead { margin-inline: auto; }

.article-toc {
  max-width: 760px; margin: 40px auto 0;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 22px 26px;
}
.article-toc h5 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-mute); font-weight: 700; margin-bottom: 12px; }
.article-toc ol { list-style: decimal inside; }
.article-toc li { padding: 6px 0; font-size: .94rem; }
.article-toc a { color: var(--text); border-bottom: 1px solid transparent; transition: border-color .2s; }
.article-toc a:hover { border-color: var(--text); }

.prose { max-width: 760px; margin: 50px auto 0; color: var(--text); font-size: 1.05rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.025em; line-height: 1.15; margin-top: 2.4em; scroll-margin-top: 100px; }
.prose h3 { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; margin-top: 1.8em; line-height: 1.2; }
.prose h2 + p, .prose h3 + p { margin-top: .8em; }
.prose p { color: var(--text); }
.prose a { color: var(--brand); border-bottom: 1px solid var(--brand-line); transition: border-color .2s; }
.prose a:hover { border-color: var(--brand); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose ul li { list-style: disc; padding: 4px 0; }
.prose ol li { list-style: decimal; padding: 4px 0; }
.prose blockquote {
  border-left: 3px solid var(--brand);
  padding: 6px 0 6px 22px; margin: 1.6em 0;
  color: var(--text); font-style: italic; font-size: 1.08rem;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 6px; font-size: .9em;
}
.prose pre {
  background: #0d0d11; color: #e5e5ec;
  border-radius: var(--r); padding: 18px 22px; overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; line-height: 1.6;
  margin: 1.6em 0;
}
.prose pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }

.prose .callout {
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  border-radius: var(--r-lg); padding: 22px 26px; margin: 1.6em 0;
}
.prose .callout strong { color: var(--brand); }

.prose img { border-radius: var(--r-lg); border: 1px solid var(--line); }

/* Article footer (author + share) */
.article-foot {
  max-width: 760px; margin: 60px auto 0;
  padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.article-foot .author { display:flex; align-items:center; gap: 12px; }
.article-foot .author .a-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; }
.article-foot .author b { font-family: var(--font-display); display: block; }
.article-foot .author small { color: var(--text-mute); font-size: .85rem; }
.article-foot .share { display: flex; gap: 8px; }
.article-foot .share a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text-soft); transition: all .2s; }
.article-foot .share a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.article-foot .share svg { width: 15px; height: 15px; }

/* Related posts strip */
.related-posts { max-width: 1100px; margin: 60px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }

/* ---- Logo / brand bar (optional ribbon) ---- */
.brand-bar { display:flex; flex-wrap:wrap; gap: 40px 60px; align-items:center; justify-content:center; padding: 14px 0; }
.brand-bar span { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-mute); letter-spacing: -.01em; opacity: .85; transition: opacity .2s, color .2s; }
.brand-bar span:hover { opacity: 1; color: var(--text); }

/* Responsive page tweaks */
@media (max-width: 940px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 360px; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 30px 0; }
  .stat:nth-child(3)::before { display:none; }
  .glass-panel.small { position:static; width:100%; margin-top:20px; right:auto; bottom:auto; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat::before { display:none; }
  .field-row { grid-template-columns: 1fr; }
}
