/* palette: bg=#F7F9FC fg=#10131C accent=#2F6BED */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #F7F9FC;         /* dominant airy background from reference */
  --bg-alt: #ECF1F8;     /* alternating cool grey-blue section */
  --bg-deep: #DCE4EE;    /* deeper blue-grey panel (hero backdrop) */
  --surface: #FFFFFF;    /* white cards */
  --fg: #10131C;         /* near-black ink text */
  --fg-soft: #333A48;    /* slightly lighter fg */
  --muted: #68717F;      /* secondary text */
  --accent: #2F6BED;     /* vivid blue from app CTA / folder / chart */
  --accent-deep: #1E4FC4;/* darker accent for hover */
  --accent-soft: #E7EFFD;/* light blue tint */
  --accent-200: #9DBEF8; /* light blue (chart gradient start) */
  --border: rgba(16, 19, 28, 0.10);
  --border-strong: rgba(16, 19, 28, 0.16);
  --shadow-sm: 0 4px 24px -4px rgba(16, 24, 48, 0.10);
  --shadow-lg: 0 18px 48px -12px rgba(16, 24, 48, 0.20);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

section { position: relative; }
.section { padding: clamp(72px, 12vw, 150px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--white { background: var(--surface); }

.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;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--border-strong); }

.section-head { max-width: 760px; margin: 0 0 clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -0.025em; }
.section-head p { margin-top: 22px; color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .4s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -8px rgba(47, 107, 237, 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 { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--fg); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent-deep); gap: 12px; }
.link-arrow:hover::after { transform: translateX(2px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(16, 19, 28, 0.06), 0 10px 30px -18px rgba(16, 24, 48, 0.3);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 1.22rem; letter-spacing: -0.03em; }
.brand__mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(145deg, var(--accent), var(--accent-200));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(47, 107, 237, 0.7);
  flex: none;
}
.brand__mark svg { width: 17px; height: 17px; }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
  .nav a { font-size: 15px; color: var(--fg-soft); transition: color .25s var(--ease); position: relative; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
  .nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
    background: var(--accent); border-radius: 2px;
  }
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

/* Hamburger */
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--fg); margin: 0 auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.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: 72px 0 0; z-index: 99;
  background: var(--bg);
  padding: 32px 20px 48px;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--border); letter-spacing: -0.02em; }
.mobile-menu .btn { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--bg-deep) 0%, rgba(220,228,238,0) 55%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 96px 0 72px;
  overflow: hidden;
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }

.hero__text { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 4.9rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
  font-weight: 500;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { margin-top: 26px; font-size: 1.14rem; line-height: 1.7; color: var(--fg-soft); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; align-items: center; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--border); }
.hero__meta div span { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; letter-spacing: -0.03em; }
.hero__meta div small { color: var(--muted); font-size: 13.5px; letter-spacing: 0.01em; }

/* Hero visual — dashboard mockup (clones reference storage card) */
.hero__visual { position: relative; display: flex; justify-content: center; }
.mock {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 8s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.012); }
}
.mock__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mock__user { display: flex; align-items: center; gap: 11px; }
.mock__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(145deg, var(--accent), var(--accent-200)); display: grid; place-items: center; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 14px; }
.mock__user b { font-family: var(--serif); font-size: 1.18rem; letter-spacing: -0.02em; display: block; }
.mock__user small { color: var(--muted); font-size: 12.5px; }
.mock__bell { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; color: var(--fg-soft); }
.mock__search { display: flex; align-items: center; gap: 10px; background: var(--bg-alt); border-radius: 12px; padding: 11px 14px; color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.mock__card { background: linear-gradient(160deg, #F4F7FC 0%, #EAF1FD 100%); border-radius: 18px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid rgba(47,107,237,0.08); }
.mock__stats b { display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; font-family: var(--mono); }
.mock__row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.mock__row span { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.mock__row small { color: var(--muted); font-size: 12.5px; }
.donut { position: relative; flex: none; width: 108px; height: 108px; }
.donut svg { transform: rotate(-90deg); }
.donut__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__label b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; display: block; letter-spacing: -0.02em; }
.donut__label small { color: var(--muted); font-size: 11px; }
.mock__files { margin-top: 18px; }
.mock__files-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock__files-head b { font-family: var(--serif); font-size: 1rem; }
.mock__files-head small { color: var(--accent); font-size: 12.5px; font-weight: 600; }
.mock__file { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); }
.mock__file-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); flex: none; }
.mock__file b { font-size: 13.5px; font-weight: 600; display: block; font-family: var(--sans); }
.mock__file small { color: var(--muted); font-size: 11.5px; }
.mock__badge {
  position: absolute; top: -18px; right: -14px;
  background: var(--fg); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
  padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow-sm);
  animation: floatCard 6s ease-in-out infinite reverse;
}
@media (max-width: 480px) { .mock__badge { right: 4px; } }

/* ---------- Logos / trust strip ---------- */
.trust { padding: 40px 0; border-bottom: 1px solid var(--border); }
.trust p { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 24px; }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 44px; }
.trust__row span { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--fg-soft); opacity: 0.7; letter-spacing: -0.02em; }

/* ---------- Cards grid (services) ---------- */
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card__ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.32rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.68; }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; display: block; margin-bottom: 16px; }

/* ---------- Work / case grid ---------- */
.work-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-deep); }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case-card:hover .case-card__img img { transform: scale(1.05); }
.case-card__body { padding: 26px 28px 30px; }
.case-card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.case-card__body h3 { font-size: 1.42rem; margin: 14px 0 10px; letter-spacing: -0.02em; }
.case-card__body p { color: var(--muted); font-size: 15px; line-height: 1.66; margin-bottom: 18px; }
.case-card__foot { display: flex; align-items: center; justify-content: space-between; }
.case-card__metric { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--fg); }
.case-card__metric small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0; }

/* ---------- Featured deep-dive ---------- */
.feature { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .feature { grid-template-columns: 1fr 1fr; gap: 60px; } }
.feature__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-sm); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 18px 0 20px; }
.feature p { color: var(--fg-soft); font-size: 1.05rem; line-height: 1.72; }
.feature__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--border); }
.feature__metrics b { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 600; display: block; letter-spacing: -0.03em; color: var(--accent); }
.feature__metrics small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; margin-top: 6px; }

/* ---------- Manifesto dark band ---------- */
.manifesto {
  background: var(--fg);
  color: var(--bg);
  text-align: center;
  padding: clamp(80px, 13vw, 150px) 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 50% -20%, rgba(47,107,237,0.35) 0%, rgba(47,107,237,0) 60%);
  pointer-events: none;
}
.manifesto__inner { position: relative; max-width: 940px; margin: 0 auto; padding: 0 20px; }
.manifesto .eyebrow { color: var(--accent-200); justify-content: center; }
.manifesto .eyebrow::before { background: var(--accent-200); }
.manifesto p.statement {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.manifesto p.statement em { font-style: normal; color: var(--accent-200); }
.manifesto__sign { margin-top: 36px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); }

/* ---------- Process ---------- */
.process-list { display: grid; gap: 0; }
.process-item {
  display: grid; gap: 10px 32px; grid-template-columns: 1fr;
  padding: 32px 0; border-top: 1px solid var(--border);
}
@media (min-width: 760px) { .process-item { grid-template-columns: 88px 1fr auto; align-items: start; } }
.process-item:last-child { border-bottom: 1px solid var(--border); }
.process-item__num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.08em; padding-top: 4px; }
.process-item h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.process-item p { color: var(--muted); font-size: 15.5px; line-height: 1.68; max-width: 560px; margin-top: 8px; }
.process-item__tag { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- Quotes ---------- */
.quote-grid { display: grid; gap: 22px; }
@media (min-width: 820px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
.quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 32px; display: flex; flex-direction: column; gap: 22px;
}
.quote__mark { font-family: var(--serif); font-size: 3rem; line-height: 0.6; color: var(--accent-200); }
.quote blockquote { margin: 0; font-size: 1.14rem; line-height: 1.6; color: var(--fg-soft); font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar--mono { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 15px; flex: none; }
.quote__who b { display: block; font-size: 14.5px; font-weight: 600; }
.quote__who small { color: var(--muted); font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; font-family: var(--serif); font-size: 1.22rem; font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 24px; height: 24px; position: relative; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s var(--ease); }
.faq summary .plus::before { top: 11px; left: 3px; width: 18px; height: 2px; }
.faq summary .plus::after { top: 3px; left: 11px; width: 2px; height: 18px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.72; max-width: 680px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff; border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(44px, 7vw, 76px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,0.12); top: -140px; right: -80px; filter: blur(10px);
}
.cta-band__inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); letter-spacing: -0.03em; }
.cta-band p { margin: 18px auto 32px; color: rgba(255,255,255,0.88); font-size: 1.08rem; max-width: 520px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn--light:hover { color: var(--accent-deep); }
.cta-band__ghost { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #fff; }
.cta-band__ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ---------- Forms ---------- */
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 9px; letter-spacing: 0.01em; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 14px 16px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form-row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 24px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.form__consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.form__consent a { color: var(--accent); text-decoration: underline; }

.contact-info { }
.contact-info__block { padding: 22px 0; border-top: 1px solid var(--border); }
.contact-info__block:first-of-type { border-top: 0; padding-top: 0; }
.contact-info__block h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.contact-info__block p, .contact-info__block a { font-size: 1.05rem; color: var(--fg); line-height: 1.6; }
.contact-info__block a:hover { color: var(--accent); }

/* ---------- Principles / about ---------- */
.principles { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principle { background: var(--surface); padding: 34px 32px; }
.principle span { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; }
.principle h3 { font-size: 1.3rem; margin: 14px 0 10px; }
.principle p { color: var(--muted); font-size: 15px; line-height: 1.66; }

.team-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.member .avatar--mono { width: 56px; height: 56px; border-radius: 16px; font-size: 18px; margin-bottom: 18px; }
.member h3 { font-size: 1.2rem; }
.member .role { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 6px 0 14px; }
.member p { color: var(--muted); font-size: 14.5px; line-height: 1.64; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: clamp(118px, 15vw, 168px) 0 clamp(50px, 7vw, 80px);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.page-hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); letter-spacing: -0.035em; max-width: 14ch; font-weight: 500; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { margin-top: 24px; max-width: 580px; color: var(--fg-soft); font-size: 1.12rem; line-height: 1.7; }
.breadcrumb { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Service detail rows ---------- */
.svc-row { display: grid; gap: 28px; padding: clamp(40px, 6vw, 68px) 0; border-top: 1px solid var(--border); align-items: start; }
@media (min-width: 860px) { .svc-row { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.svc-row__head .eyebrow { margin-bottom: 14px; }
.svc-row__head h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.svc-row__head > p { color: var(--muted); margin-top: 16px; font-size: 1.02rem; }
.svc-list { display: grid; gap: 16px; }
.svc-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.svc-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 13px; margin-top: 2px; }
.svc-list b { font-size: 1.02rem; display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.svc-list p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.22rem; margin: 30px 0 12px; }
.prose p { color: var(--fg-soft); margin-bottom: 16px; line-height: 1.78; font-size: 16.5px; }
.prose ul { margin: 0 0 18px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--fg-soft); line-height: 1.7; }
.prose ul 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; }
.prose .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Thanks ---------- */
.thanks { min-height: 86vh; display: grid; place-items: center; text-align: center; padding: 140px 20px 90px; }
.thanks__inner { max-width: 620px; }
.thanks__badge { width: 76px; height: 76px; border-radius: 22px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 28px; }
.thanks__badge svg { width: 36px; height: 36px; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.03em; }
.thanks p { margin: 22px auto 34px; color: var(--muted); font-size: 1.1rem; max-width: 460px; }

/* ---------- Footer ---------- */
.footer { background: var(--fg); color: rgba(255,255,255,0.7); padding: clamp(60px, 9vw, 96px) 0 40px; }
.footer__grid { display: grid; gap: 44px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand { color: #fff; margin-bottom: 20px; }
.footer__brand p { font-size: 15px; line-height: 1.7; max-width: 300px; }
.footer__brand .oib { font-family: var(--mono); font-size: 12.5px; margin-top: 18px; color: rgba(255,255,255,0.45); }
.footer h4 { color: #fff; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
.footer li { margin-bottom: 12px; }
.footer a { font-size: 15px; transition: color .25s var(--ease); }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  margin-top: clamp(44px, 7vw, 72px); padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13.5px;
}
.footer__bottom .legal-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- 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(16, 19, 28, 0.4);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 32px; max-width: 460px; border-radius: 18px; box-shadow: var(--shadow-lg); transform: translateY(14px); transition: transform .4s var(--ease); }
.cookie-popup[data-open="true"] .cookie-popup__card { transform: none; }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.35rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.cookie-popup__card p { font-size: 14px; color: var(--muted); line-height: 1.64; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border-strong); border-radius: 9999px; cursor: pointer; font-size: 14px; font-weight: 600; transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.cookie-popup__actions button:first-child:hover { background: var(--bg-alt); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); margin-left: auto; }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); transform: translateY(-1px); }

/* ---------- 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; }
  .mock, .mock__badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.lead { font-size: 1.14rem; line-height: 1.72; color: var(--fg-soft); }
.text-center { text-align: center; }
.mt-cta { margin-top: 40px; }
.divider-note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 14px; }
