/* Stairwise · landing. Cores e tipos do app (Theme.swift). Nenhuma fonte, script ou imagem de outro servidor. */
:root {
  --bg: #ECEBE6; --surface: #F7F6F2; --surface2: #FFFFFF; --line: #D5D3CC;
  --ink: #14171A; --muted: #5D6268;
  --amber: #BD7709; --amber-ink: #1A1204; --amber-text: #8F5C08;
  --ev-forte: #0B6B3A; --ev-moderada: #2F6E4F; --ev-fraca: #8A5A2B; --mito: #B8322B;
  /* Noite: o fundo das ilustrações. A abertura, a ciência e o fim são noite nos dois modos. */
  --n-bg: #161A1D; --n-surface: #1F2327; --n-line: #30353B; --n-ink: #EDE9E0; --n-muted: #A3A6A2;
  --n-amber: #F0A62B; --n-amber-ink: #17110A; --n-bar: #3A4046;
  --n-ev-forte: #66D69A; --n-ev-moderada: #6FA88A; --n-ev-fraca: #B98A5A; --n-mito: #FF7A6E;
  --serif: ui-serif, "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) {
    --bg: #0E1012; --surface: #171A1D; --surface2: #1F2327; --line: #2A2F34;
    --ink: #EDE9E0; --muted: #9C9F9B;
    --amber: #F0A62B; --amber-ink: #17110A; --amber-text: #F0A62B;
    --ev-forte: #66D69A; --ev-moderada: #6FA88A; --ev-fraca: #B98A5A; --mito: #FF7A6E;
  }
}
:root[data-tema="escuro"] {
  --bg: #0E1012; --surface: #171A1D; --surface2: #1F2327; --line: #2A2F34;
  --ink: #EDE9E0; --muted: #9C9F9B;
  --amber: #F0A62B; --amber-ink: #17110A; --amber-text: #F0A62B;
  --ev-forte: #66D69A; --ev-moderada: #6FA88A; --ev-fraca: #B98A5A; --mito: #FF7A6E;
}

* { box-sizing: border-box; }
/* O fundo do html é a noite: o topo e o fim da página são noite, então o "elástico" do Safari não mostra uma faixa clara. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--n-bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.53 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.secao { padding-top: 72px; padding-bottom: 72px; }
.secao h2 { font-size: 30px; line-height: 36px; letter-spacing: -.008em; max-width: 20em; }
.linha-sob { color: var(--muted); margin-top: 12px; max-width: 36em; }
.faixa { background: var(--surface); }
.rotulo { font: 600 12px/16px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 12px; }
.noite .rotulo { color: var(--n-amber); }

/* ---------- noite */
.noite { background: var(--n-bg); color: var(--n-ink); --muted: var(--n-muted); --line: var(--n-line); --surface2: var(--n-surface); }
.topo { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 21px/1 var(--serif); letter-spacing: -.01em; }
.marca img { width: 32px; height: 32px; }
.idioma { font-size: 15px; color: var(--n-muted); text-decoration: none; padding: 8px 0 8px 12px; }
.idioma:hover { color: var(--n-ink); }

.abertura { padding-top: 24px; padding-bottom: 8px; }
.slogan { font: 500 15px/20px var(--sans); color: var(--n-amber); }
.abertura h1 { font-size: 32px; line-height: 38px; letter-spacing: -.012em; margin-top: 12px; }
.abertura .apoio { color: var(--n-muted); margin-top: 14px; max-width: 34em; }
.arte { margin: 40px auto 0; max-width: 400px; }

/* ---------- o formulário (o mesmo na abertura e no fim) */
.cadastro { margin-top: 24px; max-width: 500px; }
.erro { display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 122, 110, .12); color: var(--n-mito);
  border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 21px; margin-bottom: 14px; }
.erro svg { flex: none; margin-top: 1px; }
.cadastro .linha { display: flex; flex-direction: column; gap: 10px; }
.cadastro input[type=email] { height: 52px; border-radius: 26px; border: 1px solid var(--n-line); background: var(--n-surface);
  color: var(--n-ink); font: 17px var(--sans); padding: 0 22px; width: 100%; outline: none; }
.cadastro input[type=email]::placeholder { color: #7D817E; }
.cadastro input[type=email]:focus { border-color: var(--n-amber); }
.botao { display: inline-flex; align-items: center; justify-content: center; height: 52px; border-radius: 26px; border: 0;
  background: var(--n-amber); color: var(--n-amber-ink); font: 600 17px var(--sans); padding: 0 24px; cursor: pointer;
  white-space: nowrap; text-decoration: none; }
.botao:active { opacity: .8; }
.botao:focus-visible, .cadastro input:focus-visible { outline: 2px solid var(--n-amber); outline-offset: 3px; }
.embaixo { font-size: 15px; line-height: 21px; color: var(--n-ink); margin-top: 12px; }
.beta { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 16px; cursor: pointer; }
.beta input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--n-amber); }
.beta b { font-weight: 500; font-size: 15px; line-height: 22px; display: block; }
.beta small { display: block; font-size: 13px; line-height: 18px; color: var(--n-muted); margin-top: 2px; }
.fino { font-size: 13px; line-height: 18px; color: var(--n-muted); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--n-line); }
.fino a { color: var(--n-muted); }
.preco { font-size: 15px; line-height: 22px; color: var(--n-ink); margin-top: 18px; font-weight: 500; }

/* ---------- selo de evidência (o EvidenceChip do app) */
.selo { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 8px; border-radius: 14px;
  background: var(--surface2); font: 500 12px/16px var(--sans); color: var(--ink); white-space: nowrap; }
.selo .b { display: inline-flex; gap: 2px; }
.selo .b i { display: block; width: 6px; height: 8px; border-radius: 1.5px; background: var(--line); }
.selo.forte { color: var(--ev-forte); }
.selo.forte .b i { background: var(--ev-forte); }
.selo.moderada .b i:nth-child(-n+3) { background: var(--ev-moderada); }
.selo.fraca .b i:nth-child(-n+2) { background: var(--ev-fraca); }
.selo.mito { color: var(--mito); }
.selo.semestudo { color: var(--muted); }
.selo.semestudo .b i:first-child { background: var(--muted); }
.selo.nao { color: var(--muted); }
.selo.mito svg { display: block; }
.noite .selo { background: #2A2F34; color: var(--n-ink); }
.noite .selo .b i { background: var(--n-bar); }
.noite .selo.forte { color: var(--n-ev-forte); }
.noite .selo.forte .b i { background: var(--n-ev-forte); }
.noite .selo.moderada .b i:nth-child(-n+3) { background: var(--n-ev-moderada); }
.noite .selo.fraca .b i:nth-child(-n+2) { background: var(--n-ev-fraca); }
.noite .selo.mito { color: var(--n-mito); }
.noite .selo.semestudo, .noite .selo.nao { color: var(--n-muted); }
.noite .selo.semestudo .b i:first-child { background: var(--n-muted); }

.fonte { font-size: 13px; line-height: 18px; color: var(--muted); }
.fonte a { color: var(--muted); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.fonte a:hover { color: var(--ink); }

/* ---------- 2. dois hábitos de verdade */
.cartoes { display: grid; gap: 16px; margin-top: 32px; }
.cartao { background: var(--surface2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.cartao img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cartao .corpo { padding: 18px 20px 20px; }
.cartao h3 { font-size: 22px; line-height: 28px; }
.cartao .selo { margin-top: 10px; background: var(--bg); }
.cartao .achado { margin-top: 14px; font-size: 16px; line-height: 23px; }
.cartao .fonte { margin-top: 12px; }
.depois { margin-top: 24px; font: 500 20px/27px var(--serif); max-width: 30em; }

/* ---------- 3. como funciona */
.passos { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: p; }
.passo { margin-top: 48px; display: grid; gap: 24px; }
.passo .num { width: 28px; height: 28px; border-radius: 14px; background: var(--amber); color: var(--amber-ink);
  font: 600 15px/28px var(--sans); text-align: center; }
.passo h3 { font-size: 24px; line-height: 30px; margin-top: 14px; }
.passo p { color: var(--muted); margin-top: 8px; max-width: 26em; }
.celular { width: min(260px, 70vw); margin: 0 auto; border-radius: 46px; padding: 9px; background: #0B0D0F;
  box-shadow: 0 40px 70px -40px rgba(20, 23, 26, .55); }
.celular img { width: 100%; border-radius: 37px; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) .celular { box-shadow: 0 0 0 1px #2E3338; } }
:root[data-tema="escuro"] .celular { box-shadow: 0 0 0 1px #2E3338; }

/* ---------- 4. rotina de CEO: tabela de 2 colunas no computador, cartões no celular */
.ceo table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 32px; }
.ceo thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ceo tbody, .ceo tr, .ceo th, .ceo td { display: block; }
.ceo tr { background: var(--n-surface); border-radius: 18px; padding: 18px; margin-top: 12px; }
.ceo .rot-cel { display: block; font: 600 11px/14px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--n-muted); margin-bottom: 6px; }
.ceo th { font: 500 20px/26px var(--serif); text-align: left; color: var(--n-ink); }
.ceo td { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--n-line); }
.ceo .achou { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
.ceo .achou.sem-img { grid-template-columns: 1fr; }
.ceo .achou img { width: 84px; height: 56px; object-fit: cover; border-radius: 10px; }
.ceo .achado { font-size: 16px; line-height: 23px; margin-top: 8px; }
.ceo .fonte { margin-top: 8px; color: var(--n-muted); }
.ceo .fonte a { color: var(--n-muted); }
.ceo .fonte a + a::before { content: "; "; display: inline-block; white-space: pre; text-decoration: none; }
.ceo .depois { color: var(--n-ink); }

/* ---------- 5. preço */
.planos { display: grid; gap: 14px; margin-top: 32px; }
.plano { background: var(--surface2); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.plano.premium { border: 2px solid var(--amber); }
.plano .nome { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 13px/18px var(--sans);
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plano .etiqueta { font: 600 12px/16px var(--sans); letter-spacing: 0; text-transform: none; color: var(--amber-ink);
  background: var(--amber); border-radius: 12px; padding: 4px 10px; white-space: nowrap; }
.plano .valor { font: 500 34px/40px var(--serif); letter-spacing: -.01em; margin-top: 12px; }
.plano .valor small { font: 400 17px var(--sans); color: var(--muted); letter-spacing: 0; }
.plano .sub { color: var(--muted); font-size: 15px; line-height: 22px; margin-top: 2px; }
.plano .lead { font-weight: 600; font-size: 15px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.plano ul { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.plano .lead + ul { margin-top: 0; border-top: 0; }
.plano li { display: flex; gap: 10px; padding: 11px 0 0; font-size: 16px; line-height: 22px; }
.plano li svg { flex: none; margin-top: 3px; }
.notas { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; max-width: 44em; }
.notas li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); font-size: 15px; line-height: 22px; }
.notas svg { margin-top: 2px; color: var(--amber-text); }
.moeda { color: var(--muted); font-size: 13px; line-height: 18px; margin-top: 16px; }

/* ---------- 6. regras */
.regras { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: r; display: grid; gap: 0; border-top: 1px solid var(--line); }
.regras li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.regras li::before { content: counter(r); font: 500 20px/24px var(--serif); color: var(--amber-text); }
.mais { display: inline-block; margin-top: 20px; color: var(--amber-text); font-weight: 600; text-decoration: none; }
.mais:hover { text-decoration: underline; }

/* ---------- 7. perguntas */
.faq { margin-top: 28px; border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font: 500 19px/25px var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -6px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 4px; }
.faq .resp { color: var(--muted); padding: 0 0 20px; max-width: 40em; }
.faq .resp ul { margin: 8px 0 0; padding-left: 20px; }
.faq .resp li { margin-top: 4px; }

/* ---------- 8. fim e rodapé */
.fim { padding-top: 72px; padding-bottom: 40px; }
.fim .grade { display: grid; gap: 8px; }
.fim h2 { font-size: 32px; line-height: 38px; }
.fim .arte-fim { display: none; }
.rodape { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 13px; color: var(--n-muted);
  border-top: 1px solid var(--n-line); margin-top: 56px; padding-top: 20px; }
.rodape a { color: var(--n-muted); text-decoration: none; }
.rodape a:hover { color: var(--n-ink); }
.rodape .copy { margin-right: auto; }
.pe { padding-bottom: 20px; }

/* ---------- /thanks/ e /confirmed/ */
.doc { min-height: 100vh; display: flex; flex-direction: column; }
.doc main { flex: 1; }
.aviso { max-width: 560px; padding-top: 40px; padding-bottom: 56px; }
.aviso .arte-peq { width: 120px; margin-bottom: 28px; }
.aviso h1 { font-size: 34px; line-height: 40px; letter-spacing: -.012em; }
.aviso .txt { color: var(--n-muted); margin-top: 14px; }
.aviso .botao { margin-top: 28px; }
.aviso .voltar { display: inline-block; margin-top: 24px; color: var(--n-amber); font-weight: 600; text-decoration: none; }
.pergunta { margin-top: 36px; background: var(--n-surface); border-radius: 20px; padding: 20px; }
.pergunta legend { font-size: 16px; line-height: 23px; padding: 0; }
.pergunta fieldset { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; font-size: 15px; padding: 8px 14px; border-radius: 18px; border: 1px solid var(--n-line); cursor: pointer; }
.chips input:checked + span { background: var(--n-amber); color: var(--n-amber-ink); border-color: var(--n-amber); }
.chips input:focus-visible + span { outline: 2px solid var(--n-amber); outline-offset: 2px; }
.pergunta .botao { height: 44px; font-size: 16px; padding: 0 22px; margin-top: 18px; }
.pergunta .feito { display: flex; gap: 10px; align-items: center; font-size: 16px; }

/* ---------- computador */
@media (min-width: 900px) {
  .wrap { padding: 0 40px; }
  .secao { padding-top: 112px; padding-bottom: 112px; }
  .secao h2 { font-size: 42px; line-height: 48px; letter-spacing: -.014em; }
  .topo { padding-top: 22px; padding-bottom: 22px; }
  .abertura { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 32px; padding-bottom: 80px; }
  .abertura h1 { font-size: 48px; line-height: 55px; letter-spacing: -.018em; }
  .abertura .apoio { font-size: 19px; line-height: 29px; }
  .arte { margin: 0; max-width: none; }
  .cadastro .linha { flex-direction: row; }
  .cadastro input[type=email] { flex: 1; }
  .cartoes { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cartao .corpo { padding: 22px 26px 26px; }
  .cartao h3 { font-size: 26px; line-height: 32px; }
  .passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
  .passo { margin: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 32px; }
  .celular { width: 100%; max-width: 270px; margin: 0; border-radius: 48px; padding: 10px; }
  .celular img { border-radius: 39px; }
  .ceo thead { position: static; width: auto; height: auto; clip: auto; display: table-header-group; }
  .ceo table { display: table; border-collapse: collapse; margin-top: 40px; }
  .ceo tbody { display: table-row-group; }
  .ceo tr { display: table-row; background: none; border-radius: 0; padding: 0; margin: 0; }
  .ceo th, .ceo td { display: table-cell; vertical-align: top; padding: 24px 0; margin: 0; border-top: 1px solid var(--n-line); }
  .ceo thead th { font: 600 11px/14px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--n-muted);
    padding-top: 0; padding-bottom: 14px; border-top: 0; }
  .ceo tbody th { width: 36%; padding-right: 40px; font-size: 22px; line-height: 29px; }
  .ceo .rot-cel { display: none; }
  .ceo .achou { grid-template-columns: 120px 1fr; gap: 22px; }
  .ceo .achou.sem-img { grid-template-columns: 120px 1fr; }
  .ceo .achou.sem-img > div { grid-column: 2; }
  .ceo .achou img { width: 120px; height: 80px; }
  .ceo .achado { font-size: 17px; line-height: 25px; }
  .planos { grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; }
  .plano { padding: 32px; }
  .regras { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .regras li { border-top: 1px solid var(--line); border-bottom: 0; padding: 20px 0; }
  .fim { padding-top: 104px; }
  .fim .grade { grid-template-columns: 1fr 320px; align-items: center; gap: 64px; }
  .fim h2 { font-size: 44px; line-height: 50px; }
  .fim .arte-fim { display: block; }
  .aviso { padding-top: 72px; }
  .aviso h1 { font-size: 44px; line-height: 50px; }
}

/* ---------- Montagem (Desenvolvedor): o que o site acrescenta ao protótipo do Designer ---------- */

/* A isca para robô: fora da tela, longe de leitores de tela e do Tab. */
.isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Mensagens que o servidor pede pela âncora (#erro-email, #objetivo-ok, #fila, #erro-link): sem JavaScript. */
.erro { display: none; }
.erro:target { display: flex; }
.ok { display: none; margin-top: 28px; }
.ok:target { display: flex; }
.fila { display: none; }
.fila:target { display: block; }
.fila:target ~ .normal { display: none; }
.vencido { display: none; }
.vencido:target { display: block; }
.vencido:target ~ .certo { display: none; }
.pergunta[hidden] { display: none; }

/* A faixa de rascunho, enquanto a política tiver campos para preencher. */
.draft { background: #F0A62B; color: #1A1204; text-align: center; font: 600 14px/20px var(--sans); padding: 8px 16px; }
