/* ============================================================
   APEX AI — design system
   Modern SaaS, crisp high-contrast base, brand green accent.
   ============================================================ */

:root {
  /* Brand */
  --green:      #84C13E;   /* APEX brand green */
  --green-600:  #6BA52E;
  --green-700:  #568A22;
  --green-50:   #F1F8E8;
  --green-glow: rgba(132, 193, 62, 0.35);

  /* Ink + neutrals (crisp, slightly green-cool) */
  --ink:        #0E1413;   /* near-black, used for dark surfaces + headings */
  --ink-2:      #2C3431;
  --body:       #44504C;
  --muted:      #6B7770;
  --line:       #E6EBE6;
  --line-2:     #D6DDD6;

  /* Surfaces */
  --bg:         #FFFFFF;
  --bg-soft:    #F6F9F4;
  --bg-dark:    #0E1413;
  --bg-dark-2:  #131B19;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing + shape */
  --radius:     14px;
  --radius-lg:  22px;
  --maxw:       1140px;
  --shadow-sm:  0 1px 2px rgba(14,20,19,0.06), 0 2px 8px rgba(14,20,19,0.05);
  --shadow:     0 8px 30px rgba(14,20,19,0.08);
  --shadow-lg:  0 24px 60px rgba(14,20,19,0.14);
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -0.03em; }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; }
p { color: var(--body); }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green); color: #0c1a04;
  box-shadow: 0 6px 18px var(--green-glow);
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 10px 26px var(--green-glow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 18px 32px; font-size: 1.06rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* on dark surfaces */
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.on-dark .btn-ghost:hover { border-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.nav.scrolled { background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .95rem; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--green-700); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* hero nav appears over dark hero -> start light text */
.nav:not(.scrolled) .nav-logo,
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.92); }
.nav:not(.scrolled) .nav-toggle span { background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--bg-dark); color: #fff;
  padding: 168px 0 110px; overflow: hidden;
}
.hero::before { /* animated mesh glow */
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 90%;
  background:
    radial-gradient(40% 50% at 20% 20%, rgba(132,193,62,0.22), transparent 70%),
    radial-gradient(38% 46% at 82% 18%, rgba(132,193,62,0.16), transparent 70%);
  filter: blur(10px); animation: floatGlow 16s ease-in-out infinite alternate; pointer-events: none;
}
.hero::after { /* faint grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 85%);
  pointer-events: none;
}
@keyframes floatGlow { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(26px) scale(1.06); } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero .eyebrow { margin-bottom: 18px; }
.hero-leadin { color: rgba(255,255,255,0.55); font-size: 1.08rem; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 12px; max-width: 30ch; }
.hero h1 { color: #fff; max-width: 26ch; }
.hero .sub { color: rgba(255,255,255,0.74); font-size: 1.18rem; margin-top: 22px; max-width: 30ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; align-items: center; }
.hero-cta .text-link { color: rgba(255,255,255,0.8); font-weight: 500; font-size: .98rem; }
.hero-cta .text-link:hover { color: var(--green); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  color: var(--green); background: rgba(132,193,62,0.12);
  border: 1px solid rgba(132,193,62,0.28); padding: 7px 14px; border-radius: 999px;
  margin-bottom: 26px;
}

/* Hero mock — "system in motion" */
.hero-mock { position: relative; z-index: 2; }
.mock-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 18px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.mock-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-dot.g { background: var(--green); }
.mock-title { margin-left: auto; font-size: .78rem; color: rgba(255,255,255,0.5); }
.pipe { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 16px 6px 6px; }
.pipe-col { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 8px; min-height: 120px; }
.pipe-col h5 { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.45); margin-bottom: 8px; font-weight: 600; }
.deal { background: rgba(255,255,255,0.06); border-radius: 7px; padding: 7px 8px; margin-bottom: 6px; font-size: .72rem; color: rgba(255,255,255,0.85); border-left: 2px solid var(--green); }
.toast {
  position: absolute; right: -14px; bottom: 28px;
  background: #fff; color: var(--ink); border-radius: 12px; padding: 11px 14px;
  box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; gap: 9px; opacity: 0;
}
.toast .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .7rem; }
.toast.show { animation: toastIn 5s ease-in-out infinite; }
.toast:nth-of-type(2) { bottom: 84px; right: 18px; animation-delay: 1.6s; }
.toast:nth-of-type(3) { bottom: 140px; right: -8px; animation-delay: 3.2s; }
@keyframes toastIn {
  0%, 8% { opacity: 0; transform: translateY(10px); }
  14%, 28% { opacity: 1; transform: translateY(0); }
  36%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* ---------- Section headers ---------- */
.section-label { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.section-head { max-width: 60ch; margin-bottom: 52px; }
.section-head p { font-size: 1.12rem; color: var(--muted); margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Problem cards ---------- */
.bg-soft { background: var(--bg-soft); }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; color: var(--body); }
.close-line { margin-top: 40px; font-size: 1.28rem; color: var(--ink); font-weight: 600; max-width: 50ch; letter-spacing: -0.02em; }
.close-line .accent { color: var(--green-700); }

/* ---------- Pillars (what I do) ---------- */
.pillars { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.pillar {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; background: var(--bg);
}
.pillar:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar .num { font-size: .8rem; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: .98rem; }

/* ---------- Migration ---------- */
.migrate { background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.migrate::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 60% at 80% 30%, rgba(132,193,62,0.14), transparent 70%); pointer-events:none; }
.migrate .section-label { color: var(--green); }
.migrate h2 { color: #fff; }
.migrate-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.migrate p { color: rgba(255,255,255,0.76); }
.migrate ul { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.migrate li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.85); font-size: 1rem; }
.migrate li .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #0c1a04; display: grid; place-items: center; font-size: .72rem; font-weight: 700; margin-top: 2px; }
.migrate .btn-primary { margin-top: 32px; }

/* flow diagram */
.flow { display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; }
.flow-from { display: grid; gap: 8px; }
.chip { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 9px; padding: 9px 14px; font-size: .85rem; color: rgba(255,255,255,0.8); font-weight: 500; text-align: center; }
.flow-arrow { color: var(--green); font-size: 1.6rem; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100%{transform:translateX(0)} 50%{transform:translateX(6px)} }
.flow-to { background: linear-gradient(160deg, rgba(132,193,62,0.18), rgba(132,193,62,0.05)); border: 1px solid var(--green); border-radius: 14px; padding: 20px 26px; text-align: center; box-shadow: 0 10px 30px var(--green-glow); }
.flow-to .big { font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.flow-to .small { font-size: .78rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ---------- Why me ---------- */
.why-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.why-photo { border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); aspect-ratio: 4/5; display: grid; place-items: center; color: var(--muted); font-size: .9rem; overflow: hidden; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.hybrid { margin-top: 20px; padding: 18px 22px; background: var(--green-50); border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; color: var(--ink-2); font-weight: 500; }
.pedigree { margin-top: 26px; }
.pedigree .cap { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.pedigree .row { display: flex; flex-wrap: wrap; gap: 10px; }
.pedigree .row span { font-size: .85rem; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 8px 14px; border-radius: 8px; }

/* ---------- Proof ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 44px; }
.badge { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line-2); padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.badge .star { color: var(--green); }
.proof-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proof {
  background: var(--bg-dark); color: #fff; border-radius: var(--radius-lg); padding: 34px 30px;
  position: relative; overflow: hidden;
}
.proof::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 90% 10%, rgba(132,193,62,0.16), transparent 70%); }
.proof .stat { position: relative; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--green); letter-spacing: -0.03em; }
.proof h3 { position: relative; color: #fff; font-size: 1.18rem; line-height: 1.25; letter-spacing: -0.01em; }
.proof p { position: relative; color: rgba(255,255,255,0.82); margin-top: 10px; font-size: .96rem; line-height: 1.55; }
.anon { text-align: center; margin-top: 26px; font-size: .88rem; color: var(--muted); }

/* ---------- Hero h1 two-line ---------- */
.h1-line2 { display: block; }

/* ---------- Outcome warning block ---------- */
.ba-warning { margin-top: 20px; padding: 16px 18px; background: rgba(176,58,46,0.06); border-left: 3px solid #C0392B; border-radius: 8px; }
.warn-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #8B2520; background: rgba(176,58,46,0.12); border-radius: 4px; padding: 2px 7px; margin-bottom: 8px; }
.ba-warning p { font-size: .84rem; color: #6B3028; line-height: 1.55; margin: 0; }

/* ---------- Worked with logos ---------- */
.worked-with { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.worked-with-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.worked-with-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.worked-with-logos img { height: 28px; width: auto; object-fit: contain; filter: grayscale(1) opacity(0.55); transition: filter .2s; }
.worked-with-logos img:hover { filter: grayscale(0) opacity(1); }

/* ---------- Upwork rating bar ---------- */
.upwork-rating-bar { display: flex; align-items: center; gap: 10px; margin: 20px 0 8px; }
.ur-score-stars { color: #F5A623; font-size: 1.1rem; letter-spacing: 1px; }
.ur-score-num { font-size: .9rem; font-weight: 600; color: var(--ink-2); }

/* ---------- Upwork review strip ---------- */
.upwork-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 12px 0 40px; }
.ur { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.ur-stars { color: #F5A623; font-size: 1rem; letter-spacing: 1px; margin-bottom: 10px; }
.ur p { font-size: .9rem; line-height: 1.6; color: var(--ink-2); font-style: italic; margin: 0 0 12px; }
.ur-attr { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ---------- Case study grid ---------- */
.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 0; }
.cs-card {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cs-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cs-stat { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--green-700); letter-spacing: -0.04em; line-height: 1; flex-shrink: 0; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: flex-start; }
.cs-tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); background: rgba(132,193,62,.12); border-radius: 4px; padding: 3px 8px; }
.cs-card h3 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 8px; }
.cs-card > p { font-size: .9rem; line-height: 1.6; color: var(--body); margin-bottom: 14px; }
.cs-list { margin: 0; padding: 0 0 0 0; list-style: none; border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.cs-list li { font-size: .85rem; color: var(--muted); padding-left: 16px; position: relative; line-height: 1.5; }
.cs-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: .8rem; }

/* ---------- Who I help (industries) ---------- */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry-card {
  display: block; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(132,193,62,0.4); }
.industry-card h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em; }
.industry-card p { color: var(--body); line-height: 1.6; margin-bottom: 16px; }
.industry-card .text-link { font-weight: 600; }
@media (max-width: 920px) { .industries-grid { grid-template-columns: 1fr; } }

/* ---------- Process flow (industry GTM steps) ---------- */
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-steps::before { content: ""; position: absolute; top: 21px; left: 12.5%; right: 12.5%; height: 2px; background: var(--green); opacity: .5; z-index: 0; }
.flow-step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.flow-step .fs-num { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #0c1a04; font-weight: 800; font-size: 1rem; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 0 6px var(--bg-dark); }
.flow-step h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.flow-step p { color: rgba(255,255,255,0.68); font-size: .9rem; line-height: 1.55; }
@media (max-width: 860px) {
  .flow-steps { grid-template-columns: 1fr; gap: 0; }
  .flow-steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
  .flow-step { text-align: left; padding: 0 0 28px 60px; }
  .flow-step:last-child { padding-bottom: 0; }
  .flow-step .fs-num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Outcome / transformation (here to there) ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.ba-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.ba-after { border-color: rgba(132,193,62,0.45); box-shadow: 0 10px 28px rgba(132,193,62,0.14); }
.ba-cap { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; color: var(--muted); }
.ba-after .ba-cap { color: var(--green-700); }
.ba-col ul { list-style: none; padding: 0; margin: 0; }
.ba-col li { padding: 11px 0 11px 28px; position: relative; line-height: 1.5; color: var(--body); border-bottom: 1px solid var(--line); }
.ba-col li:last-child { border-bottom: 0; }
.ba-before li::before { content: "✕"; position: absolute; left: 0; top: 11px; color: #C13C3C; font-weight: 700; font-size: .92rem; }
.ba-after li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--green-700); font-weight: 700; }
.ba-after li { color: var(--ink-2); }
.ba-arrow { display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: var(--green); }
.ba-phases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.ba-phase { padding: 13px 14px; background: rgba(132,193,62,.07); border-radius: var(--radius); }
.phase-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--green-700); background: rgba(132,193,62,.18); border-radius: 4px; padding: 2px 7px; margin-bottom: 6px; }
.ba-phase p { color: var(--body); font-size: .83rem; line-height: 1.5; margin: 0; }
@media (max-width: 820px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); padding: 4px 0; }
  .ba-phases { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; position: relative; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; }
.step:nth-child(2) .n { background: var(--green-700); }
.step:nth-child(3) .n { background: var(--green); color: #0c1a04; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .98rem; }

/* ---------- Pricing ---------- */
.price-panel {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 56px 40px;
}
.price-panel h2 { margin-bottom: 16px; }
.price-panel p { font-size: 1.1rem; color: var(--body); max-width: 52ch; margin: 0 auto 28px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 1.1rem; font-weight: 600; color: var(--ink); font-family: inherit; }
.faq-q .pm { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .3s; color: var(--green-700); }
.faq-item.open .pm { background: var(--green); color: #fff; border-color: var(--green); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 24px; color: var(--body); max-width: 64ch; }

/* ---------- Final CTA + footer ---------- */
.final { background: var(--bg-dark); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 70% at 50% 0%, rgba(132,193,62,0.2), transparent 70%); pointer-events:none; }
.final-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,0.75); font-size: 1.15rem; margin: 18px 0 34px; }
.final .micro { margin-top: 20px; font-size: .9rem; color: rgba(255,255,255,0.55); }
.final .micro a { color: var(--green); }

footer { background: var(--bg-dark-2); color: rgba(255,255,255,0.7); padding: 54px 0 40px; }
.foot-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.foot-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.foot-logo img { height: 28px; }
.foot-tag { font-size: .9rem; color: rgba(255,255,255,0.5); margin-top: 8px; max-width: 30ch; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: .92rem; }
.foot-links a:hover { color: var(--green); }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); font-size: .82rem; color: rgba(255,255,255,0.4); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner, .migrate-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-mock { order: 2; }
  .hero { padding-top: 140px; }
  .cards-3, .pillars, .proof-cards, .steps, .cs-grid, .upwork-strip { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px 24px; gap: 18px; box-shadow: var(--shadow); align-items: flex-start;
  }
  .nav.open .nav-links a { color: var(--ink-2); }
  .nav-cta .btn { display: none; }
  .nav.open .nav-cta .btn { display: inline-flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pipe { grid-template-columns: repeat(2,1fr); }
  .foot-bottom { flex-direction: column; }
}

/* ============================================================
   LOGOS + DIAGRAMS  (data flow / build-outs)
   ============================================================ */

/* App-tile: every named brand sits on a white rounded tile so it
   stays visible on dark and light sections alike. */
.logo-tile {
  display: inline-grid; place-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-sm); flex: 0 0 auto; overflow: hidden;
}
.logo-tile img { width: 64%; height: 64%; object-fit: contain; }
.logo-tile.sm { width: 34px; height: 34px; border-radius: 9px; }
.logo-tile.md { width: 46px; height: 46px; }
.logo-tile.lg { width: 60px; height: 60px; border-radius: 15px; }
.logo-tile.xl { width: 84px; height: 84px; border-radius: 20px; }

/* ---------- Stack strip ---------- */
.stack { padding: 54px 0; border-bottom: 1px solid var(--line); }
.stack .lead { text-align: center; font-size: .9rem; color: var(--muted); font-weight: 500; margin-bottom: 26px; }
.stack-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.stack-row .brand { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 600; font-size: .92rem; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s; }
.stack-row .brand:hover { transform: translateY(-2px); border-color: var(--line-2); }
.stack-row .brand img { width: 22px; height: 22px; object-fit: contain; }

/* ---------- Hero activity feed ---------- */
.feed-card {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 10px; backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.feed-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.feed-head .mock-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.feed-head .mock-dot.g { background: var(--green); }
.feed-head .label { margin-left: auto; font-size: .76rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 7px; }
.feed-head .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(132,193,62,.5)} 70%{box-shadow:0 0 0 7px rgba(132,193,62,0)} 100%{box-shadow:0 0 0 0 rgba(132,193,62,0)} }

.feed-row { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 12px; opacity: 0; transform: translateY(8px); }
.feed-row.run { animation: feedIn .5s var(--ease) forwards; }
.feed-row + .feed-row { border-top: 1px solid rgba(255,255,255,0.05); }
@keyframes feedIn { to { opacity: 1; transform: none; } }
.feed-row .txt { flex: 1; min-width: 0; }
.feed-row .txt b { display: block; font-size: .86rem; color: #fff; font-weight: 600; }
.feed-row .txt b .hl { color: var(--green); }
.feed-row .txt span { font-size: .76rem; color: rgba(255,255,255,0.5); }
.feed-row .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: rgba(132,193,62,0.16); color: var(--green); display: grid; place-items: center; font-size: .7rem; font-weight: 700; }
.feed-card .logo-tile { box-shadow: none; }

.float-chip {
  position: absolute; right: -14px; bottom: 26px; z-index: 3;
  background: #fff; color: var(--ink); border-radius: 12px; padding: 11px 15px;
  box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; gap: 9px;
}
.float-chip .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .68rem; }

/* ---------- Hub-and-spoke data flow ---------- */
.flowmap { position: relative; width: 100%; max-width: 760px; margin: 0 auto; aspect-ratio: 16 / 11; }
.flowmap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flowmap .wire { fill: none; stroke: rgba(132,193,62,0.35); stroke-width: 1.5; stroke-dasharray: 5 7; animation: dashflow 1.1s linear infinite; }
.flowmap .wire.out { stroke: rgba(255,255,255,0.18); animation-direction: reverse; }
@keyframes dashflow { to { stroke-dashoffset: -24; } }
.node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 7px; z-index: 2; }
.node .logo-tile { width: clamp(40px, 7vw, 52px); height: clamp(40px, 7vw, 52px); }
.node .cap { font-size: .72rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.flowmap.on-dark .node .cap { color: rgba(255,255,255,0.7); }
.node.hub { z-index: 3; }
.node.hub .logo-tile { width: clamp(64px, 11vw, 96px); height: clamp(64px, 11vw, 96px); border-radius: 22px; box-shadow: 0 12px 40px var(--green-glow); border-color: var(--green); }
.node.hub .cap { font-size: .82rem; color: var(--green); font-weight: 700; }
.node.hub::before { content: ""; position: absolute; top: clamp(32px,5.5vw,48px); left: 50%; width: clamp(110px,18vw,150px); height: clamp(110px,18vw,150px); transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, var(--green-glow), transparent 68%); z-index: -1; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 0%,100%{opacity:.55; transform:translate(-50%,-50%) scale(1)} 50%{opacity:.9; transform:translate(-50%,-50%) scale(1.12)} }

/* ---------- Workflow node-graph (build-out) ---------- */
.workflow { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 8px 4px 18px; scrollbar-width: thin; }
.wf-node {
  flex: 1 0 150px; min-width: 150px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 16px; text-align: center; box-shadow: var(--shadow-sm);
  position: relative; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.wf-node:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.wf-node .logo-tile { margin: 0 auto 12px; }
.wf-node .step { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-700); font-weight: 700; margin-bottom: 4px; }
.wf-node h4 { font-size: .98rem; color: var(--ink); margin-bottom: 4px; }
.wf-node p { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.wf-arrow { flex: 0 0 36px; display: grid; place-items: center; color: var(--line-2); position: relative; }
.wf-arrow svg { width: 22px; height: 22px; }
.wf-arrow .pulse { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: wfpulse 2.6s ease-in-out infinite; opacity: 0; }
@keyframes wfpulse { 0%{opacity:0; transform:translateX(-14px)} 40%{opacity:1} 80%{opacity:1; transform:translateX(14px)} 100%{opacity:0; transform:translateX(14px)} }
.wf-arrow:nth-of-type(2) .pulse { animation-delay: .3s; }
.wf-arrow:nth-of-type(4) .pulse { animation-delay: .6s; }
.wf-arrow:nth-of-type(6) .pulse { animation-delay: .9s; }

/* dark band wrapper for diagrams */
.band-dark { background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.band-dark::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 60% at 50% 10%, rgba(132,193,62,0.12), transparent 70%); pointer-events:none; }
.band-dark .section-label { color: var(--green); }
.band-dark h2 { color: #fff; }
.band-dark .section-head p { color: rgba(255,255,255,0.66); }
.band-dark > .container { position: relative; z-index: 2; }

/* scattered logos for the "data in five places" problem card */
.scatter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.scatter .logo-tile { width: 30px; height: 30px; border-radius: 8px; opacity: .9; }
.scatter .logo-tile:nth-child(2) { transform: rotate(-6deg); }
.scatter .logo-tile:nth-child(3) { transform: rotate(5deg); }
.scatter .logo-tile:nth-child(4) { transform: rotate(-3deg); }

/* migration logo column */
.mig-from { display: grid; gap: 12px; }
.mig-from .row { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 10px 14px; }
.mig-from .row .name { font-weight: 600; font-size: .92rem; color: rgba(255,255,255,0.88); }
.mig-rail { display: flex; align-items: center; justify-content: center; gap: 14px; }
.mig-rail .arrow-wire { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--green)); position: relative; border-radius: 2px; min-width: 30px; }
.mig-rail .arrow-wire::after { content:""; position:absolute; right:0; top:50%; transform:translateY(-50%); border-left: 7px solid var(--green); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* ---------- Engagement (replaces flat pricing) ---------- */
.engage { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto 30px; }
.engage-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; position: relative; box-shadow: var(--shadow-sm); }
.engage-card .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); background: var(--green-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.engage-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.engage-card p { font-size: .98rem; }
.engage-card .meta { margin-top: 16px; font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.engage-card .meta::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.engage-note { text-align: center; font-size: 1.02rem; color: var(--body); max-width: 56ch; margin: 0 auto 26px; }
.engage-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.engage-actions-hint { text-align: center; margin-top: 12px; font-size: .85rem; color: var(--muted); }
.engage-cta { text-align: center; }

@media (max-width: 920px) {
  .engage { grid-template-columns: 1fr; }
  .flowmap { aspect-ratio: 3 / 4; max-width: 440px; }
}

/* ---------- ROI calculator (HubSpot -> Attio) ---------- */
.calc { max-width: 980px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg); }
.calc-grid { display: grid; grid-template-columns: 1fr 0.92fr; }
.calc-controls { padding: 38px; }
.calc-field { margin-bottom: 26px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field .flabel { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.calc-field .flabel .val { font-size: 1.05rem; font-weight: 700; color: var(--green-700); }
.seg { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 4px; gap: 4px; width: 100%; }
.seg button { flex: 1; border: 0; background: transparent; font-family: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); padding: 10px 8px; border-radius: 8px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg.small button { font-size: .85rem; padding: 9px 6px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--green) var(--pct,40%), var(--line-2) var(--pct,40%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: var(--shadow); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--green); cursor: pointer; }
.calc-result { background: var(--bg-dark); color: #fff; padding: 38px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.calc-result::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 60% at 90% 0%, rgba(132,193,62,0.18), transparent 70%); pointer-events:none; }
.calc-result > * { position: relative; z-index: 2; }
.calc-line { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: .9rem; color: rgba(255,255,255,0.7); gap: 12px; }
.calc-grp + .calc-grp { margin-top: 14px; }
.calc-grp-h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: .92rem; margin-bottom: 2px; }
.calc-grp-h img { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; }
.calc-bench { max-width: 780px; margin: 30px auto 0; text-align: center; font-size: 1.15rem; color: var(--ink-2); font-weight: 600; line-height: 1.5; }
.calc-bench b { color: var(--green-700); }
.calc-bench span { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; margin-top: 8px; }
.calc-hint { font-size: .76rem; color: var(--muted); margin-top: 8px; }
.ops-bar { display: flex; height: 14px; border-radius: 8px; overflow: hidden; margin: 20px 0 16px; background: rgba(255,255,255,0.08); }
.ops-bar span { height: 100%; transition: flex .3s var(--ease); }
.ops-legend { display: grid; gap: 9px; margin-bottom: 4px; }
.ops-legend .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .86rem; }
.ops-legend .row .k { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.74); }
.ops-legend .row .dot { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 auto; }
.ops-legend .row .v { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-line .n { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.calc-line .brandmark { display: flex; align-items: center; gap: 8px; }
.calc-line .brandmark img { width: 18px; height: 18px; object-fit: contain; }
.calc-save { margin-top: 22px; }
.calc-save .cap { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green); font-weight: 700; }
.calc-save .big { font-size: clamp(2.2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1.05; margin: 4px 0; font-variant-numeric: tabular-nums; }
.calc-save .sub { font-size: .92rem; color: rgba(255,255,255,0.7); }
.calc-extra { margin-top: 16px; background: rgba(132,193,62,0.1); border: 1px solid rgba(132,193,62,0.3); border-radius: 10px; padding: 12px 14px; font-size: .88rem; color: rgba(255,255,255,0.88); }
.calc-extra b { color: var(--green); }
.calc-cta { margin-top: auto; padding-top: 22px; }
.calc-cta .btn { width: 100%; justify-content: center; }
.calc-fine { font-size: .76rem; color: var(--muted); text-align: center; max-width: 760px; margin: 18px auto 0; line-height: 1.5; }
@media (max-width: 820px) {
  .calc-grid { grid-template-columns: 1fr; }
}

/* ---------- Cost teaser strip ---------- */
.cost-teaser { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.cost-teaser .container { padding-top: 0; padding-bottom: 0; }
.cost-teaser-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; text-decoration: none;
  transition: opacity .2s;
}
.cost-teaser-inner:hover { opacity: 0.75; }
.cost-teaser-copy { display: flex; align-items: center; gap: 14px; }
.cost-teaser-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); background: rgba(132,193,62,.14); border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
.cost-teaser-q { font-size: 1rem; font-weight: 700; color: var(--ink); }
.cost-teaser-hint { font-size: .88rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) {
  .cost-teaser-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 0; }
  .cost-teaser-hint { white-space: normal; }
}

/* ---------- AIOS page: chatbot vs does-the-work ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 940px; margin: 0 auto; }
.compare .c { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--bg); }
.compare .c.bad { background: var(--bg-soft); }
.compare .c.good { border-color: var(--green); box-shadow: var(--shadow); }
.compare .c .tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 14px; }
.compare .c.bad .tag { color: var(--muted); }
.compare .c.good .tag { color: var(--green-700); }
.compare .c h4 { font-size: 1.2rem; margin-bottom: 10px; }
.compare .c > p { font-size: .98rem; margin-bottom: 16px; }
.compare ul { list-style: none; display: grid; gap: 10px; }
.compare li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--body); }
.compare li .m { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .64rem; font-weight: 700; margin-top: 2px; }
.compare .bad li .m { background: #EEE; color: var(--muted); }
.compare .good li .m { background: var(--green); color: #fff; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }

/* AIOS assistant mock (reuses feed-card) */
.cmd { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 11px; padding: 13px 15px; margin: 4px 6px 14px; }
.cmd .you { font-size: .7rem; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: .06em; }
.cmd .typed { color: #fff; font-size: .9rem; }
.cmd .caret { width: 2px; height: 15px; background: var(--green); display: inline-block; animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.brief-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; color: var(--green); background: rgba(132,193,62,0.12); border: 1px solid rgba(132,193,62,0.28); padding: 5px 11px; border-radius: 999px; margin: 4px 6px 10px; }

/* ---------- Hidden costs ---------- */
.hidden-costs { max-width: 980px; margin: 44px auto 0; }
.hidden-costs h3 { text-align: center; font-size: 1.3rem; margin-bottom: 6px; }
.hidden-costs .hc-sub { text-align: center; color: var(--muted); font-size: .98rem; margin-bottom: 26px; }
.hc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hc-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.hc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hc-item .hc-ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(132,193,62,0.12); color: var(--green-700); display: grid; place-items: center; margin-bottom: 14px; font-weight: 800; font-size: 1.1rem; }
.hc-item h4 { font-size: .98rem; color: var(--ink); margin-bottom: 6px; }
.hc-item p { font-size: .86rem; color: var(--body); line-height: 1.5; }
@media (max-width: 820px) { .hc-grid { grid-template-columns: 1fr; } }

/* ============================================================ */

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