/* Coala Finance: landing pública
   Paleta Prata Coala: papel frio, cartão branco, tinta grafite,
   esmeralda para dinheiro que entra, coral para o que sai. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --paper: #f4f7f9;
  --paper-2: #eef2f5;
  --card: #ffffff;
  --ink: #1c2227;
  --ink-soft: #5f6b74;
  --ink-faint: #626e77;
  --line: #e1e7eb;
  --line-strong: #cfd8df;
  --silver: #c9d1d9;
  --income: #0e7c5a;
  --income-ink: #0a6549;
  --income-bg: #e8f5ef;
  --expense: #b42318;
  --expense-ink: #9d1f15;
  --expense-bg: #fdecea;
  --bill: #9a5b00;
  --bill-ink: #8a5100;
  --bill-bg: #fff4df;
  --reserve: #3b4fd8;
  --reserve-ink: #3043c4;
  --reserve-bg: #edf0ff;
  --shadow: 0 1px 2px rgba(16, 24, 32, 0.04), 0 24px 60px -24px rgba(16, 24, 32, 0.22);
  --shadow-soft: 0 1px 2px rgba(16, 24, 32, 0.03), 0 12px 30px -18px rgba(16, 24, 32, 0.16);
  --radius: 18px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0c0f12;
  --paper-2: #101419;
  --card: #151a1f;
  --ink: #f2f5f7;
  --ink-soft: #aab4bc;
  --ink-faint: #7f8b94;
  --line: #252d34;
  --line-strong: #35404a;
  --silver: #c9d1d9;
  --income: #5fd3a6;
  --income-ink: #7fe0b6;
  --income-bg: #10291f;
  --expense: #ff8a7d;
  --expense-ink: #ff9d92;
  --expense-bg: #2e1615;
  --bill: #f3b45d;
  --bill-ink: #f6c47b;
  --bill-bg: #2b2113;
  --reserve: #9aa8ff;
  --reserve-ink: #b0bbff;
  --reserve-bg: #1a1f3d;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.2), 0 14px 34px -20px rgba(0, 0, 0, 0.7);
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

svg {
  display: block;
}

::selection {
  background: color-mix(in srgb, var(--income) 22%, transparent);
}

:focus-visible {
  outline: 2px solid var(--income);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  transform: translateY(-160%);
}

.skip:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 15px;
  letter-spacing: -0.025em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--paper-2);
  object-fit: cover;
}

.brand span {
  font-weight: 450;
}

.brand b {
  font-weight: 650;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  color: var(--ink-soft);
  font-size: 13.5px;
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 560;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 6px 18px -12px rgba(16, 24, 32, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px -12px rgba(16, 24, 32, 0.55);
}

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

.btn-ghost:hover {
  border-color: var(--ink-soft);
}

.btn-small {
  height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 13px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(52px, 7vw, 84px);
  overflow: clip;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 62% 18%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 80% 70% at 62% 18%, #000 18%, transparent 74%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--income);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--income) 14%, transparent);
}

.hero h1 {
  margin: 0 0 24px;
  max-width: 13ch;
  font-size: clamp(2.55rem, 5.6vw, 4.85rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.mark {
  background: linear-gradient(transparent 72%, color-mix(in srgb, var(--income) 20%, transparent) 72%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lede {
  max-width: 44ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-actions.center {
  justify-content: center;
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 12.5px;
}

.micro-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.micro-list svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--income);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.browser {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

.browser-url {
  flex: 1;
  overflow: hidden;
  color: var(--ink-faint);
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-lock svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--ink-faint);
  stroke-width: 1.6;
}

.hero-shot {
  width: 100%;
  height: auto;
  border-top: 0;
}

.hero-dark {
  display: none;
}

[data-theme="dark"] .hero-light {
  display: none;
}

[data-theme="dark"] .hero-dark {
  display: block;
}

.float-card {
  position: absolute;
  left: -18px;
  bottom: -30px;
  width: 244px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
}

.float-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.float-label {
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

.pill-bill {
  background: var(--bill-bg);
  color: var(--bill-ink);
}

.float-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.float-card small {
  display: block;
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 9.5px;
  line-height: 1.4;
}

.meter {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--bill);
}

.meter-expense span {
  background: var(--expense);
}

.meter-income span {
  background: var(--income);
}

.shot-note {
  margin: 42px 4px 0;
  color: var(--ink-faint);
  font-size: 11.5px;
  text-align: right;
}

/* ---------- Trust ---------- */

.trust {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid > div {
  padding: 22px 26px;
  border-left: 1px solid var(--line);
}

.trust-grid > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-grid strong {
  font-size: 14.5px;
  font-weight: 520;
  letter-spacing: -0.015em;
}

/* ---------- Sections ---------- */

section[id] {
  scroll-margin-top: 90px;
}

.section {
  padding: clamp(64px, 8vw, 96px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-head h2,
.split-copy h2,
.faq-copy h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-lede {
  max-width: 36ch;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

.section-head.compact {
  align-items: flex-start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease, transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 12px;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tone-income {
  background: var(--income-bg);
  color: var(--income-ink);
}

.tone-expense {
  background: var(--expense-bg);
  color: var(--expense-ink);
}

.tone-bill {
  background: var(--bill-bg);
  color: var(--bill-ink);
}

.tone-reserve {
  background: var(--reserve-bg);
  color: var(--reserve-ink);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 580;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.mini-card {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  font-size: 11.5px;
}

.mini-card > span,
.mini-row span {
  color: var(--ink-soft);
}

.mini-card strong {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-row strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.mini-card small {
  color: var(--ink-faint);
  font-size: 10.5px;
}

.income {
  color: var(--income-ink);
}

.expense {
  color: var(--expense-ink);
}

.spark {
  width: 100%;
  height: 28px;
  color: var(--income);
  opacity: 0.8;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--income-bg);
  color: var(--income-ink);
  vertical-align: -2px;
}

.check::after {
  content: "✓";
  font-size: 9px;
  font-weight: 700;
}

.mini-bills .mini-row {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.mini-bills .mini-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.data-note,
.phone-note {
  margin: 18px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
}

/* ---------- Spreadsheet ---------- */

.spreadsheet {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.split-copy p {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.split-copy em {
  color: var(--ink);
  font-style: normal;
  font-weight: 550;
}

.spreadsheet-art {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 12px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sheet-grid {
  display: grid;
  grid-template-columns: 26px repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  font-size: 10.5px;
}

.sheet-head,
.sheet-cell {
  min-width: 0;
  padding: 8px 7px;
  overflow: hidden;
  background: var(--card);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-head {
  background: var(--paper-2);
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet-cell.muted {
  color: var(--ink-faint);
  text-align: center;
}

.sheet-cell.total {
  color: var(--income-ink);
  font-weight: 700;
}

.sheet-note {
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 10.5px;
}

.sheet-coala {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.sheet-coala img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.sheet-coala span {
  display: block;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet-coala strong {
  display: block;
  color: var(--income-ink);
  font-size: 15px;
  letter-spacing: -0.03em;
}

.sheet-arrow {
  position: absolute;
  right: -18px;
  bottom: 64px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--card);
  color: var(--income-ink);
  font-size: 18px;
  box-shadow: var(--shadow-soft);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.check-list span {
  color: var(--income-ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 3px;
}

/* ---------- Steps ---------- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 46px);
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.step-grid li {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.step-num {
  display: block;
  margin-bottom: 18px;
  color: var(--income-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 580;
  letter-spacing: -0.025em;
}

.step-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Mobile section ---------- */

.mobile-section {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.mobile-section .split {
  align-items: center;
}

.icon-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.icon-list > li > span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.icon-list svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 560;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
}

.text-link span {
  transition: transform 160ms var(--ease);
}

.text-link:hover span {
  transform: translateX(3px);
}

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}

.phone {
  width: 300px;
  max-width: 100%;
  padding: 10px;
  border: 7px solid #1b2025;
  border-radius: 40px;
  background: #0c0f12;
  box-shadow: 0 32px 80px -34px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-2deg);
}

.phone-speaker {
  width: 78px;
  height: 4px;
  margin: 2px auto 8px;
  border-radius: 99px;
  background: #2a3138;
}

.phone-screen {
  overflow: hidden;
  border-radius: 27px;
  background: #0c0f12;
}

.phone-screen img {
  width: 100%;
  height: auto;
}

.phone-dark {
  display: none;
}

[data-theme="dark"] .phone-light {
  display: none;
}

[data-theme="dark"] .phone-dark {
  display: block;
}

.phone-note {
  margin-top: 16px;
  text-align: center;
}

/* ---------- Privacy ---------- */

.privacy-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 30px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #26303a;
  border-radius: 26px;
  background: #12171c;
  color: #f2f5f7;
}

.privacy-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 211, 166, 0.12), transparent 68%);
  pointer-events: none;
}

.privacy-lock {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #2f3b45;
  border-radius: 16px;
  background: #182027;
  color: #7fe0b6;
}

.privacy-lock svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-card .eyebrow {
  color: #9fb3aa;
}

.privacy-card .eyebrow .dot {
  background: #7fe0b6;
}

.privacy-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.privacy-lede {
  max-width: 66ch;
  margin: 18px 0 0;
  color: #c6d0d6;
  font-size: 15px;
  line-height: 1.65;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.privacy-points span {
  color: #b9c5cc;
  font-size: 12.5px;
  line-height: 1.55;
}

.privacy-points b {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-weight: 560;
}

/* ---------- Apoie o projeto ---------- */

.support {
  padding: clamp(48px, 7vw, 82px) 0;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.support-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.support-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.support-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--expense-bg);
  color: var(--expense-ink);
}

.support-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-head .eyebrow {
  margin-bottom: 12px;
}

.support-head h2 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.support-head p:not(.eyebrow) {
  max-width: 64ch;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.support-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.support-action strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.support-action p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.support-action p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.support-action .btn {
  margin-top: 16px;
}

.support-status {
  min-height: 18px;
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 12px;
}

.support-status.is-done {
  color: var(--income-ink);
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.faq-copy p {
  max-width: 36ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-list details {
  border-top: 1px solid var(--line-strong);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 540;
  letter-spacing: -0.015em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--ink-soft);
  transform: translate(-50%, -50%);
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms var(--ease);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details p {
  max-width: 64ch;
  margin: 0;
  padding: 0 30px 22px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 0 0 clamp(64px, 8vw, 96px);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}

.cta-card > * {
  position: relative;
}

.cta-card img {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--paper-2);
}

.cta-card .eyebrow {
  justify-content: center;
}

.cta-card h2 {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  text-wrap: balance;
}

.cta-card > p {
  max-width: 44ch;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.cta-card small {
  display: block;
  margin-top: 22px;
  color: var(--ink-faint);
  font-size: 11px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.6fr);
  gap: 32px;
}

.footer-brand p {
  max-width: 28ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-col span {
  margin-bottom: 3px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  width: fit-content;
  color: var(--ink-soft);
  font-size: 13px;
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 11px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav {
    gap: 18px;
  }

  .float-card {
    left: auto;
    right: 10px;
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 760px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .split-copy {
    max-width: 640px;
  }

  .spreadsheet-art {
    max-width: 520px;
  }

  .mobile-section .split {
    gap: 44px;
  }

  .phone-wrap {
    order: 2;
  }

  .mobile-section .split-copy {
    order: 1;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-copy p {
    max-width: 52ch;
  }

  .privacy-points {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 0.8fr);
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .header-inner {
    min-height: 66px;
  }

  .section-head {
    display: grid;
    gap: 14px;
    align-items: start;
  }

  .section-lede {
    max-width: 52ch;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-grid > div:first-child {
    border-top: 0;
  }

  .step-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step-grid li {
    padding-top: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .feature-card {
    min-height: 0;
  }

  .split {
    gap: 36px;
  }

  .privacy-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .privacy-lock {
    width: 48px;
    height: 48px;
  }

  .phone {
    transform: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-actions {
    gap: 7px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .btn-small {
    padding: 0 12px;
    font-size: 12.5px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 2.8rem);
    max-width: 12ch;
  }

  .lede {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .micro-list {
    display: grid;
    gap: 8px;
  }

  .float-card {
    display: none;
  }

  .shot-note {
    margin-top: 12px;
    text-align: left;
  }

  .section-head h2,
  .split-copy h2,
  .faq-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .feature-card {
    padding: 22px;
  }

  .spreadsheet-art {
    padding: 14px;
  }

  .sheet-grid {
    font-size: 9.5px;
  }

  .sheet-head,
  .sheet-cell {
    padding: 7px 5px;
  }

  .sheet-arrow {
    display: none;
  }

  .privacy-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .privacy-lede {
    font-size: 14px;
  }

  .faq-list summary {
    font-size: 14.5px;
    gap: 16px;
  }

  .cta-card {
    padding: 32px 20px;
    border-radius: 22px;
  }

  .cta-card small {
    margin-top: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
    gap: 5px;
  }
}

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

  .support-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .support {
    padding: 48px 0;
  }

  .support-panel {
    padding: 22px 18px;
  }

  .support-head h2 {
    font-size: 1.8rem;
  }

  .support-action {
    padding: 16px;
  }
}

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

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