/* =========================================================
   InternFlow — colours taken from the logo
   ========================================================= */
:root {
  --navy: #0c2d4b;
  --navy-900: #081e33;
  --blue: #145da0;
  --blue-500: #2b7bc4;
  --sky: #5aa9e6;
  --navy-rgb: 12, 45, 75;
  --blue-rgb: 20, 93, 160;
  --ink: #0f1f30;
  --muted: #5b6b7d;
  --line: rgba(var(--navy-rgb), 0.1);
  --bg: #ffffff;
  --tint: #f4f8fc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(var(--navy-rgb), 0.08);
  --shadow-lg: 0 24px 60px rgba(var(--navy-rgb), 0.16);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: rgba(var(--blue-rgb), 0.2); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 15px/1 var(--font-body);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn svg { font-size: 17px; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 10px 26px rgba(var(--blue-rgb), .3); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(var(--blue-rgb), .4); }
.btn-ghost { color: var(--navy); background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(var(--blue-rgb), .4); color: var(--blue); }
.btn-accent { color: var(--navy); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible, .tab:focus-visible, .mode:focus-visible, .chip:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(var(--navy-rgb), .05);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--navy); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 110px;
  background: linear-gradient(180deg, #f3f8fd 0%, #ffffff 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; width: 700px; height: 700px; right: -180px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb), .16), transparent 65%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  background: #fff; border: 1px solid rgba(var(--blue-rgb), .18);
  box-shadow: var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--blue-rgb), .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(var(--blue-rgb), 0); } }
.hero h1 { margin: 22px 0 20px; font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; }
.grad {
  background: linear-gradient(90deg, var(--blue), var(--sky), var(--blue));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.lead strong { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--navy); }
.hero-points svg { color: var(--blue); font-size: 16px; stroke-width: 2.6; }

/* Hero mock */
.hero-visual { position: relative; perspective: 1200px; }
.mock {
  background: #fff; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform-style: preserve-3d; transition: transform .2s ease-out;
}
.mock-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fafcfe; }
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #dbe4ee; }
.mock-dots i:first-child { background: #ff8f8f; } .mock-dots i:nth-child(2) { background: #ffd27a; } .mock-dots i:nth-child(3) { background: #7ed69c; }
.mock-title { font-size: 13px; font-weight: 600; color: var(--muted); }
.mock-body { padding: 22px; }
.mock-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.mstep { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: center; position: relative; }
.mstep span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--muted); font-size: 12px; border: 1px solid var(--line); }
.mstep.done span { background: var(--navy); color: #fff; border-color: var(--navy); }
.mstep.active span { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 0 5px rgba(var(--blue-rgb), .15); }
.mstep.active { color: var(--blue); }
.mock-ai { background: var(--tint); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.ai-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); }
.spark { width: 10px; height: 10px; border-radius: 2px; background: linear-gradient(135deg, var(--sky), var(--blue)); transform: rotate(45deg); display: inline-block; animation: sparkle 2.4s ease-in-out infinite; }
@keyframes sparkle { 50% { transform: rotate(225deg) scale(.8); } }
.mock-job { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 14px; border: 1px solid var(--line); animation: slideIn .6s var(--ease) both; }
.mock-job:nth-child(3) { animation-delay: .15s; } .mock-job:nth-child(4) { animation-delay: .3s; }
.mock-job b { display: block; font-size: 14px; color: var(--navy); }
.mock-job small { font-size: 12px; color: var(--muted); }
.mock-job.faded { opacity: .6; }
.score { font: 700 13px var(--font-head); color: var(--blue); background: rgba(var(--blue-rgb), .1); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-chip svg { color: #1f9d63; stroke-width: 3; }
.chip-a { left: -34px; bottom: -22px; }
.chip-b { right: -20px; top: -18px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 28px; padding: 22px 24px; }
.strip-label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.strip-item { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; color: var(--navy); transition: color .2s; }
.strip-item:hover { color: var(--blue); }
.strip-mark { font: 800 14px var(--font-head); color: #fff; background: var(--navy); padding: 6px 10px; border-radius: 8px; letter-spacing: .04em; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 12px 0 16px; }
.section-head p { font-size: 17px; color: var(--muted); }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.kicker-light { color: var(--sky); }

/* Problem */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(var(--blue-rgb), .25); }
.pain-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--blue); background: rgba(var(--blue-rgb), .08); margin-bottom: 18px; }
.pain h3 { font-size: 19px; margin-bottom: 8px; }
.pain p { color: var(--muted); font-size: 15px; }

/* Tabs */
.tabs { position: relative; display: flex; width: fit-content; margin: 0 auto 44px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tab { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 11px 26px; border-radius: 999px; font: 600 15px var(--font-body); color: var(--muted); transition: color .25s; }
.tab.active { color: #fff; }
.tab-indicator { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: linear-gradient(135deg, var(--navy), var(--blue)); transition: transform .35s var(--ease), width .35s var(--ease); }
.tab-panels { position: relative; }
.flow { list-style: none; padding: 0; margin: 0; display: none; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: f; }
.flow.active { display: grid; }
.flow li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); animation: slideIn .45s var(--ease) both; }
.flow li:nth-child(2) { animation-delay: .07s; } .flow li:nth-child(3) { animation-delay: .14s; } .flow li:nth-child(4) { animation-delay: .21s; }
.flow li:not(:last-child)::after {
  content: ''; position: absolute; top: 44px; right: -21px; width: 22px; height: 2px;
  background: linear-gradient(90deg, rgba(var(--blue-rgb), .5), rgba(var(--blue-rgb), .1));
}
.flow .n { font: 800 14px var(--font-head); color: var(--blue); background: rgba(var(--blue-rgb), .08); padding: 6px 10px; border-radius: 8px; }
.flow h3 { font-size: 17px; margin: 18px 0 8px; }
.flow p { font-size: 14.5px; color: var(--muted); }

/* ---------- AI section ---------- */
.ai-section {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(90,169,230,.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(var(--blue-rgb), .35), transparent 60%),
    var(--navy-900);
  color: #dbe7f3; overflow: hidden;
}
.ai-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.ai-section .container { position: relative; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #a9bfd4; }

.demo {
  display: grid; grid-template-columns: 360px 1fr; gap: 0;
  border-radius: 24px; overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.demo-side { padding: 28px; border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 18px; }
.mode-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); }
.mode { position: relative; z-index: 1; border: 0; background: none; padding: 10px; border-radius: 999px; cursor: pointer; font: 600 13.5px var(--font-body); color: #a9bfd4; transition: color .25s; }
.mode.active { color: var(--navy); }
.mode-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: #fff; transition: transform .35s var(--ease); }
.mode-switch.employer .mode-pill { transform: translateX(100%); }
.demo-q { font-weight: 600; color: #fff; font-size: 15px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04);
  color: #dbe7f3; padding: 8px 13px; border-radius: 999px; cursor: pointer;
  font: 500 13.5px var(--font-body); transition: all .2s var(--ease);
}
.chip:hover { border-color: rgba(90,169,230,.6); }
.chip.on { background: var(--sky); border-color: var(--sky); color: var(--navy-900); font-weight: 600; }
.demo-note { font-size: 12px; color: #7f97ae; text-align: center; margin-top: -6px; }
.btn-accent:disabled { opacity: .6; cursor: progress; transform: none; }

.demo-main { display: flex; flex-direction: column; min-height: 440px; }
.agent-head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.agent-avatar { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 5px; }
.agent-head b { display: block; color: #fff; font-size: 15px; }
.agent-head small { color: #7f97ae; font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.agent-head small.busy::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); animation: pulse 1.4s infinite; }
.agent-log { flex: 1; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 520px; }
.agent-empty { margin: auto; text-align: center; color: #7f97ae; display: grid; justify-items: center; gap: 12px; }
.agent-empty svg { font-size: 34px; color: var(--sky); opacity: .7; }
.log-line { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #a9bfd4; animation: slideIn .35s var(--ease) both; }
.log-line svg { color: var(--sky); font-size: 15px; }
.result {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center;
  padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  animation: slideIn .45s var(--ease) both;
}
.result.top { border-color: rgba(90,169,230,.55); background: rgba(90,169,230,.1); }
.result b { color: #fff; font-size: 15px; }
.result small { color: #8aa3ba; font-size: 12.5px; grid-column: 1; }
.result .why { grid-column: 1 / -1; font-size: 13px; color: #b9cde0; }
.result .why em { font-style: normal; color: var(--sky); font-weight: 600; }
.meter { grid-row: 1 / 3; grid-column: 2; display: grid; justify-items: end; gap: 6px; }
.meter strong { font: 800 20px var(--font-head); color: #fff; }
.meter .bar { width: 90px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--sky)); transition: width 1s var(--ease); }

.ai-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.ai-feature { padding: 26px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.ai-feature h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.ai-feature p { font-size: 14.5px; color: #a9bfd4; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--blue-rgb), .1), transparent 60%);
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service:hover::before { opacity: 1; }
.service.featured { background: linear-gradient(160deg, var(--navy), var(--blue)); border-color: transparent; color: #d6e6f5; }
.service.featured h3 { color: #fff; }
.service.featured .service-icon { background: rgba(255,255,255,.14); color: #fff; }
.service.featured::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.14), transparent 60%); }
.tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; }
.service-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; color: var(--blue); background: rgba(var(--blue-rgb), .08); margin-bottom: 20px; }
.service h3 { font-size: 18px; margin-bottom: 10px; }
.service p { font-size: 14.5px; color: var(--muted); }
.service.featured p { color: #d6e6f5; }

/* ---------- Portfolio ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.case-visual { perspective: 1200px; }
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; transition: transform .2s ease-out; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #f5f8fb; border-bottom: 1px solid var(--line); }
.url { flex: 1; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; }
.browser-body { padding: 18px; display: grid; gap: 16px; }
.bb-hero { height: 130px; border-radius: 12px; padding: 22px; display: grid; align-content: center; gap: 10px; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.bb-line { display: block; height: 10px; border-radius: 6px; background: rgba(255,255,255,.85); }
.bb-line.light { background: rgba(255,255,255,.4); }
.bb-rows .bb-line { background: #e3eaf2; }
.bb-rows .bb-line.light { background: #edf2f7; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.bb-btn { width: 90px; height: 24px; border-radius: 999px; background: #fff; margin-top: 4px; }
.bb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bb-cards span { height: 64px; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); }
.bb-rows { display: grid; gap: 8px; }
.case-client { font-size: 13px; font-weight: 600; color: var(--blue); }
.case-copy h3 { font-size: 26px; margin: 12px 0 14px; }
.case-copy p { color: var(--muted); font-size: 16px; }
.case-tags { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags li { font-size: 13px; font-weight: 500; color: var(--navy); padding: 6px 12px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 24px; }
.member { text-align: center; padding: 36px 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.avatar {
  width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font: 800 28px var(--font-head); color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(var(--blue-rgb), .2), 0 14px 30px rgba(var(--blue-rgb), .3);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
/* wide event photo: zoom the circle onto the face */
.avatar img.zoom-face { object-position: 45% 50%; transform: scale(2.3); transform-origin: 45% 40%; }
.member h3 { font-size: 20px; }
.role { color: var(--blue); font-weight: 600; font-size: 14px; margin: 4px 0 12px; }
.bio { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.li-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--blue); background: rgba(var(--blue-rgb), .08); transition: background .2s, color .2s; }
.li-link svg { fill: currentColor; stroke: none; }
.li-link:hover { background: var(--blue); color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(var(--blue-rgb), .25); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font: 700 16.5px var(--font-head); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: 30px; position: relative; overflow: hidden;
  background: radial-gradient(600px 400px at 100% 0%, rgba(90,169,230,.3), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy) 50%, var(--blue));
  color: #d6e6f5;
}
.contact h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); margin: 12px 0 14px; }
.contact-copy p { font-size: 17px; color: #b9cde0; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.email-link { font: 700 19px var(--font-head); color: #fff; border-bottom: 2px solid rgba(90,169,230,.6); padding-bottom: 2px; transition: border-color .2s; }
.email-link:hover { border-color: #fff; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: 600 13px var(--font-body); cursor: pointer; transition: background .2s; }
.copy-btn:hover { background: rgba(255,255,255,.18); }
.contact-form { display: grid; gap: 16px; padding: 30px; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.contact-form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: 400 15px var(--font-body); color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1px solid #d9e2ec; background: #fbfdff;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(var(--blue-rgb), .14);
}
.form-note { text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-logo { height: 28px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer nav a:hover { color: var(--blue); }
.footer p { font-size: 13.5px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px);
  padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li::after { display: none; }
  .demo { grid-template-columns: 1fr; }
  .demo-side { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .case { grid-template-columns: 1fr; padding: 32px; }
  .contact { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease); }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 76px; left: 16px; right: 16px; margin: 0;
    flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open { background: rgba(255,255,255,.95); }
  .nav-links a:not(.btn) { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a:not(.btn):hover { background: var(--tint); }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; }
  .pain-grid, .ai-features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 80px; }
  .container { padding: 0 16px; }
  .services-grid, .flow, .team-grid { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 11px 8px; font-size: 14px; }
  .chip-a { left: -6px; } .chip-b { right: -6px; }
  .mstep { font-size: 10px; }
  .case, .contact { padding: 24px; border-radius: 22px; }
  .contact-form { padding: 22px; }
  .demo-side, .agent-log { padding: 20px; }
  .result { grid-template-columns: 1fr; }
  .meter { grid-row: auto; grid-column: 1; justify-items: start; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
