/* Fontes hospedadas localmente para preservar privacidade e estabilidade visual. */
@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/ibm-plex-sans-italic-400-latin.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
/* ==========================================================================
   Método Rumo ao Lucro® para MEI — sistema visual
   Marca: Rumo ao Lucro · Mentor: Jorge Corrêa

   Direção: a página se comporta como um documento financeiro — linhas
   pautadas, números tabulares, tinta verde para o positivo e vermelha para
   o negativo — em vez de uma sequência de cards flutuantes.

   Tipos:  Archivo (títulos) · IBM Plex Sans (texto) · IBM Plex Mono (números
           e etiquetas)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Tinta e papel */
  --ink: #10233D;
  /* navy da marca, aprofundado */
  --ink-soft: #1C3A61;
  --ink-deep: #0A1728;
  --paper: #F7F4EF;
  /* tom do papel, casado com a foto da hero */
  --paper-pure: #FFFFFF;
  --ledger: #E9EDE6;
  /* papel de razão contábil */

  /* Contas */
  --green: #35843E;
  /* fundo sólido de ação — sem brilho */
  --green-mark: #4BB64C;
  /* verde da marca, para marcas e fios */
  --orange: #F68121;
  /* laranja do logo */
  --orange-dark: #E4711A;
  --amber: #E0A216;
  --rust: #C0451A;
  /* tinta vermelha: só para o que é negativo */

  /* Texto */
  --text: #16283F;
  --text-muted: #5A6B80;
  --text-onink: rgba(255, 255, 255, 0.78);

  /* Fios */
  --rule: rgba(16, 35, 61, 0.14);
  --rule-strong: rgba(16, 35, 61, 0.32);
  --rule-onink: rgba(255, 255, 255, 0.16);

  /* Tipografia */
  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;

  /* Medidas */
  --wrap: 1200px;
  --gutter: 24px;
  --head-h: 84px;
  --section-y: clamp(72px, 8.5vw, 124px);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

strong {
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--green-mark);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 4000;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   3. Faixas de seção
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(56px, 6vw, 88px);
}

.section--paper {
  background: var(--paper);
}

.section--ledger {
  background: var(--ledger);
}

.section--ink {
  background: var(--ink);
  color: var(--text-onink);
}

/* --------------------------------------------------------------------------
   4. Tipografia comum
   -------------------------------------------------------------------------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

/* Sobretítulo: mono, caixa alta, em tinta cheia — anuncia a seção */
.tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.tag--onink {
  color: var(--green-mark);
}

/* Cabeçalho de seção: título à esquerda, resumo à direita */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 64px;
  row-gap: 20px;
  align-items: end;
  margin-bottom: clamp(40px, 4.5vw, 64px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.sec-head .tag {
  grid-column: 1 / -1;
}

.sec-title {
  font-size: clamp(1.75rem, 3.1vw, 2.6rem);
  max-width: 20ch;
}

.sec-deck {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 46ch;
}

/* Símbolo de marca registrada: em corpo de título ele fica do tamanho de uma
   letra. Reduz e sobe para virar sinal, não palavra. */
.rmark {
  font-size: 0.42em;
  font-weight: 600;
  vertical-align: 0.85em;
  letter-spacing: 0;
  margin-left: 0.06em;
}

.sec-head--onink {
  border-bottom-color: var(--rule-onink);
}

.sec-head--onink .sec-deck {
  color: var(--text-onink);
}

@media (max-width: 880px) {
  .sec-head {
    grid-template-columns: 1fr;
    column-gap: 0;
    align-items: start;
  }

  .sec-title {
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   5. Marcas de conta (positivo / negativo)
   -------------------------------------------------------------------------- */
.mark {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 6px;
}

.mark::before,
.mark::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.mark--check {
  color: var(--green-mark);
}

.mark--check::before {
  width: 2px;
  height: 7px;
  left: 3px;
  top: 6px;
  transform: rotate(-45deg);
}

.mark--check::after {
  width: 2px;
  height: 13px;
  left: 9px;
  top: 1px;
  transform: rotate(35deg);
}

.mark--minus {
  color: var(--rust);
}

.mark--minus::before {
  width: 12px;
  height: 2px;
  left: 2px;
  top: 7px;
}

.mark--minus::after {
  display: none;
}

/* --------------------------------------------------------------------------
   6. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-body);
  font-size: 0.9688rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-align: center;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover {
  background: #2C7134;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: rgba(16, 35, 61, 0.04);
}

/* Mesmo contorno do btn--outline, para uso sobre o fundo escuro */
.btn--outline-onink {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.btn--outline-onink:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.btn--lg {
  padding: 19px 34px;
  font-size: 1.0313rem;
}

.btn--wide {
  min-width: 21rem;
}

.btn--block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   7. Cabeçalho do site
   -------------------------------------------------------------------------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--head-h);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), height 0.25s var(--ease);
}

/* No topo o cabeçalho é transparente e fica sobre a hero. O véu da hero
   (.hero::before) zera antes do canto direito para não apagar a foto, e é
   justamente ali que ficam os itens do menu — em tinta escura sobre o cabelo
   da modelo eles somem. Esta faixa de papel garante o fundo claro atrás do
   menu, desbotando para baixo para não virar uma barra. */
.site-head::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 190%;
  background: linear-gradient(180deg,
      rgba(247, 244, 239, 0.92) 0%,
      rgba(247, 244, 239, 0.88) 34%,
      rgba(247, 244, 239, 0.62) 62%,
      rgba(247, 244, 239, 0) 100%);
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

/* Depois da rolagem o próprio cabeçalho tem fundo: a faixa sai de cena. */
.site-head.is-stuck::before {
  opacity: 0;
}

.site-head.is-stuck {
  height: 68px;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--rule);
}

.site-head__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.site-head__logo img {
  height: 46px;
  width: auto;
  transition: height 0.25s var(--ease);
}

.site-head.is-stuck .site-head__logo img {
  height: 38px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease);
}

.site-nav ul a:hover {
  border-bottom-color: var(--ink);
}

.site-head__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  flex-direction: column;
  justify-content: space-between;
}

.site-head__toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.site-head__toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.site-head__toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.site-head__toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 960px) {
  :root {
    --head-h: 68px;
  }

  .site-head {
    background: rgba(247, 244, 239, 0.94);
    box-shadow: 0 1px 0 var(--rule);
  }

  /* Aqui o cabeçalho já é opaco desde o topo; a faixa só sujaria a hero. */
  .site-head::before {
    display: none;
  }

  .site-head__toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--head-h);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    box-shadow: 0 24px 40px rgba(16, 35, 61, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1rem;
  }

  .site-nav ul a:hover {
    border-bottom-color: var(--rule);
    color: var(--green);
  }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--head-h) + 32px);
  padding-bottom: 52px;
  background-color: var(--paper);
  background-image: url('assets/fundo-principal.jpg');
  background-size: cover;
  background-position: calc(100% + 120px) center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(97deg,
      rgba(247, 244, 239, 0.98) 0%,
      rgba(247, 244, 239, 0.95) 38%,
      rgba(247, 244, 239, 0.55) 56%,
      rgba(247, 244, 239, 0) 74%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
}

.hero__copy {
  max-width: 35rem;
}

.hero__title {
  margin: 20px 0 18px;
  /* a altura da janela entra na conta: em telas baixas o CTA não pode sumir */
  font-size: clamp(2.125rem, min(4.3vw, 5.9vh), 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.032em;
}

.hero__title em {
  display: block;
  font-style: normal;
  color: var(--green);
}

.hero__highlight {
  color: var(--green);
}

.hero__deck {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Uma coluna: são frases de benefício, não rótulos curtos — em duas colunas
   quebrariam em duas linhas e o fio inferior perderia o alinhamento. */
.hero__facts {
  margin: 22px 0 26px;
  border-top: 1px solid var(--rule);
}

.hero__facts li {
  position: relative;
  padding: 9px 0 9px 20px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  background: var(--green-mark);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero__urgency {
  max-width: 32rem;
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 1023px) {
  .hero {
    align-items: flex-start;
    background-image: url('assets/fundo-principal-mobile.jpg');
    background-position: center top;
    background-size: 118% auto;
    padding-top: calc(var(--head-h) + 28px);
  }

  .hero::before {
    background: linear-gradient(180deg,
        rgba(247, 244, 239, 0.97) 0%,
        rgba(247, 244, 239, 0.9) 55%,
        rgba(247, 244, 239, 0.35) 100%);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-bottom: 340px;
    background-size: 150% auto;
    background-position: center bottom;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   9. O problema
   -------------------------------------------------------------------------- */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 64px;
  align-items: start;
}

.statement__intro {
  grid-column: 1;
  margin-bottom: 4px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.statement__list {
  grid-column: 1;
  border-top: 1px solid var(--rule);
}

.statement__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}

/* O veredito da seção: ícone, afirmação, contexto e saída */
.verdict {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 34px 32px 32px;
  background: var(--ledger);
  border: 1px solid rgba(16, 35, 61, 0.07);
  border-radius: var(--radius);
}

.verdict__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  background: var(--paper-pure);
  border-radius: var(--radius);
  color: var(--green);
}

.verdict__icon svg {
  width: 24px;
  height: 24px;
}

.verdict__title {
  font-size: 1.1875rem;
  line-height: 1.32;
  margin-bottom: 12px;
}

.verdict__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* Texto em tinta, não em branco: sobre o laranja do logo o branco não tem contraste */
.verdict__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 21px;
  background: var(--orange);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.18s var(--ease);
}

.verdict__cta:hover {
  background: var(--orange-dark);
}

.verdict__cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s var(--ease);
}

.verdict__cta:hover svg {
  transform: translateX(3px);
}

@media (max-width: 880px) {
  .statement {
    grid-template-columns: 1fr;
  }

  .statement__intro,
  .statement__list {
    grid-column: 1;
  }

  .verdict {
    grid-column: 1;
    grid-row: auto;
    margin-top: 32px;
    padding: 28px 24px;
  }
}

/* --------------------------------------------------------------------------
   10. Mudança de mentalidade
   -------------------------------------------------------------------------- */
.shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.shift__copy {
  max-width: 34rem;
}

.shift .tag {
  margin-bottom: 24px;
}

.shift__title {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  margin-bottom: 22px;
}

.shift__text {
  color: var(--text-onink);
  margin-bottom: 40px;
}

.shift__art {
  width: 100%;
  height: auto;
  justify-self: end;
}

.shift__lockup {
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--green-mark);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.9vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

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

  .shift__copy {
    max-width: none;
  }

  .shift__art {
    justify-self: center;
    max-width: 460px;
  }
}

/* --------------------------------------------------------------------------
   11. Como funciona
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

/* A imagem vem depois no HTML (ordem de leitura), mas ocupa a coluna da esquerda */
.split__art {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
}

.split .outcomes {
  grid-column: 2;
  grid-row: 1;
}

.outcomes__title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.outcomes__list {
  border-top: 1px solid var(--rule);
}

.outcomes__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* no celular a imagem cai abaixo do texto */
  .split__art,
  .split .outcomes {
    grid-column: 1;
    grid-row: auto;
  }

  .split__art {
    max-width: 520px;
    justify-self: center;
  }
}

/* --------------------------------------------------------------------------
   12. O método — C.R.E.S.C.E.R., sete etapas
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

/* São sete: quatro na primeira fila e três na segunda, sem sobra de coluna */
.steps__item {
  grid-column: span 3;
}

.steps__item:nth-child(n + 5) {
  grid-column: span 4;
}

/* A cor caminha da tinta ao verde: a progressão das etapas é a informação */
.steps__item:nth-child(1) {
  --step: #10233D;
}

.steps__item:nth-child(2) {
  --step: #16384A;
}

.steps__item:nth-child(3) {
  --step: #1B4E51;
}

.steps__item:nth-child(4) {
  --step: #21654E;
}

.steps__item:nth-child(5) {
  --step: #2A7A46;
}

.steps__item:nth-child(6) {
  --step: #348F3E;
}

.steps__item:nth-child(7) {
  --step: #45A340;
}

.steps__item {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 26px;
  background: var(--paper-pure);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--step);
  border-radius: var(--radius);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.steps__item:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 35, 61, 0.2);
  border-top-color: var(--step);
  box-shadow: 0 18px 32px -22px rgba(16, 35, 61, 0.6);
}

.steps__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.steps__letter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  background: var(--step);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.steps__count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.steps__title {
  font-size: 1.0625rem;
  min-height: 2.2em;
  /* mantém as descrições na mesma linha de base */
  margin-bottom: 8px;
}

.steps__desc {
  font-size: 0.9063rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 1180px) {

  /* três por fila; a sétima fecha a linha ocupando a largura toda */
  .steps__item,
  .steps__item:nth-child(n + 5) {
    grid-column: span 4;
  }

  .steps__item:nth-child(7) {
    grid-column: span 12;
  }
}

@media (max-width: 860px) {
  .steps {
    gap: 16px;
  }

  .steps__item,
  .steps__item:nth-child(n + 5) {
    grid-column: span 6;
  }

  .steps__item:nth-child(7) {
    grid-column: span 12;
  }
}

@media (max-width: 560px) {

  .steps__item,
  .steps__item:nth-child(n + 5),
  .steps__item:nth-child(7) {
    grid-column: span 12;
  }

  .steps__item {
    padding: 24px 20px 22px;
  }

  .steps__title {
    min-height: 0;
  }
}

/* --------------------------------------------------------------------------
   13. Os encontros
   -------------------------------------------------------------------------- */
.agenda {
  border-top: 1px solid var(--rule-strong);
}

.agenda__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 15rem);
  align-items: center;
  gap: 28px;
  padding: 26px 8px 26px 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.2s var(--ease);
}

.agenda__row:hover {
  background: rgba(16, 35, 61, 0.028);
}

.agenda__num {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.agenda__title {
  font-size: 1.1875rem;
  margin-bottom: 5px;
}

.agenda__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.agenda__out {
  justify-self: start;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.5;
}

.agenda__out::before {
  content: '';
  flex: none;
  margin-top: 5px;
  width: 8px;
  height: 8px;
  background: var(--green-mark);
}

@media (max-width: 880px) {
  .agenda__row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px 16px;
    padding: 22px 0;
  }

  .agenda__out {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }
}

/* --------------------------------------------------------------------------
   14. Antes e depois / Para quem é
   -------------------------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.compare__col {
  padding-top: 4px;
}

.compare__col+.compare__col {
  padding-left: 64px;
  border-left: 1px solid var(--rule-onink);
}

.compare__label {
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare__label--before {
  color: var(--rust);
}

.compare__label--after {
  color: var(--green-mark);
}

.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-onink);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.compare__col--after .compare__list li {
  color: #fff;
}

.compare__art {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.compare__art--before {
  filter: grayscale(30%);
}

/* Variação em papel (seção "para quem é") */
.compare--onpaper .compare__col+.compare__col {
  border-left-color: var(--rule);
}

.compare--onpaper .compare__list li {
  color: var(--text);
  border-bottom-color: var(--rule);
}

.compare--onpaper .compare__label--before {
  color: var(--rust);
}

.compare--onpaper .compare__label--after {
  color: var(--green);
}

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

  .compare__col+.compare__col {
    padding-left: 0;
    border-left: none;
  }

  .compare__art {
    height: 200px;
  }
}

/* --------------------------------------------------------------------------
   15. Índice de materiais
   -------------------------------------------------------------------------- */
.index {
  display: grid;
  grid-auto-flow: column;
  /* lê-se de cima para baixo, como um sumário */
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(6, auto);
  column-gap: 64px;
}

.index li:nth-child(1),
.index li:nth-child(7) {
  border-top: 1px solid var(--rule);
}

.index li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}

.index span {
  font-size: 1rem;
  font-weight: 500;
}

.index em {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .index {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .index li:nth-child(7) {
    border-top: none;
  }
}

/* --------------------------------------------------------------------------
   16. Mentor
   -------------------------------------------------------------------------- */
/* Celular: a arte vertical abre a seção e o texto vem abaixo */
.mentor {
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

.mentor__photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 943 / 900;
  /* recorta a arte vertical na altura do retrato */
}

.mentor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* deixa uma folga acima da cabeça no recorte vertical */
  object-position: center 80%;
}

/* funde a base da foto na faixa navy, sem emenda visível */
.mentor__photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(to bottom, rgba(16, 35, 61, 0), var(--ink));
}

.mentor .wrap {
  position: relative;
  z-index: 2;
  padding-top: 8px;
}

.mentor .tag {
  margin-bottom: 18px;
}

.mentor__name {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  margin-bottom: 6px;
}

.mentor__role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}

.mentor__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 28px;
  border-top: 1px solid var(--rule-onink);
  border-bottom: 1px solid var(--rule-onink);
}

.mentor__facts>div {
  flex: 1 1 140px;
  padding: 16px 24px 16px 0;
}

.mentor__facts>div+div {
  padding-left: 24px;
  border-left: 1px solid var(--rule-onink);
}

.mentor__facts dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.mentor__facts dd {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
}

.mentor__text {
  color: var(--text-onink);
  margin-bottom: 28px;
}

.mentor__text strong {
  color: #fff;
}

.mentor__quote {
  padding-left: 24px;
  border-left: 2px solid var(--green-mark);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #fff;
}

.mentor__quote::before {
  content: '“';
}

.mentor__quote::after {
  content: '”';
}

@media (max-width: 880px) {
  .mentor__facts>div {
    flex-basis: 100%;
    padding-right: 0;
  }

  .mentor__facts>div+div {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--rule-onink);
  }
}

/* Desktop: a foto vira o fundo da faixa, com a biografia à esquerda
   e o Jorge ocupando o lado direito */
@media (min-width: 881px) {
  .mentor {
    display: flex;
    align-items: center;
    min-height: clamp(560px, 50vw, 840px);
    padding-top: var(--section-y);
  }

  .mentor__photo {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    z-index: 0;
  }

  /* ancorado no topo e à direita: mantém Jorge no quadro em qualquer largura */
  .mentor__photo img {
    object-position: right top;
  }

  .mentor__photo::after {
    display: none;
  }

  /* reforça o fundo do lado esquerdo para manter o texto legível */
  .mentor::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(16, 35, 61, 0.88) 0%,
        rgba(16, 35, 61, 0.76) 42%,
        rgba(16, 35, 61, 0.18) 62%,
        rgba(16, 35, 61, 0) 76%);
  }

  .mentor .wrap {
    width: 100%;
    padding-top: 0;
  }

  .mentor__bio {
    width: min(46%, 34rem);
    margin-right: auto;
  }
}

/* --------------------------------------------------------------------------
   17. Investimento
   -------------------------------------------------------------------------- */
.availability {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: -4px 0 28px;
  padding: 18px 20px;
  background: var(--paper-pure);
  border-left: 3px solid var(--green-mark);
}

.availability__label {
  flex: none;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.availability__label span {
  margin: 0 0.35em;
}

.availability__text {
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  background: var(--paper-pure);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.plan--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--text-onink);
}

.plan--featured .plan__name {
  color: #fff;
}

.plan__flag {
  position: absolute;
  top: 42px;
  right: 36px;
  padding: 5px 12px;
  background: var(--green-mark);
  color: var(--ink-deep);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}

.plan__name {
  font-size: 1.25rem;
  margin-bottom: 18px;
  padding-right: 11rem;
}

.plan__price {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4.6vw, 3.25rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.plan__cur {
  font-size: 0.4em;
  letter-spacing: 0.02em;
  vertical-align: 0.9em;
  margin-right: 6px;
  color: var(--text-muted);
}

.plan__cents {
  font-size: 0.44em;
  letter-spacing: -0.02em;
}

.plan__terms {
  margin: 8px 0 26px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan--featured .plan__price {
  color: #fff;
}

.plan--featured .plan__cur,
.plan--featured .plan__terms {
  color: rgba(255, 255, 255, 0.6);
}

.plan__list {
  flex: 1 1 auto;
  margin-bottom: 28px;
  border-top: 1px solid var(--rule);
}

.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.plan--featured .plan__list {
  border-top-color: var(--rule-onink);
}

.plan--featured .plan__list li {
  border-bottom-color: var(--rule-onink);
  color: rgba(255, 255, 255, 0.88);
}

.plan__note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.plan--featured .plan__note {
  color: rgba(255, 255, 255, 0.55);
}

.guarantee {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 30px 34px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}

.guarantee svg {
  flex: none;
  width: 38px;
  height: 38px;
  color: var(--green);
}

.guarantee__title {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.guarantee__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

@media (max-width: 880px) {
  .availability {
    flex-direction: column;
    gap: 6px;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plan {
    padding: 30px 24px;
  }

  .plan__flag {
    position: static;
    align-self: flex-start;
    margin-bottom: 16px;
  }

  .plan__name {
    padding-right: 0;
  }

  .guarantee {
    flex-direction: column;
    gap: 16px;
    padding: 26px 24px;
  }
}

/* --------------------------------------------------------------------------
   18. Bônus
   -------------------------------------------------------------------------- */
.bonus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
}

.bonus li {
  padding: 24px 0 4px;
  border-top: 2px solid var(--amber);
}

.bonus li+li {
  padding-left: 48px;
  border-left: 1px solid var(--rule);
}

.bonus__flag {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.bonus__title {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.bonus__desc {
  font-size: 0.9063rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .bonus {
    grid-template-columns: 1fr;
  }

  .bonus li {
    padding: 22px 0;
  }

  .bonus li+li {
    padding-left: 0;
    border-left: none;
  }
}

/* --------------------------------------------------------------------------
   19. Dúvidas
   -------------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--rule-strong);
}

.faq__item {
  border-bottom: 1px solid var(--rule);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 4px 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
  transition: color 0.18s var(--ease);
}

.faq__q:hover {
  color: var(--green);
}

.faq__sign {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  background: var(--green);
  transition: transform 0.25s var(--ease);
}

.faq__sign::after {
  transform: rotate(90deg);
}

.faq__item.is-open .faq__sign::after {
  transform: rotate(0deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq__a > * {
  min-height: 0;
  overflow: hidden;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a p {
  padding: 0 60px 24px 0;
  font-size: 0.9688rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   20. Chamada final
   -------------------------------------------------------------------------- */
.close {
  max-width: 46rem;
}

.close__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.close__text {
  color: var(--text-onink);
  margin-bottom: 36px;
  max-width: 40rem;
}

.close__prices {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 36px;
  border-top: 1px solid var(--rule-onink);
  border-bottom: 1px solid var(--rule-onink);
}

.close__prices>div {
  flex: 0 1 220px;
  padding: 18px 32px 18px 0;
}

.close__prices>div+div {
  padding-left: 32px;
  border-left: 1px solid var(--rule-onink);
}

.close__prices dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.close__prices dd {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #fff;
}

.close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.close__note {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--green-mark);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 560px) {
  .close .btn--lg {
    width: 100%;
  }

  .close__prices>div {
    flex-basis: 100%;
    padding-right: 0;
  }

  .close__prices>div+div {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--rule-onink);
  }
}

/* --------------------------------------------------------------------------
   21. Rodapé
   -------------------------------------------------------------------------- */
.site-foot {
  padding: 72px 0 32px;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9063rem;
}

.site-foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-onink);
}

.site-foot__grid--compact {
  grid-template-columns: 2fr 1fr 1fr;
}

.site-foot__logo {
  display: inline-block;
  padding: 10px 16px;
  background: var(--paper);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.site-foot__logo img {
  height: 42px;
  width: auto;
}

.site-foot__brand p {
  max-width: 34ch;
  line-height: 1.6;
}

.site-foot__brand strong {
  color: rgba(255, 255, 255, 0.9);
}

.site-foot__head {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

.site-foot li+li {
  margin-top: 11px;
}

.site-foot a {
  transition: color 0.18s var(--ease);
}

.site-foot a:hover {
  color: var(--green-mark);
}

.site-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: 28px;
}

.site-foot__legal {
  flex: 1 1 460px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.4);
}

.site-foot__copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 880px) {
  .site-foot__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .site-foot a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-foot li + li {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .site-foot__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   22. Movimento
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .reveal {
    animation: reveal-in 0.6s var(--ease) both;
    animation-delay: calc(var(--seq, 0) * 90ms);
  }

  @supports (animation-timeline: view()) {
    main > section:not(.hero) .reveal {
      animation: reveal-in both;
      animation-timeline: view();
      animation-range: entry 0% entry 24%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* --------------------------------------------------------------------------
   24. Páginas institucionais
   -------------------------------------------------------------------------- */
.legal-page .site-head {
  background: rgba(247, 244, 239, 0.97);
  box-shadow: 0 1px 0 var(--rule);
}

.legal-page .site-head::before {
  display: none;
}

.legal-main {
  padding-top: var(--head-h);
}

.legal-hero {
  padding: clamp(64px, 7vw, 104px) 0 clamp(56px, 6vw, 88px);
  background: var(--ledger);
  border-bottom: 1px solid var(--rule);
}

.legal-hero__inner {
  max-width: calc(var(--wrap) - 12rem);
}

.legal-back {
  display: inline-block;
  margin-bottom: 48px;
  padding-bottom: 3px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid currentColor;
}

.legal-hero .tag {
  margin-bottom: 20px;
  color: var(--green);
}

.legal-hero h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  letter-spacing: -0.045em;
}

.legal-hero__summary {
  max-width: 46rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.legal-updated {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.legal-body {
  padding: clamp(64px, 7vw, 104px) 0 clamp(88px, 9vw, 136px);
  background: var(--paper);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(56px, 8vw, 112px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.legal-toc__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.legal-toc li + li {
  margin-top: 1px;
}

.legal-toc a {
  display: block;
  padding: 7px 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-muted);
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.legal-toc a:hover {
  padding-left: 4px;
  color: var(--green);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  scroll-margin-top: 96px;
  padding: 44px 0;
  border-top: 1px solid var(--rule);
}

.legal-content section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-content h2 {
  max-width: 25ch;
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.legal-content p {
  color: var(--text-muted);
  text-wrap: pretty;
}

.legal-content p + p {
  margin-top: 18px;
}

.legal-content ul {
  margin: 20px 0 0;
}

.legal-content ul:not(.legal-rights) li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
}

.legal-content ul:not(.legal-rights) li + li {
  margin-top: 12px;
}

.legal-content ul:not(.legal-rights) li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 2px;
  background: var(--green);
}

.legal-content strong {
  color: var(--ink);
}

.legal-content a:not(.legal-crosslink a) {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-provider {
  display: grid;
  gap: 1px;
  margin: 24px 0 28px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.legal-provider > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.6fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 16px 18px;
  background: var(--paper);
}

.legal-provider dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.legal-provider dd {
  color: var(--text-muted);
}

.not-found {
  display: grid;
  min-height: calc(100dvh - var(--head-h));
  place-items: center;
  padding: var(--section-y) 0;
}

.not-found__inner {
  width: min(100%, 46rem);
}

.not-found__code {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--green);
}

.not-found h1 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.not-found p {
  max-width: 52ch;
  color: var(--text-muted);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.legal-data-list {
  margin-top: 28px;
  border-top: 1px solid var(--rule-strong);
}

.legal-data-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.8fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.legal-data-list dt {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.legal-data-list dd {
  color: var(--text-muted);
}

.legal-note {
  margin-top: 28px !important;
  padding: 20px 22px;
  background: var(--ledger);
  border-left: 3px solid var(--green-mark);
}

.legal-rights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 24px !important;
}

.legal-rights li {
  padding: 12px 14px;
  border-left: 2px solid var(--green-mark);
  background: rgba(233, 237, 230, 0.56);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text);
}

.legal-crosslink {
  margin-top: 36px;
  padding: 28px 30px;
  background: var(--ink);
  color: var(--text-onink);
}

.legal-crosslink p {
  margin-bottom: 16px;
  color: var(--text-onink);
}

.legal-crosslink a {
  display: inline-block;
  padding-bottom: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid var(--green-mark);
}

.site-foot a[aria-current='page'] {
  color: var(--green-mark);
}

@media (max-width: 880px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .legal-toc {
    position: static;
    top: auto;
  }

  .legal-toc ol {
    columns: 2;
    column-gap: 36px;
  }

  .legal-toc li {
    break-inside: avoid;
  }
}

@media (max-width: 560px) {
  .legal-back {
    margin-bottom: 36px;
  }

  .legal-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.75rem);
  }

  .legal-toc ol {
    columns: 1;
  }

  .legal-content section {
    padding: 36px 0;
  }

  .legal-data-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legal-rights {
    grid-template-columns: 1fr;
  }

  .legal-crosslink {
    padding: 24px;
  }
}