/* Saldo landing page — uses the app's own design system verbatim
   (DESIGN.md's tokens: pure ink-black primary, white canvas, a single
   semantic green/red pair reserved for money state, Inter end to end —
   Saldo's "two-typeface hierarchy" resolves to one real font, Inter, at
   different weights, see AppTextStyles) rather than the portfolio's
   dark terminal theme or Sfoglia's warm-paper/serif pairing. */

:root {
  /* ink / canvas — DESIGN.md's brand & surface tokens, verbatim */
  --ink: #000000;
  --on-dark: #FFFFFF;
  --canvas: #FFFFFF;
  --canvas-soft: #EFEFEF;
  --surface-pressed: #E2E2E2;
  --body: #5E5E5E;
  --mute: #AFAFAF;

  --font: Inter, "Helvetica Neue", Arial, sans-serif;

  --radius-xl: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 3px rgba(0, 0, 0, .03), 0 14px 34px rgba(0, 0, 0, .07);

  --ease-page: cubic-bezier(.32, .72, 0, 1);
  --content-max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--body);
  font-weight: 600;
}
.eyebrow.on-dark { color: rgba(255, 255, 255, .6); }

.kicker {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--body);
  font-weight: 600;
  margin-bottom: 18px;
}

/* Top bar */
.top-bar {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.back-link {
  font-size: 13px;
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.back-link:hover { border-bottom-color: var(--mute); }
.top-wordmark {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

/* Hero */
.hero {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 48ch;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-footnote {
  margin-top: 20px;
  font-size: 13px;
  color: var(--mute);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
}

/* Not live yet — a plain "coming soon" pill rather than the vendors'
   actual App Store/Google Play badge artwork, since both vendors'
   brand guidelines reserve that artwork for a real, working store
   link. Swap these two spans back to the real badges (see git history/
   assets/app-store-badge.svg, assets/google-play-badge.svg) the day
   Saldo actually ships. */
.pill-notify {
  background: var(--canvas-soft);
  color: var(--body);
  gap: 8px;
}
.pill-notify .store-name { color: var(--ink); font-weight: 600; }
.pill-notify .dot { color: var(--mute); }

/* Device frame — a real screenshot of the running app, not a
   recreation; DESIGN.md's own ink-filled hero card is what you're
   seeing inside it. */
.phone {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-card);
}
.phone img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: 28px;
}
.hero-device { display: flex; justify-content: center; }

/* Trust band — DarkCard's "the app wants your attention" treatment,
   applied to the page itself for the one claim that matters most for a
   finance app. */
.trust {
  background: var(--ink);
  padding: 72px 24px;
}
.trust-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.trust .eyebrow { margin-bottom: 20px; }
.trust-line {
  font-family: var(--font);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.28;
  color: var(--on-dark);
  margin-bottom: 20px;
  text-wrap: balance;
}
.trust-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
}

/* Footer */
.site-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px 24px 56px;
  font-size: 13px;
  color: var(--mute);
  text-align: center;
}
.site-footer a {
  color: var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; text-align: center; }
  .hero-copy h1 { font-size: 42px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-device { order: -1; margin-bottom: 8px; }
  .trust-line { font-size: 26px; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 34px; }
}
