/* palette: bg=#FBFBFD fg=#16181D accent=#0071E3 */
/* fonts: display="Sora" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #FBFBFD;        /* dominant near-white background */
  --bg-alt: #EFF3F9;    /* cool alternating section background */
  --bg-deep: #0C1220;   /* dark inverted band */
  --fg: #16181D;        /* primary text */
  --fg-soft: #33363E;   /* slightly lighter foreground */
  --muted: #676B76;     /* secondary text */
  --accent: #0071E3;    /* apple-style blue accent */
  --accent-deep: #0056B3; /* darker accent for hover */
  --accent-soft: #E4EEFB; /* accent tint */
  --border: rgba(20, 24, 34, 0.11);
  --border-strong: rgba(20, 24, 34, 0.2);

  --serif: 'Sora', 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);

  --shadow-sm: 0 4px 24px -4px rgba(12, 18, 32, 0.08);
  --shadow-lg: 0 18px 50px -12px rgba(12, 18, 32, 0.16);
  --maxw: 1240px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  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: 400; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

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

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

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

.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.7; color: var(--fg-soft); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(20, 24, 34, 0.06), 0 10px 30px -20px rgba(12, 18, 32, 0.4);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), #4aa4ff);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 16px -6px rgba(0, 113, 227, 0.6);
}
.nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  font-size: 14px; color: var(--fg-soft); font-weight: 500;
  position: relative; transition: color 0.25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--fg); }

.header__cta { display: none; }
@media (min-width: 940px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 11px; border: 1px solid var(--border);
}
@media (min-width: 940px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 18px; height: 1.6px; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.3s 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: rgba(251, 251, 253, 0.98);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  padding: 28px 24px 48px;
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 400;
  letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.mobile-menu .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 9999px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -10px rgba(0, 113, 227, 0.7); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(0, 86, 179, 0.7); }
.btn--ghost { background: rgba(20, 24, 34, 0.04); color: var(--fg); }
.btn--ghost:hover { background: rgba(20, 24, 34, 0.08); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--bg-deep); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-light { border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--accent);
  transition: gap 0.3s var(--ease), color 0.25s var(--ease);
}
.arrow-link .arw { transition: transform 0.3s var(--ease); }
.arrow-link:hover { color: var(--accent-deep); }
.arrow-link:hover .arw { transform: translateX(5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(0, 113, 227, 0.1), transparent 60%),
    radial-gradient(100% 80% at 10% 100%, rgba(74, 164, 255, 0.09), transparent 55%),
    linear-gradient(180deg, #FDFDFF 0%, #F1F5FB 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20, 24, 34, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(20, 24, 34, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(90% 70% at 50% 30%, #000, transparent 85%);
  mask-image: radial-gradient(90% 70% at 50% 30%, #000, transparent 85%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; text-align: center; }
.hero h1 {
  font-size: clamp(3.1rem, 9vw, 6.6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0 auto 28px;
}
.hero h1 em { font-style: normal; color: var(--accent); font-weight: 500; }
.hero__sub { margin: 0 auto 38px; max-width: 58ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--fg-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__visual {
  position: relative; z-index: 2;
  margin: clamp(52px, 8vw, 88px) auto 0;
  max-width: 1000px; width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 8;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__visual img { animation: none; } }

/* ---------- Stat band ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 40px 26px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 300; letter-spacing: -0.03em; color: var(--fg); line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 76px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.028em;
}
.section-head p { margin-top: 22px; font-size: 1.1rem; color: var(--fg-soft); }

/* ---------- Manifesto / essay ---------- */
.essay { background: var(--bg); }
.essay__wrap { max-width: 820px; margin: 0 auto; }
.essay__statement {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.essay__statement em { font-style: normal; color: var(--accent); }
.essay__body { columns: 1; }
.essay__body p { font-size: 1.08rem; line-height: 1.8; color: var(--fg-soft); margin-bottom: 24px; }
.essay__body p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 400; float: left;
  font-size: 3.6rem; line-height: 0.82; padding: 6px 14px 0 0; color: var(--accent);
}
@media (min-width: 900px) { .essay__body { columns: 2; column-gap: 56px; } }

/* ---------- Services grid ---------- */
.services { background: var(--bg-alt); }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 32px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card__icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 24px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 18px; }
.card h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; flex: 1; }
.card__foot { margin-top: 22px; }

/* ---------- Approach steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border); }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: 34px 0; border-bottom: 1px solid var(--border);
  align-items: start;
  transition: padding-left 0.35s var(--ease);
}
@media (min-width: 768px) {
  .step { grid-template-columns: 120px 1fr auto; gap: 40px; align-items: center; }
  .step:hover { padding-left: 14px; }
}
.step__num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); padding-top: 5px; }
.step__body h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 8px; }
.step__body p { color: var(--muted); font-size: 15.5px; max-width: 52ch; }
.step__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- Projects ---------- */
.projects { background: var(--bg); }
.project-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 760px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
.project {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--bg); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project__media { aspect-ratio: 16 / 10; overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project:hover .project__media img { transform: scale(1.05); }
.project__body { padding: 28px 30px 32px; }
.project__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.project__body h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; margin: 12px 0 10px; }
.project__body p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Dark band ---------- */
.band {
  background: var(--bg-deep); color: #fff;
  position: relative; overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 80% -10%, rgba(0, 113, 227, 0.32), transparent 55%),
              radial-gradient(60% 90% at 5% 110%, rgba(74, 164, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.band__inner { position: relative; z-index: 2; max-width: 960px; margin: 0 auto; text-align: center; }
.band__quote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.18; letter-spacing: -0.025em;
}
.band__quote em { font-style: normal; color: #6cb0ff; }
.band__mark { font-family: var(--serif); font-size: 5rem; line-height: 0.4; color: var(--accent); display: block; margin-bottom: 8px; }
.band__cite { margin-top: 34px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ---------- Principles ---------- */
.principles { background: var(--bg-alt); }
.principle-list { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 768px) { .principle-list { grid-template-columns: repeat(2, 1fr); } }
.principle { background: var(--bg); padding: 40px 36px; }
.principle__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.principle h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; margin: 16px 0 12px; }
.principle p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq__list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 400; letter-spacing: -0.015em;
  transition: color 0.25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__item .plus { flex: none; width: 24px; height: 24px; position: relative; }
.faq__item .plus::before, .faq__item .plus::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.3s var(--ease); }
.faq__item .plus::before { top: 11px; left: 3px; width: 18px; height: 2px; }
.faq__item .plus::after { top: 3px; left: 11px; width: 2px; height: 18px; }
.faq__item[open] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq__answer { padding: 0 0 30px; color: var(--fg-soft); font-size: 16px; line-height: 1.75; max-width: 66ch; }

/* ---------- CTA ---------- */
.cta { background: var(--bg); }
.cta__card {
  background: linear-gradient(150deg, #0C1220 0%, #16233f 60%, #103a6b 100%);
  color: #fff; border-radius: 28px; padding: clamp(48px, 8vw, 92px) clamp(28px, 6vw, 80px);
  text-align: center; position: relative; overflow: hidden;
}
.cta__card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 85% 0%, rgba(0, 113, 227, 0.4), transparent 55%);
}
.cta__card > * { position: relative; z-index: 2; }
.cta__card h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; max-width: 20ch; margin: 0 auto 22px; }
.cta__card p { color: rgba(255,255,255,0.72); max-width: 52ch; margin: 0 auto 34px; font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact / form ---------- */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.contact__info h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 300; letter-spacing: -0.028em; line-height: 1.06; margin-bottom: 24px; }
.contact__block { margin-top: 30px; }
.contact__block .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.contact__block .v { font-size: 1.05rem; color: var(--fg-soft); }
.contact__block a.v:hover { color: var(--accent); }

.form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--fg-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg);
  color: var(--fg); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--muted); margin-top: 16px; line-height: 1.6; }
.form__note a { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: rgba(255,255,255,0.72); padding: clamp(64px, 8vw, 96px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 44px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer .brand { color: #fff; }
.footer__intro p { margin-top: 20px; max-width: 40ch; font-size: 15px; color: rgba(255,255,255,0.6); }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); font-weight: 500; margin-bottom: 18px; }
.footer__col a { display: block; padding: 7px 0; font-size: 15px; color: rgba(255,255,255,0.72); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-direction: column; gap: 14px; padding-top: 32px; font-size: 13px; color: rgba(255,255,255,0.5); }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__bottom a:hover { color: #fff; }

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; padding: 24px; background: rgba(5, 8, 15, 0.4); backdrop-filter: blur(4px); -webkit-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: 32px 36px; max-width: 480px; border-radius: 18px; box-shadow: var(--shadow-lg); transform: translateY(16px); transition: transform 0.35s 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.3rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border); border-radius: 9999px; cursor: pointer; font-size: 14px; font-weight: 600; flex: 1; transition: background 0.25s var(--ease), transform 0.25s var(--ease); }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:first-child { background: transparent; color: var(--fg-soft); }
.cookie-popup__actions button:first-child:hover { background: rgba(20,24,34,0.05); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ---------- 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; } }

/* ---------- Legal / prose ---------- */
.page-hero { padding: clamp(120px, 16vw, 180px) 0 clamp(40px, 6vw, 70px); background: linear-gradient(180deg, #FDFDFF, #F1F5FB); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 300; letter-spacing: -0.032em; line-height: 1.03; max-width: 18ch; }
.page-hero p { margin-top: 22px; max-width: 60ch; color: var(--fg-soft); font-size: 1.12rem; }
.page-hero .eyebrow { margin-bottom: 22px; }

.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 400; letter-spacing: -0.02em; margin: 52px 0 18px; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 12px; }
.prose p { color: var(--fg-soft); margin-bottom: 18px; line-height: 1.8; font-size: 16.5px; }
.prose ul { margin: 0 0 20px; padding-left: 22px; color: var(--fg-soft); }
.prose li { margin-bottom: 10px; line-height: 1.7; }
.prose strong { color: var(--fg); }
.prose a { color: var(--accent); }

/* thanks page */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; background: linear-gradient(180deg, #FDFDFF, #F1F5FB); }
.thanks__badge { width: 84px; height: 84px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 30px; }
.thanks__badge svg { width: 38px; height: 38px; }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 20px; }
.thanks p { max-width: 52ch; margin: 0 auto 32px; color: var(--fg-soft); font-size: 1.1rem; }
