/* palette: bg=#FFFFFF fg=#0E1118 accent=#4B40E0 */
/* fonts: display="Space Grotesk" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F6F9;      /* light grey alternating section */
  --bg-lav: #EEEEFB;      /* lavender tint for mockup wrappers */
  --fg: #0E1118;          /* deep ink navy near-black */
  --fg-soft: #272B38;
  --muted: #5C6474;       /* secondary text */
  --muted-2: #8A91A1;
  --accent: #4B40E0;      /* indigo-violet */
  --accent-deep: #372EC0; /* hover */
  --accent-soft: #ECEBFC;
  --green: #0E7C57;
  --green-soft: #E4F3EC;
  --border: rgba(14, 17, 24, 0.10);
  --border-strong: rgba(14, 17, 24, 0.16);
  --card-shadow: 0 4px 24px -4px rgba(14, 17, 24, 0.08);
  --card-shadow-hover: 0 14px 42px -10px rgba(14, 17, 24, 0.16);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  --radius-sm: 10px;
}

*, *::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;
  text-rendering: optimizeLegibility;
  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; }
::selection { background: var(--accent); color: #fff; }

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

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

.eyebrow {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: block;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; margin: 0; }

.h2 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 34ch;
}

/* ───────────── buttons ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  transition: transform .4s var(--ease), background .25s var(--ease), box-shadow .3s var(--ease), color .25s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px -8px rgba(75, 64, 224, 0.6); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--fg); border: 1px solid var(--border-strong); }
.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: var(--card-shadow-hover); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
}
.textlink .arr { transition: transform .4s var(--ease); }
.textlink:hover .arr { transform: translateX(4px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  letter-spacing: -0.01em;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ───────────── header ───────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(14,17,24,0.02), 0 10px 30px -22px rgba(14,17,24,0.4);
}
.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: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 17px;
  position: relative;
}
.brand__mark::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: #6CE9B0; }

.nav { display: none; align-items: center; gap: 34px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--fg-soft); transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header__cta { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
}

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.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); }
@media (min-width: 900px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: var(--bg);
  padding: 32px 24px 40px;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid var(--border); letter-spacing: -0.02em; }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ───────────── hero ───────────── */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(64px, 9vw, 110px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.02fr 0.98fr; gap: 56px; } }

.hero h1 {
  font-size: clamp(3rem, 8.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 26px 0 0;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 28px 0 0;
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.hero__fine { margin: 20px 0 0; font-size: 14px; color: var(--muted-2); }

/* ───────────── mockups (CSS/HTML, no photos, no faces) ───────────── */
.mockup-wrap {
  background: linear-gradient(170deg, var(--bg-lav), #F6F5FD 60%, #fff);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--card-shadow);
}
.mock-browser {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(14,17,24,0.5);
}
.mock-browser__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: #FBFBFD;
}
.mock-browser__bar .dots { display: flex; gap: 6px; }
.mock-browser__bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #D7DAE2; display: block; }
.mock-browser__url { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 6px; }
.mock-browser__body { padding: 20px; background: #F4F2EC; }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: #6a6657; }
.mock-head strong { font-family: var(--serif); font-weight: 700; letter-spacing: 0.04em; color: #3a372f; }
.mock-panel { display: grid; grid-template-columns: 1fr 0.82fr; gap: 14px; margin-top: 16px; }
.mock-note {
  position: relative;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  padding: 16px 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.12;
  color: #2b2822;
}
.mock-note__badge {
  position: absolute; top: -14px; left: -12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; font-family: var(--serif);
}
.mock-chart {
  border-radius: 8px;
  background: #D8CFBE;
  min-height: 118px;
  display: flex; align-items: flex-end; gap: 7px; padding: 14px;
}
.mock-chart i { flex: 1; background: #9a8f78; border-radius: 3px 3px 0 0; display: block; }
.mock-chart i:nth-child(1){ height: 40%; } .mock-chart i:nth-child(2){ height: 68%; }
.mock-chart i:nth-child(3){ height: 52%; } .mock-chart i:nth-child(4){ height: 84%; background: var(--accent); }
.mock-chart i:nth-child(5){ height: 60%; }

.mock-comment {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px 16px;
  margin-top: 14px;
  box-shadow: 0 10px 30px -20px rgba(14,17,24,0.5);
}
.mock-comment__top { display: flex; align-items: center; gap: 12px; }
.avatar-mini {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 13px; color: var(--accent);
  background: var(--accent-soft);
  flex-shrink: 0;
}
.mock-comment__name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.mock-comment__meta { font-size: 12.5px; color: var(--muted-2); }
.mock-comment__body { font-size: 15px; color: var(--fg-soft); margin: 13px 0 0; line-height: 1.5; }
.mock-comment__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.mock-comment__foot a { color: var(--accent); font-weight: 600; }
.mock-cap { text-align: center; font-size: 12.5px; color: var(--muted-2); margin: 14px 0 2px; }

/* thread mockup */
.mock-thread {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
}
.mock-thread__head { display: flex; gap: 12px; align-items: center; }
.mock-thread__title { font-size: 15px; color: var(--fg); margin: 18px 0 0; }
.mock-reply { border-left: 2px solid var(--border-strong); padding: 2px 0 2px 16px; margin: 18px 0 0; }
.mock-reply strong { display: block; font-size: 14px; }
.mock-reply span { font-size: 14px; color: var(--muted); }
.mock-resolved { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 6px 13px; border-radius: 999px; }
.mock-resolved .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mock-thread__cap { text-align: right; font-size: 13px; color: var(--muted-2); margin-top: 16px; }

/* ───────────── feature split ───────────── */
.feature__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 980px) {
  .feature__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature--reverse .feature__media { order: -1; }
}
.feature__sub { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); margin: 22px 0 0; line-height: 1.6; max-width: 42ch; }

.checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--fg-soft); }
.checks svg { flex-shrink: 0; margin-top: 3px; color: var(--green); }

/* ───────────── dark manifesto band ───────────── */
.band {
  position: relative;
  background: var(--fg);
  color: #fff;
  overflow: hidden;
}
.band__bg { position: absolute; inset: 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,17,24,0.92), rgba(14,17,24,0.6)); }
.band .container { position: relative; z-index: 1; }
.manifesto {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  max-width: 17ch;
  margin: 0;
}
.manifesto em { font-style: normal; color: #9C92FF; }
.manifesto__by { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: rgba(255,255,255,0.62); margin: 34px 0 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.16); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 8px 4px; }
.stat b { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.03em; }
.stat span { font-size: 13.5px; color: rgba(255,255,255,0.6); }

/* ───────────── cards grid ───────────── */
.section-head { max-width: 640px; }
.cards { display: grid; gap: 22px; margin-top: 52px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: var(--card-shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); border-color: var(--border-strong); }
.card__num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.card h3 { font-size: 1.45rem; letter-spacing: -0.025em; margin: 16px 0 0; line-height: 1.12; }
.card p { font-size: 15.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.62; }
.card .textlink { margin-top: 22px; }

/* ───────────── FAQ ───────────── */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex-shrink: 0; width: 24px; height: 24px; position: relative; transition: transform .3s var(--ease); }
.faq summary .ico::before, .faq summary .ico::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq summary .ico::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq summary .ico::after { left: 11px; top: 3px; bottom: 3px; width: 2px; transition: opacity .3s; }
.faq details[open] summary .ico::after { opacity: 0; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.68; max-width: 66ch; }

/* ───────────── CTA ───────────── */
.cta { text-align: center; }
.cta h1, .cta h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.03; letter-spacing: -0.035em; max-width: 16ch; margin: 0 auto; }
.cta p { color: var(--muted); font-size: 1.15rem; margin: 22px auto 0; max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* ───────────── contact / forms ───────────── */
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 940px) { .contact__grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--serif); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16px;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff; color: var(--fg);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.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 textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13.5px; color: var(--muted-2); margin: 6px 0 0; }
.info-block { margin-bottom: 30px; }
.info-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin: 0 0 8px; font-family: var(--mono); font-weight: 500; }
.info-block p { margin: 0; font-size: 17px; color: var(--fg-soft); line-height: 1.6; }
.info-block a { color: var(--accent); }

/* ───────────── team / principles ───────────── */
.team { display: grid; gap: 22px; margin-top: 52px; }
@media (min-width: 680px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
.person { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: #fff; }
.avatar {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px; color: #fff;
  letter-spacing: 0.02em;
}
.person h4 { font-size: 1.2rem; margin: 18px 0 2px; letter-spacing: -0.02em; }
.person .role { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
.person p { font-size: 15px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }

/* essay / prose */
.prose { max-width: 720px; }
.prose p { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.78; color: var(--fg-soft); margin: 0 0 28px; }
.prose p:first-child::first-letter {
  font-family: var(--serif); font-weight: 700; float: left;
  font-size: 4.4rem; line-height: 0.82; padding: 6px 14px 0 0; color: var(--accent);
}
.pullquote {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.2; letter-spacing: -0.025em;
  max-width: 20ch; margin: 0;
}
.pullquote .mark { color: var(--accent); font-size: 1.4em; line-height: 0; }

/* page hero (interior pages) */
.phero { padding: clamp(60px, 10vw, 120px) 0 clamp(30px, 5vw, 56px); }
.phero h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.0; letter-spacing: -0.04em; max-width: 16ch; margin: 24px 0 0; }
.phero h1 em { font-style: normal; color: var(--accent); }
.phero p { font-size: clamp(1.1rem, 1.8vw, 1.32rem); color: var(--muted); margin: 26px 0 0; max-width: 54ch; line-height: 1.6; }

/* service list rows */
.srow { display: grid; gap: 28px; padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--border); align-items: start; }
@media (min-width: 860px) { .srow { grid-template-columns: 0.42fr 0.58fr; gap: 64px; } }
.srow__k { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.srow h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; margin: 14px 0 0; line-height: 1.08; }
.srow p { color: var(--muted); font-size: 16.5px; line-height: 1.7; margin: 0 0 18px; }
.srow ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.srow ul li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--fg-soft); }
.srow ul li::before { content: "›"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* process */
.steps { counter-reset: step; display: grid; gap: 2px; margin-top: 48px; }
.step { display: grid; gap: 10px; padding: 30px 0; border-top: 1px solid var(--border); }
@media (min-width: 760px) { .step { grid-template-columns: 90px 1fr; gap: 40px; align-items: baseline; } }
.step__n { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.step h4 { font-size: 1.35rem; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 16px; margin: 10px 0 0; line-height: 1.65; }

/* ───────────── footer ───────────── */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: clamp(56px, 8vw, 90px) 0 36px; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand p { color: var(--muted); font-size: 15px; margin: 16px 0 0; max-width: 32ch; line-height: 1.6; }
.footer__col h5 { font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin: 0 0 16px; }
.footer__col a, .footer__col p { display: block; font-size: 15px; color: var(--fg-soft); margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--muted-2);
}
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--accent); }

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

/* ───────────── 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(14,17,24,0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 32px; max-width: 460px; border-radius: var(--radius); box-shadow: 0 30px 70px -20px rgba(14,17,24,0.5); border: 1px solid var(--border); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 0 0 10px; }
.cookie-popup__card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.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 22px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-family: var(--serif); font-weight: 600; font-size: 14px; transition: background .2s, color .2s, transform .3s; }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }

/* legal pages */
.legal { max-width: 760px; }
.legal__meta { font-family: var(--mono); font-size: 13px; color: var(--muted-2); margin: 10px 0 44px; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; margin: 48px 0 16px; }
.legal h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 30px 0 10px; }
.legal p { color: var(--fg-soft); font-size: 16.5px; line-height: 1.74; margin: 0 0 18px; }
.legal ul { margin: 0 0 18px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal ul li { position: relative; padding-left: 22px; color: var(--fg-soft); font-size: 16.5px; line-height: 1.6; }
.legal ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.legal a { color: var(--accent); text-decoration: underline; }

/* misc */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-s { margin-top: 36px; }
