/* databaaz — base styles */

:root {
  --grad-from: #2A6CFF;
  --grad-to: #7A3FE6;
  --grad: linear-gradient(135deg, var(--grad-from) 0%, var(--grad-to) 100%);

  /* light defaults */
  --bg: #FBFAF7;
  --bg-soft: #F4F2EC;
  --surface: #FFFFFF;
  --ink: #0E1A3C;
  --ink-mute: #5A6685;
  --ink-faint: #8A93AC;
  --border: #E7E5DE;
  --border-strong: #D6D3CB;
  --shadow-sm: 0 1px 2px rgba(14, 26, 60, 0.04);
  --shadow-md: 0 8px 28px -12px rgba(14, 26, 60, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(42, 108, 255, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --section-py: 120px;
  --container: 1200px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

[data-theme="dark"] {
  --bg: #07091A;
  --bg-soft: #0B0F24;
  --surface: #0F1430;
  --ink: #F2F4FB;
  --ink-mute: #9AA1C2;
  --ink-faint: #6B729A;
  --border: #1E2348;
  --border-strong: #2C3260;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 28px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 80px -20px rgba(122, 63, 230, 0.4);
}

[data-density="compact"] {
  --section-py: 88px;
}
[data-density="airy"] {
  --section-py: 160px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.05; font-weight: 600; color: var(--ink); }
p { margin: 0; }

/* utility */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-mute);
  text-transform: none;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--grad);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(42, 108, 255, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  box-shadow: 0 14px 30px -10px rgba(122, 63, 230, 0.6), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-soft); }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.nav-brand img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-mute);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* mobile nav */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-burger svg { width: 18px; height: 18px; }
.nav-cta-desktop { display: inline-flex; }

@media (max-width: 820px) {
  .nav-burger { display: inline-flex; }
  .nav-cta-desktop { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 32px;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.mobile-menu-head img { height: 32px; }
.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu nav a {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}
.mobile-menu nav a[data-active="true"] {
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.mobile-menu nav a .chev { color: var(--ink-faint); }
.mobile-menu nav a[data-active="true"] .chev { color: var(--grad-from); }
.mobile-menu-cta {
  margin-top: auto;
  padding-top: 28px;
}
.mobile-menu-cta .btn { width: 100%; justify-content: center; padding: 16px 22px; font-size: 15.5px; }

/* nav active state (desktop) */
.nav-links a[data-active="true"] {
  color: var(--ink);
  background: var(--bg-soft);
}

/* SUB-PAGE HEADER */
.page-header {
  position: relative;
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-header .bg-pattern { opacity: 0.4; }
.page-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--ink-faint); }
.breadcrumb .current { color: var(--ink-mute); }

.page-header h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1;
  font-weight: 600;
  max-width: 900px;
  text-wrap: balance;
}
.page-header .lede {
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--ink-mute);
  margin-top: 24px;
  max-width: 640px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .page-header { padding: 56px 0 48px; }
}

/* Generic content blocks */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 4px;
  transition: border-color 0.15s, color 0.15s;
}
.cta-link:hover { color: var(--grad-from); border-color: var(--grad-from); }
.cta-link svg { transition: transform 0.15s; }
.cta-link:hover svg { transform: translateX(2px); }

/* Service detail blocks (long-form services page) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  padding: 64px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.service-detail:first-of-type { border-top: none; }
@media (max-width: 880px) {
  .service-detail { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
}
.service-detail-head {
  position: sticky;
  top: 100px;
}
@media (max-width: 880px) {
  .service-detail-head { position: static; }
}
.service-detail-head .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.service-detail-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.service-detail-head .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--bg) 60%, var(--grad-from) 6%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grad-from);
  margin-bottom: 22px;
}
[data-theme="dark"] .service-detail-head .icon-wrap { background: rgba(42, 108, 255, 0.1); }
.service-detail-body p {
  color: var(--ink-mute);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 600px;
}
.service-detail-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
@media (max-width: 640px) {
  .service-detail-body ul { grid-template-columns: 1fr; }
}
.service-detail-body li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  align-items: baseline;
}
.service-detail-body li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--grad);
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, #0F1430 0%, #1A1F45 100%);
  border: 1px solid var(--border);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(122, 63, 230, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-top: 14px;
  max-width: 460px;
}
.cta-banner .actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cta-banner .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.cta-banner .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}
@media (max-width: 820px) {
  .cta-banner { grid-template-columns: 1fr; padding: 40px 32px; gap: 28px; }
  .cta-banner .actions { justify-content: flex-start; }
}

/* Process timeline (long-form aanpak page) */
.timeline {
  position: relative;
  padding-left: 24px;
  border-left: 1px dashed var(--border-strong);
}
.timeline-step {
  padding: 0 0 48px 24px;
  position: relative;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline-step .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.timeline-step h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.timeline-step p {
  color: var(--ink-mute);
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 640px;
}
.timeline-step .deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.timeline-step .deliverables span {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Over/visie page extras */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}
.value-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.value-card h3 .pre {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  font-weight: 400;
  margin-bottom: 8px;
}
.value-card p { color: var(--ink-mute); font-size: 15.5px; }

/* Hide vis on small screens for cleaner mobile */
@media (max-width: 540px) {
  .hero-vis { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(38px, 9vw, 52px); }
}

/* Generic responsive container */
@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  :root { --section-py: 80px; }
  [data-density="airy"] { --section-py: 110px; }
  .section-head { margin-bottom: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .principle { grid-template-columns: 60px 1fr; gap: 16px; }
  .footer-base { font-size: 12px; }
}

/* HERO */
.hero {
  position: relative;
  padding: 96px 0 100px;
  overflow: hidden;
}
[data-density="compact"] .hero { padding: 72px 0 80px; }
[data-density="airy"] .hero { padding: 120px 0 140px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero h1 {
  font-size: clamp(44px, 6.2vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 26px;
}
.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-mute);
  max-width: 560px;
  line-height: 1.5;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-mute);
}
@media (max-width: 540px) {
  .hero-meta { grid-template-columns: 1fr; gap: 20px; }
}
.hero-meta strong {
  display: block;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2px;
}

/* hero visual */
.hero-vis {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1.05;
  min-height: 460px;
  margin-left: auto;
}
@media (max-width: 980px) {
  .hero-vis { margin: 0 auto; min-height: 420px; }
}
.hero-vis-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
}
.hero-orb {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(42, 108, 255, 0.55), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(122, 63, 230, 0.5), transparent 55%);
  filter: blur(40px);
  opacity: 0.7;
  border-radius: 50%;
}
[data-theme="dark"] .hero-orb { opacity: 0.9; }

/* Background pattern */
.bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  opacity: 0.55;
}
[data-pattern="off"] .bg-pattern { display: none; }

/* logo strip */
.logos-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  flex-wrap: wrap;
}
.logos-strip .label {
  font-size: 13px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.logo-pill {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-mute);
  opacity: 0.7;
}

/* section header */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1;
  text-wrap: balance;
}
.section-head p {
  color: var(--ink-mute);
  font-size: 17px;
  max-width: 480px;
  margin-left: auto;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--surface);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  transition: background 0.2s;
}
.service-card:hover { background: color-mix(in oklab, var(--surface) 90%, var(--grad-from) 4%); }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--bg) 60%, var(--grad-from) 8%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grad-from);
}
[data-theme="dark"] .service-icon { background: rgba(42, 108, 255, 0.12); }
.service-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.service-card p {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.55;
}
.service-card .num {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

/* PROCESS */
.process {
  background: var(--bg-soft);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 880px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .process-steps { grid-template-columns: 1fr; }
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px 28px;
  position: relative;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 22px;
  letter-spacing: 0.1em;
}
.step-num span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.step h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step p {
  color: var(--ink-mute);
  font-size: 14.5px;
}

/* MANIFESTO */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 36px; }
}
.manifesto-side h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.manifesto-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.principle {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}
.principle:last-child { border-bottom: 1px solid var(--border); }
.principle-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.principle h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.principle p { color: var(--ink-mute); font-size: 15.5px; max-width: 540px; }

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testimonial blockquote {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.005em;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.testimonial blockquote::before {
  content: "“";
  font-size: 40px;
  line-height: 0;
  vertical-align: -10px;
  margin-right: 4px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.testimonial-cite {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.cite-name { font-weight: 600; font-size: 14px; }
.cite-role { font-size: 13px; color: var(--ink-mute); }

/* FAQ */
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq-q .chev {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.faq-item[data-open="true"] .chev { transform: rotate(45deg); background: var(--grad); border-color: transparent; color: white; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item[data-open="true"] .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 28px 0;
  color: var(--ink-mute);
  max-width: 720px;
  font-size: 16px;
  line-height: 1.55;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-side h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 20px;
}
.contact-side p {
  color: var(--ink-mute);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 440px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}
.contact-info-row .icon-wrap {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grad-from);
  flex-shrink: 0;
}
.contact-info-row .meta { font-size: 12px; color: var(--ink-faint); display: block; margin-bottom: 2px; font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
}
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--grad-from);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--grad-from) 18%, transparent);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; padding: 16px 22px; font-size: 15.5px; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 56px 0 36px;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-mute); font-size: 14px; max-width: 280px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--ink-mute);
  font-size: 14.5px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink); }
.footer-base {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-base .grad-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--grad);
  margin-right: 6px;
  vertical-align: middle;
}

/* hero floating cards (visual) */
.float-card-a {
  top: 8%; left: -2%;
  width: 70%;
  transform: rotate(-3deg);
  z-index: 2;
}
.float-card-b {
  bottom: 6%; right: -4%;
  width: 68%;
  transform: rotate(2deg);
  z-index: 3;
}

.dot-row { display: flex; gap: 5px; margin-bottom: 12px; }
.dot-row span {
  width: 8px; height: 8px; border-radius: 99px;
  background: color-mix(in oklab, var(--ink-mute) 30%, transparent);
}
.dot-row span:first-child { background: #ff5f57; }
.dot-row span:nth-child(2) { background: #febc2e; }
.dot-row span:nth-child(3) { background: #28c840; }

.chat-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 12.5px;
  line-height: 1.4;
}
.chat-bubble.bot {
  background: var(--grad);
  color: white;
  border-color: transparent;
  margin-left: 18%;
}
.chat-bubble .who {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 2px;
}
.chat-bubble.bot .who { opacity: 0.85; }

.flow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.flow-row .node {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 9px;
}
.flow-row .arrow { color: var(--ink-faint); }
.flow-row .node.active {
  background: var(--grad);
  color: white;
  border-color: transparent;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 12px;
  color: var(--ink-mute);
}
.metric-row:last-child { border-bottom: none; }
.metric-row strong { font-size: 17px; color: var(--ink); font-weight: 600; }
.metric-row .delta { color: #22a565; font-family: var(--font-mono); font-size: 11px; }
[data-theme="dark"] .metric-row .delta { color: #4ade80; }

.toast-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 100%, var(--grad-from) 6%);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.toast-pill .ping {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--grad-from) 18%, transparent);
}

/* Background grain (subtle, for dark mode mostly) */
[data-theme="dark"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(42, 108, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(122, 63, 230, 0.12), transparent 60%);
  z-index: 0;
}
[data-theme="dark"] .nav, [data-theme="dark"] .section, [data-theme="dark"] .hero { position: relative; z-index: 1; }
