/* palette: bg=#ffffff fg=#0a0a0a accent=#0000ee */
/* fonts: display="Times New Roman" body="Times New Roman" mono="Courier Prime" */

/* ============================================================
   LQAVENDRO — Agência de Tecnologia Espacial
   Family: early-web brutalism (Times/Courier, blue links, hard
   borders, offset shadows, no polish — intentionally raw)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #eceae4;
  --paper: #f4f3ef;
  --fg: #0a0a0a;
  --fg-soft: #1f1f1f;
  --muted: #595959;
  --accent: #0000ee;
  --accent-deep: #0000a8;
  --accent-light: #7b93ff;
  --visited: #551a8b;
  --ink: #0a0a0a;
  --paper-on-dark: #f3f1ea;
  --border: #0a0a0a;
  --border-soft: rgba(10, 10, 10, 0.14);

  --serif: 'Times New Roman', Tinos, Times, 'Liberation Serif', serif;
  --sans: 'Times New Roman', Tinos, Times, serif;
  --mono: 'Courier Prime', 'Courier New', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  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; }

::selection { background: var(--accent); color: #fff; }

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

.section {
  padding: clamp(72px, 12vw, 160px) 0;
  border-top: 2px solid var(--border);
}
.section--alt { background: var(--bg-alt); }
.section--paper { background: var(--paper); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: var(--fg);
}

h2.section-title {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  letter-spacing: -0.025em;
  max-width: 17ch;
}
.section-intro {
  max-width: 56ch;
  color: var(--fg-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  margin: 0;
}

em { font-style: italic; color: var(--accent); }

.prose a,
a.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:visited { color: var(--visited); }
.prose a:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* ---------- Buttons & link-arrows ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 15px 28px;
  border: 2px solid var(--fg);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  line-height: 1;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s, color 0.2s;
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--accent);
}
.btn--primary:hover { box-shadow: 6px 6px 0 var(--fg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease), border-color 0.2s;
}
.link-arrow:hover { gap: 14px; border-color: var(--accent); }

/* ============================================================
   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: 2px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 0 rgba(10, 10, 10, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 12px;
  height: 12px;
  background: var(--accent);
  display: inline-block;
}
.nav {
  display: none;
  gap: 30px;
  align-items: center;
}
.nav a {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg-soft);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--fg);
  border-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;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--fg);
  padding: 0 9px;
}
.menu-toggle span {
  height: 2px;
  width: 100%;
  background: var(--fg);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.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 */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 95;
  background: var(--bg);
  border-top: 2px solid var(--border);
  padding: 32px 20px 60px;
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
  letter-spacing: -0.02em;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 2px solid var(--border);
}
.hero__text {
  padding: 48px 20px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 46vh;
  border-top: 2px solid var(--border);
  background: #05060a;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  animation: heroZoom 9s var(--ease) both;
  opacity: 0.92;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__media figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero h1 {
  font-size: clamp(3.1rem, 9vw, 7.6rem);
  letter-spacing: -0.03em;
  font-weight: 400;
  line-height: 0.98;
  margin: 0 0 28px;
}
.hero__sub {
  max-width: 48ch;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.7;
  color: var(--fg-soft);
  margin: 0 0 36px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero__meta {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 2px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.hero__meta b { color: var(--fg); font-weight: 700; }

@media (min-width: 1000px) {
  .hero { grid-template-columns: 1.08fr 0.92fr; }
  .hero__text { padding: 80px 56px; }
  .hero__media { border-top: 0; border-left: 2px solid var(--border); min-height: auto; }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--border);
}
.stat {
  padding: 36px 22px;
  border-bottom: 2px solid var(--border);
  border-right: 2px solid var(--border);
}
.stat:nth-child(2n) { border-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__num span { color: var(--accent); }
.stat__label {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: 48px 32px; }
  .stat:nth-child(2n) { border-right: 2px solid var(--border); }
  .stat:last-child { border-right: 0; }
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.sec-head {
  max-width: var(--maxw);
  margin: 0 auto 56px;
  padding: 0 20px;
}
@media (min-width: 768px) { .sec-head { padding: 0 32px; margin-bottom: 72px; } }
.sec-head--split {
  display: grid;
  gap: 24px;
  align-items: end;
}
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.4fr 1fr; gap: 56px; }
}

/* ============================================================
   CARDS GRID (catalog clone)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 2px solid var(--border);
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  padding: 28px 26px 32px;
  border-right: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { background: var(--paper); transform: translateY(-2px); }
.card__index {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.card p {
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px;
}
.card .link-arrow { margin-top: auto; }
/* remove trailing borders to keep the outer frame crisp */
@media (min-width: 1000px) {
  .card:nth-child(3n) { border-right: 0; }
  .card:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (min-width: 640px) and (max-width: 999px) {
  .card:nth-child(2n) { border-right: 0; }
  .card:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 639px) {
  .card { border-right: 0; }
  .card:last-child { border-bottom: 0; }
}

/* ============================================================
   MANIFESTO (dark inverted band)
   ============================================================ */
.manifesto {
  background: var(--ink);
  color: var(--paper-on-dark);
  padding: clamp(96px, 16vw, 200px) 0;
  border-top: 2px solid var(--border);
}
.manifesto .container { text-align: center; }
.manifesto .eyebrow { color: var(--accent-light); }
.manifesto .eyebrow::before { background: var(--accent-light); }
.manifesto blockquote {
  margin: 0 auto;
  max-width: 920px;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.manifesto blockquote em { color: var(--accent-light); }
.manifesto .manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.6;
  color: var(--accent-light);
  display: block;
  margin-bottom: 8px;
}
.manifesto cite {
  display: block;
  margin-top: 40px;
  font-family: var(--mono);
  font-style: normal;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(243, 241, 234, 0.6);
}

/* ============================================================
   PROCESS (numbered)
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--border);
  border-left: 2px solid var(--border);
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  padding: 34px 26px 40px;
  border-right: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}
.step__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.45rem; margin: 0 0 12px; letter-spacing: -0.02em; }
.step p { color: var(--fg-soft); font-size: 0.98rem; line-height: 1.6; margin: 0; }

/* ============================================================
   FEATURE (split with image)
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  border: 2px solid var(--border);
}
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } }
.feature__media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: #05060a;
  border-bottom: 2px solid var(--border);
}
@media (min-width: 900px) {
  .feature__media { border-bottom: 0; border-right: 2px solid var(--border); }
}
.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
}
.feature__body { padding: 40px 30px; }
@media (min-width: 900px) { .feature__body { padding: 60px 54px; } }
.feature__body h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}
.feature__body p { color: var(--fg-soft); margin: 0 0 20px; }
.feature__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 30px 0;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}
.feature__metrics div span {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.feature__metrics div span em { color: var(--accent); }
.feature__metrics div small {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ============================================================
   QUOTES / TESTIMONIALS
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 2px solid var(--border);
}
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  padding: 34px 28px;
  border-bottom: 2px solid var(--border);
}
@media (min-width: 900px) {
  .quote { border-bottom: 0; border-right: 2px solid var(--border); }
  .quote:last-child { border-right: 0; }
}
@media (max-width: 899px) { .quote:last-child { border-bottom: 0; } }
.quote p {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.quote footer {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.6;
}
.quote footer b { color: var(--fg); display: block; }
.quote__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 880px; margin: 0 auto; border-top: 2px solid var(--border); }
.faq__item { border-bottom: 2px solid var(--border); }
.faq__q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  letter-spacing: -0.015em;
  color: var(--fg);
}
.faq__q .sign {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq__item[data-open="true"] .sign { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__a p {
  color: var(--fg-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  padding: 0 4px 30px;
  max-width: 68ch;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--ink);
  color: var(--paper-on-dark);
  border-top: 2px solid var(--border);
}
.cta .container { padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 12vw, 150px); }
.cta .eyebrow { color: var(--accent-light); }
.cta .eyebrow::before { background: var(--accent-light); }
.cta h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: var(--paper-on-dark);
  margin: 0 0 32px;
}
.cta h2 em { color: var(--accent-light); }
.cta p { max-width: 54ch; color: rgba(243, 241, 234, 0.76); margin: 0 0 40px; }
.cta .btn { border-color: var(--paper-on-dark); color: var(--ink); background: var(--paper-on-dark); }
.cta .btn--ghost { background: transparent; color: var(--paper-on-dark); }
.cta .btn:hover { box-shadow: 6px 6px 0 var(--accent-light); }

/* ============================================================
   FORM
   ============================================================ */
.form {
  display: grid;
  gap: 22px;
  max-width: 640px;
}
.form .field { display: flex; flex-direction: column; gap: 8px; }
.form label {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.form input,
.form select,
.form textarea {
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 14px 16px;
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  border-radius: 0;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  box-shadow: 4px 4px 0 var(--accent);
}
.form .btn { justify-self: start; }
.form__note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.6;
}

/* two-column info rows (contact) */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 2px solid var(--border);
}
@media (min-width: 760px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.info-cell {
  padding: 30px 26px;
  border-bottom: 2px solid var(--border);
  border-right: 2px solid var(--border);
}
.info-cell:nth-child(2n) { border-right: 0; }
.info-cell h3 {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 14px;
}
.info-cell p { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--fg-soft); }
@media (max-width: 759px) {
  .info-cell { border-right: 0; }
  .info-cell:last-child { border-bottom: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper-on-dark);
  border-top: 2px solid var(--border);
  padding: 72px 0 36px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(243, 241, 234, 0.2);
}
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer__brand .brand { color: var(--paper-on-dark); margin-bottom: 20px; }
.footer__brand p { max-width: 38ch; color: rgba(243, 241, 234, 0.72); font-size: 1rem; }
.footer__col h4 {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-light);
  margin: 0 0 20px;
}
.footer__col a, .footer__col p {
  display: block;
  color: rgba(243, 241, 234, 0.82);
  font-size: 0.98rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(243, 241, 234, 0.55);
  text-transform: uppercase;
}
.footer__bottom a { color: rgba(243, 241, 234, 0.7); }
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   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; transition: none; }
  .hero__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   LEGAL / ARTICLE PAGES
   ============================================================ */
.page-head {
  padding: clamp(96px, 14vw, 160px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 2px solid var(--border);
}
.page-head h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  letter-spacing: -0.03em;
}
.page-head p { max-width: 58ch; color: var(--fg-soft); margin: 18px 0 0; }
.legal { padding: clamp(56px, 9vw, 110px) 0 clamp(80px, 12vw, 140px); }
.legal__wrap { max-width: 760px; margin: 0 auto; }
.legal__wrap h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}
.legal__wrap h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal__wrap h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.legal__wrap p, .legal__wrap li { color: var(--fg-soft); font-size: 1.05rem; line-height: 1.75; }
.legal__wrap ul { padding-left: 22px; }
.legal__wrap li { margin-bottom: 8px; }
.legal__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks {
  min-height: 78vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.thanks .container { max-width: 760px; }
.thanks .big-mark {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.03em; }
.thanks p { color: var(--fg-soft); max-width: 50ch; margin: 20px auto 36px; }
.thanks .btn { margin: 0 8px 12px; }

/* ============================================================
   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);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 34px;
  max-width: 480px;
  border: 2px solid var(--border);
  box-shadow: 8px 8px 0 var(--accent);
  margin: 0 auto;
}
.cookie-popup__label {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.cookie-popup__card h3 { font-size: 1.5rem; margin: 0 0 12px; letter-spacing: -0.02em; }
.cookie-popup__card p { font-size: 0.96rem; line-height: 1.6; color: var(--fg-soft); margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 2px solid var(--border);
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--bg);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.cookie-popup__actions button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); }

/* skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--fg);
  color: var(--bg);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 12px;
}
.skip-link:focus { left: 8px; }
