/* ============================================================
   Tally — "Quiet Ledger" landing
   Palette & type lifted 1:1 from the iOS app's DesignSystem.
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/HankenGrotesk.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Core palette (dark — the app is dark-first) */
  --ink: #0b0e14;
  --surface: #141925;
  --surface-2: #1c2330;
  --brass: #c9a45c;
  --brass-deep: #9a7b3f;
  --brass-bright: #e3c489;
  --positive: #6fbf9a;
  --negative: #d98f79;
  --text: #ece7dd;
  --text-dim: #a7a294;
  --hairline: rgba(255, 255, 255, 0.1);
  --hairline-strong: rgba(255, 255, 255, 0.16);

  /* Asset-class hues */
  --stock: #7fa8c9;
  --crypto: #e0a24d;
  --fiat: #84b89a;
  --ars: #9fa3de;

  /* Glass */
  --glass-bg: rgba(28, 35, 48, 0.5);
  --glass-bg-strong: rgba(28, 35, 48, 0.72);

  /* Radii (from Theme.Radius) */
  --r-sm: 12px;
  --r-card: 20px;
  --r-sheet: 28px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-optical-sizing: auto; line-height: 1.04; font-weight: 560; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
strong { color: var(--text); font-weight: 620; }
em { font-style: italic; color: var(--brass-bright); }

/* ============================================================
   Atmospheric background — mesh + grain (mirrors LedgerBackground)
   ============================================================ */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.bg__mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 38% at 50% 46%, rgba(201, 164, 92, 0.16), transparent 70%),
    radial-gradient(46% 50% at 18% 14%, rgba(20, 25, 37, 0.95), transparent 65%),
    radial-gradient(50% 55% at 82% 22%, rgba(28, 35, 48, 0.7), transparent 60%),
    radial-gradient(60% 60% at 80% 90%, rgba(20, 25, 37, 0.9), transparent 65%),
    radial-gradient(50% 50% at 15% 88%, rgba(28, 35, 48, 0.6), transparent 60%);
  filter: blur(8px);
  animation: meshdrift 26s ease-in-out infinite alternate;
}
@keyframes meshdrift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, -1.5%, 0) scale(1.06); }
}
.bg__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.bg__glow--1 { width: 540px; height: 540px; top: -180px; left: 50%; transform: translateX(-40%);
  background: radial-gradient(circle, rgba(201, 164, 92, 0.22), transparent 68%); }
.bg__glow--2 { width: 620px; height: 620px; bottom: -260px; right: -120px;
  background: radial-gradient(circle, rgba(127, 168, 201, 0.12), transparent 70%); }
.bg__grain {
  position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Logo (brass tally mark)
   ============================================================ */
.logo { display: inline-flex; color: var(--brass); }
.logo--sm .tally { width: 30px; height: 30px; }
.logo--lg .tally { width: 64px; height: 64px; }
.tally { display: block; filter: drop-shadow(0 0 10px rgba(201, 164, 92, 0.25)); }
.tally__gem { filter: drop-shadow(0 0 6px rgba(227, 196, 137, 0.9)); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--primary {
  color: #15110a;
  background: linear-gradient(135deg, var(--brass-bright), var(--brass) 55%, var(--brass-deep));
  box-shadow: 0 6px 22px rgba(201, 164, 92, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201, 164, 92, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--hairline-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--brass); color: var(--brass-bright); }

/* ============================================================
   Glass surface (Liquid Glass card)
   ============================================================ */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), transparent 36%);
}

/* Shared text styles */
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.section-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.ink-accent { color: var(--brass); font-style: italic; }
.section__title { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.section__sub { color: var(--text-dim); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 56ch; margin-top: 18px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
  transition: padding 0.3s var(--ease), top 0.3s var(--ease);
}
.nav.scrolled {
  top: max(12px, env(safe-area-inset-top));
  margin: 10px auto; padding: 10px 22px;
  max-width: min(calc(var(--maxw) - 60px), calc(100% - 28px));
  background: rgba(11, 14, 20, 0.62); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--hairline); border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__wordmark { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 15px; color: var(--text-dim); transition: color 0.2s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px; background: var(--brass); transition: width 0.25s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__menu { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 11px; }
.nav__menu span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobilenav {
  position: fixed; top: 70px; left: 16px; right: 16px; z-index: 49;
  display: flex; flex-direction: column; gap: 6px; padding: 16px;
  background: rgba(11, 14, 20, 0.92); backdrop-filter: blur(20px);
  border: 1px solid var(--hairline); border-radius: var(--r-card);
  opacity: 0; transform: translateY(-12px) scale(0.98); pointer-events: none;
  transition: 0.3s var(--ease);
}
.mobilenav.open { opacity: 1; transform: none; pointer-events: auto; }
.mobilenav a { padding: 12px 14px; border-radius: var(--r-sm); color: var(--text-dim); }
.mobilenav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.mobilenav .btn { margin-top: 6px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 7vw, 90px) 28px 70px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero__copy { min-width: 0; }
.hero__title { font-size: clamp(2.6rem, 5.5vw, 3.9rem); font-weight: 540; }
.hero__lede { color: var(--text-dim); font-size: clamp(1.05rem, 1.5vw, 1.22rem); margin-top: 24px; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Currency chips under the hero actions */
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }

/* Phone mockup */
.hero__device { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: clamp(240px, 68vw, 340px); aspect-ratio: 305 / 640;
  background: #05070b; border-radius: 46px; padding: 11px;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  z-index: 2; animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(0.5deg); } }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #05070b; border-radius: 999px; z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #0d1119, #0b0e14); }
.phone__glow { position: absolute; width: 80%; height: 70%; top: 12%; background: radial-gradient(circle, rgba(201, 164, 92, 0.22), transparent 70%); filter: blur(60px); z-index: 1; }

.app { padding: 44px 18px 18px; height: 100%; display: flex; flex-direction: column; gap: 10px; }
.app__statusbar { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-dim); font-weight: 600; }
.app__signal { letter-spacing: 1px; }
.app__eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brass); font-weight: 600; margin-top: 6px; }
.app__hero { display: flex; flex-direction: column; gap: 2px; }
.app__balance { font-family: var(--font-display); font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.app__delta { font-size: 12px; color: var(--positive); font-weight: 600; }
.app__spark { width: 100%; height: 46px; margin-top: 2px; }
.app__spark-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease) forwards 0.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.app__dots { display: flex; gap: 5px; justify-content: center; margin: 2px 0; }
.app__dots span { width: 5px; height: 5px; border-radius: 999px; background: rgba(167, 162, 148, 0.35); transition: 0.3s; }
.app__dots span.on { width: 16px; background: var(--brass); }

.app__card { background: rgba(28, 35, 48, 0.66); border: 1px solid var(--hairline); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 11px; }
.app__row { display: flex; align-items: center; gap: 9px; }
.app__row-name { font-size: 11.5px; color: var(--text-dim); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app__row-val { font-family: var(--font-display); font-size: 13px; font-weight: 560; font-variant-numeric: tabular-nums; }
.badge { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; letter-spacing: 0.02em; flex-shrink: 0; }
.badge--fiat { background: rgba(132, 184, 154, 0.18); color: var(--fiat); }
.badge--stock { background: rgba(127, 168, 201, 0.18); color: var(--stock); }
.badge--crypto { background: rgba(224, 162, 77, 0.18); color: var(--crypto); }
.badge--ars { background: rgba(159, 163, 222, 0.18); color: var(--ars); }

.app__mono { background: rgba(28, 35, 48, 0.66); border: 1px solid var(--hairline); border-radius: 16px; padding: 12px; margin-top: auto; }
.app__mono-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-dim); margin-bottom: 9px; }
.app__mono-pct { color: var(--brass); font-weight: 700; }
.app__mono-foot { display: block; font-size: 10px; color: var(--text-dim); margin-top: 9px; }

/* Headroom bar (budget / monotributo) */
.headroom { height: 8px; border-radius: 999px; background: var(--hairline); overflow: hidden; }
.headroom i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--positive), var(--brass)); transition: width 1.4s var(--ease); }
/* ============================================================
   Sections
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 11vw, 130px) 28px 0; }
.section__head { margin-bottom: 48px; }
.section__head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section__head--center .section__sub { margin-left: auto; margin-right: auto; }

/* Brass icon chip — replaces emoji icons */
.ico {
  width: 50px; height: 50px; border-radius: 15px; display: inline-grid; place-items: center;
  background: rgba(201, 164, 92, 0.12); border: 1px solid rgba(201, 164, 92, 0.24);
  color: var(--brass); margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.ico svg { width: 25px; height: 25px; }

/* Q&A callouts (under hero) */
.qa { max-width: var(--maxw); margin: 6px auto 0; padding: 6px 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.qa__item { padding: 18px 20px; border-radius: var(--r-card); background: var(--glass-bg); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--hairline); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 8px; }
.qa__q { font-size: 14px; color: var(--text-dim); }
.qa__a { font-family: var(--font-display); font-size: 1.12rem; font-weight: 560; color: var(--text); display: inline-flex; align-items: center; gap: 9px; }
.qa__tick { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: rgba(111, 191, 154, 0.18); color: var(--positive); display: grid; place-items: center; font-size: 11px; }

/* Why — three benefit blocks */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px); }
.why__item { display: flex; flex-direction: column; }
.why__label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.why__item h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: 12px; }
.why__item p { color: var(--text-dim); font-size: 15.5px; }

/* Pains band — "¿Te suena familiar?" */
.pains { position: relative; padding: clamp(36px, 5vw, 66px); border-radius: var(--r-sheet); background: linear-gradient(160deg, rgba(28, 35, 48, 0.85), rgba(20, 25, 37, 0.66)); border: 1px solid rgba(201, 164, 92, 0.18); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06); text-align: center; overflow: hidden; }
.pains::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 92, 0.14), transparent 70%); top: -210px; right: -130px; pointer-events: none; }
.pains__head { position: relative; max-width: 620px; margin: 0 auto 38px; }
.pains__head .section__sub { margin-left: auto; margin-right: auto; }
.pains__grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto 38px; text-align: left; }
.pain { position: relative; margin: 0; padding: 22px 24px 22px 56px; border-radius: var(--r-card); background: rgba(11, 14, 20, 0.42); border: 1px solid var(--hairline); font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-style: italic; color: var(--text); line-height: 1.42; }
.pain::before { content: "\201C"; position: absolute; left: 20px; top: 16px; font-family: var(--font-display); font-size: 2.6rem; color: var(--brass); opacity: 0.65; line-height: 1; }

/* Compact bar inside the Argentina feature card */
.feature__mono { margin-top: auto; padding-top: 20px; }
.feature__mono-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.feature__mono-head span:last-child { color: var(--brass); font-weight: 700; }

@media (max-width: 940px) {
  .why { grid-template-columns: 1fr; gap: 30px; }
  .qa { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .qa {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .qa::-webkit-scrollbar { display: none; }
  .qa__item { scroll-snap-align: start; }
  .pains__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Features (bento)
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 30px; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.4s; }
.feature:hover { transform: translateY(-5px); border-color: rgba(201, 164, 92, 0.32); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 164, 92, 0.1); }
.feature:hover .ico { transform: translateY(-2px); background: rgba(201, 164, 92, 0.18); }
.feature--wide { grid-column: span 2; }
.feature__tag { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); padding: 5px 12px; border-radius: 999px; background: rgba(201, 164, 92, 0.14); margin-bottom: 18px; }
.feature h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 12px; }
.feature p { color: var(--text-dim); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.chip { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hairline); color: var(--text-dim); }
.chip--fiat { color: var(--fiat); border-color: rgba(132, 184, 154, 0.35); }
.chip--ars { color: var(--ars); border-color: rgba(159, 163, 222, 0.35); }
.chip--crypto { color: var(--crypto); border-color: rgba(224, 162, 77, 0.35); }
.chip--stock { color: var(--stock); border-color: rgba(127, 168, 201, 0.35); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--glass-bg); backdrop-filter: blur(14px); overflow: hidden; transition: border-color 0.3s, background 0.3s; }
.faq__item[open] { border-color: rgba(201, 164, 92, 0.34); background: var(--glass-bg-strong); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 560; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex-shrink: 0; font-family: var(--font-body); font-size: 26px; font-weight: 300; color: var(--brass); transition: transform 0.3s var(--ease); line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease); }
.faq__item[open] .faq__body { padding: 0 24px 22px; max-height: 320px; }
.faq__body p { color: var(--text-dim); font-size: 15px; }

/* ============================================================
   CTA + form
   ============================================================ */
.cta { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 12vw, 150px) 28px clamp(40px, 6vw, 80px); }
.cta__inner { text-align: center; padding: clamp(44px, 7vw, 84px) clamp(24px, 5vw, 60px); overflow: hidden; }
.cta__inner::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 92, 0.2), transparent 70%); top: -160px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.cta__title { font-size: clamp(2.1rem, 5vw, 3.6rem); position: relative; }
.cta__sub { color: var(--text-dim); max-width: 50ch; margin: 18px auto 0; font-size: clamp(1rem, 1.4vw, 1.15rem); position: relative; }
.cta__form { display: flex; gap: 10px; max-width: 480px; margin: 34px auto 0; position: relative; flex-wrap: wrap; justify-content: center; }
.cta__form input { flex: 1; min-width: 220px; padding: 15px 20px; border-radius: 999px; background: rgba(11, 14, 20, 0.6); border: 1px solid var(--hairline); color: var(--text); font-family: var(--font-body); font-size: 16px; outline: none; transition: border-color 0.2s; }
.cta__form input:focus { border-color: var(--brass); }
.cta__micro { margin-top: 16px; font-size: 13px; color: var(--text-dim); position: relative; }

/* ============================================================
   Footer
   ============================================================ */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 40px 28px calc(60px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { display: block; font-family: var(--font-display); font-size: 18px; }
.footer__brand span { font-size: 13px; color: var(--text-dim); }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.footer__links a:hover { color: var(--brass); }
.footer__legal { grid-column: 1 / -1; font-size: 12px; color: var(--text-dim); opacity: 0.7; max-width: 70ch; }

/* ============================================================
   Todo junto — centralization (scattered sources -> one card)
   ============================================================ */
.central { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(18px, 3vw, 40px); align-items: center; max-width: 1000px; margin: 0 auto; }
.central__cap { display: block; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.central__cap--one { color: var(--brass); }
.central__mess { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-content: center; min-height: 260px; }
.src { --rot: 0deg; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); border: 1px dashed var(--hairline-strong); color: var(--text-dim); font-size: 14px; font-weight: 500; transform: rotate(var(--rot)); animation: floaty2 4.5s ease-in-out infinite alternate; }
.src--1 { --rot: -5deg; animation-delay: 0s; }
.src--2 { --rot: 4deg; animation-delay: 0.5s; }
.src--3 { --rot: -2deg; animation-delay: 1s; }
.src--4 { --rot: 6deg; animation-delay: 0.3s; }
.src--5 { --rot: -4deg; animation-delay: 0.8s; }
.src--6 { --rot: 2deg; animation-delay: 1.3s; }
@keyframes floaty2 { from { transform: translateY(4px) rotate(var(--rot)); } to { transform: translateY(-6px) rotate(var(--rot)); } }
.central__flow { color: var(--brass); display: grid; place-items: center; }
.central__flow svg { width: 48px; height: 24px; filter: drop-shadow(0 0 8px rgba(201, 164, 92, 0.4)); }
.central__one { padding: 26px; }
.central__total { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 14px; line-height: 1; }
.central__total-cap { font-size: 12px; color: var(--text-dim); }
.central__rows { margin-top: 20px; display: flex; flex-direction: column; gap: 13px; }
.crow { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--text-dim); }
.crow__l { flex: 1; }
.crow__v { font-family: var(--font-display); font-weight: 560; color: var(--text); font-variant-numeric: tabular-nums; }
.crow__v--pos { color: var(--positive); }
.crow__v--neg { color: var(--negative); }
.cdot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.cdot--acc { background: var(--fiat); }
.cdot--inv { background: var(--stock); }
.cdot--in { background: var(--positive); }
.cdot--out { background: var(--negative); }
@media (max-width: 860px) {
  .central { grid-template-columns: 1fr; gap: 8px; }
  .central__mess { min-height: 0; padding: 8px 0 4px; }
  .central__flow { transform: rotate(90deg); margin: 6px auto; }
}

/* ============================================================
   Legal pages (privacy / terms)
   ============================================================ */
.nav--static { position: static; }
.legal { max-width: 720px; margin: 0 auto; padding: clamp(30px, 6vw, 70px) 28px clamp(60px, 9vw, 100px); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 12px; }
.legal h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-dim); font-size: 15.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.legal a { color: var(--brass); }
.legal a:hover { color: var(--brass-bright); }
.legal__updated { font-size: 13px; opacity: 0.7; margin-bottom: 32px; }

/* ============================================================
   Reveal animations
   ============================================================ */
/* Gated behind .js so content is fully visible if JS never runs. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 40px; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__chips { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature--wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: flex; }
  .features { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer__brand, .footer__links { justify-content: center; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

@media (max-width: 620px) {
  /* Forced desktop line-breaks wrap awkwardly on narrow screens */
  .hero__title br, .section__title br { display: none; }

  .cta__form { flex-direction: column; }
  .cta__form input { min-width: 0; }
  .cta__form .btn { width: 100%; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
}
