:root {
  --bg: #0b1020;
  --bg-2: #0e1530;
  --surface: #ffffff;
  --surface-alt: #f5f7fc;
  --ink: #10162b;
  --ink-soft: #4b5568;
  --muted: #6b7385;
  --line: #e6e9f2;
  --brand: #5b8cff;
  --brand-2: #7c5cff;
  --brand-ink: #2b53d6;
  --accent: #8fd0ff;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(16, 22, 43, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 22, 43, 0.16);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: "Sora", "Inter", system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(92, 108, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(92, 108, 255, 0.45); }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo { display: block; height: 38px; width: auto; }
.brand-mark { display: inline-flex; }
.brand-text { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-soft { color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: .97rem; transition: color .15s ease; }
.nav a:hover { color: var(--brand-ink); }
.nav-cta { margin-left: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #eaf0ff; background: radial-gradient(1200px 600px at 70% -10%, #21306b 0%, transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(500px 260px at 85% 40%, rgba(91, 140, 255, 0.30), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; padding: 92px 22px 96px; max-width: 900px; }
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 88px 22px 92px; max-width: var(--maxw);
}
.hero-copy { max-width: 560px; }
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.hero-visual-caption { margin: 16px 0 0; font-size: .88rem; color: #8b96bd; text-align: center; }

/* Workflow animation panel */
.workflow-panel {
  width: 100%; max-width: 340px; padding: 28px 24px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px; backdrop-filter: blur(8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}
.wf-step {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.45; transform: scale(0.98);
  transition: opacity .45s ease, transform .45s ease, background .45s ease, box-shadow .45s ease;
}
.wf-step.active {
  opacity: 1; transform: scale(1);
  background: rgba(91, 140, 255, 0.18); border-color: rgba(143, 208, 255, 0.35);
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.25);
}
.wf-icon { font-size: 1.1rem; width: 28px; text-align: center; flex-shrink: 0; }
.wf-label { font-size: .92rem; font-weight: 600; color: #eaf0ff; }
.wf-arrow { text-align: center; color: rgba(143, 208, 255, 0.5); font-size: .85rem; line-height: 1; padding: 4px 0; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  font-size: .78rem; color: var(--accent);
  padding: 6px 12px; border: 1px solid rgba(143, 208, 255, 0.3); border-radius: 999px; background: rgba(143, 208, 255, 0.08);
}
.hero h1 { margin: 0 0 20px; font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; color: #fff; }
.lead { font-size: clamp(1.12rem, 2.2vw, 1.4rem); color: #dfe6ff; font-weight: 500; margin: 0 0 22px; max-width: 760px; }
.hero-sub { color: #b8c2e6; margin: 0 0 16px; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-actions .btn-ghost { color: #eaf0ff; border-color: rgba(255,255,255,0.22); }
.hero-actions .btn-ghost:hover { border-color: var(--accent); color: #fff; background: rgba(255,255,255,0.04); }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 8px 0 0; }
.hero-tags li { font-size: .85rem; color: #cbd4f5; padding: 7px 14px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; background: rgba(255,255,255,0.03); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Grid */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d3d9ea; }
.card h3 { font-size: 1.25rem; margin: 0 0 10px; }
.card > p { color: var(--muted); margin: 0 0 18px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-soft); font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 5px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Small jobs panel */
.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 46px; box-shadow: var(--shadow);
}
.panel-text h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.panel-text p { color: var(--muted); margin: 0 0 14px; }
.panel-text .note { color: var(--ink); font-weight: 600; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  font-size: .93rem; font-weight: 500; color: var(--brand-ink);
  padding: 9px 15px; border-radius: 999px; background: #eef2ff; border: 1px solid #dfe6ff;
}

/* Projects */
.project {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.project::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-badge { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-ink); background: #eef2ff; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.project h3 { margin: 0 0 10px; font-size: 1.3rem; }
.project p { color: var(--muted); margin: 0; }

/* How we work */
.how-section { background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%); }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d3d9ea; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.15rem; color: #fff;
  border-radius: 13px; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 18px rgba(92, 108, 255, 0.35); margin-bottom: 16px;
}
.step h3 { font-size: 1.14rem; margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -23px; width: 24px; height: 24px; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%237c5cff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Reasons */
.reasons { gap: 14px; margin-bottom: 40px; }
.reason { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; font-weight: 500; box-shadow: var(--shadow); }
.dot { flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

.feature { background: linear-gradient(135deg, #0e1530, #1a2350); color: #eaf0ff; border-radius: 22px; padding: 44px; box-shadow: var(--shadow-lg); }
.feature h3 { color: #fff; font-size: 1.5rem; margin: 0 0 14px; }
.feature p { color: #c3cbe8; margin: 0 0 14px; max-width: 820px; }
.feature p:last-child { margin-bottom: 0; }
.feature-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 4px 0 18px; }
.feature-list li { font-size: .9rem; color: #dbe3ff; padding: 8px 15px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.05); }

/* Quotes */
.quotes { display: flex; flex-wrap: wrap; gap: 12px; }
.quotes span {
  font-size: 1rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow); font-style: italic;
}

/* Contact */
.contact { background: var(--surface-alt); }
.contact-card {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 52px 44px; box-shadow: var(--shadow-lg);
}
.contact-card h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 14px; }
.contact-card p { color: var(--muted); margin: 0 0 14px; }
.contact-ticks { display: inline-grid; text-align: left; margin: 6px auto 20px; gap: 10px; }
.contact-actions { margin-top: 26px; display: flex; flex-direction: column; align-items: center; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; width: 100%; max-width: 520px; }
.contact-email-note { margin: 32px 0 0; padding-top: 24px; width: 100%; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.contact-email-note a { color: var(--brand-ink); font-weight: 600; word-break: break-word; }
.contact-email-note a:hover { text-decoration: underline; }

/* Contact feedback toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  width: min(92vw, 420px);
  transform: translateX(-50%) translateY(14px);
  background: linear-gradient(135deg, #141b3a, #1e2a5e);
  color: #eaf0ff; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px; padding: 16px 18px 18px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast-title { margin: 0 0 4px; padding-right: 22px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1rem; color: #fff; }
.toast-email { display: inline-block; color: var(--accent); font-weight: 600; font-size: .95rem; word-break: break-all; }
.toast-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.toast-actions a {
  font-size: .85rem; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 13px; border-radius: 999px; transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.toast-actions a:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--accent); transform: translateY(-1px); }
.toast-close {
  position: absolute; top: 8px; right: 10px; padding: 4px;
  background: none; border: none; color: #aeb8da; font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.toast-close:hover { color: #fff; }

/* Interactive tools */
.tool-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
}
.tool-wide { margin-bottom: 22px; }
.tool-grid { margin-bottom: 0; }
.tool-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.tool-desc { color: var(--muted); margin: 0 0 20px; font-size: .97rem; }
.tool-result { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.tool-result h3 { margin: 0 0 8px; font-size: 1.1rem; }
.tool-result p { color: var(--muted); margin: 0 0 12px; }

.sf-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.sf-option { cursor: pointer; }
.sf-option input { position: absolute; opacity: 0; pointer-events: none; }
.sf-option span {
  display: inline-block; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: .93rem;
  border: 1px solid var(--line); background: var(--surface-alt); color: var(--ink-soft);
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}
.sf-option input:checked + span,
.sf-option span:hover {
  border-color: var(--brand); background: #eef2ff; color: var(--brand-ink); transform: translateY(-1px);
}
.sf-result .sf-label { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px; }
.sf-result h3 { margin: 0 0 8px; }
.sf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.sf-tags span { font-size: .85rem; font-weight: 600; color: var(--brand-ink); background: #eef2ff; padding: 6px 12px; border-radius: 999px; }

.calc-form { display: grid; gap: 12px; }
.calc-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.calc-form input {
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400;
}
.calc-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.15); }
.calc-kicker { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.calc-stat { margin-bottom: 16px; }
.calc-num { font-family: "Sora", sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.calc-unit { font-size: 1.1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.calc-desc { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.calc-stat-accent .calc-num { color: var(--brand-ink); }
.calc-note { font-size: .85rem; color: var(--muted); margin: 0 0 16px; }

.cap-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.cap-tag {
  font-size: .85rem; font-weight: 600; color: var(--brand-ink);
  background: #eef2ff; border: 1px solid #dfe6ff; padding: 8px 14px; border-radius: 999px;
}
.cap-tag::before { content: "\2713  "; color: var(--brand); }

.assessment-tier { margin-bottom: 20px; }
.assessment-tier h4 { margin: 0 0 10px; font-size: .95rem; font-weight: 700; }
.tier-high h4 { color: #059669; }
.tier-medium h4 { color: #d97706; }
.tier-low h4 { color: #64748b; }
.assessment-effort { margin: 20px 0 12px; padding: 16px 18px; background: var(--surface-alt); border-radius: 12px; border: 1px solid var(--line); }
.assessment-effort strong { font-size: 1.3rem; color: var(--ink); }
.assessment-effort p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.assessment-effort-label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.ai-recommendation { font-weight: 500; color: var(--ink); margin: 16px 0 0; line-height: 1.55; }

/* AI reports (shared) */
.ai-report { text-align: left; }
.ai-report-kicker { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 0 0 6px; }
.ai-report-sub { font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.ai-report h3 { margin: 0 0 8px; font-size: 1.2rem; }
.ai-report h4 { margin: 18px 0 10px; font-size: .95rem; font-weight: 700; color: var(--ink); }
.ai-quote { margin: 0 0 16px; padding: 14px 16px; border-left: 3px solid var(--brand); background: var(--surface-alt); border-radius: 0 10px 10px 0; font-style: italic; color: var(--ink-soft); }
.ai-solutions { display: grid; gap: 12px; margin-bottom: 8px; }
.ai-solution-item strong { display: block; font-size: .95rem; color: var(--ink); margin-bottom: 4px; }
.ai-solution-item p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.ai-meta-pair { display: grid; grid-template-columns: 140px 1fr; gap: 16px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-meta-label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.ai-meta-single-block { margin: 16px 0; padding: 14px 16px; background: var(--surface-alt); border-radius: 12px; border: 1px solid var(--line); }
.ai-meta-single-block strong { font-size: 1.15rem; color: var(--ink); }
.ai-delivery { margin: 4px 0 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.ai-questions { margin-bottom: 8px; }
.ai-confidence { margin: 18px 0; padding: 14px 16px; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; }
.ai-confidence-label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.ai-confidence strong { font-size: 1rem; color: var(--ink); }
.ai-confidence p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.ai-similar { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.ai-similar h4 { margin: 0 0 6px; font-size: .95rem; }
.ai-similar-lead { margin: 0 0 10px; font-size: .9rem; color: var(--muted); }
.ai-similar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-similar-tags span { font-size: .85rem; font-weight: 600; color: var(--brand-ink); background: #eef2ff; border: 1px solid #dfe6ff; padding: 7px 12px; border-radius: 999px; }
.opp-form { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.opp-form input { flex: 1; min-width: 220px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.opp-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.15); }
.opp-examples { margin-top: 12px; }

/* Project assistant — centred modal */
body.modal-open { overflow: hidden; }
.ai-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 290;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 14px 20px; border: none; border-radius: 999px; font: inherit; font-weight: 700; font-size: .95rem;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 32px rgba(92, 108, 255, 0.45);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(92, 108, 255, 0.55); }
.ai-modal.open ~ .ai-fab,
body.modal-open .ai-fab { opacity: 0; pointer-events: none; }
.ai-modal {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.ai-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.ai-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 16, 32, 0.76);
  backdrop-filter: blur(6px);
}
.ai-modal-dialog {
  position: relative; width: min(92vw, 580px); max-height: min(90vh, 760px);
  overflow-y: auto; background: var(--surface); border-radius: 22px;
  padding: 36px 32px 32px; box-shadow: 0 32px 80px rgba(16, 22, 43, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(12px) scale(0.98);
  transition: transform .25s ease;
}
.ai-modal.open .ai-modal-dialog { transform: translateY(0) scale(1); }
.ai-modal-kicker { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
.ai-modal-dialog h3 { margin: 0 0 16px; font-size: 1.35rem; line-height: 1.25; }
.ai-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; z-index: 2;
}
.ai-close:hover { color: var(--ink); }
.ai-input {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  font: inherit; resize: vertical; min-height: 100px;
}
.ai-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.15); }
.ai-examples { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; align-items: center; }
.ai-examples-label { font-size: .82rem; font-weight: 600; color: var(--muted); width: 100%; margin-bottom: 2px; }
.ai-example {
  font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-alt); color: var(--ink-soft);
  transition: border-color .15s ease, background .15s ease;
}
.ai-example:hover { border-color: var(--brand); background: #eef2ff; color: var(--brand-ink); }
.ai-result { margin-top: 4px; }
.ai-modal .btn-primary { width: 100%; margin-top: 0; }
.ai-send-enquiry { width: 100%; margin-top: 18px; }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input {
  flex: 1; min-width: 200px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit;
}
.inline-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.15); }

.ai-loading { color: var(--muted); font-style: italic; margin: 0; }
.ai-badge { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-ink); background: #eef2ff; padding: 4px 10px; border-radius: 999px; margin: 12px 0 0; }
.ai-badge-muted { color: var(--muted); background: var(--surface-alt); }
.opp-count { font-size: 1.05rem; margin: 0 0 10px; }

/* Footer */
.site-footer { background: var(--bg); color: #aeb8da; padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-brand .brand-text { color: #fff; font-size: 1.15rem; }
.footer-brand p { margin: 12px 0 0; max-width: 420px; color: #8b96bd; font-size: .95rem; }
.footer-meta { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer-meta a { color: var(--accent); font-weight: 500; }
.footer-meta a:hover { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; padding: 34px; gap: 26px; }
  .nav { display: none; }
  .footer-meta { text-align: left; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step:not(:last-child)::after { top: auto; right: auto; left: 50%; bottom: -29px; transform: translateX(-50%) rotate(90deg); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 72px 22px 76px; }
  .hero-visual { order: -1; }
  .workflow-panel { max-width: 300px; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero-grid { padding: 58px 22px 62px; }
  .btn { width: 100%; }
  .nav-cta { display: none; }
  .contact-card { padding: 36px 22px; }
  .brand-logo { height: 32px; }
  .ai-fab { right: 14px; bottom: 14px; }
  .ai-fab-label { display: none; }
  .ai-fab { padding: 16px 18px; border-radius: 50%; }
  .ai-modal-dialog { padding: 28px 22px 24px; }
  .ai-meta-pair { grid-template-columns: 1fr; gap: 12px; }
  .opp-form input, .opp-form .btn { width: 100%; }
  .inline-form input, .inline-form .btn { width: 100%; }
  .contact-buttons { flex-direction: column; }
  .contact-buttons .btn { width: 100%; }
  .contact-email-note { margin-top: 28px; padding-top: 20px; }
  .sf-option span { padding: 10px 14px; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
