/* palette: bg=#FFFFFF fg=#0A0E23 accent=#3B44E8 */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F6FC;
  --bg-deep: #EBEFFA;
  --fg: #0A0E23;
  --fg-soft: #2C3357;
  --muted: #6B7291;
  --accent: #3B44E8;
  --accent-deep: #2A31C0;
  --accent-soft: #E9EBFD;
  --card-1a: #3A45EC;
  --card-1b: #1C2088;
  --card-2a: #191C6E;
  --card-2b: #0B0E3A;
  --border: rgba(10, 14, 35, 0.12);
  --border-soft: rgba(10, 14, 35, 0.07);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

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

.section { padding: clamp(72px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 104px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.section-lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  max-width: 52ch;
  margin-top: 22px;
}

.link-arrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: gap 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(59, 68, 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);
}
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--light {
  background: #fff;
  color: var(--fg);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -12px rgba(0,0,0,0.35); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-color: var(--border-soft);
  box-shadow: 0 8px 30px -18px rgba(10, 14, 35, 0.35);
}
.header__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent);
  position: relative;
  flex: none;
  overflow: hidden;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.9) 1px, transparent 1.3px);
  background-size: 5px 5px;
  opacity: 0.85;
}
.nav {
  display: none;
  align-items: center;
  gap: 34px;
}
@media (min-width: 900px) { .nav { display: flex; } }
.nav__link {
  font-size: 14px;
  color: var(--fg-soft);
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--fg); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }
@media (min-width: 620px) { .header__cta { display: inline-flex; } }

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

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 68px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 32px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu .btn { margin-top: 26px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0 60px;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 78%);
  opacity: 0.7;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  width: 100%;
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  padding: 7px 13px;
  border-radius: 9999px;
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.badge--accent { color: var(--accent); background: var(--accent-soft); border-color: transparent; }

.hero__title {
  font-size: clamp(3.1rem, 8.5vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  max-width: 15ch;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead {
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.72;
  max-width: 46ch;
}
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Halftone data sphere */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.hero-orb {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.55), transparent 30%),
    radial-gradient(circle at 68% 72%, var(--card-1b), var(--accent-deep) 55%, #05073a 92%);
  box-shadow: 0 40px 90px -30px rgba(30, 40, 200, 0.55);
}
.hero-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: radial-gradient(rgba(255,255,255,0.92) 1.1px, transparent 1.7px);
  background-size: 11px 11px;
  mask-image: radial-gradient(circle at 62% 34%, #000 8%, rgba(0,0,0,0.35) 45%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 62% 34%, #000 8%, rgba(0,0,0,0.35) 45%, transparent 78%);
}
.hero-orb::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(59, 68, 232, 0.25);
}
.hero-ring {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  border: 1px dashed var(--border);
  animation: spin 60s linear infinite;
}
.hero-tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-soft);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-soft);
  padding: 5px 9px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.hero-tag--1 { top: 8%; left: -4%; }
.hero-tag--2 { bottom: 14%; right: -6%; }
.hero-tag--3 { bottom: -2%; left: 22%; }
@media (max-width: 600px) { .hero-tag { display: none; } }

@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-ring { animation: none; } }

/* ---------- Logo strip ---------- */
.logos { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.logos__head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.logos__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 30px;
  align-items: center;
}
@media (min-width: 620px) { .logos__row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .logos__row { grid-template-columns: repeat(6, 1fr); } }
.logo-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--fg-soft);
  opacity: 0.72;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.logo-mark:hover { opacity: 1; color: var(--fg); }

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 52px;
}
@media (min-width: 820px) {
  .section-head--split {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .section-head--split .section-lead { margin-top: 0; }
}

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card {
  position: relative;
  border-radius: 22px;
  padding: 30px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, var(--card-1a), var(--card-1b));
  box-shadow: 0 4px 24px -4px rgba(10, 14, 35, 0.14);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -20px rgba(28, 32, 136, 0.5); }
.work-card--deep { background: linear-gradient(160deg, var(--card-2a), var(--card-2b)); }
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1.4px);
  background-size: 16px 16px;
  mask-image: radial-gradient(120% 120% at 85% 10%, #000, transparent 65%);
  -webkit-mask-image: radial-gradient(120% 120% at 85% 10%, #000, transparent 65%);
  opacity: 0.7;
  pointer-events: none;
}
.work-card > * { position: relative; z-index: 1; }
.work-card__badge {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 12px;
  border-radius: 9999px;
}
.work-card__title {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.work-card__meta {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-top: 12px;
  line-height: 1.6;
}
.stat-row { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 8px; }
.stat-big { display: flex; flex-direction: column; gap: 4px; }
.stat-big b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-big span { font-size: 13px; color: rgba(255,255,255,0.7); max-width: 20ch; }

/* ---------- Manifesto (dark band) ---------- */
.manifesto {
  background: var(--fg);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.manifesto__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 85%);
  -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 85%);
}
.manifesto__inner { position: relative; text-align: center; max-width: 980px; margin: 0 auto; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.manifesto__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.manifesto__text em { font-style: normal; color: var(--accent); }
.manifesto__cite {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 34px;
}

/* ---------- Services grid ---------- */
.svc-grid {
  display: grid;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .svc-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: var(--bg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.4s var(--ease);
  min-height: 260px;
}
.svc-card:hover { background: var(--bg-alt); }
.svc-card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.svc-card__title {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.svc-card__desc { color: var(--muted); font-size: 15px; line-height: 1.68; }
.svc-card__list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.svc-card__list li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-soft);
  padding-left: 18px;
  position: relative;
}
.svc-card__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- Stats ---------- */
.stats { background: var(--bg-alt); }
.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}
@media (min-width: 820px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 1px solid var(--border); padding-left: 20px; }
.stat__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat__label { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 12px; max-width: 22ch; }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split--reverse .split__media { order: -1; }
@media (min-width: 900px) { .split--reverse .split__media { order: 1; } }
.split__media {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--card-1a), var(--card-2b));
}
.split__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; mix-blend-mode: luminosity; }
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(59,68,232,0.35), rgba(11,14,58,0.55));
}
.split__title { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.05; letter-spacing: -0.03em; }
.split__text { color: var(--muted); margin-top: 20px; line-height: 1.75; }
.tick-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.tick-list li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  flex: none;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2L4 7.5L8.5 2.5' stroke='%233B44E8' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Process ---------- */
.process { display: grid; gap: 1px; background: var(--border-soft); border-radius: 18px; overflow: hidden; border: 1px solid var(--border-soft); }
.process__row {
  background: var(--bg);
  padding: 30px 28px;
  display: grid;
  gap: 16px;
  align-items: start;
}
@media (min-width: 760px) { .process__row { grid-template-columns: 90px 1fr 2fr; gap: 30px; align-items: center; } }
.process__num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.08em; }
.process__name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.02em; }
.process__desc { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 40px 26px 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item__body {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  padding: 0 40px 28px 0;
  max-width: 68ch;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--accent);
  color: #fff;
  border-radius: 26px;
  padding: clamp(48px, 8vw, 96px) clamp(28px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.cta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(90% 120% at 90% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(90% 120% at 90% 0%, #000, transparent 70%);
}
.cta__inner { position: relative; max-width: 720px; }
.cta__title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.cta__lead { margin-top: 22px; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.7; color: rgba(255,255,255,0.82); max-width: 48ch; }
.cta__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 15px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }
.form__note { font-size: 13px; color: var(--muted); line-height: 1.6; }

.info-block { display: flex; flex-direction: column; gap: 30px; }
.info-item { border-top: 1px solid var(--border); padding-top: 20px; }
.info-item h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.info-item p, .info-item a { font-size: 16px; line-height: 1.6; color: var(--fg-soft); }
.info-item a:hover { color: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(72px, 14vw, 150px) 0 clamp(48px, 8vw, 88px);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.page-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(100% 100% at 80% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(100% 100% at 80% 0%, #000, transparent 75%);
  opacity: 0.7;
}
.page-hero__inner { position: relative; max-width: 900px; }
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-top: 22px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero__lead { margin-top: 26px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; max-width: 54ch; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 48px 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.prose p { color: var(--fg-soft); margin-bottom: 16px; line-height: 1.8; }
.prose ul { color: var(--fg-soft); line-height: 1.8; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--border); }
.prose__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Thanks ---------- */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks__badge {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
}
.thanks h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.03em; line-height: 1.02; }
.thanks p { color: var(--muted); margin-top: 20px; font-size: 1.1rem; line-height: 1.7; }
.thanks .btn { margin-top: 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--fg); color: var(--bg); padding: clamp(64px, 9vw, 108px) 0 40px; }
.footer__grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; } }
.footer__brand .brand { color: #fff; margin-bottom: 20px; }
.footer__tag { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.7; max-width: 34ch; }
.footer__col h5 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 18px;
}
.footer__col a, .footer__col p {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 700px) { .footer__bottom { flex-direction: row; align-items: center; } }
.footer__bottom a { color: rgba(255,255,255,0.6); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end;
  padding: 24px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.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: 16px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  border: 1px solid var(--border-soft);
}
.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.3rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.cookie-popup__card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 22px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (min-width: 560px) { .cookie-popup { align-items: flex-end; } .cookie-popup__card { margin: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.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; } }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border-soft); border: 0; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
