/* palette: bg=#F2F4FB fg=#141A33 accent=#3340E8 */
/* fonts: display="Space Grotesk" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #F2F4FB;          /* dominant light lavender-grey background */
  --bg-alt: #FFFFFF;      /* alternating white section / cards */
  --bg-deep: #0D1230;     /* dark navy inverted band */
  --bg-tint: #E9ECFA;     /* soft blue wash */
  --fg: #141A33;          /* primary near-black navy text */
  --fg-soft: #333A5E;     /* slightly lighter fg */
  --muted: #697098;       /* secondary text */
  --accent: #3340E8;      /* royal cobalt blue — primary accent */
  --accent-deep: #202AC0; /* darker accent for hover */
  --accent-soft: #DFE3FC; /* pale blue fill */
  --coral: #FF5B78;       /* coral — duotone partner */
  --coral-deep: #E8435F;
  --coral-soft: #FFE1E7;
  --mint: #16C298;        /* mint tertiary */
  --mint-soft: #D5F6ED;
  --border: rgba(20, 26, 51, 0.10);
  --border-strong: rgba(20, 26, 51, 0.18);
  --card: #FFFFFF;
  --shadow-sm: 0 4px 24px -4px rgba(20, 26, 51, 0.08);
  --shadow-md: 0 12px 40px -8px rgba(20, 26, 51, 0.14);
  --shadow-lg: 0 30px 70px -20px rgba(20, 26, 51, 0.22);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

/* ───────── Layout primitives ───────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.section { padding-block: clamp(72px, 12vw, 150px); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }
.section--deep { background: var(--bg-deep); color: #EDEFFB; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}
.section--deep .eyebrow { color: #8C9BFF; }

.h1, h1.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.1rem, 9vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
}
h2.display, .h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.6vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
}
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
}
em { font-style: normal; color: var(--accent); }
.section--deep em { color: #8C9BFF; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 54ch;
}
.section--deep .lead { color: #BFC6E8; }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .4s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(51, 64, 232, 0.6);
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--light {
  background: #fff;
  color: var(--bg-deep);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--accent);
  font-size: 15px;
}
.link-arrow .arrow { transition: transform .4s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ───────── Header ───────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 244, 251, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.brand__mark svg { width: 18px; height: 18px; }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 4px; }
  .nav a {
    font-size: 14.5px;
    font-weight: 450;
    color: var(--fg-soft);
    padding: 9px 15px;
    border-radius: 999px;
    transition: color .25s, background .25s;
  }
  .nav a:hover { color: var(--accent); background: var(--accent-soft); }
  .nav a[aria-current="page"] { color: var(--accent); }
}
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  border-radius: 12px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  padding: 96px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ───────── Hero ───────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(51,64,232,0.14), transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -15%; left: -10%;
  width: 46vw; height: 46vw;
  max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(255,91,120,0.12), transparent 68%);
  z-index: 0;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 920px; margin-inline: auto; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-inline: auto; margin-bottom: 36px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: clamp(44px, 7vw, 76px); }

/* Hero console mock — echoes reference dashboard cards */
.console {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.console__dots { display: flex; gap: 7px; }
.console__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); display: block; }
.console__dots i:nth-child(1) { background: var(--coral); }
.console__dots i:nth-child(2) { background: #FFC23B; }
.console__dots i:nth-child(3) { background: var(--mint); }
.console__tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.console__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(180deg, var(--bg-tint), #fff);
}
@media (min-width: 720px) { .console__body { grid-template-columns: 1.3fr 1fr; padding: 26px; } }
.console__img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  min-height: 220px;
}
.console__img img { width: 100%; height: 100%; object-fit: cover; }
.console__img .badge {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(13,18,48,0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border-radius: 999px;
}
.console__side { display: flex; flex-direction: column; gap: 12px; }
.mini {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.mini__ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}
.mini__ic.b { background: var(--accent-soft); color: var(--accent); }
.mini__ic.c { background: var(--coral-soft); color: var(--coral-deep); }
.mini__ic.m { background: var(--mint-soft); color: #0E8E6E; }
.mini__txt b { display: block; font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.mini__txt span { font-size: 12.5px; color: var(--muted); }
.mini__bar { margin-left: auto; width: 48px; height: 6px; border-radius: 99px; background: var(--bg-tint); overflow: hidden; }
.mini__bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }

/* ───────── Marquee ───────── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  padding-block: 22px;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 56px;
  animation: slide 32s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee__track span::after { content: "✦"; color: var(--coral); font-size: 0.7em; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ───────── Capabilities / cards grid ───────── */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-cards.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__ic {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card__ic svg { width: 26px; height: 26px; }
.card:nth-child(2n) .card__ic { background: var(--coral-soft); color: var(--coral-deep); }
.card:nth-child(3n) .card__ic { background: var(--mint-soft); color: #0E8E6E; }
.card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.68; }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ───────── Work / case grid ───────── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 680px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex;
  flex-direction: column;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work__img { aspect-ratio: 4 / 3; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work:hover .work__img img { transform: scale(1.06); }
.work__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.work h3 { font-size: 1.25rem; margin-bottom: 9px; letter-spacing: -0.02em; }
.work p { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.work .link-arrow { margin-top: auto; font-size: 14px; }

/* ───────── Featured split ───────── */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 920px) { .feature { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } .feature.flip > .feature__media { order: 2; } }
.feature__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__stats {
  position: absolute;
  left: 18px; bottom: 18px; right: 18px;
  display: flex;
  gap: 10px;
}
.feature__stats div {
  flex: 1;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.feature__stats b { display: block; font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; color: var(--accent); }
.feature__stats span { font-size: 11.5px; color: var(--fg-soft); }
.feature__body .eyebrow { margin-bottom: 18px; }
.feature__body h2 { margin-bottom: 22px; }
.feature__body p { color: var(--fg-soft); margin: 0 0 20px; }
.feature__list { margin: 24px 0 30px; display: grid; gap: 14px; }
.feature__list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: var(--fg-soft); }
.feature__list li::before {
  content: "";
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px;
  border-radius: 6px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233340E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ───────── Stats band ───────── */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.section--deep .stat b { color: #8C9BFF; }
.stat span { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }
.section--deep .stat span { color: #AEB6DD; }

/* ───────── Manifesto ───────── */
.manifesto { text-align: center; max-width: 960px; margin-inline: auto; position: relative; }
.manifesto__quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4.6vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 0;
}
.manifesto__mark {
  font-family: var(--display);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  opacity: .9;
}
.section--deep .manifesto__mark { color: #8C9BFF; }
.manifesto cite { display: block; margin-top: 36px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.section--deep .manifesto cite { color: #AEB6DD; }

/* ───────── Process steps ───────── */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  padding: 30px 26px 34px;
  border-top: 2px solid var(--fg);
  position: relative;
}
@media (max-width: 859px) { .step + .step { border-top: 1px solid var(--border); } }
.step__n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.66; }

/* ───────── Pricing / engagement cards (from component ref) ───────── */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) { .tier-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.tier {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tier--mark { border-color: var(--accent); box-shadow: 0 20px 50px -20px rgba(51,64,232,0.4); position: relative; }
.tier--mark::after {
  content: "Mais procurado";
  position: absolute; top: -12px; left: 30px;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
}
.tier__name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.tier__price { font-family: var(--display); font-weight: 400; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.tier__price small { font-size: 0.95rem; color: var(--muted); font-family: var(--sans); letter-spacing: 0; }
.tier__desc { margin: 16px 0 24px; font-size: 14.5px; color: var(--muted); }
.tier ul { display: grid; gap: 13px; margin-bottom: 30px; }
.tier li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--fg-soft); }
.tier li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; border-radius: 5px;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8E6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tier .btn { margin-top: auto; justify-content: center; }

/* ───────── Testimonials ───────── */
.quotes { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.quote-card p { font-family: var(--display); font-weight: 400; font-size: 1.12rem; line-height: 1.45; letter-spacing: -0.01em; margin: 0 0 24px; color: var(--fg); }
.quote-card footer { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 15px; color: #fff;
  flex-shrink: 0;
}
.avatar--b { background: var(--accent); }
.avatar--c { background: var(--coral); }
.avatar--m { background: var(--mint); }
.quote-card cite { font-style: normal; }
.quote-card cite b { display: block; font-size: 14.5px; font-family: var(--display); font-weight: 500; }
.quote-card cite span { font-size: 12.5px; color: var(--muted); }

/* ───────── FAQ ───────── */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 4px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 22px; height: 22px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233340E8' stroke-width='2.2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0 4px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.72; max-width: 68ch; }

/* ───────── CTA band ───────── */
.cta-band {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 8vw, 90px) clamp(28px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 55%),
              radial-gradient(circle at 85% 80%, rgba(255,91,120,0.4), transparent 50%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band .eyebrow { color: rgba(255,255,255,0.8); }
.cta-band .eyebrow::before { background: #fff; }
.cta-band h2 { margin-bottom: 20px; }
.cta-band p { max-width: 52ch; margin: 0 auto 34px; color: rgba(255,255,255,0.88); font-size: 1.08rem; }
.cta-band .btn--light { color: var(--accent-deep); }

/* ───────── Contact form ───────── */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 940px) { .contact-wrap { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.contact-info h2 { margin-bottom: 20px; }
.contact-info .lead { margin-bottom: 36px; }
.contact-list { display: grid; gap: 4px; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: 1px solid var(--border); }
.contact-list .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.contact-list .v { font-size: 16px; color: var(--fg); }
.contact-list a.v:hover { color: var(--accent); }

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 9px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--ring, rgba(51,64,232,0.12));
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; line-height: 1.6; }
.form-note a { color: var(--accent); }

/* ───────── Values / principles (text-only, no faces) ───────── */
.principles { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principle {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .principle { padding: 38px 40px; }
  .principle:nth-child(odd) { border-right: 1px solid var(--border); padding-left: 0; }
}
.principle__n { font-family: var(--mono); font-size: 13px; color: var(--coral); padding-top: 4px; }
.principle h3 { font-size: 1.3rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.principle p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.68; }

/* ───────── Team text cards (monogram, no faces) ───────── */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.member .avatar { width: 54px; height: 54px; border-radius: 16px; font-size: 18px; margin-bottom: 20px; }
.member h3 { font-size: 1.18rem; margin-bottom: 4px; }
.member .role { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 14px; }
.member p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.64; }

/* ───────── Page hero (interior pages) ───────── */
.page-hero { padding-top: clamp(64px, 12vw, 120px); padding-bottom: clamp(44px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute; top: -30%; right: -5%;
  width: 46vw; height: 46vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(51,64,232,0.12), transparent 66%);
  pointer-events: none;
}
.page-hero__inner { max-width: 880px; position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); margin-bottom: 24px; }
.page-hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.28rem); }
.breadcrumb { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--accent); }

/* ───────── Legal / prose ───────── */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.prose p { color: var(--fg-soft); margin: 0 0 18px; font-size: 16px; line-height: 1.76; }
.prose ul.bullets { margin: 0 0 18px; padding-left: 0; display: grid; gap: 10px; }
.prose ul.bullets li { position: relative; padding-left: 26px; color: var(--fg-soft); font-size: 16px; line-height: 1.7; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ───────── Thank you ───────── */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.thanks__inner { max-width: 620px; }
.thanks__badge {
  width: 84px; height: 84px; margin: 0 auto 30px; border-radius: 26px;
  background: var(--mint-soft); display: grid; place-items: center;
}
.thanks__badge svg { width: 42px; height: 42px; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 20px; }
.thanks p { color: var(--fg-soft); font-size: 1.1rem; margin-bottom: 32px; }

/* ───────── Footer ───────── */
.footer {
  background: var(--bg-deep);
  color: #C7CDEA;
  padding-block: clamp(56px, 8vw, 90px) 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
@media (min-width: 720px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; } }
.footer .brand { color: #fff; font-size: 22px; margin-bottom: 20px; }
.footer__about { max-width: 34ch; font-size: 14.5px; line-height: 1.7; color: #9AA2CE; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.14);
  display: grid; place-items: center;
  transition: background .25s, border-color .25s, transform .3s;
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #7982B8; margin: 0 0 18px; font-weight: 500; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { font-size: 14.5px; color: #C7CDEA; transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
  color: #808AC0;
}
@media (min-width: 720px) { .footer__bottom { flex-direction: row; align-items: center; } }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a:hover { color: #fff; }

/* ───────── Cookie popup ───────── */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
  background: rgba(13,18,48,0.4);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 30px 32px;
  max-width: 470px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.cookie-popup__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.25rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.cookie-popup__card p { font-size: 13.8px; color: var(--muted); line-height: 1.66; margin: 0; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  flex: 1;
  padding: 12px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s, transform .3s;
}
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:first-child:hover { border-color: var(--accent); color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ───────── Reveal ───────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ───────── Utilities ───────── */
.mt-s { margin-top: 36px; }
.mt-m { margin-top: 56px; }
.text-muted { color: var(--muted); }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tag-row span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  padding: 8px 15px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--fg-soft);
}
