/* magi landing page. Dark only: <html data-theme="dark"> forces the kit's dark tokens (tokens.css, unchanged). */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/geist-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/geist-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/geist-latin-600-normal.woff2") format("woff2");
}

:root {
  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: 16px;
  --max: 1120px;
  --radius-card: 16px;

  /* The chat mockup depicts WhatsApp's dark theme, so inside the phone these stand in for its colors. */
  --wa-bg: #0b141a;
  --wa-head: #202c33;
  --wa-in: #202c33;
  --wa-out: #005c4b;
  --wa-text: #e9edef;
  --wa-sub: #8696a0;
  --wa-icon: #aebac1;
  --wa-field: #2a3942;
  --wa-chip: #182229;
  --wa-meta: rgba(233, 237, 239, 0.8); /* >= 4.5:1 on the green bubble at 11px */
  --wa-read: #53bdeb;
  --wa-green: #21c063;
}

/* Bic blue (the user's call, 2026-11-04): the kit's own ink, on the dark site. Two tones of one hue:
   --accent-fill #2443c4  fills: buttons, selection, with white text (7.9:1)
   --accent      #708dff  text, icons, focus rings, ink marks (6.9:1 on #000, 5.6:1 on #1c1c1e)
   #2443c4 itself is only 2.7:1 on black, so it never carries text or a thin line here. */
:root[data-theme="dark"] {
  --accent: #708dff;
  --accent-fill: #2443c4;
  --on-accent: #ffffff;
  --heat-1: #1a2c82;
  --heat-2: #2443c4;
  --heat-3: #4a67e3;
  --heat-4: #708dff;
  --cat-1: #2443c4;
}

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

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

/* Added by site.js after load, so opening /#lista jumps instead of flying past every section. */
@media (prefers-reduced-motion: no-preference) {
  html.smooth {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg-grouped);
  color: var(--label);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

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

/* Components set display; the hidden attribute must still win. */
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent-fill, var(--accent));
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) var(--ease-out);
}

.button:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.button--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

/* Navigation: the only glass on the page. */

.nav {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 10px 0 20px;
  border-radius: var(--radius-card);
  background: var(--material-bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-rim);
  box-shadow: var(--glass-shadow);
}

.wordmark {
  text-decoration: none;
}

/* Bricolage Grotesque as outlines, sized as 27px type. The site doesn't load that font. */
.wordmark svg {
  display: block;
  width: 57.3px;
  height: 24.4px;
  fill: currentColor;
}

.nav-links {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--label-2);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--dur-fade) var(--ease-out);
}

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

.nav .button {
  margin-left: auto;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav .button {
    margin-left: 8px;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px var(--gutter) 56px;
}

.glyphs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-copy {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.lede {
  color: var(--label-2);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  max-width: 52ch;
  text-wrap: pretty;
}

.cta {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: 8px;
}

.cta-note {
  color: var(--label-2);
  font-size: 15px;
}

@media (min-width: 960px) {
  .hero {
    padding-top: 116px;
  }
}

/* Stage: the phone in the middle, the hands reaching it (canvas), dashboard cards around. */

.stage {
  --pw: 360px;
  position: relative;
  max-width: 1240px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 760px) {
  .stage {
    margin-top: 40px;
  }
}

.stage-note {
  margin-top: 20px;
  color: var(--label-2);
  font-size: 13px;
}

/* ── Phone, drawn in CSS ──────────────────────────────────────────────── */

/* The slot never moves; the hands are placed by it while the phone inside rises in the entrance. */
.phone-slot {
  position: relative;
  z-index: 1;
}

.phone {
  position: relative;
  z-index: 1;
  width: var(--pw);
  aspect-ratio: 360 / 742;
  border-radius: 62px;
  background: #050505;
  /* Frame: bezel edge, dark band, polished rim. Solid rings, no gradients. */
  box-shadow:
    inset 0 0 0 1.5px #2c2c2e,
    0 0 0 1.5px #1c1c1e,
    0 0 0 3px #3a3a3c,
    0 0 0 4px #636366;
}

@media (max-width: 419px) {
  .phone {
    zoom: 0.86;
  }
}

@media (max-width: 359px) {
  .phone {
    zoom: 0.78;
  }
}

.phone-btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #48484a;
}

.phone-btn--action {
  left: -7px;
  top: 126px;
  height: 30px;
}

.phone-btn--up {
  left: -7px;
  top: 184px;
  height: 56px;
}

.phone-btn--down {
  left: -7px;
  top: 252px;
  height: 56px;
}

.phone-btn--power {
  right: -7px;
  top: 214px;
  height: 90px;
}

.screen {
  position: absolute;
  inset: 11px;
  border-radius: 51px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--wa-bg);
  color: var(--wa-text);
}

.statusbar {
  position: relative;
  flex: none;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 28px 0 36px;
  background: var(--wa-head);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 112px;
  height: 33px;
  margin-left: -56px;
  border-radius: 20px;
  background: #000;
}

.sb-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sb-signal {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 11px;
}

.sb-signal i {
  width: 3px;
  border-radius: 1px;
  background: currentColor;
}

.sb-signal i:nth-child(1) { height: 4px; }
.sb-signal i:nth-child(2) { height: 6px; }
.sb-signal i:nth-child(3) { height: 8.5px; }
.sb-signal i:nth-child(4) { height: 11px; }

.sb-net {
  font-size: 12px;
  font-weight: 600;
}

.sb-battery {
  position: relative;
  width: 25px;
  height: 12px;
  padding: 1.5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
}

.sb-battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3.5px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: rgba(255, 255, 255, 0.45);
}

.sb-battery i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
}

/* Chat header */

.wa-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 10px 4px;
  background: var(--wa-head);
}

.wa-actions {
  display: flex;
  gap: 18px;
  margin-left: auto;
  color: var(--wa-icon);
}

.wa-ic {
  flex: none;
  width: 24px;
  height: 24px;
}

.wa-back {
  width: 30px;
  height: 30px;
  color: var(--wa-icon);
}

.wa-avatar {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
}

.wa-who {
  display: grid;
  margin-left: 4px;
  line-height: 1.2;
}

.wa-name {
  font-size: 16px;
  font-weight: 600;
}

.wa-status {
  color: var(--wa-sub);
  font-size: 12.5px;
}

/* Messages */

.wa-chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 14px 12px;
  overflow: hidden;
  background: var(--wa-bg) url("../img/wa-doodles.svg") 0 0 / 240px 240px repeat;
}

.wa-chat:not(.is-playing) {
  justify-content: flex-end;
}

.wa-day {
  align-self: center;
  margin: 2px 0 4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--wa-chip);
  color: var(--wa-sub);
  font-size: 12px;
}

.msg {
  position: relative;
  flex-shrink: 0;
  max-width: 82%;
  margin-top: 8px;
  padding: 6px 9px 7px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.32;
}

.msg p {
  overflow-wrap: anywhere;
}

.msg strong {
  font-weight: 600;
}

/* Bubble tails: at the bottom corner, as WhatsApp draws them. The bubble keeps its four rounded corners, and
   the notch between the tail and the corner is part of the shape. Polygons in %, so they follow the phones' zoom. */
.msg::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 14px;
  background: inherit;
}

.msg--out {
  align-self: flex-end;
  background: var(--wa-out);
}

.msg--out::before {
  right: -6px;
  clip-path: polygon(50.0% 0.0%, 50.5% 14.6%, 52.0% 28.2%, 54.5% 40.9%, 58.0% 52.7%, 62.5% 63.4%, 68.0% 73.0%, 74.5% 81.5%, 82.0% 88.9%, 90.5% 95.1%, 100.0% 100.0%, 89.3% 100.0%, 78.5% 100.0%, 67.8% 99.4%, 57.1% 97.8%, 46.5% 95.5%, 36.2% 92.5%, 26.3% 88.7%, 16.7% 84.3%, 0.0% 57.1%, 0.0% 0.0%);
}

.msg--in {
  align-self: flex-start;
  background: var(--wa-in);
}

.msg--in::before {
  left: -6px;
  clip-path: polygon(50.0% 0.0%, 49.5% 14.6%, 48.0% 28.2%, 45.5% 40.9%, 42.0% 52.7%, 37.5% 63.4%, 32.0% 73.0%, 25.5% 81.5%, 18.0% 88.9%, 9.5% 95.1%, 0.0% 100.0%, 10.7% 100.0%, 21.5% 100.0%, 32.2% 99.4%, 42.9% 97.8%, 53.5% 95.5%, 63.8% 92.5%, 73.7% 88.7%, 83.3% 84.3%, 100.0% 57.1%, 100.0% 0.0%);
}

/* Room for the time (and ticks) at the end of the last line. */
.msg p::after {
  content: "";
  display: inline-block;
  width: 38px;
}

.msg--out p::after {
  width: 56px;
}

.meta {
  position: absolute;
  right: 8px;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--wa-meta);
  font-size: 11px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.msg--in .meta {
  color: var(--wa-sub);
}

.ticks {
  width: 17px;
  height: 11px;
  color: var(--wa-read);
}

/* Voice note */

.msg--voice {
  display: grid;
  grid-template-columns: 18px 156px;
  grid-template-rows: auto 14px;
  column-gap: 12px;
  align-items: center;
  padding: 10px 10px 6px 14px;
}

.play {
  width: 0;
  height: 0;
  border-left: 14px solid var(--wa-text);
  border-top: 8.5px solid transparent;
  border-bottom: 8.5px solid transparent;
}

.vwave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 26px;
  padding-left: 6px;
}

.vwave i {
  width: 3px;
  height: calc(var(--h) * 24px + 2px);
  border-radius: 2px;
  background: rgba(233, 237, 239, 0.5);
}

/* Playhead. */
.vwave::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--wa-read);
}

.vlen {
  grid-column: 2;
  color: var(--wa-meta);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

/* Photo of a receipt */

.msg--photo {
  padding: 3px;
}

.photo {
  position: relative;
  width: 206px;
  height: 148px;
  overflow: hidden;
  border-radius: 7px;
  background: #2a2d2f;
}

.slip {
  position: absolute;
  left: 40px;
  top: 14px;
  width: 128px;
  margin: 0;
  padding: 10px 8px 18px;
  background: #e5e5ea;
  color: #3a3a3c;
  font-family: var(--font-mono);
  font-size: 8.4px;
  line-height: 1.5;
  transform: rotate(-5deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 90% 95%, 80% 100%, 70% 95%, 60% 100%, 50% 95%, 40% 100%, 30% 95%, 20% 100%, 10% 95%, 0 100%);
}

.meta--onphoto {
  right: 9px;
  bottom: 9px;
  padding: 3px 6px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

/* Input bar */

.wa-input {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px 32px;
  background: var(--wa-head);
  color: var(--wa-icon);
}

.wa-field {
  flex: 1;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 17px;
  background: var(--wa-field);
  color: var(--wa-sub);
  font-size: 14px;
}

.home-bar {
  position: absolute;
  bottom: 9px;
  left: 50%;
  width: 128px;
  height: 5px;
  margin-left: -64px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.88);
}

/* Chat playback (chat.js). Without JS, or with reduced motion, the whole conversation stays still. */

.wa-chat.is-playing > .msg:not(.is-in) {
  display: none;
}

.wa-chat.is-playing > .msg.is-in {
  animation: msg-in var(--dur-enter) var(--ease-out) both;
}

.wa-chat.is-clearing > .msg {
  opacity: 0;
  transition: opacity var(--dur-fade) var(--ease-out);
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Dashboard cards (same look as the magi dashboard) ────────────────── */

.card {
  position: absolute;
  z-index: 2;
  display: none;
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--bg);
  border: 1px solid var(--separator);
}

.card-label {
  color: var(--label-2);
  font-size: 13px;
  font-weight: 500;
}

/* Últimas movimentações */

.card--moves {
  width: 304px;
  padding: 14px 0 6px 16px;
}

.rows {
  margin-top: 8px;
}

.row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 0;
  border-bottom: 1px solid var(--separator);
  transition: background-color var(--dur-fade) var(--ease-out);
}

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

.row.is-hit .pebble {
  background: var(--accent-fill, var(--accent));
  color: var(--on-accent);
}

.pebble {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--pebble);
  color: var(--label-2);
  transition: background-color var(--dur-enter) var(--ease-out), color var(--dur-enter) var(--ease-out);
}

.pebble svg {
  width: 20px;
  height: 20px;
}

.row-main {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.row-title {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-sub {
  color: var(--label-2);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-amt {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

/* Esta semana */

.card--week {
  width: 300px;
}

.amount {
  display: flex;
  align-items: baseline;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.amount-cur {
  color: var(--label-2);
  font-size: 20px;
  font-weight: 600;
  margin-right: 6px;
}

.amount-int {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.amount-dec {
  color: var(--label-2);
  font-size: 22px;
  font-weight: 600;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--label-2);
  font-size: 13px;
}

.ic {
  flex: none;
  width: 14px;
  height: 14px;
}

/* Gastos por categoria */

.card--donut {
  width: 300px;
}

.donut-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.donut {
  position: relative;
  flex: none;
  width: 104px;
  height: 104px;
}

.donut svg {
  display: block;
  width: 100%;
  height: 100%;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.15;
}

.donut-center b {
  font-size: 13px;
  font-weight: 600;
}

.donut-center span {
  color: var(--label-2);
  font-size: 11px;
}

.legend {
  flex: 1;
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.legend li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 8px;
  color: var(--label-2);
}

.legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend b {
  color: var(--label);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* Mapa de gastos */

.card--heat {
  width: 268px;
}

.heat-line {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.accent {
  color: var(--accent);
}

.heat {
  display: grid;
  grid-template-rows: repeat(7, 14px);
  grid-auto-flow: column;
  grid-auto-columns: 14px;
  gap: 4px;
  margin-top: 14px;
}

.heat i,
.heat-legend i {
  border-radius: 4px;
}

.h0 { background: var(--heat-0); }
.h1 { background: var(--heat-1); }
.h2 { background: var(--heat-2); }
.h3 { background: var(--heat-3); }
.h4 { background: var(--heat-4); }

.heat .is-picked {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.heat-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 12px;
  color: var(--label-2);
  font-size: 12px;
}

.heat-legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

/* Card positions, around the phone and clear of the hands (which reach its upper third). */

@media (min-width: 960px) {
  .card--moves,
  .card--week {
    display: block;
  }
  .card--moves {
    top: 266px;
    right: calc(50% + var(--pw) / 2 + 40px);
  }
  .card--week {
    top: 284px;
    left: calc(50% + var(--pw) / 2 + 40px);
  }
}

@media (min-width: 1200px) {
  .card--donut,
  .card--heat {
    display: block;
  }
  .card--donut {
    top: 506px;
    right: calc(50% + var(--pw) / 2 + 96px);
  }
  .card--heat {
    top: 462px;
    left: calc(50% + var(--pw) / 2 + 96px);
  }
}

/* Phones: one card, overlapping the bottom of the phone. */
@media (max-width: 959px) {
  .card--week {
    position: relative;
    display: block;
    width: 236px;
    margin: -92px -6px 0 auto;
    align-self: flex-end;
    padding: 14px;
  }
  .card--week .amount-int {
    font-size: 34px;
  }
  .stage {
    width: min(100%, 400px);
  }
}

/* ── Entrance (desktop; <html class="intro"> is set by the inline script in <head>) ──
   1. glyphs.js brings the hands in; 2. "intro-phone": the phone rises; 3. "intro-done": chat.js starts
   the conversation and reveals the widgets one by one ("is-shown"). "intro-fallback" shows everything. */

.hero .phone {
  transition: transform 1200ms var(--ease-out), opacity 700ms var(--ease-out);
}

.card,
.stage-note {
  transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
}

.intro:not(.intro-phone):not(.intro-fallback) .hero .phone {
  opacity: 0;
  transform: translateY(300px);
}

.intro:not(.intro-phone):not(.intro-fallback) .hero .stage-note {
  opacity: 0;
}

.intro:not(.intro-fallback) .card:not(.is-shown) {
  opacity: 0;
  transform: translateY(28px);
}

/* Widgets drift gently once they are on screen (translate, so it composes with the entrance transform). */
@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: drift-a 7s ease-in-out infinite;
  }
  .card--week {
    animation-name: drift-b;
    animation-duration: 8.5s;
    animation-delay: -3s;
  }
  .card--donut {
    animation-name: drift-b;
    animation-duration: 9.2s;
    animation-delay: -1.5s;
  }
  .card--heat {
    animation-duration: 7.8s;
    animation-delay: -5s;
  }
}

@keyframes drift-a {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes drift-b {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 6px -8px;
  }
}

/* ── Sections below the hero (magi-landing-page-design: type scale 11…60, spacing 4…96) ── */

.button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.section {
  padding: 96px var(--gutter);
  scroll-margin-top: 72px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 680px;
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

/* Heading 2: 48 / 40. */
.section h2 {
  font-size: clamp(2.125rem, 1.6rem + 1.8vw, 3rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Heading 6 / Title 2 for blocks inside sections. */
.section h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

/* The second beat of a two-beat headline. */
.line {
  display: block;
  text-wrap: balance;
}

/* Body 1, secondary. */
.section-lede {
  color: var(--label-2);
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.5;
  max-width: 54ch;
  text-wrap: pretty;
}

.fineprint {
  margin-top: 24px;
  color: var(--label-2);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 759px) {
  .section {
    padding: 64px var(--gutter);
  }
  .section-head {
    margin-bottom: 32px;
  }
}

/* Scroll reveal (site.js): only section heads and main visuals. */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out);
}

.reveal-on .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ── Signature: a hand-drawn stroke of Bic-pen ink on the one figure that matters ── */

.ink {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.ink-mark {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ink-mark path {
  vector-effect: non-scaling-stroke;
}

.ink:has(> .ink-mark--circle) {
  margin-inline: 6px;
}

.ink-mark--circle {
  left: -16%;
  top: -34%;
  width: 132%;
  height: 168%;
}

.ink-mark--under {
  left: -2%;
  bottom: -8px;
  width: 104%;
  height: 10px;
}

/* The stroke draws itself left to right once its block is revealed (site.js adds .ink-on). */
.reveal-on [data-ink] .ink-mark {
  clip-path: inset(-40% 100% -40% -10%);
  transition: clip-path 800ms var(--ease-out);
}

.reveal-on [data-ink].ink-on .ink-mark {
  clip-path: inset(-40% -10% -40% -10%);
}

/* WhatsApp threads outside the phone: same bubbles, same wallpaper, no frame. */
.wa-thread {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 24px;
  border-radius: 20px;
  background: var(--wa-bg) url("../img/wa-doodles.svg") 0 0 / 240px 240px repeat;
  color: var(--wa-text);
}

.wa-thread > :first-child {
  margin-top: 0;
}

.wa-link {
  display: block;
  margin-top: 8px;
  color: var(--wa-read);
  font-size: 15px;
}

.wa-link .ink-mark {
  stroke: var(--wa-read);
}

.msg--summary {
  max-width: 92%;
}

/* ── 2. Por que: the month, de cabeça ─────────────────────────────────── */

/* Stacked on phones in reading order: head, month, verdict. Side by side, the verdict closes the left column
   at the height of the month's last line. */
.why {
  display: grid;
  gap: 40px;
  min-width: 0;
}

.why .section-head {
  margin-bottom: 0;
}

@media (min-width: 760px) {
  .why {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "head mes"
      "verdict mes";
    gap: 40px 32px;
  }
  .why .section-head {
    grid-area: head;
  }
  .mes {
    grid-area: mes;
    align-self: center;
  }
  .verdict {
    grid-area: verdict;
    align-self: end;
  }
}

/* One month, told two ways (mes.js). Phones: a balance in a card, draining as the lines light up. From 760px: no card,
   and the salary, in digits, blows away above the same lines. As written here it is the last frame. */
.mes {
  min-width: 0;
  padding: 24px;
  border-radius: 20px;
  background: var(--bg);
  font-variant-numeric: tabular-nums;
}

.mes-title {
  margin-bottom: 12px;
  color: var(--label-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.mes-stage {
  position: relative;
}

.mes-dust {
  display: none;
}

.mes-cap {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

/* Heading 2: 48 / 40. */
.mes-num {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

/* What's left of the month. It keeps its place when it fades, so nothing jumps. */
.mes-bar {
  height: 4px;
  margin-block: 12px 8px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--fill);
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}

.mes.is-live .mes-bar {
  opacity: 1;
}

.mes.is-live.is-done .mes-bar {
  opacity: 0;
}

.mes-bar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--label);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 560ms var(--ease-out);
}

.mes-rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
  border-top: 1px solid var(--separator);
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
  transition: opacity 420ms var(--ease-out);
}

.mes-rows li:first-child {
  border-top: 0;
}

.mes-rows li:last-child {
  padding-bottom: 0;
}

.mes-rows li.is-dim {
  opacity: 0.28;
}

.is-vague {
  color: var(--label-2);
}

@media (min-width: 760px) {
  .mes {
    padding: 0;
    border-radius: 0;
    background: none;
  }
  .mes-title {
    margin-bottom: 8px;
    text-align: center;
  }
  .mes-stage {
    height: 200px;
    margin-bottom: 12px;
  }
  /* It overhangs the stage so the dust isn't cut off at its edge; the section keeps it inside the screen. */
  #por-que {
    overflow-x: clip;
  }
  .mes-dust {
    position: absolute;
    top: -48px;
    left: -64px;
    display: block;
    width: calc(100% + 128px);
    height: calc(100% + 96px);
    pointer-events: none;
  }
  .mes-end {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  }
  .mes-end.is-wait {
    opacity: 0;
    transform: translateY(8px);
  }
  .mes-cap {
    order: 2;
    margin-bottom: 0;
    color: var(--label-2);
    font-weight: 400;
  }
  .mes-num {
    font-size: 48px;
  }
  .mes-bar {
    display: none;
  }
}

@media (min-width: 960px) {
  .why {
    column-gap: 64px;
  }
}

.verdict {
  display: grid;
  gap: 12px;
}

/* Heading 3: 34 / 28. */
.verdict-line {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.verdict-sub {
  max-width: 46ch;
  color: var(--label-2);
  font-size: 17px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* ── 3. Como funciona: um dia ───────────────────────────────────────────── */

/* Without JS, and in print, every moment shows, one under the other. site.js adds .is-live. */
.rotina {
  --rotina-t: 7000ms; /* how long each hour stays on screen */
}

.rotina:not(.is-live) .rotina-list {
  display: none;
}

/* The hours: a rail on phones. Each item draws the stretch of line up to the next hour. */
.rotina-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.rotina-item {
  position: relative;
}

.rotina-item:first-child::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 50%;
  height: 1px;
  background: var(--accent);
}

.rotina-btn {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--label-2);
  font: inherit;
  cursor: pointer;
}

.rotina-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--label-3);
  transition: transform var(--dur-enter) var(--ease-out), background var(--dur-fade) var(--ease-out);
}

.rotina-btn time {
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: color var(--dur-fade) var(--ease-out);
}

.rotina-title,
.rotina-more {
  display: none;
}

.rotina-bar {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: var(--separator);
}

.rotina-item:last-child .rotina-bar {
  width: 50%;
}

.rotina-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.rotina-item.is-past .rotina-bar i {
  transform: none;
}

.rotina-item.is-past .rotina-dot,
.rotina-item.is-active .rotina-dot {
  background: var(--accent);
}

.rotina-item.is-active .rotina-dot {
  transform: scale(1.5);
}

.rotina-item.is-active .rotina-btn {
  color: var(--label);
}

/* Linear on purpose: this bar is a clock. Its animationend moves the day on, so a pause can't lose its place. */
.rotina-item.is-active .rotina-bar i {
  animation: rotina-fill var(--rotina-t) linear both;
}

@keyframes rotina-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: none;
  }
}

/* The moment: the photo, the messages over it, the caption. */
.rotina-stage {
  display: grid;
  gap: 16px;
}

.rotina-slide {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--separator);
  border-radius: 20px;
}

.rotina-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg);
}

.rotina-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}

.rotina-chat {
  position: absolute;
  right: 12px;
  bottom: 16px;
  left: 12px;
  padding: 0;
  border-radius: 0;
  background: none;
}

/* The one soft shadow on the page: bubbles float over a photo. */
.rotina-chat .msg {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.rotina-slide figcaption {
  padding: 24px;
}

.rotina-slide h3 {
  font-size: 20px;
  font-weight: 500;
  text-wrap: balance;
}

.rotina-slide figcaption p {
  margin-top: 8px;
  color: var(--label-2);
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* One moment at a time. All four share one grid cell, so the height never jumps. */
.rotina.is-live .rotina-stage {
  gap: 0;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}

.rotina.is-live .rotina-slide {
  grid-area: 1 / 1;
  background: var(--bg-grouped);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-enter) var(--ease-out), visibility 0s linear var(--dur-enter);
}

.rotina.is-live .rotina-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-enter) var(--ease-out), visibility 0s;
}

.rotina-slide.is-active img {
  animation: rotina-zoom var(--rotina-t) var(--ease-out) both;
}

@keyframes rotina-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: none;
  }
}

/* The person's message, then magi's answer. */
.rotina-slide.is-active .msg {
  animation: msg-in var(--dur-enter) var(--ease-out) 240ms both;
}

.rotina-slide.is-active .msg + .msg {
  animation-delay: 1000ms;
}

.rotina.is-held .rotina-bar i,
.rotina.is-held .rotina-slide.is-active img {
  animation-play-state: paused;
}

/* Tablets keep the phone's order, at a width the photo holds. */
@media (min-width: 760px) and (max-width: 959px) {
  .rotina {
    max-width: 560px;
  }
}

/* Desktop: the hours as a list beside the photo. The current one opens, and its bottom line is the clock. */
@media (min-width: 960px) {
  .rotina {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "head stage"
      "list stage";
    column-gap: 64px;
    align-items: center;
  }
  .rotina .section-head {
    grid-area: head;
    margin-bottom: 32px;
  }
  .rotina-list {
    grid-area: list;
    display: block;
    align-self: start;
    margin: 0;
  }
  .rotina-stage {
    grid-area: stage;
  }
  .rotina-item:first-child::before,
  .rotina-dot {
    display: none;
  }
  .rotina-item {
    border-top: 1px solid var(--separator);
  }
  .rotina-btn {
    grid-template-columns: 56px minmax(0, 1fr);
    justify-items: start;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    text-align: left;
  }
  .rotina-btn time {
    font-size: 15px;
  }
  .rotina-title {
    display: block;
    font-size: 17px;
    font-weight: 500;
    transition: color var(--dur-fade) var(--ease-out);
  }
  .rotina-btn:hover {
    color: var(--label);
  }
  /* The pull towards the title sits here, outside the clipping box, or it cuts the top of the text.
     The two margins cancel out while the description is closed. */
  .rotina-more {
    display: grid;
    grid-template-rows: 0fr;
    margin-block: -8px 8px;
    transition: grid-template-rows var(--dur-enter) var(--ease-out);
  }
  .rotina-more > div {
    overflow: hidden;
    min-height: 0;
  }
  .rotina-more p {
    padding: 0 0 8px 72px;
    color: var(--label-2);
    font-size: 15px;
    line-height: 1.5;
    text-wrap: pretty;
  }
  .rotina-item.is-active .rotina-more {
    grid-template-rows: 1fr;
  }
  .rotina-bar,
  .rotina-item:last-child .rotina-bar {
    top: auto;
    bottom: -1px;
    left: 0;
    width: 100%;
    background: none;
  }
  .rotina-item.is-past .rotina-bar i {
    transform: scaleX(0);
  }
  .rotina-slide {
    border: 0;
  }
  .rotina.is-live .rotina-slide figcaption {
    display: none;
  }
}

/* ── 4. O painel: the bridge ──────────────────────────────────────────── */

.bridge {
  display: grid;
  gap: 48px;
}

.bridge-step {
  display: grid;
  gap: 16px;
  align-content: start;
}

.bridge-step--panel {
  justify-items: center;
}

.bridge-step--panel .bridge-label {
  justify-self: center;
}

.bridge-step:first-child .wa-thread {
  max-width: 440px;
}

.bridge-label {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  font-size: 17px;
  font-weight: 500;
}

/* Phones show the summary as one bubble (.wa-thread); wider screens show the whole WhatsApp screen. */
.bridge-summary {
  display: none;
}

@media (min-width: 760px) {
  .bridge {
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: start;
    gap: 80px;
  }
  .bridge-step {
    justify-items: center;
  }
  .bridge-label {
    justify-self: center;
  }
  .bridge-step:first-child .wa-thread {
    display: none;
  }
  .bridge-summary {
    display: block;
  }
}

@media (min-width: 960px) {
  .bridge {
    gap: clamp(128px, 14vw, 192px);
  }
}

.phone--summary {
  --pw: 360px;
  zoom: 0.84;
}

.msg--report {
  max-width: 90%;
}

.msg--report p + p {
  margin-top: 1.32em;
}

.msg--report p:not(:last-of-type)::after {
  display: none;
}

/* WhatsApp's own look for what it detects in a message: amounts and links. */
.wa-amt,
.wa-url {
  color: var(--wa-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bridge-n {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-grouped-2);
  color: var(--label);
  font-family: var(--font-mono);
  font-size: 13px;
}

.phone--panel {
  --pw: 360px;
  zoom: 0.84;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}

.phone--panel:active {
  cursor: grabbing;
}

.phone--panel .screen {
  background: #000000;
}

/* Exactly the screenshots' empty top, so their content starts right under it. */
.phone--panel .statusbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 46px;
  background: #000000;
}

.shot {
  -webkit-user-drag: none;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  transform: translateX(100%);
  transition: transform 700ms var(--ease-out);
}

.shot.is-active {
  transform: none;
}

@media (max-width: 419px) {
  .phone--panel {
    zoom: 0.76;
  }
}

/* ── 5. Cartões ───────────────────────────────────────────────────────── */

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.split--top {
  align-items: start;
}

.split-text {
  display: grid;
  gap: 16px;
  justify-items: start;
  align-content: start;
}

.split-visual {
  display: grid;
  gap: 16px;
}

/* Outline cards, the same at every width. */
.trust {
  display: grid;
  gap: 12px;
}

.trust li {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--separator);
  border-radius: 16px;
}

.points-ic {
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--accent-fill);
  border-radius: 12px;
  color: var(--label);
}

.trust h3 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.trust p {
  margin-top: 8px;
  color: var(--label-2);
  font-size: 15px;
  line-height: 1.5;
}

@media (min-width: 760px) {
  .trust {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* The panel's own cards, from design-kit/telas, cropped to the edges so they line up with the bubbles. */
.cards-shot {
  display: block;
  width: 100%;
  height: auto;
}

/* ── 6. O que o magi não faz ──────────────────────────────────────────── */

.soon {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

/* ── 7. Tagline reveal ────────────────────────────────────────────────── */

/* Heading 1 to Heading 3 range: 60 / 34. */
.tagline {
  max-width: 820px;
  font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.75rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.tagline .word {
  color: rgba(235, 235, 245, 0.42);
  transition: color 420ms var(--ease-out);
}

.tagline .word.is-lit {
  color: var(--label);
}


/* ── 8. Lista ─────────────────────────────────────────────────────────── */

.signup {
  display: grid;
  gap: 40px;
  padding: 24px 16px;
  border-radius: 24px;
  background: var(--bg);
}

@media (min-width: 760px) {
  .signup {
    padding: 48px;
  }
}

@media (min-width: 960px) {
  .signup {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
  }
}

.signup-text {
  display: grid;
  gap: 16px;
}

.signup-free {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.signup-free .ic {
  width: 16px;
  height: 16px;
  color: var(--label-2);
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 15px;
  font-weight: 500;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--bg-grouped-2);
  color: var(--label);
  font: inherit;
  font-size: 17px;
  transition: border-color var(--dur-fade) var(--ease-out);
}

.field input::placeholder {
  color: var(--label-2);
}

.field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.field input[aria-invalid="true"] {
  border-color: var(--orange);
}

.field--check {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 4px 12px;
}

.field--check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent-fill, var(--accent));
}

.check-text {
  margin: 0;
  color: var(--label-2);
  font-size: 15px;
  line-height: 1.5;
}

.check-text label {
  font-weight: 400;
}

.field--check .field-error {
  grid-column: 2;
}

.field-error,
.form-status {
  color: var(--orange);
  font-size: 15px;
}

.form-status:empty {
  margin-top: -16px;
}

.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.link--quiet {
  color: var(--label-2);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button--block {
  width: 100%;
  margin-top: 8px;
}

.button[disabled],
.button[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
}

.done {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.done:focus {
  outline: none;
}

.done p {
  color: var(--label-2);
}

.done-ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent-fill, var(--accent));
  color: var(--on-accent);
}

.done-ic svg {
  width: 24px;
  height: 24px;
}

/* ── 9. Perguntas ─────────────────────────────────────────────────────── */

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

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  transition: color var(--dur-fade) var(--ease-out);
}

.faq summary:hover {
  color: var(--accent);
}

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

.chev {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--label-2);
  transition: transform var(--dur-fade) var(--ease-out);
}

.faq details[open] .chev {
  transform: rotate(180deg);
}

.faq details p {
  max-width: 60ch;
  padding: 0 0 24px;
  color: var(--label-2);
  font-size: 15px;
  line-height: 1.5;
}

/* ── Footer and privacy dialog ────────────────────────────────────────── */

.footer {
  padding: 48px var(--gutter) 64px;
  border-top: 1px solid var(--separator);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand p,
.footer-links,
.footer-legal {
  color: var(--label-2);
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-legal {
  grid-column: 1 / -1;
  font-size: 13px;
}

.privacy {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--bg);
  color: var(--label);
}

.privacy::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.privacy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 4px 24px;
}

.privacy-head h2 {
  font-size: 20px;
  font-weight: 600;
}

.icon-btn {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--fill);
  color: var(--label);
  cursor: pointer;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.privacy-list {
  margin: 0;
  padding: 4px 24px 24px;
}

.privacy-list dt {
  margin-top: 16px;
  font-weight: 600;
}

.privacy-list dd {
  margin: 4px 0 0;
  color: var(--label-2);
}

/* ── Added in v1.3 ────────────────────────────────────────────────────── */

/* The three objections, as facts. */
.band {
  padding: 0 var(--gutter);
}

.band-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-block: 1px solid var(--separator);
  text-align: center;
}

.band-inner li {
  display: grid;
  align-content: start;
  gap: 4px;
}

.band-value {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.band-label {
  color: var(--label-2);
  font-size: 13px;
  line-height: 1.3;
}

/* Phones only; see below. */
.section-cta {
  display: none;
}

/* ── Phones: one idea per screen ──────────────────────────────────────────
   Centered heads in big medium-weight type, outline cards for explanation, filled surfaces only for
   product UI, a button closing each block. Weight 500 and -0.03em tracking are the user's call
   (2026-11-04, simpler and more modern), over the skill's 600 and -0.02em. */
@media (max-width: 759px) {
  .nav {
    height: 56px;
    padding: 0 8px 0 20px;
    border-radius: 999px;
  }
  /* Neutral here: the blue button in each block leads, and the two never compete on one screen. */
  .nav .button {
    background: var(--fill);
    color: var(--label);
  }

  .hero {
    padding: 104px var(--gutter) 40px;
  }
  .hero-copy {
    gap: 16px;
  }
  /* 40 from 381px, down to 34 on the smallest phones, so "e a culpa não é sua" holds its line at 360. */
  .hero h1,
  .section h2,
  .tagline {
    font-size: clamp(2.125rem, 10.5vw, 2.5rem);
  }
  /* The "+" backdrop runs under the copy. Hidden, not display:none: glyphs.js measures the canvas and
     only then starts the chat. */
  .glyphs {
    visibility: hidden;
  }
  .band-value {
    font-size: 22px;
  }
  .lede,
  .section-lede {
    font-size: 17px;
    text-wrap: balance;
  }
  .stage {
    margin-top: 40px;
  }
  /* Small enough to sit on the phone's corner: the gutter stays clear and the chat's input stays readable. */
  .card--week {
    width: 168px;
    margin: -64px 0 0 auto;
    padding: 12px;
  }
  .card--week .card-label {
    font-size: 12px;
  }
  .card--week .amount {
    margin-top: 4px;
  }
  .card--week .amount-cur {
    margin-right: 4px;
    font-size: 13px;
  }
  .card--week .amount-int {
    font-size: 28px;
  }
  .card--week .amount-dec {
    font-size: 15px;
  }
  .card--week .card-meta {
    gap: 4px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.3;
  }

  .section-head,
  .split-text,
  .signup-text {
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }
  .section-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }

  /* 2. The month, then the verdict */
  .why {
    gap: 32px;
  }
  .verdict {
    justify-items: center;
    text-align: center;
  }
  .verdict-line {
    font-size: 28px;
  }
  .verdict-sub {
    text-wrap: balance;
  }


  /* 4. The bridge: the summary, then the phone its link opens. */
  .bridge {
    gap: 16px;
  }
  .bridge-label,
  .bridge-step:first-child .wa-day {
    display: none;
  }
  .bridge-step:first-child .wa-thread {
    max-width: none;
    padding: 0;
    background: none;
  }

  /* 5. Cartões: bubbles on the page. */
  .split {
    gap: 32px;
  }
  #cartoes .wa-thread {
    padding: 0;
    background: none;
  }

  /* 8. Perguntas */
  .faq {
    display: grid;
    gap: 8px;
  }
  .faq details,
  .faq details:last-child {
    padding: 0 16px;
    border: 1px solid var(--separator);
    border-radius: 16px;
  }
  .faq summary {
    padding: 16px 0;
    font-size: 20px;
    line-height: 1.3;
  }
  .faq details p {
    padding-bottom: 16px;
  }

  /* 7. Tagline */
  .section--tagline {
    text-align: center;
  }
  .tagline {
    margin-inline: auto;
  }

  /* 9. Lista: the head on the page, the form in an outline. */
  .signup {
    gap: 32px;
    padding: 0;
    border-radius: 0;
    background: none;
  }
  .signup-form {
    padding: 24px 16px;
    border: 1px solid var(--separator);
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rotina-item.is-active .rotina-bar i {
    animation: none;
    transform: none;
  }
  .rotina-slide.is-active img,
  .rotina-slide.is-active .msg {
    animation: none;
  }
  .chev,
  .shot,
  .tagline .word,
  .rotina-slide,
  .rotina-more {
    transition: none !important;
  }
}

@media print {
  .mes-rows li.is-dim {
    opacity: 1 !important;
  }
  .mes-end.is-wait {
    opacity: 1 !important;
    transform: none !important;
  }
  .mes-dust {
    display: none !important;
  }
  .rotina-list {
    display: none !important;
  }
  .rotina-stage {
    display: block !important;
  }
  .rotina-slide {
    display: block !important;
    margin-bottom: 16px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .rotina-slide figcaption {
    display: block !important;
  }
  .reveal-on .reveal,
  .reveal-on [data-ink] .ink-mark,
  .tagline .word {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    color: inherit !important;
    transition: none !important;
  }
}
