/* FinBrisk — site oficial
   Direção A: nativo e minimalista, com a entrada coreografada da referência Klack.
   Sem fontes externas, sem framework. Cores tiradas do próprio app:
   menta do ícone (#00D1B6) e grafite do painel (#2D2D2D). */

:root {
  color-scheme: light dark;

  --ground: #F3F5F7;
  --ground-2: #EBEFF2;
  --surface: #FFFFFF;
  --ink: #0F1318;
  --ink-2: #3C4450;
  --muted: #66707E;
  --line: #DCE1E6;
  --line-soft: #E6EAEE;

  --mint: #00D1B6;
  --mint-ink: #007F6E;
  --mint-wash: #DDF5F0;
  --mint-mark: rgba(0, 209, 182, .34);
  --on-mint: #04221D;
  --bad: #BF3A2B;
  --bad-wash: #FBEAE7;

  /* o painel do app, fiel à captura */
  --panel: #2D2D2D;
  --panel-2: #353535;
  --panel-3: #404040;
  --panel-line: #3E3E3E;
  --panel-ink: #F0F0F0;
  --panel-muted: #8C8C8C;
  --panel-dim: #6A6A6A;
  --panel-mint: #15B897;
  --panel-up: #41DE76;
  --panel-up-wash: #274A36;
  --panel-down: #FF6B6B;
  --panel-down-wash: #4A2A2A;
  --scene-ink: #F2F5F7;

  --shadow-card: 0 1px 2px rgba(15, 19, 24, .05), 0 6px 18px -8px rgba(15, 19, 24, .12);
  --shadow-float: 0 40px 80px -28px rgba(8, 12, 16, .55), 0 16px 32px -16px rgba(8, 12, 16, .4);
  --shadow-panel: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -18px rgba(0, 0, 0, .75), 0 10px 24px -10px rgba(0, 0, 0, .6);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4.5vw, 40px);
  /* no iPhone deitado, o texto não entra embaixo do recorte da câmera */
  --pad-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --pad-r: max(var(--gutter), env(safe-area-inset-right, 0px));
  --maxw: 1160px;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #101317;
    --ground-2: #151A1F;
    --surface: #1A1F25;
    --ink: #EDF0F3;
    --ink-2: #C0C7D0;
    --muted: #8E98A4;
    --line: #2A3139;
    --line-soft: #222830;

    --mint-ink: #3FE3C8;
    --mint-wash: #0D2E29;
    --mint-mark: rgba(0, 209, 182, .3);
    --bad: #FF8272;
    --bad-wash: #3A1F1C;

    --shadow-card: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 22px -10px rgba(0, 0, 0, .55);
    --shadow-float: 0 40px 80px -28px rgba(0, 0, 0, .8), 0 16px 32px -16px rgba(0, 0, 0, .6);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; color: var(--ink); }
p, dl, dd, dt { margin: 0; }
s { text-decoration-thickness: 1.5px; }
code { font-family: var(--mono); font-size: .92em; }
button { font: inherit; }
/* toque: sem espera de duplo toque (zoom) nos controles; o retorno visual vem do próprio botão */
a, button, input, select, summary, label { touch-action: manipulation; }
button, .btn { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
a:focus-visible { border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-l) var(--pad-r); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 40;
  background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint-ink);
}

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}

/* ---------- aviso de idioma ---------- */
.lang-banner { background: var(--ink); color: var(--ground); font-size: 14.5px; }
.lang-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.lang-banner a { color: var(--ground); font-weight: 600; }
.lang-banner button {
  color: inherit; background: none; border: 0; cursor: pointer;
  padding: 4px 8px; border-radius: 6px; opacity: .8;
}
.lang-banner button:hover { opacity: 1; }

/* ---------- cabeçalho ---------- */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em;
}
.brand img { width: 30px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.site-nav .btn-mint, .site-nav .btn-mint:hover { color: var(--on-mint); }
.site-nav .lang {
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--ink-2);
}
.site-nav .nav-section { display: none; }
@media (min-width: 820px) { .site-nav .nav-section { display: inline; } }

/* ---------- botões e chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-mint { background: var(--mint); color: var(--on-mint); box-shadow: 0 8px 20px -10px rgba(0, 209, 182, .7); }
.btn-mint:hover { filter: brightness(1.06); text-decoration: none; }
.btn-small { min-height: 36px; padding: 7px 14px; font-size: 14.5px; border-radius: 10px; }

.status-chip {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 48px; padding: 10px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.status-chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-wash);
}

.tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px;
  font: 700 11px/1 var(--font); letter-spacing: .06em;
}
.tag-pro { border: 1px solid var(--mint-ink); color: var(--mint-ink); }
.tag-free { background: var(--mint); color: var(--on-mint); }

/* ---------- herói: texto em cima, cena larga embaixo (estrutura do Klack) ---------- */
.hero .wrap { padding-block: clamp(18px, 3.4vw, 44px) clamp(40px, 6vw, 72px); }
.hero-copy { max-width: 1000px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-card);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.hero h1 {
  margin-top: 22px;
  /* no celular pequeno (320 px) cada frase ainda cabe numa linha */
  font-size: clamp(min(38px, 10.4vw), 7.2vw, 96px); line-height: .98; letter-spacing: -.038em; font-weight: 700;
}
.h1-line { display: block; }
/* segunda linha em gradiente menta; o padding protege a descendente do "q" */
.grad {
  --g1: #009E87; --g2: #00806F; --g3: #0B7894;
  background-image: linear-gradient(100deg, var(--g1) 0%, var(--g2) 38%, var(--g3) 68%, var(--g1) 100%);
  background-size: 220% 100%; background-position: 100% 50%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: .14em; margin-bottom: -.14em;
}
@media (prefers-color-scheme: dark) { .grad { --g1: #7CF5E1; --g2: #00D1B6; --g3: #3CC3E0; } }
.hero .lede { margin-top: 24px; font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-2); max-width: 48ch; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); text-decoration: none; }
.btn-ghost svg { width: 17px; height: 17px; color: var(--mint-ink); }

.microline {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px;
  font-size: 14px; color: var(--muted); list-style: none; padding: 0;
}
.microline li { display: inline-flex; align-items: center; gap: 8px; }
.microline li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); flex: none; }

/* oferta de lançamento dentro da pílula e nota abaixo do botão */
.pill-sep { width: 1px; height: 14px; background: var(--line); flex: none; }
.pill-offer { color: var(--mint-ink); font-weight: 700; }
@media (max-width: 560px) {
  .pill { flex-wrap: wrap; row-gap: 2px; border-radius: 16px; padding-block: 8px; }
  .pill-sep { display: none; }
  .pill-offer { flex-basis: 100%; padding-left: 17px; }
}
.cta-note { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- a cena: um Mac, com o painel pendurado no item da barra ---------- */
.scene {
  --bar-h: 32px;
  --arrow-x: 150px;
  --ps: 1;
  position: relative; isolation: isolate;
  margin-top: clamp(30px, 4.6vw, 52px);
  border-radius: 22px; overflow: hidden;
  color: var(--scene-ink);
  background: #0E1A1E;
  box-shadow: var(--shadow-float);
  container-type: inline-size;
}
@media (prefers-color-scheme: dark) { .scene { box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), var(--shadow-float); } }
/* a foto já vem desfocada e saturada (desk.webp, 3,6 KB): o navegador não precisa desfocar nada */
.desk {
  position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none;
  object-fit: cover; z-index: 0;
}
.desk-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 22%, rgba(0, 209, 182, .16) 0%, rgba(0, 209, 182, 0) 70%),
    linear-gradient(180deg, rgba(4, 8, 10, .18) 0%, rgba(4, 8, 10, 0) 25%, rgba(4, 8, 10, .35) 100%);
}
.menubar {
  position: relative; z-index: 3;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-inline: 16px;
  background: rgba(14, 18, 22, .42);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font: 500 13px/1 var(--font);
  white-space: nowrap;
}
.menubar-left { display: flex; gap: 17px; opacity: .92; }
.menubar-left b { font-weight: 700; }
.menubar-left span { opacity: .82; display: none; }
@container (min-width: 600px) { .menubar-left span:nth-child(-n+4) { display: inline; } }
@container (min-width: 760px) { .menubar-left span:nth-child(n) { display: inline; } }
@container (max-width: 420px) { .menubar-left { display: none; } .menubar-right .opt { display: none; } }
.menubar-right { display: flex; align-items: center; gap: 13px; margin-left: auto; }
.menubar-right svg { width: 18px; height: 18px; flex: none; opacity: .95; }
.menubar .clock { font-variant-numeric: tabular-nums; opacity: .95; }

.fb-item {
  font: 600 13px/1 var(--font); font-variant-numeric: tabular-nums;
  color: inherit; background: transparent; border: 0; cursor: pointer;
  padding: 6px 9px; border-radius: 6px; letter-spacing: .01em;
  transition: background-color .15s ease;
}
.fb-item:hover { background: rgba(255, 255, 255, .13); }
.scene[data-open="true"] .fb-item { background: rgba(255, 255, 255, .26); }
.fb-item:focus-visible { outline-offset: 0; }

.scene-body {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px;
  padding: 10px 28px 30px; align-items: stretch;
}
@container (max-width: 880px) {
  .scene-body { grid-template-columns: minmax(0, 1fr); padding-inline: 18px; }
  .popover { order: -1; justify-self: end; }
}

/* cartão "na prática", à esquerda, no espírito da lista flutuante do Klack */
.practice { display: flex; flex-direction: column; justify-content: center; gap: 16px; max-width: 420px; padding-block: 8px 22px; }
.practice .keys { margin-top: 4px; }
@container (max-width: 880px) { .practice { max-width: none; padding-top: 18px; } .practice .keys { margin-top: 4px; } }
.practice-card {
  position: relative;
  background: rgba(24, 28, 32, .78);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px; padding: 16px 18px 18px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 226px;
}
.practice-card::before,
.practice-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(24, 28, 32, .5); border: 1px solid rgba(255, 255, 255, .06);
  transform: translate(0, 10px) scale(.965); opacity: .8;
}
.practice-card::after { transform: translate(0, 20px) scale(.93); opacity: .45; }
.practice-card header { display: flex; align-items: center; gap: 10px; }
.p-icon {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(0, 209, 182, .16); color: #5DEBD3; flex: none;
}
.p-icon svg { width: 18px; height: 18px; }
.p-name { font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; }
.practice-card .tag-pro { border-color: rgba(93, 235, 211, .7); color: #5DEBD3; margin-left: auto; }
.practice-card .tag-free { margin-left: auto; }
.p-rows { display: grid; gap: 6px; }
.p-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.p-rows dt { color: rgba(242, 245, 247, .62); }
.p-rows dd { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.p-result {
  margin-top: 2px; padding: 12px 14px; border-radius: 11px;
  background: rgba(0, 209, 182, .13); border: 1px solid rgba(0, 209, 182, .28);
  display: grid; gap: 2px;
}
.p-result-label { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; color: #5DEBD3; }
.p-result strong { font-size: 22px; letter-spacing: -.015em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.practice-card[data-kind="with"] .p-result { background: rgba(255, 107, 107, .13); border-color: rgba(255, 107, 107, .3); }
.practice-card[data-kind="with"] .p-result-label { color: #FF8C8C; }
.p-sub { font-size: 13px; color: rgba(242, 245, 247, .66); }
.practice-card.is-switching .p-rows, .practice-card.is-switching .p-result, .practice-card.is-switching .p-sub, .practice-card.is-switching header { animation: card-swap .32s ease both; }

.keys { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; max-width: 420px; padding-bottom: 10px; }
/* no celular e no tablet as teclas ocupam a largura do cartão, alinhadas às bordas dele e ao texto de baixo */
@container (max-width: 880px) { .keys { max-width: none; gap: 12px; } .keys .key svg { width: 22px; height: 22px; } }
@container (max-width: 520px) { .keys { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; } }
.key {
  position: relative;
  width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; cursor: pointer;
  color: rgba(242, 245, 247, .82);
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .38), 0 10px 18px -10px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .16);
  display: grid; place-items: center;
  transform: translateY(-1px);
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.key svg { width: 20px; height: 20px; transition: transform .2s ease; }
.key:hover { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .19), rgba(255, 255, 255, .07)); }
.key:active, .key.is-pressed { transform: translateY(2px); box-shadow: 0 0 0 rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .08); }
/* selecionada: tecla "travada" em vidro menta, com o ponto de app aberto do Dock */
.key[aria-pressed="true"] {
  color: #7CF5E1;
  background: linear-gradient(180deg, rgba(0, 209, 182, .26), rgba(0, 209, 182, .09));
  border-color: rgba(124, 245, 225, .55);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 14px rgba(0, 209, 182, .2), 0 0 24px -6px rgba(0, 209, 182, .55);
  transform: translateY(1px);
}
.key[aria-pressed="true"] svg { transform: scale(1.06); }
.key::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: #7CF5E1; box-shadow: 0 0 6px rgba(0, 209, 182, .9);
  opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .2s ease;
}
.key[aria-pressed="true"]::after { opacity: 1; transform: none; }
.scene-hint { font-size: 13.5px; color: rgba(242, 245, 247, .72); }
.scene-hint b { color: #fff; font-weight: 600; }

/* o painel, reconstruído em HTML para ficar nítido em qualquer tela */
.popover {
  position: relative;
  width: calc(404px * var(--ps)); height: calc(552px * var(--ps));
  transform-origin: var(--arrow-x) 0;
  transition: opacity .22s ease, transform .32s cubic-bezier(.2, .9, .25, 1.15), visibility 0s linear 0s;
}
.popover::before, .popover::after { content: ""; position: absolute; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.popover::after { top: -9px; left: calc(var(--arrow-x) - 10px); width: 20px; height: 10px; background: rgba(255, 255, 255, .22); z-index: 0; }
.popover::before { top: -8px; left: calc(var(--arrow-x) - 9px); width: 18px; height: 9px; background: var(--panel-3); z-index: 3; }
.scene[data-open="false"] .popover {
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.96);
  transition: opacity .16s ease, transform .2s ease, visibility 0s linear .2s;
}
.scene[data-open="false"] .practice { min-height: 0; }

.fbp {
  position: relative; z-index: 2;
  width: 404px; height: 552px; transform: scale(var(--ps)); transform-origin: top left;
  border-radius: 12px; background: var(--panel); color: var(--panel-ink);
  box-shadow: var(--shadow-panel);
  font-family: var(--font); font-size: 13px; line-height: 1.25;
  display: flex; flex-direction: column; overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.fbp-head {
  height: 62px; flex: none; display: flex; align-items: center; gap: 12px;
  padding: 0 16px; background: var(--panel-3); border-bottom: 1px solid rgba(0, 0, 0, .28);
}
.fbp-seg {
  display: inline-flex; align-items: center; height: 34px; padding: 3px; border-radius: 17px;
  background: #4A4A4A; gap: 2px;
}
.fbp-tab {
  display: inline-flex; align-items: center; height: 28px; padding: 0 13px; border-radius: 14px;
  border: 0; background: transparent; font: 600 13.5px/1 var(--font); color: #BDBDBD; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.fbp-tab:hover { color: var(--panel-ink); }
.fbp-tab.on { background: #5B5B5B; color: var(--panel-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.fbp :focus-visible { outline: 2px solid var(--panel-mint); outline-offset: 2px; }
.fbp-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; color: #C9C9C9; }
.fbp-ico svg { width: 19px; height: 19px; }
.fbp-ico.fbp-pin { color: var(--panel-mint); }
.fbp-vr { width: 1px; height: 22px; background: rgba(255, 255, 255, .2); margin-inline: 2px; }
.fbp-push { margin-left: auto; }
button.fbp-ico { border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 6px; transition: color .15s ease; }
button.fbp-ico:hover, .fbp-more-btn[aria-expanded="true"] { color: var(--panel-mint); }
.fbp-body { flex: 1; padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.fbp-pair { display: grid; grid-template-columns: 1fr 30px 1fr; gap: 14px; align-items: center; }
.fbp-card {
  height: 138px; border-radius: 12px; background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, .05); padding: 12px 12px 10px;
  display: flex; flex-direction: column;
}
.fbp-lbl { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--panel-muted); }
.fbp-cur { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-weight: 700; font-size: 13px; }
.fbp-cur .chev { width: 12px; height: 12px; color: var(--panel-mint); }
.flag { font-size: 13px; line-height: 1; }
.fbp-sub { font-size: 10.5px; color: var(--panel-muted); margin-top: 3px; }
.fbp-amt { margin-top: auto; display: flex; align-items: baseline; justify-content: flex-end; gap: 5px; }
.fbp-amt small { font-size: 11px; font-weight: 700; color: var(--panel-muted); }
.fbp-amt input, .fbp-amt output {
  font: 700 28px/1 var(--font); letter-spacing: -.02em; color: var(--panel-ink);
  font-variant-numeric: tabular-nums;
}
.fbp-amt input {
  width: 100%; min-width: 0; text-align: right; background: transparent; border: 0; padding: 0;
  border-bottom: 1.5px solid transparent; border-radius: 0;
}
.fbp-amt input:focus { outline: none; border-bottom-color: var(--panel-mint); }
.fbp-amt input:focus-visible { outline: none; }
.fbp-swap {
  width: 30px; height: 30px; border-radius: 8px; border: 0; cursor: pointer;
  background: #1F3B36; color: var(--panel-mint); display: grid; place-items: center;
  transition: transform .2s ease, background-color .15s ease;
}
.fbp-swap svg { width: 16px; height: 16px; }
.fbp-swap:hover { background: #24463F; }
.fbp-swap.is-flipped { transform: rotate(180deg); }
.fbp-rate {
  align-self: center; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px; background: #363636; font-size: 11.5px; font-weight: 600;
}
.fbp-rate i, .fbp-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--panel-up); display: inline-block; }
.fbp-quotes { border-radius: 12px; background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .05); padding: 12px 12px 4px; }
.fbp-qhead { display: flex; justify-content: space-between; align-items: center; }
.fbp-qhead > span:first-child { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--panel-muted); }
.fbp-qact { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--panel-mint); }
.fbp-qact svg { width: 13px; height: 13px; }
.fbp-qcols, .fbp-qrow { display: grid; grid-template-columns: 26px 1fr 56px 74px 56px; align-items: center; gap: 8px; }
.fbp-qcols { margin-top: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--panel-line); }
.fbp-qcols span { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--panel-dim); }
.fbp-qcols span:first-child { grid-column: 1 / 3; }
.fbp-qcols span:nth-child(3), .fbp-qrow .fbp-qval { text-align: right; }
.fbp-qcols span:last-child, .fbp-qrow .fbp-chip { justify-self: end; }
.fbp-qrow { height: 44px; border-bottom: 1px solid var(--panel-line); }
.fbp-qrow:last-child { border-bottom: 0; }
.fbp-qname { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fbp-qname b { font-size: 12.5px; }
.fbp-qname small { font-size: 9.5px; color: var(--panel-muted); }
.spark { width: 44px; height: 16px; overflow: visible; }
.spark polyline { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke: var(--panel-up); stroke-dasharray: 70; stroke-dashoffset: 0; }
.spark.flat polyline { stroke: #6A6A6A; }
.spark.down polyline { stroke: var(--panel-down); }
.fbp-qval { font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.fbp-chip { font-size: 10.5px; font-weight: 700; padding: 3px 6px; border-radius: 6px; font-variant-numeric: tabular-nums; background: var(--panel-up-wash); color: var(--panel-up); }
.fbp-chip.down { background: var(--panel-down-wash); color: var(--panel-down); }
.fbp-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: var(--panel-muted); }
.fbp-status { display: inline-flex; align-items: center; gap: 6px; }
.fbp-src { padding: 3px 7px; border-radius: 5px; background: #3A3A3A; color: #7C7C7C; font-size: 9.5px; font-weight: 600; }

/* ---------- coreografia de entrada (só na página inicial) ---------- */
@keyframes enter-title { from { opacity: 0; transform: translateY(32px) rotate(1.5deg); } }
@keyframes enter-lift { from { opacity: 0; transform: translateY(20px); } }
@keyframes header-rise { from { opacity: 0; transform: translateY(14px) scale(.8) rotate(5deg); } }
@keyframes nav-fade { from { opacity: 0; } }
@keyframes grad-sweep { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes live-ping { 0% { box-shadow: 0 0 0 0 rgba(0, 209, 182, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(0, 209, 182, 0); } }
@keyframes drop-in { from { transform: translateY(-14px) scale(.965); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes float-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes card-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes draw-line { from { stroke-dashoffset: 70; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .home .site-header .brand { animation: header-rise .5s cubic-bezier(.2, .8, .2, 1) .08s backwards; transform-origin: left center; }
  .home .site-nav { animation: nav-fade .7s ease .1s backwards; }
  .a-title { animation: enter-title .55s cubic-bezier(.2, .8, .2, 1) .45s backwards; }
  .a-lift { animation: enter-lift .5s cubic-bezier(.2, .8, .2, 1) backwards; }
  .a-1 { animation-delay: .32s; }
  .a-2 { animation-delay: .62s; }
  .a-3 { animation-delay: .74s; }
  .a-4 { animation-delay: .9s; }
  .a-5 { animation-delay: 1.1s; }
  .a-title .grad { animation: grad-sweep 1.8s cubic-bezier(.2, .8, .2, 1) .75s both; }
  .pill-dot { animation: live-ping 2.4s ease-out infinite; }
  .scene[data-open="true"] .popover { animation: drop-in .55s cubic-bezier(.2, .9, .25, 1.12) 1.25s both; }
  .scene[data-open="true"].is-ready .popover { animation-delay: 0s; }
  .scene[data-open="true"] .spark polyline { animation: draw-line 1.1s ease-out 1.5s both; }
  .scene[data-open="true"].is-ready .spark polyline { animation-delay: .25s; }
  .practice-card { animation: float-card 7s ease-in-out 2s infinite; }
  .practice-card:hover { animation-play-state: paused; }
}

/* ---------- faixa de confiança ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul {
  list-style: none; margin: 0 auto; padding: 18px var(--pad-r) 18px var(--pad-l);
  max-width: var(--maxw);
  display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}
.trust li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.trust svg { width: 22px; height: 22px; flex: none; color: var(--mint-ink); }

/* ---------- seções ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -.025em; margin-top: 10px; }
.section-head > p:not(.eyebrow) { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.band { background: var(--ground-2); }

kbd {
  font: 600 .8em/1 var(--font); padding: 3px 6px; border-radius: 5px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line);
}

/* ---------- a moeda na barra, em close ---------- */
.currency-stage {
  --cur-arrow-x: 70%;
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 24px; background: #0E1A1E; color: var(--scene-ink);
  box-shadow: var(--shadow-float);
  container-type: inline-size;
  padding-bottom: clamp(22px, 3.2vw, 36px);
}
@media (prefers-color-scheme: dark) { .currency-stage { box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), var(--shadow-float); } }
/* a última camada (preto a 20%) faz o mesmo que o antigo brightness(.8), sem filtro */
.currency-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(34% 80% at 80% 0%, rgba(0, 209, 182, .24) 0%, rgba(0, 209, 182, 0) 72%),
    linear-gradient(180deg, rgba(4, 8, 10, 0) 45%, rgba(4, 8, 10, .35) 100%),
    linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2));
}
.macro-bar {
  position: relative; z-index: 2;
  height: 78px; display: flex; align-items: center; gap: 24px; padding-inline: 30px;
  background: rgba(14, 18, 22, .46);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font: 500 25px/1 var(--font); white-space: nowrap;
}
.macro-left { display: flex; gap: 30px; opacity: .5; }
.macro-left b { font-weight: 700; }
.macro-right { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.macro-right svg { width: 31px; height: 31px; flex: none; opacity: .92; }
.macro-clock { font-variant-numeric: tabular-nums; opacity: .92; }
.macro-item {
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  height: 54px; min-width: 54px; padding: 0 16px; border-radius: 13px;
  background: rgba(255, 255, 255, .22); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em;
  box-shadow: 0 0 0 2.5px rgba(0, 209, 182, .95), 0 0 38px rgba(0, 209, 182, .5);
}
.macro-item.is-icon { padding: 0 10px; }
.macro-icon { width: 34px; height: 34px; border-radius: 8px; }
@keyframes macro-swap { from { opacity: 0; transform: translateY(55%); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .macro-item.is-changing > :not([hidden]) { animation: macro-swap .34s cubic-bezier(.2, .8, .2, 1) both; }
}

.cur-body {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; gap: 24px 40px;
  padding: 24px 30px 0;
}
.cur-pop {
  position: relative; grid-column: 2; grid-row: 1;
  padding: 18px 18px 16px; border-radius: 16px;
  background: rgba(22, 26, 30, .8);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75);
}
.cur-pop::before, .cur-pop::after { content: ""; position: absolute; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.cur-pop::after { top: -10px; left: calc(var(--cur-arrow-x) - 10px); width: 20px; height: 10px; background: rgba(255, 255, 255, .2); }
.cur-pop::before { top: -9px; left: calc(var(--cur-arrow-x) - 9px); width: 18px; height: 9px; background: rgba(34, 39, 44, .96); z-index: 1; }
.cur-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: rgba(242, 245, 247, .6); }
.cur-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.cur-chip {
  display: grid; justify-items: center; align-content: center; gap: 7px; min-height: 80px; padding: 12px 6px 11px;
  border-radius: 12px; cursor: pointer; color: rgba(242, 245, 247, .82);
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  font: 600 13px/1.15 var(--font); text-align: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.cur-chip .sym { font: 700 22px/1 var(--font); }
.cur-chip img { width: 24px; height: 24px; border-radius: 6px; }
.cur-chip:hover { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)); }
.cur-chip[aria-pressed="true"] {
  color: #7CF5E1;
  background: linear-gradient(180deg, rgba(0, 209, 182, .24), rgba(0, 209, 182, .08));
  border-color: rgba(124, 245, 225, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 22px -6px rgba(0, 209, 182, .6);
}
.cur-chip:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.macro-caption { margin-top: 12px; min-height: 2.9em; font-size: 14px; line-height: 1.45; color: rgba(242, 245, 247, .8); }
.cur-facts { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 26px; max-width: 460px; }
.cur-facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 11px; align-items: start; font-size: 15px; line-height: 1.5; color: rgba(242, 245, 247, .74); }
.cur-facts svg { width: 20px; height: 20px; margin-top: 1px; color: #5DEBD3; }
.cur-facts b { color: #fff; font-weight: 600; }
.cur-facts kbd { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); box-shadow: none; }

@container (max-width: 760px) {
  .macro-bar { height: 62px; gap: 18px; padding-inline: 20px; font-size: 20px; }
  .macro-left { gap: 22px; }
  .macro-left span:nth-child(n+4) { display: none; }
  .macro-right { gap: 18px; }
  .macro-right svg { width: 25px; height: 25px; }
  .macro-item { height: 44px; min-width: 44px; padding: 0 12px; border-radius: 11px; }
  .macro-icon { width: 28px; height: 28px; }
  .cur-body { grid-template-columns: minmax(0, 1fr); padding: 20px 20px 0; }
  .cur-pop, .cur-facts { grid-column: 1; grid-row: auto; }
  .cur-pop { justify-self: end; width: min(470px, 100%); }
  .cur-facts { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: none; }
}
@container (max-width: 540px) {
  .macro-left, .macro-right .opt { display: none; }
  .macro-bar { font-size: 19px; padding-inline: 16px; }
  .cur-body { padding: 18px 12px 0; gap: 22px; }
  .cur-pop { width: 100%; padding: 16px 14px 14px; }
  .cur-facts { padding-inline: 6px; }
  .cur-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cur-chip { min-height: 0; grid-auto-flow: column; justify-content: center; align-items: center; gap: 9px; padding: 12px 8px; font-size: 14px; }
  .cur-chip .sym { font-size: 19px; }
  .cur-chip img { width: 20px; height: 20px; }
}

/* ---------- bancada: as oito ferramentas numa peça só ---------- */
.bench {
  --bench-line: rgba(255, 255, 255, .08);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(250px, 318px) minmax(0, 1fr);
  border-radius: 24px; color: var(--panel-ink); background: #1B1E21;
  box-shadow: var(--shadow-float);
}
@media (prefers-color-scheme: dark) { .bench { box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), var(--shadow-float); } }
.bench::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 60% at 88% 0%, rgba(0, 209, 182, .15), rgba(0, 209, 182, 0) 72%);
}
.bench-tabs {
  position: relative; display: grid; align-content: start; gap: 4px; padding: 14px;
  border-right: 1px solid var(--bench-line); background: rgba(0, 0, 0, .16);
}
.bench-tab {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  width: 100%; padding: 9px 10px; border-radius: 12px; cursor: pointer; text-align: left;
  border: 1px solid transparent; background: transparent; color: rgba(242, 245, 247, .8);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.bench-tab:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.bench-tab[aria-selected="true"] {
  color: #fff; border-color: rgba(124, 245, 225, .38);
  background: linear-gradient(180deg, rgba(0, 209, 182, .17), rgba(0, 209, 182, .05));
}
.bench-tab:focus-visible { outline: 2px solid var(--mint); outline-offset: 1px; }
.bt-icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: rgba(242, 245, 247, .82);
  transition: background-color .15s ease, color .15s ease;
}
.bt-icon svg { width: 20px; height: 20px; }
.bench-tab[aria-selected="true"] .bt-icon { background: rgba(0, 209, 182, .2); color: #7CF5E1; }
.bt-text { min-width: 0; }
.bt-text b { display: block; font: 600 14.5px/1.25 var(--font); }
.bt-text small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: rgba(242, 245, 247, .55); }
.bench .tag-pro { border-color: rgba(93, 235, 211, .6); color: #5DEBD3; }

.bench-panels { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: clamp(20px, 3vw, 34px); }
.bench-panel { display: grid; gap: 18px; }
@media (prefers-reduced-motion: no-preference) { .bench-panel { animation: card-swap .26s ease both; } }
.bp-head h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; color: #fff; }
.bp-head h3 .tag { display: none; }
.bp-head .bp-tool { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: rgba(242, 245, 247, .7); }
.bp-tool-name { letter-spacing: .01em; }
.bp-head p { margin-top: 6px; max-width: 56ch; font-size: 15.5px; line-height: 1.5; color: rgba(242, 245, 247, .7); }
.bp-head .in-app { margin-top: 4px; font-size: 13px; color: rgba(242, 245, 247, .5); }
.bp-head .in-app em { font-style: normal; font-weight: 600; color: rgba(242, 245, 247, .78); }
.bench .demo-screen { margin-top: 0; padding: 18px; gap: 14px; border-radius: 16px; background: var(--panel); border: 1px solid rgba(255, 255, 255, .07); }
.bench .demo-result { padding: 14px 16px; }
.bench .demo-result strong { font-size: clamp(26px, 3vw, 34px); }
.bench-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--bench-line); font-size: 14px; color: rgba(242, 245, 247, .72); }
.bench-foot a { color: #5DEBD3; font-weight: 600; }
.bench[data-tier="free"] .bf-pro, .bench[data-tier="pro"] .bf-free { display: none; }
.bench-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

@media (max-width: 820px) {
  .bench { grid-template-columns: minmax(0, 1fr); }
  .bench-tabs {
    display: flex; gap: 8px; overflow-x: auto; padding: 12px; border-right: 0; border-bottom: 1px solid var(--bench-line);
    scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  }
  .bench-tabs.is-end { -webkit-mask-image: none; mask-image: none; }
  .bench-tabs::-webkit-scrollbar { display: none; }
  .bench-tab {
    flex: none; width: auto; grid-template-columns: 28px auto; gap: 8px; padding: 5px 14px 5px 5px;
    border-radius: 999px; border-color: var(--bench-line); scroll-snap-align: start;
  }
  .bt-icon { width: 28px; height: 28px; border-radius: 50%; }
  .bt-icon svg { width: 16px; height: 16px; }
  .bt-text b { font-size: 14px; white-space: nowrap; }
  .bt-text small, .bench-tab .tag { display: none; }
  .bp-head h3 .tag { display: inline-flex; }
}

/* ---------- a "tela" das ferramentas imita o painel do app ---------- */
.demo-screen {
  margin-top: auto; border-radius: 14px; background: var(--panel); color: var(--panel-ink);
  padding: 14px; display: grid; gap: 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.demo-fields { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-fields.cols-1 { grid-template-columns: minmax(0, 1fr); }
.demo-fields .wide { grid-column: 1 / -1; }
.demo-screen label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.demo-screen label > span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--panel-muted); }
.demo-screen input, .demo-screen select {
  width: 100%; min-width: 0; color: var(--panel-ink);
  background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .06); border-radius: 9px; padding: 9px 11px;
  font: 600 15.5px/1.2 var(--font); font-variant-numeric: tabular-nums;
}
.demo-screen input:focus, .demo-screen select:focus { outline: none; border-color: var(--panel-mint); box-shadow: 0 0 0 3px rgba(21, 184, 151, .25); }
.demo-screen select { appearance: none; -webkit-appearance: none; padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, #BDBDBD 50%), linear-gradient(135deg, #BDBDBD 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.demo-screen input::placeholder { color: var(--panel-dim); font-weight: 500; }
.demo-mono input { font-family: var(--mono); font-weight: 500; }
.demo-result {
  border-radius: 11px; background: rgba(21, 184, 151, .13); border: 1px solid rgba(21, 184, 151, .3);
  padding: 11px 13px; display: grid; gap: 3px;
}
.demo-result .r-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #4FE0C4; }
.demo-result strong { font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; overflow-wrap: anywhere; }
.demo-result small { font-size: 12.5px; color: #B9C2C0; font-variant-numeric: tabular-nums; }
.demo-result.is-with { background: rgba(255, 107, 107, .12); border-color: rgba(255, 107, 107, .32); }
.demo-result.is-with .r-label { color: #FF8C8C; }
.demo-result.is-empty { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .08); }
.demo-result.is-empty .r-label { color: var(--panel-muted); }
.demo-result.is-empty strong { font-size: 16px; font-weight: 600; color: #BDBDBD; }
.demo-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.demo-metrics div { border-radius: 9px; background: var(--panel-2); padding: 8px 10px; display: grid; gap: 2px; min-width: 0; }
.demo-metrics span { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--panel-muted); }
.demo-metrics strong { font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.demo-history li { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #B9C2C0; font-variant-numeric: tabular-nums; padding: 5px 2px; border-top: 1px solid var(--panel-line); }
.demo-history li b { color: var(--panel-ink); font-weight: 600; }
.demo-history .h-title { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--panel-muted); border: 0; padding-bottom: 0; }

/* ---------- grátis × pro ---------- */
.rows { list-style: none; margin: 22px 0 0; padding: 0; }
.rows li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 15.5px; color: var(--ink);
}
.rows li:last-child { border-bottom: 1px solid var(--line-soft); }
.rows svg { width: 20px; height: 20px; margin-top: 2px; }
.rows .yes svg { color: var(--mint-ink); }
.rows .no { color: var(--muted); }
.rows .no svg { color: var(--line); }
@media (prefers-color-scheme: dark) { .rows .no svg { color: var(--muted); } }
.rows .note { color: var(--muted); font-size: 14px; }

.plans { display: grid; gap: 18px; align-items: start; }
@media (min-width: 860px) {
  .plans { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; grid-template-areas: "free pro" "assure pro"; }
  .plan-free { grid-area: free; }
  .plan-pro { grid-area: pro; }
  .plan-assure { grid-area: assure; }
}
.plan {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-card);
}
.plan-pro {
  border: 1.5px solid var(--mint);
  background: linear-gradient(180deg, var(--mint-wash) 0, var(--surface) 230px);
  box-shadow: 0 0 0 5px rgba(0, 209, 182, .1), var(--shadow-card);
}
.plan h3 { font-size: 24px; letter-spacing: -.015em; }
.plan-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.launch-tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--mint); color: var(--on-mint); font: 700 12.5px/1 var(--font); letter-spacing: .01em;
}
.plan .plan-sub { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.plan-price {
  margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  font: 700 clamp(38px, 4.4vw, 50px)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink);
}
.plan-price small { font: 500 16px/1.3 var(--font); letter-spacing: 0; color: var(--muted); }
.plan-after { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.plan-cta { margin-top: 22px; width: 100%; }
.plan-trial {
  margin-top: 14px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px;
  padding: 13px 15px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft);
  font-size: 14.5px; line-height: 1.45; color: var(--ink-2);
}
.plan-trial svg { width: 20px; height: 20px; margin-top: 1px; color: var(--mint-ink); }
.plan-trial b { color: var(--ink); }
.plan-includes { margin-top: 26px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chips { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.chips li {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 12px; border-radius: 11px;
  background: var(--ground); border: 1px solid var(--line-soft); font-size: 14.5px; line-height: 1.3; color: var(--ink);
}
.chips svg { width: 19px; height: 19px; flex: none; color: var(--mint-ink); }
.plan .fine { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.plan-locked {
  margin-top: 18px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px;
  font-size: 15px; color: var(--muted);
}
.plan-locked svg { width: 20px; height: 20px; margin-top: 1px; }
.plan-assure { padding: 4px clamp(22px, 3vw, 32px) 0; }
.plan-assure h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan-assure ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.plan-assure li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.plan-assure svg { width: 20px; height: 20px; margin-top: 1px; color: var(--mint-ink); }

/* ---------- privacidade + perguntas ---------- */
.trust-grid { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .trust-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.privacy-card h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin-top: 10px; }
.privacy-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.privacy-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; color: var(--ink-2); font-size: 16.5px; }
.privacy-list svg { width: 22px; height: 22px; color: var(--mint-ink); margin-top: 2px; }
.privacy-card .more { display: inline-block; margin-top: 22px; font-weight: 600; }

.faq h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin-top: 10px; margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary, .doc summary {
  list-style: none; cursor: pointer; padding: 17px 36px 17px 0; position: relative;
  font-weight: 600; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker, .doc summary::-webkit-details-marker { display: none; }
.faq summary::after, .doc summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after, .doc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); font-size: 16px; max-width: 62ch; }
.disclaimer { margin-top: 26px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA final + rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-cta .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 36px;
}
.footer-cta p { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.015em; max-width: 30ch; }
.footer-cta .cta-row { margin-top: 0; }
.footer-main .wrap {
  display: grid; gap: 28px; padding-block: 32px 40px; border-top: 1px solid var(--line-soft);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.footer-main h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-main a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.footer-main a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand p { margin-top: 10px; font-size: 14.5px; color: var(--muted); max-width: 30ch; }
.legal { border-top: 1px solid var(--line-soft); }
.legal .wrap { padding-block: 18px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--muted); display: grid; gap: 4px; }

/* ---------- páginas de texto (suporte, privacidade) ---------- */
.doc .wrap { max-width: 780px; padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.doc h1 { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.06; letter-spacing: -.025em; margin-top: 10px; }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc .summary { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); background: var(--mint-wash); color: var(--ink); font-size: 17px; }
.doc h2 { font-size: 23px; letter-spacing: -.015em; margin-top: 42px; }
.doc h3 { font-size: 18px; margin-top: 26px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; }
.doc p { margin-top: 12px; max-width: 68ch; }
.doc ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; max-width: 68ch; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { color: var(--ink); font-weight: 600; }
.doc td { color: var(--ink-2); }
.table-scroll { overflow-x: auto; }
.contact-card {
  margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-card); display: grid; gap: 10px;
}
.contact-card .mail { font-size: clamp(19px, 2.6vw, 24px); font-weight: 700; word-break: break-word; }
.doc details { border-top: 1px solid var(--line); margin-top: 0; }
.doc details:last-of-type { border-bottom: 1px solid var(--line); }
.doc details > *:not(summary) { margin-bottom: 16px; }
.doc .faq-list { margin-top: 18px; }

/* ---------- redirecionamento e 404 ---------- */
.center-note { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.center-note h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; }
.center-note p { margin-top: 14px; color: var(--ink-2); }
.center-note .links { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.center-icon { margin: 0 auto 18px; border-radius: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- destaque: a cotação fica na barra, ao vivo ---------- */
.fb-item { position: relative; }
.fb-item::after {
  content: ""; position: absolute; inset: -3px; border-radius: 9px;
  border: 2px solid rgba(0, 209, 182, .95); opacity: 0; pointer-events: none;
}
@keyframes item-pulse { 0% { opacity: .95; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.4); } }
@media (prefers-reduced-motion: no-preference) { .home .fb-item::after { animation: item-pulse 2s ease-out 2s 3; } }

.panel-slot { display: grid; }
.panel-slot > * { grid-area: 1 / 1; }
@container (max-width: 880px) { .panel-slot { order: -1; justify-self: end; max-width: 100%; } }
.closed-note {
  display: none; position: relative; align-self: start; justify-self: end;
  width: calc(404px * var(--ps)); gap: 12px; padding: 16px 16px 18px;
  border-radius: 14px;
  background: rgba(22, 26, 30, .8);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75);
}
.closed-note::before, .closed-note::after { content: ""; position: absolute; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.closed-note::after { top: -10px; left: calc(var(--arrow-x) - 10px); width: 20px; height: 10px; background: rgba(255, 255, 255, .2); }
.closed-note::before { top: -9px; left: calc(var(--arrow-x) - 9px); width: 18px; height: 9px; background: rgba(34, 39, 44, .96); z-index: 1; }
.scene[data-open="false"] .closed-note { display: grid; }
@media (prefers-reduced-motion: no-preference) {
  .scene[data-open="false"] .closed-note { animation: drop-in .45s cubic-bezier(.2, .9, .25, 1.12) both; }
}
/* a barra ampliada, como uma lupa sobre o item real */
.zoom-bar {
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  padding: 12px 16px; border-radius: 11px;
  background: rgba(8, 12, 16, .55); border: 1px solid rgba(255, 255, 255, .08);
  font: 600 20px/1 var(--font); color: var(--scene-ink); white-space: nowrap;
}
.zoom-bar svg { width: 24px; height: 24px; flex: none; }
.zb-item {
  padding: 8px 12px; border-radius: 9px; background: rgba(255, 255, 255, .22);
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
  box-shadow: 0 0 0 2px rgba(0, 209, 182, .95), 0 0 26px rgba(0, 209, 182, .45);
}
.zb-clock { font-weight: 500; font-size: 18px; }
@container (max-width: 520px) { .zoom-bar { font-size: 16px; gap: 12px; } .zoom-bar .opt { display: none; } .zb-clock { font-size: 15px; } }
.cn-title { font: 700 20px/1.2 var(--font-display); letter-spacing: -.012em; color: #fff; margin-top: 4px; }
.cn-text { font-size: 14.5px; line-height: 1.45; color: rgba(242, 245, 247, .78); }
.cn-btn {
  justify-self: start; margin-top: 2px; min-height: 36px; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  font: 600 14px/1 var(--font); color: var(--on-mint); background: var(--mint); border: 0;
}
.cn-btn:hover { filter: brightness(1.06); }

/* ---------- painel Pro: troca entre Câmbio e Calculadora ---------- */
.fbp[data-view="calc"] .fbp-body, .fbp[data-view="cambio"] .fbp-calc { display: none; }
.fbp-view { flex: 1; min-height: 0; }
@media (prefers-reduced-motion: no-preference) { .fbp-view { animation: card-swap .26s ease both; } }

/* Calculadora — medidas e cores da captura do app (404 × 550) */
.fbp-calc { padding: 15px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.calc-display {
  height: 88px; flex: none; border-radius: 12px; background: #292929; border: 1px solid #383838;
  padding: 9px 14px 10px 12px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 10px;
}
.calc-top {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; min-height: 15px;
  font: 500 12px/1.25 var(--mono); color: #8C8C8C; font-variant-numeric: tabular-nums;
}
.calc-top span:last-child { color: #BDBDBD; font-weight: 600; }
.calc-hist-btn {
  align-self: end; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(21, 184, 151, .2); color: #3FE3C8; display: grid; place-items: center;
}
.calc-hist-btn svg { width: 19px; height: 19px; }
.fbp-calc[data-hist="true"] .calc-hist-btn { background: var(--panel-mint); color: #062C25; }
.calc-main {
  align-self: end; justify-self: end; min-width: 0; max-width: 100%;
  font: 500 38px/1.05 var(--font-display); letter-spacing: -.01em; color: var(--panel-ink);
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.calc-main.is-long { font-size: 28px; }
.calc-main.is-longer { font-size: 21px; }
.calc-main.is-error { color: #FF6B6B; }
.calc-actions {
  height: 44px; flex: none; border-radius: 12px; background: #313131; border: 1px solid #3B3B3B;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden;
}
.calc-actions button {
  position: relative; border: 0; background: transparent; color: #E6E6E6; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font: 500 13px/1 var(--font); white-space: nowrap;
}
.calc-actions button + button::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: #5A5A5A; }
.calc-actions button:hover { background: rgba(255, 255, 255, .05); }
.calc-actions svg { width: 15px; height: 15px; flex: none; }
.calc-actions .gold { color: #F2B84B; font-weight: 600; }
.calc-actions .is-done { color: var(--panel-mint); }
.calc-keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 48px; gap: 8px 10px; }
.ck {
  border-radius: 10px; background: #313131; border: 1px solid #3B3B3B; color: #ECECEC; cursor: pointer;
  font: 600 17px/1 var(--font); display: grid; place-items: center;
  transition: background-color .12s ease, transform .08s ease;
}
.ck:hover { background: #393939; }
.ck:active, .ck.is-pressed { transform: scale(.955); background: #404040; }
.ck.op { background: #33484D; border-color: #3C565C; color: #5CCBEF; font-size: 20px; }
.ck.op:hover { background: #3A5358; }
.ck.danger { background: #4A3332; border-color: #573C3B; color: #FF5F57; }
.ck.danger:hover { background: #553B3A; }
.ck.eq { background: #00D9B0; border-color: #00D9B0; color: #06392F; font-size: 22px; }
.ck.eq:hover { background: #1BE3BD; }
.ck svg { width: 21px; height: 21px; }
.calc-history {
  flex: 1; min-height: 0; display: none; flex-direction: column; overflow: hidden;
  border-radius: 12px; background: #292929; border: 1px solid #383838;
}
.fbp-calc[data-hist="true"] .calc-actions, .fbp-calc[data-hist="true"] .calc-keys { display: none; }
.fbp-calc[data-hist="true"] .calc-history { display: flex; }
.ch-head { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px 11px 14px; border-bottom: 1px solid #383838; font: 700 15px/1 var(--font); }
.ch-kbd {
  display: inline-flex; align-items: center; gap: 7px; border: 0; cursor: pointer; border-radius: 8px;
  padding: 7px 10px; background: #353535; color: var(--panel-ink); font: 600 12.5px/1 var(--font);
}
.ch-kbd svg { width: 16px; height: 16px; }
.ch-month { padding: 8px 14px; font: 700 11px/1 var(--font); color: #8C8C8C; background: #2C2C2C; }
.ch-list { list-style: none; margin: 0; padding: 0 0 0 14px; overflow-y: auto; }
.ch-list button {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; cursor: pointer;
  padding: 11px 14px 11px 0; border: 0; border-bottom: 1px solid #383838; background: transparent;
  color: #B5B5B5; font: 500 13.5px/1.2 var(--mono); text-align: left;
}
.ch-list button b { color: var(--panel-ink); font-weight: 600; }
.ch-list button:hover b { color: #3FE3C8; }

/* menu Mais (a maleta), sem cadeados: é o Pro */
.fbp { position: relative; }
.fbp-more-grid {
  position: absolute; top: 58px; left: 58px; right: 10px; z-index: 5;
  padding: 10px; border-radius: 14px; background: #2F2F2F; border: 1px solid #424242;
  box-shadow: 0 24px 44px -12px rgba(0, 0, 0, .75);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .22s ease, visibility 0s linear .22s;
}
.fbp[data-more="true"] .fbp-more-grid { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .22s ease, visibility 0s; }
.fbp-more-grid .mt {
  border-radius: 12px; background: #393939; border: 1px solid #444; color: var(--panel-ink); cursor: pointer;
  padding: 12px 8px 11px; display: grid; justify-items: center; gap: 5px; text-align: center;
}
.fbp-more-grid .mt:hover { background: #414141; border-color: #4E4E4E; }
.fbp-more-grid .mt svg { width: 26px; height: 26px; color: #1DD3A7; }
.fbp-more-grid .mt b { font: 700 13px/1.2 var(--font); }
.fbp-more-grid .mt small { font: 500 10.5px/1.25 var(--font); color: #9C9C9C; }

/* ---------- iPhone, iPad e Apple Watch (v5) ---------- */
.devices { background: var(--surface); border-block: 1px solid var(--line-soft); }
/* Um aparelho por vez: a tela inteira ganha espaço e o texto fica ao lado. */
.device-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 24px;
}
.device-tab {
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--ground); color: var(--ink-2);
  font: 600 15px/1.2 var(--font); cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.device-tab:hover { border-color: var(--mint-ink); }
.device-tab[aria-selected="true"] { background: var(--mint); border-color: var(--mint); color: var(--on-mint); }
.device-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.device-card {
  container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-width: 0; overflow: hidden;
  background: var(--ground); border: 1px solid var(--line-soft); border-radius: 24px;
}
.device-stage {
  container-type: inline-size;
  position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center;
  height: 650px; padding: 24px 14px 88px;
  background:
    radial-gradient(85% 70% at 50% 40%, rgba(0, 209, 182, .18), rgba(0, 209, 182, 0) 70%),
    linear-gradient(180deg, #1B2126 0%, #0F1316 100%);
}
.device-stage.is-pad { padding-bottom: 24px; }
.frame-phone, .frame-pad {
  flex: none; background: #050607;
  box-shadow: 0 0 0 1.5px #3B4249, 0 0 0 3.5px #15191C, 0 34px 70px -24px rgba(0, 0, 0, .85);
}
.frame-phone { width: min(248px, 66cqw); padding: 6px; border-radius: 34px; }
.frame-phone img { border-radius: 28px; }
.frame-pad { width: min(360px, 86cqw); padding: 8px; border-radius: 18px; }
.frame-pad img { border-radius: 9px; }
.device-copy { padding: clamp(24px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.device-copy .device-label { font-size: 13px; font-weight: 700; color: var(--mint-ink); letter-spacing: .08em; text-transform: uppercase; }
.device-copy h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.025em; }
.device-copy p { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.device-copy .device-more { font-size: 16px; color: var(--muted); }
.device-copy em { font-style: normal; font-weight: 600; }

/* o relógio, reconstruído da captura do simulador (Series 11, 46 mm): tudo em em, escala pelo tamanho do cartão */
.watch { font-size: min(11.5px, 3.5cqw); }
.watch-case {
  position: relative; width: 23.6em; height: 27.6em; padding: 1.35em; border-radius: 6.4em;
  background: linear-gradient(150deg, #454C53 0%, #22272B 38%, #0E1012 100%);
  box-shadow: inset 0 0 0 .12em rgba(255, 255, 255, .24), inset 0 .35em .7em rgba(255, 255, 255, .07), 0 3.4em 6.4em -2.2em rgba(0, 0, 0, .9);
}
.watch-crown {
  position: absolute; right: -1em; top: 6.4em; width: 1.5em; height: 4.4em; border-radius: .7em;
  background: linear-gradient(90deg, #1E2226, #4F575E 55%, #262B30);
  box-shadow: inset 0 0 0 .08em rgba(255, 255, 255, .18);
}
.watch-button { position: absolute; right: -.55em; top: 13.4em; width: .9em; height: 5.6em; border-radius: .45em; background: linear-gradient(90deg, #1A1D20, #3A4046); }
.watch-screen {
  position: relative; height: 100%; border-radius: 5em; background: #000; color: #fff; overflow: hidden;
  font-family: ui-rounded, var(--font); font-variant-numeric: tabular-nums; line-height: 1;
}
.watch-screen .scr { position: absolute; inset: 0; }
.watch-screen img.scr { width: 100%; height: 100%; object-fit: cover; }
.wf-face { padding: 2.1em 1.1em 1.6em; display: flex; flex-direction: column; gap: 2.2em; }
.wf-head { display: flex; align-items: flex-end; gap: 1.2em; }
.wf-circ {
  flex: none; width: 5.3em; height: 5.3em; margin-bottom: .15em; border-radius: 50%; background: #1C1C1E;
  display: grid; place-content: center; justify-items: center;
}
.wf-c-label { display: inline-flex; align-items: center; gap: .15em; font-size: 1.1em; font-weight: 700; color: #19D4A0; }
.wf-c-label i { font-style: normal; font-size: .8em; }
.wf-circ b { margin-top: .15em; font-size: 2em; font-weight: 600; letter-spacing: -.01em; }
.wf-clock { flex: 1; min-width: 0; display: grid; justify-items: end; gap: .3em; }
.wf-date { font-size: 1.5em; font-weight: 600; color: #E5E5EA; }
.wf-date em { font-style: normal; color: #FF453A; margin-right: .1em; }
.wf-time { font-size: 4.3em; font-weight: 500; letter-spacing: -.03em; }
.wf-rect { display: grid; gap: .45em; }
.wf-r1 { display: flex; justify-content: space-between; align-items: baseline; }
.wf-r1 b { font-size: 1.5em; font-weight: 700; color: #19D4A0; }
.wf-r1 span { font-size: 1.3em; font-weight: 600; }
.wf-down { color: #E25250; }
.wf-up { color: #16BE80; }
.wf-r2 { display: flex; align-items: baseline; gap: .3em; }
.wf-r2 small { font-size: 1.4em; font-weight: 600; color: #8E8E93; }
.wf-r2 strong { font-size: 2.8em; font-weight: 600; letter-spacing: -.01em; }
.wf-r3 { display: flex; align-items: center; gap: .7em; }
.wf-r3 svg { flex: 1; min-width: 0; height: 1.2em; overflow: visible; }
.wf-r3 polyline { fill: none; stroke: #19D4A0; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.wf-r3 span { font-size: 1.2em; font-weight: 500; color: #8E8E93; }

@media (max-width: 700px) {
  .device-tabs { gap: 6px; margin-bottom: 18px; }
  .device-tab { padding-inline: 15px; font-size: 14px; }
  .device-card { grid-template-columns: minmax(0, 1fr); }
  .device-copy { grid-row: 1; gap: 10px; padding: 24px; }
  .device-copy p { font-size: 16px; }
  .device-copy .device-more { font-size: 14.5px; }
  .device-stage { grid-row: 2; height: min(650px, 180cqw); padding: 28px 12px 88px; }
  .device-stage.is-watch { height: min(480px, 138cqw); }
  .device-stage.is-pad { height: min(560px, 158cqw); padding-bottom: 28px; }
}

/* cartão Pro: aparelhos e Compartilhamento Familiar */
.plan-devices { margin-top: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.dev-icons { display: inline-flex; gap: 6px; color: var(--mint-ink); }
.dev-icons svg { width: 21px; height: 21px; }
.plan-family { margin-top: 12px; padding-inline: 15px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.plan-family svg { width: 20px; height: 20px; margin-top: 1px; color: var(--mint-ink); }
.plan-family b { color: var(--ink); }

/* telas que trocam no relógio e no iPhone (v5.1): botões embaixo e troca lenta sozinha */
.scr { opacity: 0; transition: opacity .45s ease; }
.scr.on { opacity: 1; }
.screens { position: relative; }
.screens .scr:not(:first-child) { position: absolute; inset: 0; width: 100%; height: 100%; }

.screen-chips {
  position: absolute; left: 14px; right: 14px; bottom: 20px; z-index: 3;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.screen-chip {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; min-width: 44px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  font: 600 12px/1 var(--font); color: rgba(242, 245, 247, .85);
  background: rgba(20, 24, 28, .74); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.screen-chip:hover { color: #fff; background: rgba(44, 50, 56, .86); }
.screen-chip[aria-pressed="true"] { color: var(--on-mint); background: var(--mint); border-color: var(--mint); }
.screen-chip:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.screen-chip svg { width: 16px; height: 16px; flex: none; }
/* só o botão escolhido mostra o nome; nos outros o nome fica para leitores de tela */
.screen-chip span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-chip[aria-pressed="true"] { padding: 0 12px 0 9px; }
.screen-chip[aria-pressed="true"] span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }

@media (max-width: 360px) {
  .screen-chips { gap: 6px; }
  .screen-chip[aria-pressed="true"] { padding-inline: 8px; gap: 4px; font-size: 11.5px; }
  .screen-chip[aria-pressed="true"] svg { display: none; }
}

/* ---------- celular (v5.2): dedo, teclado, velocidade e bordas da tela ---------- */

/* cabeçalho fixo no celular: a marca e o "Avise-me" ficam sempre à mão, como na barra dos produtos da Apple */
@media (max-width: 819px) {
  html { scroll-padding-top: 72px; }
  .site-header {
    position: sticky; top: 0; z-index: 30;
    background: var(--ground);
    background: color-mix(in srgb, var(--ground) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px);
    box-shadow: 0 1px 0 transparent; transition: box-shadow .2s ease;
  }
  .site-header.is-stuck { box-shadow: 0 1px 0 var(--line); }
  .site-header .wrap { padding-block: 10px; }
}

/* toque: alvos de pelo menos 44 pt sem mudar o desenho (a área extra é invisível) */
@media (pointer: coarse) {
  .brand, .site-nav .lang, .site-nav .btn-small, .fbp-tab, button.fbp-ico, .fbp-swap, .cn-btn, .calc-hist-btn, .ch-kbd { position: relative; }
  .brand::after, .site-nav .lang::after, .site-nav .btn-small::after, .screen-chip::after, .fbp-tab::after,
  button.fbp-ico::after, .fbp-swap::after, .cn-btn::after, .calc-hist-btn::after, .ch-kbd::after, .fb-item::before {
    content: ""; position: absolute; inset: -9px;
  }
  .brand::after { inset: -7px -6px; }
  .site-nav .lang::after { inset: -7px -2px; }
  .site-nav .btn-small::after, .cn-btn::after { inset: -4px; }
  .screen-chip::after { content: none; }
  .fbp-tab::after { inset: -10px -1px; }
  button.fbp-ico::after { inset: -12px -8px; }
  .fb-item::before { inset: -10px -4px; }
  .screen-chips { gap: 6px; }
  .screen-chip { min-height: 44px; min-width: 44px; }
  /* letra de 16 px nos campos: o Safari do iPhone não dá zoom ao tocar */
  .demo-screen input, .demo-screen select { font-size: 16px; padding-block: 11px; }
  .lang-banner button { min-width: 44px; min-height: 44px; }
  .privacy-card .more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; }
  /* links do menu (celular deitado, iPad) e o e-mail do suporte: área de toque maior, mesmo desenho */
  .site-nav .nav-section { padding-block: 10px; }
  .contact-card .mail { display: inline-block; padding-block: 8px; margin-block: -8px; }
  .footer-main ul { gap: 0; }
  .footer-main nav a { display: inline-block; padding-block: 10px; }
  .footer-main h2 { margin-bottom: 2px; }
}

@media (max-width: 820px) {
  .bench-tab { padding: 7px 14px 7px 7px; }
  /* os vidros da cena ficam sobre um fundo já desfocado: no celular, sem desfoque extra, a rolagem fica mais leve */
  .menubar, .practice-card, .macro-bar, .cur-pop, .closed-note, .screen-chip { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (max-width: 560px) {
  /* botões do topo na largura toda, fáceis de alcançar com o polegar */
  .hero .cta-row { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 26px; }
  .hero .cta-row .btn { width: 100%; }
  .footer-cta .cta-row { width: 100%; }
  .footer-cta .btn { flex: 1 1 100%; }
  /* Pro: a lista do que vem junto fica mais compacta */
  .chips { gap: 6px; }
  .chips li { min-height: 40px; padding: 8px 11px; font-size: 14px; }
  /* rodapé em duas colunas */
  .footer-main .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* no celular a entrada é mais curta: o texto aparece logo, sem perder a coreografia */
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .a-1 { animation-delay: .04s; }
  .a-title { animation-delay: .1s; }
  .a-2 { animation-delay: .18s; }
  .a-3 { animation-delay: .24s; }
  .a-4 { animation-delay: .32s; }
  .a-5 { animation-delay: .4s; }
  .a-title .grad { animation-delay: .35s; }
  .scene[data-open="true"] .popover { animation-delay: .55s; }
  .scene[data-open="true"] .spark polyline { animation-delay: .8s; }
}

/* cortar sem virar área de rolagem: quando o navegador leva um campo ou cartão à vista
   (teclado do iPhone, busca na página), o conteúdo não "rola por dentro" da cena
   e não aparece uma faixa na borda de baixo. O hidden acima fica para navegadores antigos. */
.scene, .currency-stage, .device-stage { overflow: clip; }

/* 14/10/2026 — identidade 3D, entrada mais curta e navegação móvel. */
.home .site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid var(--line-soft); }
.home .site-header .wrap { padding-block: 14px; }
.home { --maxw: 1240px; }
.hero-heading { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 32px; position: relative; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -.045em; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 53ch; margin-top: 22px; }
.hero .cta-row { margin-top: 26px; gap: 10px; }
.hero .cta-row .btn { padding-inline: 20px; }
.hero .cta-row .btn svg { width: 17px; height: 17px; }
.hero .cta-note { font-size: 13px; line-height: 1.55; max-width: 58ch; color: var(--muted); }
.hero .microline { font-size: 13px; margin-bottom: 0; gap: 8px 17px; }
.hero-art { min-width: 0; text-align: center; align-self: center; padding-top: 18px; }
.hero-icon-stage { position: relative; width: 100%; height: 330px; isolation: isolate; touch-action: pan-y; }
.hero-icon-stage::before { content: ""; position: absolute; width: 180px; height: 52px; bottom: 18px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: #00d1b61c; filter: blur(26px); z-index: -1; }
.hero-icon-stage canvas { display: block; width: 100%; height: 100%; opacity: 0; }
.hero-icon-fallback { position: absolute; width: 222px; height: 222px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-5deg); border-radius: 21%; box-shadow: 12px 18px 30px #0003; }
.hero-icon-stage.is-rendered canvas { opacity: 1; }
.hero-icon-stage.is-rendered .hero-icon-fallback { opacity: 0; }
.hero-art-caption { font-size: 14px; line-height: 1.6; letter-spacing: -.01em; color: var(--muted); margin-top: -3px; }
.demo-caption { display: flex; align-items: center; gap: 8px; margin-top: 34px; font-size: 12px; color: var(--muted); letter-spacing: .01em; }
.demo-caption span { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-ink); }
.hero .scene { margin-top: 12px; }
.menu-toggle { display: none; }
.mobile-menu { position: absolute; top: calc(100% + 7px); left: var(--pad-l); right: var(--pad-r); padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-float); }
.mobile-menu a { display: block; padding: 14px 16px; color: var(--ink); text-decoration: none; font-size: 16px; border-radius: 9px; }
.mobile-menu a:hover { background: var(--ground-2); }
@media (min-width: 820px) { .mobile-menu { display: none; } }
@media (min-width: 820px) and (max-width: 1080px) {
 .hero-heading { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
 .hero h1 { font-size: clamp(46px, 5.6vw, 60px); }
 .hero .cta-row .btn { font-size: 14px; padding-inline: 14px; }
 .site-nav { gap: 15px; }
 .site-nav a { font-size: 13px; }
 .hero-icon-stage { height: 290px; }
}
@media (max-width: 819px) {
 .site-nav { gap: 8px; }
 .has-mobile-menu .menu-toggle { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
 .menu-toggle svg { width: 20px; height: 20px; }
 .menu-toggle[aria-expanded="true"] { background: var(--mint-wash); border-color: var(--mint-ink); }
 .hero-heading { display: block; }
 .hero .wrap { padding-top: 22px; }
 .hero-art { position: absolute; top: -13px; right: -6px; width: 124px; padding: 0; }
 .hero-icon-stage { height: 136px; }
 .hero-icon-stage::before { width: 90px; height: 20px; bottom: 0; filter: blur(15px); }
 .hero-icon-fallback { width: 98px; height: 98px; }
 .hero-art-caption { display: none; }
 .hero .pill { display: flex; flex-wrap: wrap; align-content: center; max-width: calc(100% - 128px); min-height: 90px; border: 0; box-shadow: none; background: transparent; border-radius: 0; padding: 0; gap: 4px 7px; font-size: 12px; }
 .hero .pill-dot { width: 6px; height: 6px; }
 .hero .pill-sep { display: none; }
 .hero .pill-offer { flex-basis: 100%; padding-left: 13px; font-size: 12px; }
 .hero h1 { font-size: clamp(34px, 9.65vw, 65px); margin-top: 23px; line-height: 1.04; }
 .hero .lede { font-size: 17px; margin-top: 20px; }
 .hero .microline { gap: 6px 14px; font-size: 12px; margin-top: 16px; }
 .hero .cta-note { font-size: 12px; }
 .demo-caption { margin-top: 26px; font-size: 11px; }
}
@media (max-width: 370px) {
 .home .brand { gap: 6px; font-size: 16px; }
 .home .brand img { width: 27px; height: 27px; }
 .home .site-nav { gap: 6px; }
 .home .site-nav .btn-small { font-size: 12px; padding-inline: 10px; }
 .home .site-nav .lang { padding-inline: 8px; }
 .hero h1 { font-size: 8.9vw; }
 .hero-art { width: 106px; right: -3px; }
 .hero .pill { max-width: calc(100% - 112px); }
}
@media (prefers-reduced-motion: reduce) { .hero-icon-stage canvas, .hero-icon-fallback { transition: none; } }
html { scroll-padding-top: 90px; }

/* English website demonstrations. Original device captures stay in the PT page. */
.device-preview-note { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.en-device-preview { color: #f1f3f3; background: #171b1c; font: 400 12px/1.35 var(--font); text-align: left; overflow: hidden; }
.en-device-preview svg { width: 18px; height: 18px; color: #15bd9d; fill: none; }
.en-device-preview small { color: #929b9e; font-size: 10px; }
.en-device-preview h4 { margin: 0; font-size: 10px; font-weight: 600; }
.en-phone-preview { aspect-ratio: 400 / 870; border-radius: 28px; display: flex; flex-direction: column; padding: 12px 10px 9px; }
.en-preview-status { display: flex; justify-content: space-between; align-items: center; min-height: 20px; font-size: 9px; padding: 0 7px; }
.en-preview-status i { width: 70px; height: 20px; border-radius: 14px; background: #020304; }
.en-phone-preview>header { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 14px; font-size: 13px; }
.en-phone-preview>header svg:first-child { background: #272f31; padding: 5px; border-radius: 50%; width: 28px; height: 28px; }
.en-preview-content { min-height: 0; }
.en-preview-card { padding: 11px 10px 10px; background: #242a2b; border-radius: 16px; }
.en-preview-card-label { display: flex; justify-content: space-between; gap: 6px; align-items: center; font-size: 9px; color: #b5bec0; }
.en-preview-card-label>span { font-size: 8px; letter-spacing: .04em; }
.en-preview-card-label>b { color: #ecefef; font-size: 10px; white-space: nowrap; }
.en-preview-card>small { display: block; margin-top: 7px; }
.en-preview-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-top: 9px; }
.en-preview-amount>span { color: #b2bcbe; font-size: 10px; }
.en-preview-amount>strong { font: 600 26px/1 var(--mono); letter-spacing: -.04em; }
.en-preview-swap { position: relative; margin: -7px auto; width: 32px; height: 32px; border-radius: 50%; background: #124c3f; display: grid; place-items: center; z-index: 1; border: 3px solid #171b1c; }
.en-preview-rate { margin: 10px auto; color: #bec8c8; text-align: center; font-size: 9px; }
.en-preview-quotes { border: 1px solid #303839; border-radius: 15px; padding: 9px; }
.en-preview-quotes h4 { display: flex; justify-content: space-between; color: #aab5b7; font-size: 8px; margin-bottom: 5px; }
.en-preview-quotes h4>span { color: #15bd9d; }
.en-preview-quotes>div { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px; align-items: center; padding: 7px 0; border-top: 1px solid #303839; font-size: 10px; }
.en-preview-quotes small { font-size: 9px; }
.en-preview-nav { display: flex; gap: 5px; padding: 8px 6px; border-radius: 24px; background: #2b3435; margin-top: auto; }
.en-preview-nav>span { display: grid; gap: 3px; justify-items: center; flex: 1; font-size: 8px; color: #abb5b6; }
.en-preview-nav .active { color: #15cfad; }
.en-preview-display { min-height: 83px; padding: 16px 10px; display: flex; flex-direction: column; text-align: right; background: #242a2b; border-radius: 14px; }
.en-preview-display>strong { font: 600 32px/1.6 var(--mono); }
.en-preview-actions { display: flex; justify-content: space-between; margin: 12px 4px; font-size: 10px; color: #b0babb; }
.en-preview-actions span:nth-child(2) { color: #dbb65e; }
.en-preview-keypad { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.en-preview-keypad>span { border-radius: 8px; display: grid; place-items: center; min-height: 32px; font: 600 15px/1 var(--mono); background: #2c3335; }
.en-preview-keypad .key-accent { background: #163640; color: #55cbe3; }
.en-preview-keypad>span:last-child { background: #15bd9d; color: #062820; }
.en-preview-history { display: flex; flex-direction: column; font-size: 9px; margin: 12px 4px; gap: 7px; color: #a2aeb0; }
.en-preview-history>span { display: flex; justify-content: space-between; }
.en-preview-sub { color: #9eabac; font-size: 10px; margin: 3px 0 13px; }
.en-preview-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.en-preview-fields>div { background: #252c2d; padding: 9px; border-radius: 9px; min-width: 0; }
.en-preview-fields small { display: block; font-size: 7px; letter-spacing: .03em; }
.en-preview-fields b { display: block; margin-top: 6px; font-size: 11px; white-space: nowrap; }
.en-preview-button { background: #15bd9d; color: #053329; border-radius: 11px; padding: 11px 8px; margin: 14px 0; font-size: 11px; font-weight: 700; text-align: center; }
.en-preview-result { background: #143e34; padding: 17px 10px; border-radius: 13px; text-align: center; }
.en-preview-result>small { font-size: 8px; letter-spacing: .04em; color: #b2ceca; }
.en-preview-result>strong { display: block; margin-top: 8px; color: #3de2bd; font: 600 22px/1.3 var(--mono); letter-spacing: -.06em; }
.en-preview-result>p { font-size: 8px; color: #8ba8a3; line-height: 1.7; margin-top: 12px; }
.en-preview-result>svg { width: 100%; height: 50px; margin-top: 15px; stroke: #36d6b3; stroke-width: 1.3; }
.en-preview-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.en-preview-tools>div { display: grid; align-content: start; gap: 10px; min-height: 91px; background: #263033; border-radius: 13px; padding: 14px 10px; }
.en-preview-tools b { font-size: 10px; line-height: 1.4; }
.en-watch-preview { padding: 18px 13px; background: linear-gradient(#163d34, #141a19 55%); font-size: 12px; }
.en-watch-preview>header { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; text-align: center; }
.en-watch-preview>header>span { font-size: 11px; text-align: right; }
.en-watch-preview>header>b { color: #34dbb2; font-size: 19px; }
.en-watch-preview .en-preview-card { margin-top: 10px; padding: 9px; border-radius: 14px; }
.en-watch-preview .en-preview-card>small { display: none; }
.en-watch-preview .en-preview-amount>strong { font-size: 25px; }
.en-watch-result { text-align: right; margin: 10px 2px 13px; }
.en-watch-result small { display: block; font-size: 12px; }
.en-watch-result strong { font: 600 34px/1.4 var(--mono); }
.en-watch-preview .en-preview-keypad { gap: 4px; }
.en-watch-preview .en-preview-keypad>span { min-height: 23px; font-size: 13px; }
.en-watch-tools { display: grid; gap: 10px; }
.en-watch-tools>div { display: flex; align-items: center; gap: 10px; border-radius: 16px; padding: 14px 9px; background: #ffffff12; }
.en-watch-tools b { font-size: 13px; line-height: 1.25; }
.en-watch-tools svg { width: 25px; height: 25px; flex: none; }
.en-ipad-preview { aspect-ratio: 3 / 4; padding: 10px 7px 8px; border-radius: 9px; }
.en-ipad-head { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 8px; padding: 0 3px 13px; }
.en-ipad-head .active { background: #174a3d; color: #33d4b0; border-radius: 7px; padding: 4px 7px; }
.en-ipad-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 7px; height: calc(100% - 31px); }
.en-ipad-grid>section { padding: 8px 6px; min-width: 0; border-radius: 12px; background: #1c2325; border: 1px solid #2e3638; overflow: hidden; }
.en-ipad-grid h4 { display: flex; gap: 5px; align-items: center; font-size: 9px; margin: 0 0 10px; color: #44d7b5; }
.en-ipad-grid h4>svg { width: 12px; height: 12px; }
.en-ipad-grid .en-preview-card { padding: 8px; margin-bottom: 6px; border-radius: 10px; }
.en-ipad-grid .en-preview-card>small { margin-top: 3px; font-size: 8px; }
.en-ipad-grid .en-preview-card-label>b { font-size: 8px; }
.en-ipad-grid .en-preview-card-label>span { font-size: 6px; }
.en-ipad-grid .en-preview-amount { margin-top: 6px; }
.en-ipad-grid .en-preview-amount>strong { font-size: 21px; }
.en-ipad-grid .en-preview-rate { font-size: 7px; margin: 9px 0; }
.en-ipad-grid .en-preview-display { min-height: 63px; padding: 8px; margin-bottom: 10px; }
.en-ipad-grid .en-preview-display>strong { font-size: 26px; }
.en-ipad-grid .en-preview-keypad { gap: 4px; }
.en-ipad-grid .en-preview-keypad>span { min-height: 23px; font-size: 11px; }
.en-ipad-grid .en-preview-fields { gap: 5px; }
.en-ipad-grid .en-preview-fields>div { padding: 7px 6px; }
.en-ipad-grid .en-preview-fields b { font-size: 10px; }
.en-ipad-grid .en-preview-fields small { font-size: 6px; }
.en-ipad-grid .en-preview-button { font-size: 9px; padding: 8px; margin: 10px 0; }
.en-ipad-grid .en-preview-result { padding: 10px 5px; }
.en-ipad-grid .en-preview-result>strong { font-size: 18px; }
.en-ipad-grid .en-preview-result>small { font-size: 6px; }
@media (prefers-reduced-motion: reduce) { .en-device-preview { transition: none; } }
/* Keep the translated sample screens complete at small device sizes. */
.home:lang(en) #device-phone .device-stage { height: min(700px, 200cqw); }
.en-phone-preview { aspect-ratio: 400 / 940; }
.en-watch-preview>header { gap: 4px; margin-bottom: 8px; }
.en-watch-result { margin: 4px 2px 8px; }
.en-watch-preview .en-preview-keypad>span { min-height: 20px; }
.en-ipad-grid>section { padding: 6px 4px; }
.en-ipad-grid h4 { font-size: 8px; margin-bottom: 5px; }
.en-ipad-grid .en-preview-card { padding: 5px; margin-bottom: 5px; }
.en-ipad-grid .en-preview-card>small { display: none; }
.en-ipad-grid .en-preview-card-label>b { font-size: 7px; }
.en-ipad-grid .en-preview-amount { margin-top: 4px; }
.en-ipad-grid .en-preview-amount>strong { font-size: 20px; }
.en-ipad-grid .en-preview-rate { margin: 5px 0; }
.en-ipad-grid .en-preview-display { min-height: 35px; padding: 3px; margin-bottom: 6px; }
.en-ipad-grid .en-preview-display>small { font-size: 7px; }
.en-ipad-grid .en-preview-display>strong { font-size: 20px; line-height: 1.1; }
.en-ipad-grid .en-preview-keypad { gap: 3px; }
.en-ipad-grid .en-preview-keypad>span { min-height: 13px; font-size: 8px; border-radius: 4px; }
.en-ipad-grid .en-preview-fields { gap: 3px; }
.en-ipad-grid .en-preview-fields>div { padding: 4px; }
.en-ipad-grid .en-preview-fields small { font-size: 5px; line-height: 1.2; }
.en-ipad-grid .en-preview-fields b { font-size: 8px; line-height: 1.2; margin-top: 3px; }
.en-ipad-grid .en-preview-button { font-size: 7px; padding: 5px; margin: 5px 0; }
.en-ipad-grid .en-preview-result { padding: 4px 3px; }
.en-ipad-grid .en-preview-result>small { font-size: 5px; }
.en-ipad-grid .en-preview-result>strong { font-size: 14px; line-height: 1.1; margin-top: 4px; }
