/* palette: bg=#1A1B18 fg=#F1EFE8 accent=#8FC79A */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #1A1B18;        /* dominant dark charcoal, warm-green undertone */
  --bg-alt: #212320;    /* alternating section background */
  --bg-deep: #121310;   /* deepest — cards, inverted device panels */
  --fg: #F1EFE8;         /* off-white ceramic */
  --fg-soft: #D6D4CB;    /* slightly softer foreground */
  --muted: #8E938A;      /* secondary sage-grey text */
  --accent: #8FC79A;     /* glazed celadon green */
  --accent-deep: #6FA87D;/* darker green for hover */
  --accent-dim: rgba(143, 199, 154, 0.14);
  --border: rgba(241, 239, 232, 0.12);
  --border-soft: rgba(241, 239, 232, 0.07);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', 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);
  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; letter-spacing: -0.02em; }
p { margin: 0; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--muted); box-shadow: none; }

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
  background: rgba(241, 239, 232, 0.03);
}
.pill-label span { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #10130F; }
.btn--primary:hover { background: var(--fg); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { background: var(--accent); transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.arrow-link::after { content: "→"; transition: transform .3s var(--ease); }
.arrow-link:hover { color: var(--accent); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 27, 24, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 8px 40px -18px rgba(0, 0, 0, 0.7);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand__mark {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.brand__mark svg { width: 16px; height: 16px; }
.nav {
  display: none;
  gap: 34px;
}
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s 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: 1px;
  background: var(--accent);
}
.header__cta { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--fg);
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) 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.5px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a span { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-right: 14px; }
.mobile-menu .btn { margin-top: 32px; width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
  opacity: 0.42;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(143,199,154,0.10), transparent 55%),
    linear-gradient(180deg, rgba(18,19,16,0.72) 0%, rgba(18,19,16,0.55) 40%, rgba(26,27,24,0.96) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(3.25rem, 11vw, 8.5rem);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__sub {
  margin-top: 28px;
  max-width: 52ch;
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--fg-soft);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__meta {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
}
.hero__meta div { min-width: 120px; }
.hero__meta strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.hero__meta span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Section shell ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }
.section__head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section__head h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.section__head p {
  max-width: 56ch;
  color: var(--fg-soft);
  font-size: 1.08rem;
}
@media (min-width: 900px) {
  .section__head--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 48px;
  }
  .section__head--split p { justify-self: end; }
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-deep);
  min-height: 240px;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, var(--accent-dim), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(143,199,154,0.4);
  box-shadow: 0 22px 60px -26px rgba(0,0,0,0.8);
}
.card:hover::before { opacity: 1; }
.card__idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.card__icon {
  margin: 4px 0 20px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 1.28rem;
  font-weight: 500;
  margin-bottom: 10px;
  position: relative;
}
.card p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; position: relative; }
.card .arrow-link { margin-top: auto; padding-top: 22px; }

/* ---------- Manifesto ---------- */
.manifesto {
  text-align: center;
  padding: clamp(96px, 15vw, 200px) 0;
  background: var(--fg);
  color: var(--bg);
}
.manifesto .container { max-width: 960px; }
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.manifesto__quote em { font-style: normal; color: var(--accent-deep); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.5;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 24px;
}
.manifesto__by {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26,27,24,0.55);
}

/* ---------- Editorial / feature split ---------- */
.feature {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature--reverse .feature__media { order: 2; }
}
.feature__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
}
.feature h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; margin-bottom: 22px; }
.feature p { color: var(--fg-soft); margin-bottom: 18px; }
.feature__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.feature__list li {
  display: flex; gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg-soft);
  font-size: 0.98rem;
}
.feature__list li::before { content: "—"; color: var(--accent); }

/* ---------- Editorial cards (case / articles) ---------- */
.editorial {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .editorial { grid-template-columns: repeat(2, 1fr); } }
.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-deep);
  transition: transform .5s var(--ease), border-color .4s var(--ease);
}
.article-card:hover { transform: translateY(-6px); border-color: rgba(143,199,154,0.35); }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card__cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-card h3 { font-size: 1.4rem; font-weight: 500; line-height: 1.2; }
.article-card p { color: var(--muted); font-size: 0.98rem; }
.article-card .arrow-link { margin-top: auto; }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--border);
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 40px 30px; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.stat span { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: var(--fg);
}
.faq__q .sign { color: var(--accent); font-family: var(--mono); font-size: 1.4rem; transition: transform .4s var(--ease); flex: none; }
.faq__item[data-open="true"] .sign { transform: rotate(45deg); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s var(--ease);
}
.faq__a p { padding: 0 0 30px; color: var(--fg-soft); max-width: 68ch; }
.faq__item[data-open="true"] .faq__a { max-height: 340px; }

/* ---------- CTA band ---------- */
.cta {
  text-align: center;
  padding: clamp(90px, 13vw, 180px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, var(--accent-dim), transparent 70%);
}
.cta .container { position: relative; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; font-weight: 500; letter-spacing: -0.03em; max-width: 20ch; margin: 0 auto 26px; }
.cta p { max-width: 52ch; margin: 0 auto 40px; color: var(--fg-soft); font-size: 1.1rem; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.contact-info { display: grid; gap: 30px; align-content: start; }
.contact-info__row { display: grid; gap: 6px; padding-bottom: 24px; border-bottom: 1px solid var(--border-soft); }
.contact-info__row span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-info__row a, .contact-info__row p { font-size: 1.12rem; color: var(--fg); }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(142,147,138,0.7); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field textarea { min-height: 140px; resize: vertical; }
.form__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.form__consent { font-size: 0.82rem; color: var(--muted); max-width: 42ch; }
.form__consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: clamp(64px, 9vw, 110px) 0 40px; background: var(--bg-deep); }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand { display: grid; gap: 20px; align-content: start; max-width: 34ch; }
.footer__brand p { color: var(--muted); font-size: 0.98rem; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--fg-soft); font-size: 0.98rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer__bottom .mono { font-family: var(--mono); letter-spacing: 0.04em; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(120px, 18vw, 200px) 0 clamp(60px, 9vw, 100px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); line-height: 0.98; font-weight: 600; letter-spacing: -0.035em; max-width: 16ch; margin: 24px 0; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { max-width: 56ch; color: var(--fg-soft); font-size: 1.15rem; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 16px; font-weight: 500; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 12px; font-weight: 500; }
.prose p { color: var(--fg-soft); margin-bottom: 18px; }
.prose ul { color: var(--fg-soft); padding-left: 20px; margin-bottom: 18px; display: grid; gap: 10px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 40px; }

/* ---------- Thanks ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 120px 0; }
.thanks__icon { width: 72px; height: 72px; margin: 0 auto 30px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; margin-bottom: 20px; }
.thanks p { max-width: 48ch; margin: 0 auto 34px; color: var(--fg-soft); }

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

/* ---------- 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.5);
  -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-alt);
  border: 1px solid var(--border);
  padding: 30px 34px;
  max-width: 480px;
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9);
}
.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.4rem; font-weight: 500; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--fg-soft); font-size: 0.92rem; line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.cookie-popup__actions button:hover { transform: translateY(-2px); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #10130F; border-color: var(--accent); }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg-soft); }

@media (min-width: 560px) { .cookie-popup { align-items: flex-end; justify-content: flex-start; } }
