/* =========================================================
   Excel Stock Sync — Editorial Stylesheet
   ========================================================= */

:root {
  --ink: #101010;
  --ink-2: #2a2a2a;
  --ink-3: #5a5a5a;
  --paper: #ffffff;
  --paper-2: #f6f4ef;
  --paper-3: #eeeae0;
  --rule: #1a1a1a;
  --rule-soft: #d8d4c8;
  --accent: #c2410c;
  --accent-ink: #7c2d12;
  --danger: #9b2c2c;
  --ok: #1f6f43;
  --max: 1240px;
  --header-h: 64px;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- TOP BAR ---------- */
.topbar {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(8px);
  background-color: rgba(255,255,255,0.92);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: rotate(45deg);
  margin-right: 2px;
  flex-shrink: 0;
  align-self: center;
}
.brand__muted {
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
}
.navlinks {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.navlinks a {
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.navlinks a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.navlinks a.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 500; }

/* ---------- BUTTONS / CTA ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}
.cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta--ghost { background: transparent; color: var(--ink); }
.cta--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cta--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta--light:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta--ghost-light { background: transparent; color: var(--paper-3); border-color: var(--paper-3); }
.cta--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta--large { padding: 16px 28px; font-size: 15px; }
.cta--block { width: 100%; justify-content: center; }
.cta__arrow { transition: transform 0.2s; }
.cta:hover .cta__arrow { transform: translateX(3px); }

/* ---------- HAMBURGER / MOBILE NAV ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--paper);
  padding: calc(var(--header-h) + 32px) 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 99;
  overflow-y: auto;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-nav a {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  letter-spacing: -0.01em;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .cta { margin-top: 24px; justify-content: center; }

@media (max-width: 820px) {
  .navlinks, .topbar__inner > .cta:first-of-type { display: none; }
  .hamburger { display: flex; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(to bottom, var(--paper) 0%, var(--paper) 70%, var(--paper-2) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: flex-start;
}
.hero--centered { text-align: center; }
.hero--centered .hero__grid { grid-template-columns: 1fr; gap: 0; justify-items: center; }
.hero--centered .hero__meta { justify-content: center; }
.hero--centered .hero__title, .hero--centered .hero__lede { margin-left: auto; margin-right: auto; }
.hero--centered .hero__ctas { justify-content: center; }

.hero__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero__meta::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--ink);
}
h1.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 0 40px;
}
.hero--centered .hero__lede { max-width: 720px; }
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  max-width: 600px;
  margin: 0;
}
.hero--centered .hero__facts { margin: 0 auto; }
.fact__num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 6px;
}
.fact__label {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.3;
  margin: 0;
}

/* ---------- FLOW CARD ---------- */
.flowcard {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 24px;
  box-shadow: 18px 18px 0 0 var(--accent);
  position: relative;
}
.flowcard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.flowcard__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}
.flow-step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule-soft);
  align-items: center;
}
.flow-step:last-child { border-bottom: none; }
.flow-step__n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}
.flow-step__label {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}
.flow-step__detail { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.flow-step__tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--rule-soft);
  color: var(--ink-2);
  background: var(--paper-2);
}
.flow-step__tag--ok { border-color: var(--accent); color: var(--accent-ink); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .flowcard { box-shadow: 10px 10px 0 0 var(--accent); }
}

/* ---------- BLOCK ---------- */
section.block { padding: 100px 0; border-bottom: 1px solid var(--rule); }
section.block--tight { padding: 72px 0; }
section.block--cream { background: var(--paper-2); }
section.block--dark { background: var(--ink); color: var(--paper-3); border-color: #222; }
section.block--dark h2, section.block--dark h3, section.block--dark .section__eye { color: var(--paper); }
section.block--dark a { color: var(--paper-3); }
section.block--dark a:hover { color: var(--accent); }

.section__eye {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.section__eye::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
section.block--dark .section__eye { color: var(--paper-3); }

h2.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 820px;
  color: var(--ink);
}
.section__title em { font-style: italic; color: var(--accent); }

.section__lede {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 0 56px;
}
section.block--dark .section__lede { color: #b3b3b0; }

.block__center { text-align: center; }
.block__center .section__eye { justify-content: center; }
.block__center h2.section__title, .block__center .section__lede { margin-left: auto; margin-right: auto; }

/* ---------- DIALECTIC ---------- */
.dialectic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.dialectic__col h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.dialectic__col--problem h3 { color: var(--ink-2); }
.dialectic__col--solution h3 { color: var(--accent); }
.dialectic__col ul { list-style: none; padding: 0; margin: 0; }
.dialectic__col li {
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule-soft);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.dialectic__col li:last-child { border-bottom: none; }
.dialectic__col li::before {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 3px;
}
.dialectic__col--problem li:nth-child(1)::before { content: "01"; }
.dialectic__col--problem li:nth-child(2)::before { content: "02"; }
.dialectic__col--problem li:nth-child(3)::before { content: "03"; }
.dialectic__col--problem li:nth-child(4)::before { content: "04"; }
.dialectic__col--solution li:nth-child(1)::before { content: "01"; color: var(--accent); }
.dialectic__col--solution li:nth-child(2)::before { content: "02"; color: var(--accent); }
.dialectic__col--solution li:nth-child(3)::before { content: "03"; color: var(--accent); }
.dialectic__col--solution li:nth-child(4)::before { content: "04"; color: var(--accent); }

@media (max-width: 820px) {
  .dialectic { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- FEATURES ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.feature {
  padding: 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
}
section.block--cream .feature { background: var(--paper); }
.feature__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.feature h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.feature p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}
.feature code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--paper-2);
  padding: 1px 6px;
  border: 1px solid var(--rule-soft);
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step { position: relative; }
.step__n {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.step h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 10px;
}
section.block--dark .step h3 { color: var(--paper); }
.step p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}
section.block--dark .step p { color: #b3b3b0; }
.step code {
  background: #222;
  padding: 2px 6px;
  color: var(--paper-3);
  font-family: var(--mono);
  font-size: 12px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- SPECS ---------- */
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.specs__col h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.specs dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 28px;
  font-size: 14px;
}
.specs dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 2px;
}
.specs dd { margin: 0; color: var(--ink); }

.codeblock {
  background: var(--ink);
  color: #d8d4c8;
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 20px 24px;
  line-height: 1.7;
  overflow-x: auto;
  margin-top: 28px;
  border-left: 3px solid var(--accent);
}
.codeblock .c-hash { color: #8a857a; }
.codeblock .c-key { color: var(--accent); }
@media (max-width: 820px) { .specs { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- ANCHOR BAR (sub-nav) ---------- */
.anchorbar {
  padding: 18px 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule-soft);
  font-size: 14px;
  overflow-x: auto;
}
.anchorbar__links {
  display: flex;
  gap: 24px;
  white-space: nowrap;
}
.anchorbar a {
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.anchorbar a:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- PRICEBOX ---------- */
.pricebox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pricebox {
  border: 1px solid var(--rule);
  padding: 44px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricebox--primary {
  box-shadow: 18px 18px 0 0 var(--accent);
}
.pricebox__tag {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.pricebox__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.pricebox__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 28px;
}
.pricebox__amount {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--ink);
}
.pricebox__amount--small { font-size: 36px; color: var(--ink-2); }
.pricebox__currency {
  font-size: 24px;
  color: var(--ink-3);
  font-family: var(--sans);
  font-weight: 400;
  vertical-align: super;
  margin-right: 4px;
}
.pricebox__cents {
  font-size: 36px;
  color: var(--ink-3);
  font-family: var(--serif);
}
.pricebox__once {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.pricebox__features {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--rule-soft);
  padding-top: 24px;
}
.pricebox__features li {
  padding: 10px 0 10px 24px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--rule-soft);
}
.pricebox__features li:last-child { border-bottom: none; }
.pricebox__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.pricebox .cta { margin-top: 20px; }

.pricebox-note {
  margin-top: 48px;
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--rule-soft);
  color: var(--ink-2);
  font-size: 14.5px;
}
.pricebox-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .pricebox-grid { grid-template-columns: 1fr; gap: 48px; }
  .pricebox { padding: 32px; }
  .pricebox--primary { box-shadow: 10px 10px 0 0 var(--accent); }
  .pricebox__amount { font-size: 56px; }
}

/* ---------- COMPARE TABLE ---------- */
.compare {
  border: 1px solid var(--rule);
  background: var(--paper);
  overflow-x: auto;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 600px;
}
.compare th, .compare td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule-soft);
}
.compare th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  background: var(--paper-2);
}
.compare th.compare__primary { color: var(--accent); }
.compare td:not(:first-child) { text-align: center; font-family: var(--mono); font-size: 13px; }
.compare tr:last-child td { border-bottom: none; }
.compare td.compare__primary { color: var(--accent); font-weight: 500; }
.compare td.compare__muted { color: var(--ink-3); }

/* ---------- FAQ (details nativo) ---------- */
.faq__list { border-top: 1px solid var(--rule); max-width: 900px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  list-style: none;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  letter-spacing: -0.005em;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .plus {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.25s;
  flex-shrink: 0;
  line-height: 1;
}
details[open] > .faq__q .plus { transform: rotate(45deg); }
.faq__a {
  padding: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 780px;
}
.faq__a code, .faq__a a {
  font-family: var(--mono);
  font-size: 0.9em;
}
.faq__a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-family: var(--sans); font-size: inherit; }
.faq__a code { background: var(--paper-2); padding: 1px 6px; border: 1px solid var(--rule-soft); }

/* ---------- FINAL CTA BLOCK ---------- */
.final-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.final-cta .section__title { max-width: 640px; margin-bottom: 0; color: var(--paper); }
.final-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.final-cta__buttons .cta { justify-content: center; }
@media (max-width: 820px) {
  .final-cta { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- FOOTER ---------- */
footer.foot {
  padding: 64px 0 36px;
  background: var(--ink);
  color: #b3b3b0;
  font-size: 14px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.foot h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a857a;
  margin: 0 0 16px;
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 6px 0; }
.foot a { color: var(--paper-3); transition: color 0.15s; }
.foot a:hover { color: var(--accent); }
.foot__bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: #8a857a;
}
.foot__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  color: var(--paper);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.foot__tag {
  max-width: 320px;
  color: #b3b3b0;
  line-height: 1.55;
  margin: 0 0 16px;
}
.foot__tag a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s, transform 0.65s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, background 0.15s;
  z-index: 50;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent); }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 460px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px;
  z-index: 10000;
  display: none;
  box-shadow: 8px 8px 0 0 var(--accent);
}
.cookie-banner.active { display: block; animation: slideUp 0.3s ease; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px;
}
.cookie-banner p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 16px;
  line-height: 1.55;
}
.cookie-banner p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .cta { padding: 9px 16px; font-size: 13px; flex: 1; min-width: 120px; justify-content: center; }

/* ---------- UTILITY ---------- */
.accent { color: var(--accent); }
.muted { color: var(--ink-3); }
code.inline {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--paper-2);
  padding: 1px 6px;
  border: 1px solid var(--rule-soft);
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 820px) {
  section.block { padding: 72px 0; }
  .wrap { padding: 0 24px; }
  .hero { padding: 64px 0 48px; }
  .hero__ctas .cta { flex: 1; justify-content: center; }
}
@media (max-width: 520px) {
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 20px; }
}
