/* ============================================================
   340BIntel — Homepage
   Dark healthcare-tech identity. Deep ink + teal accent.
   ============================================================ */

:root {
  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 1rem + 6vw, 6.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Brand palette — deep ink + teal */
  --ink: #0c2730;
  --ink-2: #0f2f39;
  --ink-3: #123945;
  --bg: #0c2730;
  --surface: #103540;
  --surface-2: #15404c;
  --border: #1f4f5b;
  --border-soft: #1a4651;

  --text: #eef5f6;
  --text-muted: #a7c0c5;
  --text-faint: #6d8b91;

  --accent: #19a3ad;
  --accent-2: #2bc4ce;
  --accent-deep: #0e7c86;
  --accent-glow: rgba(43, 196, 206, 0.35);
  --accent-soft: rgba(25, 163, 173, 0.12);

  --red: #d4604a;
  --green: #46b377;

  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 20px 56px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(43, 196, 206, 0.25), 0 12px 40px rgba(14, 124, 134, 0.28);

  --content: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-int: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --font-head: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  min-height: 100dvh; line-height: 1.6; font-family: var(--font-body);
  font-size: var(--text-base); color: var(--text); background: var(--bg);
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; text-wrap: balance; font-weight: 600; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; color: inherit; font: inherit; }
ul { list-style: none; }
::selection { background: var(--accent-glow); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--content), 92vw); margin-inline: auto; }
.section { padding-block: clamp(var(--space-20), 11vh, var(--space-32)); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-head); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: var(--space-5);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.h-sec { font-size: var(--text-2xl); margin-bottom: var(--space-5); }
.lead { font-size: var(--text-lg); color: var(--text-muted); max-width: 56ch; line-height: 1.5; }

/* ---------- Reveal animations (no CLS — opacity/filter/clip only) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 76px;
  display: flex; align-items: center;
  transition: background var(--t-int), box-shadow var(--t-int), backdrop-filter var(--t-int), border-color var(--t-int);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(9, 30, 37, 0.82); backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; width: min(var(--content), 92vw); }
.brand { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; }
.brand b { color: var(--accent-2); font-weight: 600; }
.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav a { font-size: var(--text-sm); color: var(--text-muted); transition: color var(--t-int); }
.nav a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-head); font-weight: 600; font-size: var(--text-sm);
  padding: 0.72em 1.4em; border-radius: var(--radius-full);
  transition: transform var(--t-int), box-shadow var(--t-int), background var(--t-int);
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(43,196,206,0.4), 0 16px 44px rgba(14,124,134,0.45); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.nav-cta { padding: 0.6em 1.25em; }
.menu-btn { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 76px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.orb-1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(25,163,173,0.55), transparent 70%); top: -180px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(14,124,134,0.45), transparent 70%); bottom: -160px; left: -100px; }
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: var(--space-12); align-items: center; }
.hero-copy { max-width: 880px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.04em;
  padding: 0.5em 1em; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--accent-soft); color: var(--accent-2);
  margin-bottom: var(--space-6);
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(43,196,206,0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:0.4; } }
.hero h1 { font-size: var(--text-hero); margin-bottom: var(--space-6); }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: var(--text-lg); color: var(--text-muted); max-width: 44ch; line-height: 1.5; margin-bottom: var(--space-8); }
.hero-cta { display: flex; gap: var(--space-4); flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: var(--space-6); margin-top: var(--space-10); flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-family: var(--font-head); font-size: var(--text-xl); color: var(--text); font-weight: 600; }
.hero-meta .m span { font-size: var(--text-xs); color: var(--text-faint); letter-spacing: 0.04em; }

/* Hero funnel visual */
.hero-visual { position: relative; }
.funnel-card {
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.funnel-card::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 70% 0%, rgba(43,196,206,0.12), transparent 60%); pointer-events:none; }
.funnel-card .fc-label { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-5); }
.funnel-stage { position: relative; margin: 0 auto; }
.funnel-svg { width: 100%; height: auto; overflow: visible; }
.hero-float {
  position: absolute; right: -8px; bottom: -22px; z-index: 3;
  background: var(--ink-3); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5); box-shadow: var(--shadow-lg); display: flex; gap: var(--space-3); align-items: center;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }
.hero-float .fv { font-family: var(--font-head); font-size: var(--text-lg); color: var(--accent-2); font-weight: 600; }
.hero-float .fl { font-size: var(--text-xs); color: var(--text-muted); }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text-faint); font-size: var(--text-xs); letter-spacing: 0.1em; }
.scroll-hint .mouse { width: 22px; height: 36px; border: 2px solid var(--text-faint); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content:""; position:absolute; top:6px; left:50%; transform: translateX(-50%); width:3px; height:7px; border-radius:2px; background: var(--accent-2); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0%{ opacity:0; transform: translate(-50%,0); } 30%{ opacity:1; } 100%{ opacity:0; transform: translate(-50%,12px); } }

/* ============================================================
   Logos / trust strip
   ============================================================ */
.strip { border-block: 1px solid var(--border-soft); padding-block: var(--space-10); background: var(--ink-2); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.strip p { font-size: var(--text-sm); color: var(--text-faint); max-width: 22ch; }
.strip ul { display: flex; gap: var(--space-8); flex-wrap: wrap; align-items: center; }
.strip li { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-head); font-weight: 600; font-size: var(--text-sm); color: var(--text-muted); }
.strip li svg { width: 18px; height: 18px; color: var(--accent-2); }

/* ============================================================
   Problem
   ============================================================ */
.problem .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.pain-list { margin-top: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); }
.pain {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-6);
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg); background: var(--surface);
  transition: transform var(--t-int), border-color var(--t-int), background var(--t-int);
}
.pain:hover { transform: translateX(6px); border-color: var(--accent); background: var(--surface-2); }
.pain .pn { font-family: var(--font-head); font-weight: 600; color: var(--red); font-size: var(--text-lg); min-width: 36px; }
.pain b { font-family: var(--font-head); font-weight: 600; display: block; font-size: var(--text-base); }
.pain span { font-size: var(--text-sm); color: var(--text-muted); }

/* Animated leak funnel (problem visual) */
.leak-card { background: linear-gradient(180deg, var(--surface), var(--ink-2)); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-lg); }
.leak-svg { width: 100%; height: auto; overflow: visible; }

/* ============================================================
   Solution / How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
.step {
  position: relative; padding: var(--space-8) var(--space-6); border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl); background: var(--surface); overflow: hidden;
  transition: transform var(--t-int), border-color var(--t-int), box-shadow var(--t-int);
}
.step:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.step::after { content:""; position:absolute; inset: auto auto -40% -40%; width: 180px; height: 180px; background: radial-gradient(circle, var(--accent-soft), transparent 70%); opacity:0; transition: opacity var(--t-int); }
.step:hover::after { opacity: 1; }
.step .sn { font-family: var(--font-head); font-weight: 600; font-size: var(--text-2xl); color: var(--accent-2); line-height: 1; margin-bottom: var(--space-5); }
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.step p { font-size: var(--text-sm); color: var(--text-muted); }
.step-arrow { position: absolute; top: 50%; right: -22px; z-index: 2; color: var(--accent); width: 28px; height: 28px; }

/* ============================================================
   Delta / opportunity (interactive chart)
   ============================================================ */
.delta { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-block: 1px solid var(--border-soft); }
.delta .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-16); align-items: center; }
.bars { display: flex; align-items: flex-end; gap: var(--space-8); height: 320px; padding: var(--space-6) var(--space-4) 0; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar-val { font-family: var(--font-head); font-weight: 600; font-size: var(--text-xl); margin-bottom: var(--space-3); }
.bar {
  width: 100%; max-width: 130px; border-radius: 12px 12px 0 0; height: 0;
  transition: height 2.4s var(--ease-out);
}
.bar.muted { background: linear-gradient(180deg, #4a6b73, #2f4d54); }
.bar.live { background: linear-gradient(180deg, var(--accent-2), var(--accent-deep)); box-shadow: 0 0 40px rgba(43,196,206,0.3); }
.bar-label { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--text-muted); text-align: center; }
.delta-hero { }
.delta-hero .big { font-family: var(--font-head); font-weight: 700; font-size: var(--text-3xl); color: var(--accent-2); line-height: 1; letter-spacing: -0.03em; }
.delta-hero .big .plus { color: var(--accent); }
.delta-hero h2 { font-size: var(--text-xl); margin: var(--space-5) 0 var(--space-3); }
.delta-note { font-size: var(--text-xs); color: var(--text-faint); font-style: italic; margin-top: var(--space-4); }

/* ============================================================
   Report mock + deliverables
   ============================================================ */
.deliver .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--space-16); align-items: center; }
.deliver-list { margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.deliver-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.deliver-item .ic { flex: none; width: 34px; height: 34px; border-radius: var(--radius-md); background: var(--accent-soft); border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent-2); }
.deliver-item .ic svg { width: 18px; height: 18px; }
.deliver-item b { font-family: var(--font-head); font-weight: 600; display: block; }
.deliver-item span { font-size: var(--text-sm); color: var(--text-muted); }

.report {
  background: linear-gradient(180deg, var(--surface), var(--ink-2)); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.report::before { content:""; position:absolute; top:0; left:0; right:0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.report .r-head { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-6); }
.report .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-6); }
.kpi { background: var(--ink-3); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: var(--space-5); text-align: center; }
.kpi .kv { font-family: var(--font-head); font-weight: 700; font-size: var(--text-2xl); color: var(--accent-2); line-height: 1; }
.kpi .kl { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-2); }
.report .cr-label { font-family: var(--font-head); font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-4); }
.cr-row { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.cr-row .crn { font-size: var(--text-sm); color: var(--text-muted); width: 78px; flex: none; }
.cr-track { flex: 1; height: 14px; border-radius: var(--radius-full); background: var(--ink); overflow: hidden; border: 1px solid var(--border-soft); }
.cr-fill { height: 100%; width: 0; border-radius: var(--radius-full); transition: width 2.6s var(--ease-out); }
.cr-fill.muted { background: #4a6b73; }
.cr-fill.live { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.cr-row .crp { font-family: var(--font-head); font-weight: 600; font-size: var(--text-sm); width: 48px; flex: none; text-align: right; }

/* ============================================================
   Why / zero-risk grid
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-12); }
.why-card {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-6);
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-deep), #0a5a62); color: #fff;
  transition: transform var(--t-int), box-shadow var(--t-int);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card .chk { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.16); display: grid; place-items: center; }
.why-card .chk svg { width: 16px; height: 16px; }
.why-card b { font-family: var(--font-head); font-weight: 600; font-size: var(--text-base); }

/* ============================================================
   Secure
   ============================================================ */
.secure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); margin-top: var(--space-12); }
.secure-card { padding: var(--space-8); border: 1px solid var(--border-soft); border-radius: var(--radius-xl); background: var(--surface); transition: border-color var(--t-int), transform var(--t-int); }
.secure-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.secure-card .si { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-2); margin-bottom: var(--space-5); }
.secure-card .si svg { width: 20px; height: 20px; }
.secure-card h3 { color: var(--accent-2); font-size: var(--text-lg); margin-bottom: var(--space-3); }
.secure-card p { font-size: var(--text-sm); color: var(--text-muted); }

/* ============================================================
   Team
   ============================================================ */
.team-featured {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-8); align-items: center;
  padding: var(--space-8); border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--surface), var(--ink-2)); margin-top: var(--space-12); box-shadow: var(--shadow-md);
}
.team-featured .photo { width: 130px; height: 130px; border-radius: 50%; border: 3px solid var(--border); object-fit: cover; }
.team-featured .role { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.team-featured h3 { font-size: var(--text-xl); margin: var(--space-2) 0 var(--space-3); }
.team-featured p { font-size: var(--text-sm); color: var(--text-muted); max-width: 52ch; }
.exit-pill { text-align: center; padding: var(--space-5) var(--space-6); border: 1px solid var(--accent); border-radius: var(--radius-lg); background: var(--accent-soft); flex: none; }
.exit-pill b { display: block; font-family: var(--font-head); font-weight: 700; font-size: var(--text-xl); color: var(--accent-2); }
.exit-pill span { font-size: var(--text-xs); color: var(--text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-5); }
.team-card { text-align: center; padding: var(--space-6) var(--space-5); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); background: var(--surface); transition: transform var(--t-int), border-color var(--t-int); }
.team-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.team-card .photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto var(--space-4); border: 2px solid var(--border); }
.team-card .role { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.team-card h4 { font-size: var(--text-base); margin: var(--space-2) 0 var(--space-3); }
.team-card p { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-top: 1px solid var(--border-soft); }
.cta .ghost-340 { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-weight: 700; font-size: clamp(8rem, 22vw, 20rem); color: rgba(255,255,255,0.025); line-height: 0.8; z-index: 0; pointer-events: none; user-select: none; }
.cta .wrap { position: relative; z-index: 2; text-align: center; max-width: 760px; }
.cta h2 { font-size: var(--text-3xl); margin-bottom: var(--space-5); }
.cta p { font-size: var(--text-lg); color: var(--text-muted); margin-bottom: var(--space-8); }
.cta .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding-block: var(--space-10); background: var(--ink); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.footer .brand { font-size: 1rem; }
.footer p { font-size: var(--text-xs); color: var(--text-faint); }
.footer ul { display: flex; gap: var(--space-6); }
.footer a { font-size: var(--text-sm); color: var(--text-muted); transition: color var(--t-int); }
.footer a:hover { color: var(--accent-2); }

/* ---------- Progress bar ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 70; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 80ms linear; }

/* ============================================================
   Hero interactive particle field
   ============================================================ */
.hero-particles { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

/* ============================================================
   Optimization (compare canvases)
   ============================================================ */
.optimize { background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.optimize-head { max-width: 720px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-12); }
.compare-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--border-soft); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  padding: var(--space-8); box-shadow: var(--shadow-md);
  transition: transform var(--t-int), border-color var(--t-int), box-shadow var(--t-int);
}
.compare-card:hover { transform: translateY(-4px); border-color: var(--border); }
.compare-card.highlight { border-color: var(--accent); box-shadow: var(--glow); }
.compare-card.highlight::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-xl);
  background: radial-gradient(120% 80% at 50% 0%, var(--accent-soft), transparent 60%); pointer-events: none;
}
.cc-head { position: relative; z-index: 1; }
.cc-tag {
  display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 600;
  font-size: var(--text-xs); letter-spacing: 0.08em; padding: 0.4em 0.9em; border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.cc-tag.before { background: rgba(212,96,74,0.14); color: #f0a695; border: 1px solid rgba(212,96,74,0.4); }
.cc-tag.after { background: var(--accent-soft); color: var(--accent-2); border: 1px solid var(--accent); }
.cc-head h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.cc-head p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.55; max-width: 46ch; }
.flow-stage { position: relative; z-index: 1; margin: var(--space-6) 0; aspect-ratio: 4 / 3; width: 100%; }
.flow-canvas { width: 100%; height: 100%; display: block; border-radius: var(--radius-lg); }
.cc-stat { position: relative; z-index: 1; display: flex; align-items: baseline; gap: var(--space-3); margin-top: auto; padding-top: var(--space-2); }
.cs-num { font-family: var(--font-head); font-weight: 700; font-size: var(--text-xl); letter-spacing: -0.02em; }
.cs-num.before { color: #e0735c; }
.cs-num.after { color: var(--accent-2); }
.cs-lbl { font-size: var(--text-xs); color: var(--text-faint); letter-spacing: 0.02em; }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-top: 1px solid var(--border-soft); }
.contact .wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: var(--space-16); align-items: start; }
.contact-copy .lead { margin-bottom: var(--space-6); }
.contact-points { display: flex; flex-direction: column; gap: var(--space-3); }
.contact-points li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); color: var(--text-muted); }
.contact-points svg { width: 20px; height: 20px; color: var(--accent-2); flex: none; }
.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--ink-2)); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: var(--space-5);
}
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--text); }
.field label .opt { color: var(--text-faint); font-weight: 400; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: var(--text-base); color: var(--text);
  background: var(--ink-3); border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 0.78em 0.95em; transition: border-color var(--t-int), box-shadow var(--t-int); resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input.invalid, .field textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(212,96,74,0.18); }
.cf-submit { justify-content: center; margin-top: var(--space-2); width: 100%; }
.cf-note { font-size: var(--text-xs); color: var(--text-faint); text-align: center; }
.cf-note.success { color: var(--green); }
.cf-note.error { color: #f0a695; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: var(--space-10); }
  .problem .wrap, .delta .wrap, .deliver .wrap, .contact .wrap { grid-template-columns: 1fr; gap: var(--space-10); }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-featured { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .team-featured p { max-width: none; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .menu-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); }
  .why-grid { grid-template-columns: 1fr; }
  .secure-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-meta { gap: var(--space-5); }
  .bars { height: 240px; }
}

/* Header logo (top-right) */
.brand-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.brand-logo img { height: 40px; width: auto; display: block; }
.brand-tag { font-size: 0.6rem; letter-spacing: 0.07em; font-style: italic; color: var(--accent-2); white-space: nowrap; padding-left: 2px; }

.footer .brand-logo img { height: 50px; }
.footer .brand-tag { font-size: 0.72rem; }
