/* Bayle AI landing. Dark only, on pure black (brand brief).
   Spacing follows one scale (--s1..--s11); nothing outside it. */

@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-400.woff2?v=437cd97c80") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-500.woff2?v=83c497a1c0") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-600.woff2?v=d00ac8735b") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-700.woff2?v=d656a2dcc2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/jbmono-400.woff2?v=14425ba9c6") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/jbmono-500.woff2?v=cb182feeed") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #000000;
  --surface: #0B0F1A;
  --surface-2: #121A2B;
  --text: #E8EEFB;
  --muted: #93A0BB;
  --faint: #7A88A6;
  --accent: #2456E8;
  --accent-hover: #1F5BFF;
  --accent-text: #7AA2FF;
  --accent-soft: #A9C4FF;
  --tint: rgba(36, 86, 232, .12);
  --line: rgba(122, 162, 255, .14);
  --line-strong: rgba(122, 162, 255, .32);
  --error: #FF9D9D;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px; --s11: 192px;

  --gutter: 16px;
  --header-h: 64px;
  --bar-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s5));
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html.menu-open, html.menu-open body { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code {
  font-family: var(--mono);
  font-size: .86em;
  color: var(--accent-soft);
  background: var(--tint);
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }

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

.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--text); color: var(--bg); padding: var(--s2) var(--s4); border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: var(--s4); }

/* The loader is a plain black cover (brief). It never blocks input and has a CSS-only fallback,
   so it can't stay up if the script fails. */
.cover {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); pointer-events: none;
  animation: cover-out .5s var(--ease) 1.6s forwards;
}
html.ready .cover { animation: cover-out .5s var(--ease) forwards; }
@keyframes cover-out { to { opacity: 0; visibility: hidden; } }

/* ---------- Type ---------- */
.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0;
}
.mono-label { color: var(--faint); }

.display {
  font-weight: 600;
  font-size: clamp(2.25rem, 8.6vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
}
.hl { color: var(--accent-soft); }
.lead {
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38ch;
  margin: var(--s6) 0 0;
  text-wrap: pretty;
}

/* ---------- Buttons & links ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  height: var(--h);
  padding: 0 var(--s5);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.005em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-small { --h: 38px; padding: 0 var(--s4); font-size: 14px; }
.btn-large { --h: 60px; padding: 0 var(--s6); font-size: 18px; }
.btn-block { width: 100%; }
.arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); flex: none; }
.btn:hover .arr, .link-cta:hover .arr { transform: translateX(3px); }
.link-cta:hover .arr-down { transform: translateY(3px); }
.wa-num:hover .arr { transform: translate(2px, -2px); }

.link-cta {
  display: inline-flex; align-items: center; gap: var(--s2);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  padding: var(--s2) 0;
  background: none; border: 0; cursor: pointer;
  background-image: linear-gradient(var(--line-strong), var(--line-strong));
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.link-cta:hover { color: var(--accent-soft); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: var(--bar-h) 0 auto 0; z-index: 50;
  height: calc(var(--header-h) - var(--bar-h));
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(0, 0, 0, .92); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s6); }
.brand { flex: none; display: block; padding: var(--s2) 0; }
.brand img { height: 28px; width: auto; }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: var(--s6); list-style: none; margin: 0; padding: 0; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: var(--s2) 0; transition: color .2s;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: var(--s4); margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.header-actions > .btn { display: none; }
.header-actions > .lang { display: none; }

.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px; }
.lang button {
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  color: var(--faint);
  height: 30px; min-width: 40px; padding: 0 var(--s3); border-radius: 2px;
  transition: color .2s, background-color .2s;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }

.menu-btn {
  width: 44px; height: 44px; margin-right: -10px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
}
.menu-btn span { width: 20px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg);
  padding: var(--s6) var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { border-bottom: 1px solid var(--line); }
.menu nav a {
  display: block; padding: var(--s4) 0;
  font-size: 30px; font-weight: 600; letter-spacing: -.02em; text-decoration: none;
}
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding-top: var(--s7); }

@media (min-width: 1040px) {
  .nav { display: block; }
  .header-actions > .btn, .header-actions > .lang { display: inline-flex; }
  .menu-btn { display: none; }
  .menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: clip;
  padding-top: var(--header-h);
}
.hero-art {
  /* the whole hero: the close-up fills it, then the ring settles above the text (phone) or to
     its right (desktop); halo.js places it */
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-art canvas { width: 100%; height: 100%; }
.hero-art::before,
.hero-art::after { content: ""; position: absolute; pointer-events: none; }
.hero-art::before {
  /* keeps the header legible over the close-up */
  inset: 0 0 auto 0; height: calc(var(--header-h) + 88px);
  background: linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,.7) 50%, rgba(0,0,0,0));
}
.hero-art::after {
  /* a scrim under the copy; --tt is the top of the text, set by halo.js */
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) calc(var(--tt, 55%) - 40px), rgba(0,0,0,.86) calc(var(--tt, 55%) + 72px), rgba(0,0,0,.9));
}
.hero-inner { position: relative; padding-bottom: var(--s8); }
.hero-title {
  font-weight: 600;
  font-size: clamp(2.5rem, 11vw, 6rem);
  line-height: .93;
  letter-spacing: -.045em;
  margin: 0;
  max-width: 11ch;
}
.hero-sub {
  margin: var(--s6) 0 0;
  max-width: 34ch;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); margin-top: var(--s7); }

@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero-title { font-size: clamp(2.75rem, 5.6vw, 5.5rem); }
  .hero-art::after {
    /* --tr is the right edge of the copy, set by halo.js */
    background: linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.84) calc(var(--tr, 45%) - 160px), rgba(0,0,0,0) calc(var(--tr, 45%) + 24px));
  }
  .hero-inner { padding-bottom: 0; padding-top: var(--s9); padding-bottom: var(--s9); }
}

/* Hero entrance: each word rises from behind a mask, once, after the cover lifts. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
html.js:not(.rm) .hero-title .w > span { transform: translateY(105%); }
html.js:not(.rm) .hero-sub,
html.js:not(.rm) .hero-ctas { opacity: 0; transform: translateY(12px); }
html.ready:not(.rm) .hero-title .w > span {
  transform: none;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(.12s + var(--i, 0) * 70ms);
}
html.ready:not(.rm) .hero-sub,
html.ready:not(.rm) .hero-ctas {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
html.ready .hero-sub { transition-delay: .55s !important; }
html.ready .hero-ctas { transition-delay: .7s !important; }

/* ---------- Sections ---------- */
.sec { position: relative; scroll-margin-top: calc(var(--s9) * -1); }
main > .sec { min-height: 100svh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
main > .sec > .wrap { width: 100%; }
main > .sec { padding-top: calc(var(--header-h) + var(--s6)) !important; padding-bottom: var(--s7) !important; }
.freedom { padding: var(--s8) 0 var(--s8); }
.privacy { padding: var(--s9) 0 var(--s8); }
.models { padding: var(--s8) 0 var(--s9); }
.contact { padding: var(--s8) 0; background: var(--surface); border-block: 1px solid var(--line); }
.pricing { padding: var(--s8) 0; }
.how { padding: var(--s8) 0 var(--s8); }
@media (min-width: 900px) {
  .freedom { padding: var(--s9) 0 var(--s8); }
  .privacy { padding: var(--s8) 0 var(--s9); }
  .models { padding: var(--s9) 0 var(--s8); }
  .contact { padding: var(--s8) 0 var(--s9); }
  .how { padding: var(--s9) 0 var(--s8); }
  .pricing { padding: var(--s9) 0; }
}

/* ---------- Liberdade ---------- */
.freedom .display { max-width: none; font-size: clamp(2.5rem, 10vw, 6.25rem); letter-spacing: -.045em; line-height: .92; }
.freedom-lead { max-width: 44ch; }
.points {
  list-style: none; margin: var(--s7) 0 0; padding: 0;
  display: grid; gap: var(--s7);
}
.points li { border-top: 1px solid var(--line-strong); padding-top: var(--s5); }
.points .num { font-family: var(--mono); font-size: 13px; color: var(--accent-text); letter-spacing: .04em; }
.points h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: var(--s4) 0 var(--s3); }
.points p { margin: 0; color: var(--muted); max-width: 36ch; }
@media (min-width: 900px) {
  .points { grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
  /* staggered baselines so three items read as a sequence, not three equal boxes */
  .points li:nth-child(2) { margin-top: var(--s8); }
  .points li:nth-child(3) { margin-top: calc(var(--s8) * 2); }
}

/* ---------- Privacidade: tier labels (used by the zero-retention card) ---------- */
@media (min-width: 1040px) {
  }
html.rm html.rm 
.tiers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.tier {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s4);
  padding: var(--s5) var(--s3) var(--s5) 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color .3s var(--ease), opacity .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
  outline-offset: -2px;
}
.swatch { width: 56px; height: 35px; fill: none; stroke-linecap: round; margin-top: 2px; }
.swatch .relay { stroke: #E8EEFB; stroke-width: 1.3; fill: #000; }
.tier-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 var(--s2);
}
.tier-label .sep { margin: 0 var(--s2); color: var(--faint); }
.tier h3 { margin: 0 0 var(--s3); font-size: clamp(1.3125rem, 2vw, 1.625rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.tier-body { margin: 0 0 var(--s3); color: var(--muted); max-width: 52ch; font-size: 16px; }
.tier-meta {
  margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
  font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .02em;
}
.tier-meta .count { color: var(--text); }
.tier:hover, .tier[aria-pressed="true"] { background: linear-gradient(to right, var(--tint), rgba(36,86,232,0) 80%); }
.tiers.filtering .tier:not([aria-pressed="true"]):not(:hover) { opacity: .45; }

/* ---------- Modelos ---------- */
.models-grid { display: grid; gap: var(--s8); margin-top: var(--s6); }
.models-copy .btn { margin-top: var(--s6); }
@media (min-width: 900px) {
  .models-grid { grid-template-columns: 1fr 1fr; gap: var(--s9); align-items: end; }
}

.chart { margin: 0; }
.bars { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.bar {
  position: relative;
  display: grid;
  grid-template-columns: 4.2ch 1fr;
  grid-template-areas: "n l" "t t";
  align-items: baseline;
  column-gap: var(--s3);
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
  outline-offset: 4px;
}
.bar:last-child { border-bottom: 1px solid var(--line); }
.bar-n { grid-area: n; font-family: var(--mono); font-size: 28px; letter-spacing: -.04em; color: var(--text); line-height: 1.1; }
.bar-l { grid-area: l; color: var(--muted); font-size: 15px; }
.bar-track { grid-area: t; height: 8px; margin-top: var(--s2); position: relative; }
.bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: calc(var(--v) / var(--max, 137) * 100%);
  min-width: 4px;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
  transform-origin: left center;
}
.bar:hover .bar-fill, .bar:focus-visible .bar-fill { background: var(--accent-text); }
.bar-tip {
  position: absolute; right: 0; top: var(--s3);
  font-family: var(--mono); font-size: 12px; color: var(--accent-soft);
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}
.bar:hover .bar-tip, .bar:focus-visible .bar-tip { opacity: 1; transform: none; }
html.js:not(.rm) .chart .bar-fill { transform: scaleX(0); }
html.js:not(.rm) .chart.in .bar-fill { transform: scaleX(1); transition: transform 1.2s var(--ease); }
html.js:not(.rm) .chart.in .bar:nth-child(2) .bar-fill { transition-delay: .08s; }
html.js:not(.rm) .chart.in .bar:nth-child(3) .bar-fill { transition-delay: .16s; }
html.js:not(.rm) .chart.in .bar:nth-child(4) .bar-fill { transition-delay: .24s; }

.makers { margin-top: var(--s8); }
.logo-grid {
  list-style: none; margin: var(--s4) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.logo-grid li {
  position: relative;
  aspect-ratio: 1 / .78;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--faint);
  cursor: default;
  transition: color .25s var(--ease), background-color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.logo-grid svg { width: 30px; height: 30px; transition: transform .35s var(--ease); }
.logo-grid .logo-name {
  position: absolute; left: 0; right: 0; bottom: var(--s3);
  text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .03em;
  color: var(--accent-soft);
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  padding: 0 var(--s2);
  line-height: 1.2;
}
.logo-grid li:hover, .logo-grid li:focus-visible, .logo-grid li.on { color: var(--text); background: var(--tint); }
.logo-grid li:hover svg, .logo-grid li:focus-visible svg, .logo-grid li.on svg { transform: translateY(-8px); }
.logo-grid li:hover .logo-name, .logo-grid li:focus-visible .logo-name, .logo-grid li.on .logo-name { opacity: 1; transform: none; }
.logo-grid li:focus-visible { outline-offset: -2px; }
.logo-grid li.unc { color: var(--text); background: rgba(36, 86, 232, .06); }
@media (min-width: 720px) {
  .logo-grid { grid-template-columns: repeat(5, 1fr); }
  .logo-grid svg { width: 36px; height: 36px; }
  .logo-grid .logo-name { font-size: 12px; }
  }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: var(--s8); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr minmax(0, 520px); gap: var(--s9); align-items: start; } }
.wa { margin-top: var(--s8); }
.wa-num {
  display: inline-flex; align-items: center; gap: var(--s3);
  margin-top: var(--s3);
  font-family: var(--mono);
  font-size: clamp(1.375rem, 3.6vw, 2rem);
  letter-spacing: -.04em;
  text-decoration: none;
  color: var(--text);
  transition: color .2s;
}
.wa-num .arr { width: 22px; height: 22px; color: var(--accent-text); }
.wa-num:hover { color: var(--accent-soft); }
.wa-note { margin: var(--s3) 0 0; color: var(--muted); }
.mail { margin: var(--s6) 0 0; padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--muted); max-width: 44ch; }
.mail a { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.mail a:hover { color: var(--accent-soft); }

.form-wrap { background: var(--bg); padding: var(--s6) var(--s5); }
@media (min-width: 720px) { .form-wrap { padding: var(--s7) var(--s7) var(--s6); } }
.field { margin-bottom: var(--s5); }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: var(--s2); }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  padding: var(--s2) 0 var(--s3);
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent-text); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-75%) rotate(45deg); pointer-events: none;
}
.field select { padding-right: var(--s6); cursor: pointer; }
.field select option { background: var(--surface); color: var(--text); }
.err { color: var(--error); font-size: 14px; margin: var(--s2) 0 0; min-height: 0; }
.err:empty { display: none; }
.form .btn { margin-top: var(--s3); }
.form-done { text-align: left; padding: var(--s6) 0; outline: none; }
.form-done svg { width: 48px; height: 48px; fill: none; stroke: var(--accent-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.form-done svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s var(--ease) .15s forwards; }
html.rm .form-done svg path { animation: none; stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-title { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin: var(--s5) 0 var(--s2); }
.form-done p { color: var(--muted); margin-top: 0; }
.form-done .link-cta { margin-top: var(--s4); }

/* ---------- Como funciona ---------- */
.how-grid { display: grid; gap: var(--s8); margin-top: var(--s9); }
@media (min-width: 1040px) {
  .how-grid { grid-template-columns: 260px minmax(0, 760px); gap: var(--s9); }
  .toc { position: sticky; top: calc(var(--header-h) + var(--s6)); align-self: start; }
}
.toc ol { list-style: none; margin: var(--s4) 0 0; padding: 0; border-left: 1px solid var(--line); }
.toc a {
  display: flex; gap: var(--s3);
  padding: var(--s2) 0 var(--s2) var(--s4);
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--faint); text-decoration: none; font-size: 15px; line-height: 1.4;
  transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--text); }
.toc a[aria-current="true"] { color: var(--text); border-left-color: var(--accent-text); }
.toc-n { font-family: var(--mono); font-size: 12px; padding-top: 2px; color: var(--accent-text); }

.article { min-width: 0; font-size: 18px; line-height: 1.7; }
.chapter { padding-top: var(--s8); }
.chapter:first-child { padding-top: 0; }
.chapter + .chapter { border-top: 1px solid var(--line); margin-top: var(--s8); }
.ch-n { font-family: var(--mono); font-size: 13px; color: var(--accent-text); margin: 0 0 var(--s3); }
.chapter h3 { font-size: clamp(1.4375rem, 2.4vw, 1.875rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 var(--s5); }
.chapter h4 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: var(--s7) 0 var(--s3); }
.chapter p { margin: 0 0 var(--s4); color: #C9D3E8; }
.chapter a { color: var(--accent-soft); text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.chapter strong { color: var(--text); font-weight: 600; }
.guarantees { margin: var(--s5) 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.guarantees > div { display: grid; gap: var(--s1) var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.guarantees dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); padding-top: 4px; }
.guarantees dd { margin: 0; color: #C9D3E8; }
@media (min-width: 720px) { .guarantees > div { grid-template-columns: 150px 1fr; } }

.checks, 
.note {
  margin-top: var(--s5) !important;
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: var(--s8) 0 var(--s6); color: var(--muted); font-size: 15px; }
.footer-top { display: grid; gap: var(--s7); }
.footer-logo { height: 28px; width: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
.footer-cols ul { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.footer-cols li { padding: var(--s1) 0; }
.footer-cols a { text-decoration: none; color: var(--muted); transition: color .2s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5);
  font-size: 13px; color: var(--faint);
}
.footer-bottom p { margin: 0; }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1fr auto; align-items: start; }
  .footer-cols { grid-template-columns: repeat(3, minmax(140px, auto)); gap: var(--s8); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}


/* ---------- Preços ---------- */
.pricing .display { margin-top: var(--s3); max-width: 16ch; }
.plans {
  list-style: none; margin: var(--s7) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; border: 1px solid var(--line);
}
.plan { position: relative; display: flex; flex-direction: column; padding: var(--s6) var(--s5); border-bottom: 1px solid var(--line); }
.plan:last-child { border-bottom: 0; }
.plan-num { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.plan h3 { margin: var(--s2) 0 0; font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.plan-desc { margin: var(--s3) 0 0; color: var(--muted); min-height: 3em; }
.plan-big { margin: var(--s5) 0 0; padding-top: var(--s5); border-top: 1px solid var(--line); font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1; letter-spacing: -.035em; font-weight: 500; }
.plan-meta { margin: var(--s3) 0 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.plan-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); flex: 1; align-content: start; }
.plan-list li { display: flex; gap: var(--s3); color: var(--muted); }
.ck { width: 16px; height: 16px; flex: none; margin-top: .25em; fill: none; stroke: var(--accent-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plan-cta {
  margin-top: var(--s6); height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-weight: 500; transition: background-color .2s var(--ease);
}
.plan-cta:hover { background: var(--tint); }
.plan:nth-child(2) .plan-cta { background: var(--text); color: var(--bg); border-color: var(--text); }
.plan:nth-child(2) .plan-cta:hover { background: #fff; }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); margin-top: var(--s8); }
  .plan { padding: var(--s7) var(--s6); border-bottom: 0; border-right: 1px solid var(--line); }
  .plan:last-child { border-right: 0; }
  }

/* Top-up amounts inside the Recarga card, after chat.bayle.ai's balance presets (components/balance/preset-cards.tsx) */
.topup-grid { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.topup {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s1); height: 100%; box-sizing: border-box; padding: var(--s3);
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); text-decoration: none;
  transition: border-color .2s var(--ease);
}
.topup:hover, .topup:focus-visible { border-color: rgba(36, 86, 232, .6); }
.topup .chev { color: var(--accent-text); }
.topup-amt { font-size: 18px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
.topup-add { margin-top: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--accent-text); }
.topup-min { margin: var(--s2) 0 0; font-size: 12px; color: var(--muted); }
.chev { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Maker tiles: chat.bayle.ai model-picker glyphs (restriction gauge left, privacy shields right) */
.logo-grid { min-width: 0; }
.logo-grid li { min-width: 0; }
.logo-grid li.unc { color: var(--text); background: rgba(36, 86, 232, .06); }
.logo-grid .posture { position: absolute; top: var(--s2); left: var(--s2); right: var(--s2); display: flex; justify-content: space-between; align-items: center; gap: 2px; pointer-events: none; }
.logo-grid .posture svg { width: 16px; height: 16px; transform: none !important; flex: none; }
.logo-grid .shields { display: inline-flex; gap: 1px; }
.logo-grid .shields svg { width: 13px; height: 13px; color: var(--text); }
.gauge { color: var(--accent-text); }
.makers-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s5); align-items: center; }
.legend { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); }
.legend-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.legend-row li { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legend-row svg { width: 16px; height: 16px; flex: none; }
.legend-row .shield { color: var(--text); }
@media (min-width: 720px) {
  .logo-grid .posture { top: var(--s3); left: var(--s3); right: var(--s3); }
  .logo-grid .posture svg { width: 20px; height: 20px; }
  .logo-grid .shields { gap: 2px; }
  .logo-grid .shields svg { width: 16px; height: 16px; }
}

/* ---------- Privacidade: zero-retention card ---------- */
.zdr-eyebrow { display: inline-flex; align-items: center; gap: var(--s2); color: var(--accent-text); letter-spacing: .3em; }
.zdr-eyebrow .shield { width: 16px; height: 16px; color: var(--accent-text); }
.zdr-title { margin-top: var(--s4); max-width: 18ch; }
.zdr-card {
  margin-top: var(--s7); border: 1px solid var(--line-strong); border-radius: 16px;
  background: linear-gradient(180deg, var(--surface) 0%, #05070D 100%);
  padding: var(--s6) var(--s5);
}
.zdr-top { display: grid; gap: var(--s6); }
.zdr-zero { display: flex; align-items: flex-start; gap: var(--s4); }
.zdr-0 { font-size: clamp(7rem, 22vw, 12.5rem); line-height: .8; font-weight: 300; letter-spacing: -.06em; color: var(--text); }
.zdr-0-l { max-width: 18ch; margin-top: var(--s2); font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--faint); line-height: 1.6; }
.zdr-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.zdr-rows li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2) var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.zdr-k { font-size: clamp(1.375rem, 2.4vw, 1.875rem); letter-spacing: -.02em; color: var(--text); }
.zdr-v { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.zdr-v b { font-weight: 500; color: var(--accent); }
.zdr-body { margin: var(--s6) 0 0; max-width: 60ch; color: var(--muted); font-size: 17px; }
.zdr-tiers { margin-top: var(--s6); display: grid; gap: var(--s5); }
.zdr-tier { padding-top: var(--s5); border-top: 1px solid var(--line); }
.zdr-tier .tier-label { display: inline-flex; align-items: center; gap: var(--s2); margin: 0; }
.zdr-tier .shield { width: 18px; height: 18px; color: var(--text); }
.zdr-tier h3 { margin: var(--s3) 0 var(--s2); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; }
.zdr-tier p:not(.tier-label):not(.tier-meta) { margin: 0 0 var(--s3); color: var(--muted); max-width: 52ch; }
.zdr-foot { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); }
.zdr-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.zdr-facts li { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--faint); }
.zdr-facts li + li::before { content: "•"; margin-right: var(--s5); color: var(--line-strong); }
.zdr-more { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.zdr-more:hover .arr { transform: translateX(3px); }
@media (min-width: 900px) {
  .zdr-card { padding: var(--s8) var(--s8) var(--s6); }
  .zdr-top { grid-template-columns: 300px 1fr; gap: var(--s7); align-items: center; }
  .zdr-tiers { grid-template-columns: 1fr 1fr; gap: var(--s7); }
}
@media (max-width: 719px) { .zdr-facts li + li::before { display: none; } }

/* ---------- News bar: newest uncensored models, live from api.bayle.ai/models ---------- */
/* Shown only once the catalog answers; while it shows, the header slides down under it. */
html.has-bar { --bar-h: 36px; --header-h: 100px; }
.news-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 51; height: var(--bar-h);
  background: var(--accent); color: #fff;
}
.news-link {
  height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: center; gap: var(--s3);
  color: inherit; text-decoration: none; font-size: 14px; white-space: nowrap; overflow: hidden;
}
.news-pill {
  flex: none; padding: 2px var(--s2); border-radius: 999px; background: rgba(0, 0, 0, .28);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.news-text { overflow: hidden; text-overflow: ellipsis; transition: opacity .3s var(--ease), filter .3s var(--ease); }
.news-text.out { opacity: 0; filter: blur(8px); }
.news-text .bl { display: inline-block; white-space: pre; animation: blur-in-letter .5s cubic-bezier(.22, 1, .36, 1) backwards; }
@keyframes blur-in-letter { 0% { opacity: 0; filter: blur(20px); color: var(--accent-soft); } }
@media (prefers-reduced-motion: reduce) { .news-text .bl { animation: none; } }
.news-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.news-link:hover .arr { transform: translateX(3px); }
.news-short { display: none; }
@media (max-width: 420px) { .news-pill { display: none; } }
@media (max-width: 560px) { .news-cta span, .news-long { display: none; } .news-short { display: inline; } .news-link { justify-content: flex-start; } }

/* ---------- Liberdade: common AI platforms vs Bayle ---------- */
.freedom-lead { margin-top: var(--s5); max-width: 40ch; }
.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; }
.vs-dots { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s2); }
.vs-dot {
  min-height: 40px; padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.vs-dot:hover { color: var(--text); border-color: var(--accent-text); }
.vs-dot[aria-pressed="true"] { color: var(--text); border-color: var(--accent); background: var(--tint); }
.vs-dot:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.vs { margin-top: var(--s4); display: grid; gap: var(--s4); }
.vs-q, .vs-a { transition: opacity .3s var(--ease), filter .3s var(--ease), transform .3s var(--ease); }
.vs.swap .vs-q, .vs.swap .vs-a { opacity: 0; filter: blur(8px); transform: translateY(4px); }
.vs-ok b { font-weight: 600; color: var(--accent-soft); }
.vs-ok code { font-family: var(--mono); font-size: .88em; padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, .35); color: var(--accent-soft); }
.vs-chat { min-height: 13.5em; align-content: start; }
.vs-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; padding: var(--s5); background: #05070D; }
.vs-bayle { border-color: var(--accent); background: linear-gradient(180deg, rgba(36, 86, 232, .14) 0%, var(--surface) 55%); box-shadow: 0 0 0 1px rgba(36, 86, 232, .25), 0 24px 60px -30px rgba(36, 86, 232, .55); }
.vs-kicker { display: inline-flex; align-items: center; gap: var(--s2); margin: 0; }
.vs-bayle .vs-kicker { color: var(--accent-soft); }
.vs-kicker img { width: 16px; height: 16px; }
.vs-chat { margin-top: var(--s4); display: grid; gap: var(--s2); padding: var(--s4); border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.vs-q, .vs-a { margin: 0; padding: var(--s3) var(--s4); border-radius: 12px; font-size: 15px; line-height: 1.45; max-width: 92%; }
.vs-q { justify-self: end; background: var(--surface-2); color: var(--text); border-bottom-right-radius: 4px; }
.vs-a { justify-self: start; border-bottom-left-radius: 4px; }
.vs-no { color: var(--error); border: 1px dashed rgba(255, 157, 157, .45); background: rgba(255, 157, 157, .05); }
.vs-ok { color: var(--text); border: 1px solid var(--accent); background: var(--tint); }
.vs-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s4); flex: 1; align-content: start; }
.vs-list li { display: flex; gap: var(--s3); }
.vs-list h4 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.vs-list p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.vs-ic { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vs-other .vs-ic { stroke: var(--error); }
.vs-other h4 { color: var(--muted); }
.vs-bayle .vs-ic { stroke: var(--accent-text); }
.vs-cta { margin-top: var(--s6); align-self: flex-start; }
@media (min-width: 900px) {
  .vs { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .vs-card { padding: var(--s7) var(--s6); }
}

.compare { margin-top: var(--s6); }
.compare h4 { margin: 0; }
.compare-scroll { margin-top: var(--s3); overflow-x: auto; }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: var(--s3) var(--s4) var(--s3) 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 600; color: var(--text); border-bottom-color: var(--line-strong); }
.compare tbody th { font-weight: 600; color: var(--text); width: 26%; }
.compare td { color: var(--muted); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { color: var(--accent-soft); }
.compare-note { margin: var(--s3) 0 0; font-size: 13px; color: var(--faint); max-width: 80ch; }
@media (max-width: 719px) {
  .compare table { min-width: 0; }
  .compare thead { display: none; }
  .compare tr { display: block; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  .compare th, .compare td { display: block; padding: 2px 0; border: 0; width: auto !important; }
  .compare td:last-child { color: var(--text); }
  .compare td:last-child::before { content: "→ "; color: var(--accent-text); }
}
.article .compare h4.mono-label { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--faint); }
.article .compare table { font-size: 15px; }
@media (max-width: 899px) { .vs-chat { min-height: 21.5em; } }

/* Contact form: the Turnstile slot, the status line and the sending state. */
.turnstile { margin-top: var(--s3); }
.turnstile:empty { display: none; }
.form-status { margin: var(--s3) 0 0; font-size: 14px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form .btn[disabled]:hover { background: var(--accent); }
