/* ============================================================================
   Denario — Landing (Obsidian dark theme)
   Self-contained: the landing links ONLY this file. Legal pages keep styles.css.
   Phone screens are 1:1 replicas of the real app, drawn at the app's native
   logical scale (390px wide) and transform-scaled to fit the layout.
   Zero third-party assets · zero trackers · system fonts only.
   ============================================================================ */

:root {
  --bg: #0a0b0d;
  --fg: #f3f4f6;
  --fg-soft: #c4c8cf;
  --muted: #888e99;
  --faint: #5a616c;
  --card: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.09);
  --hairline: rgba(255, 255, 255, 0.06);
  --accent: #34d399;
  --accent-soft: #6ee7b7;
  --glow: rgba(16, 185, 129, 0.18);
  --glow-2: rgba(16, 185, 129, 0.10);

  --c-dining: #f97316;
  --c-groceries: #22c55e;
  --c-transport: #3b82f6;
  --c-entertainment: #a855f7;
  --c-utilities: #14b8a6;
  --c-health: #ef4444;

  --r-pill: 999px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, system-ui, sans-serif;

  /* phone transform: native device 414px → ~288px in layout */
  --s: 0.6957;
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--fg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 40% at 50% -8%, var(--glow) 0%, transparent 60%),
    radial-gradient(40% 30% at 12% 18%, var(--glow-2) 0%, transparent 55%),
    radial-gradient(45% 35% at 90% 60%, var(--glow-2) 0%, transparent 55%),
    var(--bg);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, transparent 55%, rgba(0,0,0,0.5) 100%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spr { position: absolute; width: 0; height: 0; overflow: hidden; }

html[data-lang="es"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-es { display: none !important; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 12px; background: var(--accent); color: #06281d; padding: 8px 14px; border-radius: 8px; z-index: 100; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── layout primitives ───────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }
.eyebrow::before { content: ""; width: 14px; height: 1px; background: var(--accent); opacity: .7; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.6px; line-height: 1.08; }
h1 { font-size: clamp(40px, 6.4vw, 70px); font-weight: 200; letter-spacing: -2px; }
h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -1.2px; }
h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.3px; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(17px, 2.1vw, 21px); color: var(--fg-soft); font-weight: 300; }
.muted { color: var(--muted); }
.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.section-head p { color: var(--muted); font-weight: 300; font-size: 18px; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: var(--r-pill); font-size: 15px; font-weight: 600; letter-spacing: 0.1px; border: 1px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--fg); color: #0a0a0a; }
.btn--primary:hover { background: #fff; box-shadow: 0 8px 30px rgba(255,255,255,0.12); }
.btn--accent { background: var(--accent); color: #04241a; }
.btn--accent:hover { background: var(--accent-soft); box-shadow: 0 10px 36px var(--glow); }
.btn--ghost { background: rgba(255,255,255,0.03); color: var(--fg); border-color: var(--border); }
.btn--ghost:hover { background: rgba(255,255,255,0.07); }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn .ic { width: 18px; height: 18px; stroke-width: 2; transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(3px); }

.store-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 14px; background: var(--fg); color: #0a0a0a; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.store-badge:hover { background: #fff; box-shadow: 0 10px 36px rgba(255,255,255,0.12); }
.store-badge:active { transform: translateY(1px); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge .sb-small { font-size: 10px; letter-spacing: .5px; opacity: .7; line-height: 1; margin-bottom: 3px; }
.store-badge .sb-big { font-size: 17px; font-weight: 600; line-height: 1; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.center { text-align: center; }
.center .cta-row { justify-content: center; }
.cta-note { font-size: 13px; color: var(--faint); margin-top: 16px; }

/* ── reveal animations ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.65,.2,1), transform .8s cubic-bezier(.2,.65,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float { animation: none !important; }
}

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.3px; font-size: 18px; color: var(--fg); }
.brand .logo { width: 26px; height: 26px; color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--muted); font-size: 14px; transition: color .15s ease; }
.nav__links a:hover { color: var(--fg); }
.nav__tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: var(--r-pill); overflow: hidden; font-size: 12px; font-weight: 600; }
.lang-switch button { background: transparent; color: var(--muted); border: 0; padding: 6px 12px; letter-spacing: .5px; }
.lang-switch button.active { background: var(--fg); color: #0a0a0a; }
@media (max-width: 820px) { .nav__links { display: none; } }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 86px 0 40px; text-align: center; position: relative; }
.hero__copy { max-width: 760px; margin: 0 auto; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin: 0 auto 34px; max-width: 580px; }
.hero__device { margin-top: 70px; display: flex; justify-content: center; position: relative; }
.hero__device::before { content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: 30px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow) 0%, transparent 72%); z-index: 0; filter: blur(6px); }
.hero__device .phone-wrap { position: relative; z-index: 1; }
.hero__caption { margin-top: 28px; display: inline-flex; align-items: center; gap: 11px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 10px 18px; font-size: 13.5px; color: var(--fg-soft); backdrop-filter: blur(8px); }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 14px; }
.wave i { width: 2px; background: var(--accent); border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(1){height:6px;animation-delay:0s} .wave i:nth-child(2){height:13px;animation-delay:.15s}
.wave i:nth-child(3){height:8px;animation-delay:.3s} .wave i:nth-child(4){height:15px;animation-delay:.45s}
.wave i:nth-child(5){height:7px;animation-delay:.6s}
@keyframes wave { 0%,100%{transform:scaleY(.5)} 50%{transform:scaleY(1)} }

/* ── trust strip ─────────────────────────────────────────────────────────── */
.trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 24px 0; }
.trust__row { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center; }
.trust__item { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); font-weight: 500; }
.trust__item svg { width: 16px; height: 16px; stroke-width: 1.8; color: var(--accent); }

/* ── steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.step { padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.step__icon { width: 46px; height: 46px; border-radius: 13px; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step__icon svg { width: 22px; height: 22px; stroke-width: 1.6; color: var(--accent); }
.step__n { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--faint); }
.step h3 { margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 16px; } }

/* ── feature rows ────────────────────────────────────────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 130px; }
.feature--rev .feature__media { order: 2; }
.feature--rev .feature__copy { order: 1; }
.feature__copy { max-width: 460px; }
.feature__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.2); border-radius: var(--r-pill); padding: 6px 14px; margin-bottom: 22px; }
.feature__copy h2 { margin-bottom: 16px; }
.feature__copy p { color: var(--fg-soft); font-weight: 300; font-size: 17px; }
.feature__list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feature__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--fg-soft); }
.feature__list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.feature__media { display: flex; justify-content: center; position: relative; }
.feature__media::before { content: ""; position: absolute; width: 420px; height: 420px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--glow-2) 0%, transparent 70%); z-index: 0; }
.feature__media .phone-wrap { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .feature__copy { max-width: none; }
  .feature__list { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
  .feature--rev .feature__media, .feature--rev .feature__copy { order: 0; }
  .feature + .feature { margin-top: 90px; }
}

/* ============================================================================
   PHONE — native logical scale (390px screen), transform-scaled to fit.
   Every value below is the EXACT React Native value from the app source.
   ============================================================================ */
.phone-wrap { width: 288px; height: 604px; flex: none; }
.phone-wrap.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }
.phone {
  width: 414px; height: 868px;
  transform: scale(var(--s)); transform-origin: top left;
  border-radius: 56px; padding: 12px; position: relative;
  background: linear-gradient(160deg, #1c1e22, #050506);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 10px 30px rgba(0,0,0,0.4), inset 0 0 0 2px rgba(255,255,255,0.05);
}
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 150px; height: 30px; background: #050506; border-radius: 0 0 18px 18px; z-index: 6; }
.scrn { width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #0a0a0a; color: #f0f0f0; display: flex; flex-direction: column; position: relative; }
.scrn__body { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; overflow: hidden; }

/* tab bar (Today / Insights / Categories / Budget) */
.tabbar { display: flex; background: #0a0a0a; border-top: 1px solid #1a1a1a; padding: 8px 0 16px; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #444; }
.tab svg { width: 22px; height: 22px; stroke-width: 2.5; }
.tab span { font-size: 10px; font-weight: 500; letter-spacing: .5px; }
.tab.active { color: #fff; }

/* ── TODAY (HomeScreen) ──────────────────────────────────────────────────── */
.s-today .hdr { padding: 50px 24px 16px; }
.s-today .scoreRow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.s-today .amt { font-size: 48px; font-weight: 200; letter-spacing: -2px; line-height: 1; }
.s-today .amt-l { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #555; margin-top: 6px; display: block; }
.hsb { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hsb .ring { width: 56px; height: 56px; border-radius: 28px; border: 1px solid #2a2a2a; display: flex; align-items: center; justify-content: center; }
.hsb .ring b { font-size: 20px; font-weight: 200; letter-spacing: -1px; }
.hsb .grade { font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #555; }
.heatwrap { padding: 0 10px; margin-top: 8px; }
.heat-title { font-size: 9px; font-weight: 700; letter-spacing: 2px; color: #666; text-align: center; margin-bottom: 16px; }
.heat { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; padding: 0 20px; }
.heat i { width: 14px; height: 14px; border-radius: 7px; background: #1f1f1f; }
.heat i.ok { background: #4ade80; } .heat i.warn { background: #facc15; } .heat i.over { background: #f87171; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; justify-content: center; }
.legend .li { display: flex; align-items: center; gap: 5px; }
.legend .li i { width: 14px; height: 14px; border-radius: 7px; background: #1f1f1f; }
.legend .li span { font-size: 10px; color: #555; }
.s-today .list { margin: 14px 16px 0; border-top: 1px solid #1e1e1e; }
.s-today .trow { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #1e1e1e; }
.s-today .tmeta { display: flex; align-items: center; gap: 8px; }
.s-today .rev { width: 6px; height: 6px; border-radius: 3px; background: #f5a623; flex: none; }
.s-today .tv { font-size: 14px; font-weight: 500; }
.s-today .tc { font-size: 11px; margin-top: 2px; color: #555; }
.s-today .ta { font-size: 14px; font-weight: 300; }
.s-today .fabs { position: absolute; left: 0; right: 0; bottom: 32px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 52px; }
.fcol { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fcol .h { font-size: 9px; font-weight: 500; letter-spacing: .3px; color: #555; }
.fcol .h2 { font-size: 10px; font-weight: 500; letter-spacing: .3px; color: #555; }
.cbtn { width: 44px; height: 44px; border-radius: 22px; border: 1.5px solid #f0f0f0; display: flex; align-items: center; justify-content: center; }
.klines { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.klines i { height: 2px; border-radius: 1px; background: #f0f0f0; }
.cam { position: relative; width: 20px; height: 16px; display: flex; align-items: center; justify-content: center; }
.cam .body { position: absolute; width: 20px; height: 14px; border: 1.5px solid #f0f0f0; border-radius: 3px; }
.cam .lens { width: 6px; height: 6px; border-radius: 3px; background: #f0f0f0; }
.micbtn { width: 60px; height: 60px; border-radius: 30px; border: 2px solid #f0f0f0; }

/* ── INSIGHTS (DashboardScreen) ──────────────────────────────────────────── */
.s-insights .fbar { display: flex; gap: 8px; padding: 12px 20px; }
.s-insights .pill { padding: 7px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: .3px; border: 1px solid #2a2a2a; color: #555; }
.s-insights .pill.active { background: #f0f0f0; color: #0a0a0a; border-color: #f0f0f0; }
.s-insights .scroll { padding: 0 20px 16px; overflow: hidden; }
.icard { background: #111; border-radius: 16px; padding: 16px; margin-bottom: 8px; }
.icard .cl { font-size: 10px; font-weight: 700; letter-spacing: 3px; color: #555; }
.icard .camt { font-size: 40px; font-weight: 200; letter-spacing: -1px; margin: 12px 0; }
.icard .cf { display: flex; justify-content: space-between; align-items: center; }
.icard .cf .cs { font-size: 12px; color: #555; }
.icard .cf .cb { font-size: 12px; font-weight: 600; color: #30d158; }
.i-st { font-size: 10px; font-weight: 700; letter-spacing: 3px; color: #f0f0f0; margin: 20px 0 10px; }
.wkc { background: #111; border-radius: 16px; padding: 16px; }
.wkc .wh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.wkc .wl { font-size: 10px; font-weight: 700; letter-spacing: 3px; color: #555; }
.wkc .wt { font-size: 11px; font-weight: 600; letter-spacing: .5px; color: #30d158; }
.wkc .wamt { font-size: 36px; font-weight: 200; letter-spacing: -1px; margin: 2px 0; }
.wkc .wch { font-size: 13px; font-weight: 500; color: #30d158; }
.wkc .wch .pct { font-weight: 400; }
.wkc .wbars { display: flex; align-items: flex-end; gap: 8px; height: 72px; margin-top: 12px; }
.wkc .wcol { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; gap: 4px; }
.wkc .wtrack { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.wkc .wbar { width: 100%; border-radius: 4px; background: #2a2a2a; }
.wkc .wbar.now { background: #30d158; }
.wkc .wlab { font-size: 10px; font-weight: 500; color: #555; }
.wkc .wval { font-size: 9px; color: #555; }
.bycat { background: #111; border-radius: 16px; padding: 16px; }
.crow { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.crow .cm { display: flex; align-items: center; gap: 8px; width: 110px; }
.crow .cm .cic { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex: none; }
.crow .cm svg { width: 16px; height: 16px; color: #f0f0f0; stroke-width: 1.5; }
.crow .cm span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow .bc { flex: 1; height: 6px; background: rgba(229,229,229,0.06); border-radius: 3px; overflow: hidden; }
.crow .bc i { display: block; height: 100%; border-radius: 3px; }
.crow .cv { font-size: 12px; color: #555; width: 60px; text-align: right; }
.dayh { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: #555; margin: 16px 0 6px; }
.t2card { background: #111; border-radius: 16px; padding: 16px; }
.t2 { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #222; }
.t2:last-child { border-bottom: 0; }
.t2 .t2ic { width: 18px; display: flex; align-items: center; justify-content: center; flex: none; }
.t2 .t2ic svg { width: 14px; height: 14px; color: #555; stroke-width: 1.5; }
.t2 .t2v { font-size: 14px; font-weight: 500; }
.t2 .t2c { font-size: 11px; margin-top: 1px; color: #555; }
.t2 .t2a { font-size: 14px; font-weight: 300; }

/* ── CATEGORIES (CategoriesScreen) ───────────────────────────────────────── */
.s-categories .scroll { padding: 60px 20px 20px; overflow: hidden; }
.s-categories .sec { font-size: 10px; font-weight: 700; letter-spacing: 3px; color: #555; margin: 0 0 6px; }
.s-categories .hint { font-size: 12px; color: #555; margin-bottom: 12px; line-height: 1.4; }
.catcard { background: #111; border-radius: 16px; overflow: hidden; }
.catrow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #222; }
.catrow:last-child { border-bottom: 0; }
.catrow .ci { width: 32px; display: flex; align-items: center; justify-content: center; flex: none; }
.catrow .ci svg { width: 20px; height: 20px; color: #f0f0f0; stroke-width: 1.5; }
.catrow .cn { flex: 1; font-size: 15px; }
.catrow .ca { display: flex; gap: 12px; color: #555; }
.catrow .ca svg { width: 16px; height: 16px; stroke-width: 2; }
.s-categories .fab { position: absolute; right: 24px; bottom: 32px; width: 52px; height: 52px; border-radius: 26px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.s-categories .fab svg { width: 22px; height: 22px; color: #0a0a0a; stroke-width: 2.5; }

/* ── BUDGET (ProfileScreen) ──────────────────────────────────────────────── */
.s-budget .scroll { padding: 60px 20px 20px; overflow: hidden; }
.s-budget .trow2 { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.s-budget .ptitle { font-size: 28px; font-weight: 300; letter-spacing: -0.5px; }
.s-budget .saved { font-size: 13px; font-weight: 600; color: #555; }
.s-budget .psub { font-size: 13px; line-height: 1.5; color: #555; margin-bottom: 24px; }
.s-budget .hero { background: #111; border-radius: 16px; padding: 20px; margin-bottom: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.s-budget .hero .hl { font-size: 10px; font-weight: 700; letter-spacing: 3px; color: #555; }
.s-budget .hero .hv { font-size: 44px; font-weight: 200; letter-spacing: -1.5px; }
.s-budget .hero .hs { font-size: 12px; color: #555; }
.s-budget .sec { font-size: 10px; font-weight: 700; letter-spacing: 3px; color: #555; margin: 20px 0 10px; }
.bcard2 { background: #111; border-radius: 16px; padding: 16px; margin-bottom: 8px; }
.bsh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.bsh .bl { font-size: 15px; font-weight: 400; }
.bsh .bv { font-size: 15px; font-weight: 300; }
.bsh .bv.mut { color: #555; }
.prog2 { height: 4px; background: rgba(229,229,229,0.13); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.prog2 i { display: block; height: 100%; border-radius: 2px; background: #f0f0f0; }
.prog2 i.over { background: #ff3b30; }
.plabel2 { font-size: 11px; margin-top: 2px; color: #555; }
.slider { height: 36px; display: flex; align-items: center; position: relative; margin-top: 4px; }
.slider .rail { width: 100%; height: 4px; border-radius: 2px; background: #2a2a2a; }
.slider .rail .fill { display: block; height: 100%; border-radius: 2px; background: #f0f0f0; }
.slider .thumb { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 9px; background: #fff; transform: translate(-50%,-50%); box-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.brange { display: flex; justify-content: space-between; margin-top: -8px; }
.brange span { font-size: 10px; color: #555; }
.bdiv { height: 1px; background: #222; margin: 12px 0; }
.currow { display: flex; gap: 8px; }
.curchip { padding: 9px 14px; border-radius: 20px; border: 1.5px solid #222; font-size: 13px; font-weight: 600; letter-spacing: .3px; color: #555; white-space: nowrap; }
.curchip.active { border-color: #f0f0f0; color: #f0f0f0; background: #1f1f1f; }

/* ============================================================================
   testimonials
   ============================================================================ */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.tcard { border: 1px solid var(--border); border-radius: 18px; background: var(--card); padding: 28px; }
.tcard .q { font-size: 16px; font-weight: 300; color: var(--fg); font-style: italic; line-height: 1.5; margin-bottom: 16px; }
.tcard .who { font-size: 13px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; margin-bottom: 14px; }
.stars svg { width: 14px; height: 14px; color: var(--accent); fill: var(--accent); stroke: none; }
@media (max-width: 820px) { .tcards { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 56px auto 0; }
.qa { border-bottom: 1px solid var(--border); }
.qa__q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--fg); font-size: 17px; font-weight: 400; }
.qa__q .chev { width: 20px; height: 20px; flex: none; transition: transform .25s ease; color: var(--muted); }
.qa[open] .qa__q .chev { transform: rotate(180deg); }
.qa__a { padding: 0 0 24px; color: var(--muted); font-size: 15px; }
.qa__a p { margin: 0; }
.qa__a a { color: var(--accent); }

/* ── final cta ───────────────────────────────────────────────────────────── */
.final { text-align: center; position: relative; padding: 120px 0; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 50%, var(--glow) 0%, transparent 70%); }
.final h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 200; letter-spacing: -1.5px; margin-bottom: 18px; }
.final p { color: var(--fg-soft); max-width: 540px; margin: 0 auto 30px; font-weight: 300; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.footer { position: relative; border-top: 1px solid var(--hairline); padding: 60px 0 60px; overflow: hidden; }
.footer__dots { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, transparent 100%); }
.footer__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { margin-bottom: 12px; }
.footer__about { max-width: 320px; }
.footer__about p { color: var(--muted); font-size: 14px; }
.footer__links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__links h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.footer__links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--fg-soft); font-size: 14px; } .footer__links a:hover { color: var(--accent); }
.footer__bottom { position: relative; z-index: 1; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }
.footer__bottom a { color: var(--muted); } .footer__bottom a:hover { color: var(--fg); }
@media (max-width: 720px) { .footer__inner { flex-direction: column; } .footer__links { gap: 36px; } }

/* brand mark (real Denario logo) */
.brand .brandmark { width: 26px; height: 26px; display: block; }
