/* Avra Money website. Brand: the app icon's teal leaf on pale mint. */
:root {
  --bg: #fbfdfc;
  --bg-soft: #f1f8f5;
  --mint: #e3f4ee;
  --mint-2: #cfeee4;
  --surface: #ffffff;
  --border: #e2ebe7;
  --text: #10221f;
  --text-2: #475a56;
  --muted: #74857f;
  --teal: #1b9e8f;
  --teal-ink: #0e6f64;
  --teal-soft: #d8f1ea;
  --shadow: 0 24px 60px -20px rgba(16, 50, 44, 0.28), 0 6px 18px -8px rgba(16, 50, 44, 0.16);
  --radius: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1513; --bg-soft: #111c19; --mint: #13241f; --mint-2: #183029; --surface: #15201d; --border: #22322d;
    --text: #e9f3f0; --text-2: #b3c4bf; --muted: #81948e; --teal: #3cc1b1; --teal-ink: #6fd8ca; --teal-soft: #173a34;
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7), 0 6px 18px -8px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.1rem; color: var(--text); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; margin: -3px; }
.brand span { color: var(--teal); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--text-2); padding: 8px 12px; border-radius: 10px; font-weight: 550; font-size: 0.95rem; }
.nav a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--teal-ink); }
@media (max-width: 600px) { .nav a:not(.btn) { display: none; } .nav a.small-show { display: inline; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 650; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--teal) 70%, transparent); }
.btn-primary:hover { background: var(--teal-ink); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #06201c; } }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--teal); }
.nav .btn { padding: 8px 16px; font-size: 0.92rem; color: #fff; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 70% -10%, var(--mint-2), transparent 60%), linear-gradient(180deg, var(--mint) 0%, var(--bg) 100%); padding: 72px 0 40px; overflow: hidden; }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-2); max-width: 640px; }
.hero .eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 650; color: var(--teal-ink); background: var(--teal-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
.hero-shots { position: relative; margin-top: 56px; padding-right: 120px; }
.hero-shots .phone { position: absolute; right: 0; bottom: -40px; width: 230px; }
@media (max-width: 800px) { .hero-shots { padding-right: 0; } .hero-shots .phone { width: 34%; right: -8px; bottom: -24px; } }

/* device frames */
.mac { border-radius: 12px; background: #1b1b1a; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(0,0,0,.25); }
.mac .bar { height: 26px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #262624; }
.mac .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mac .bar i:nth-child(2) { background: #febc2e; } .mac .bar i:nth-child(3) { background: #28c840; }
.phone { border-radius: 38px; padding: 9px; background: #0c0c0c; box-shadow: var(--shadow); border: 1px solid #333; }
.phone img { border-radius: 30px; }

/* sections */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--text-2); font-size: 1.1rem; }
.kicker { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.soft { background: var(--bg-soft); }

/* benefits grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--text-2); margin: 0; font-size: 0.98rem; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }

/* feature rows: text beside a screenshot */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 44px 0; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .text { order: 2; }
.feature .text p { color: var(--text-2); font-size: 1.05rem; }
.feature ul { padding: 0; margin: 16px 0 0; list-style: none; }
.feature li { padding-left: 28px; position: relative; margin: 8px 0; color: var(--text-2); }
.feature li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.feature .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 520px; margin: 0 auto; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; } .feature.flip .text { order: 0; } }

/* privacy band */
.privacy { background: linear-gradient(160deg, #0f2a26, #123a34); color: #e6f4f0; }
.privacy h2, .privacy h3 { color: #fff; }
.privacy .kicker { color: #7fe0d2; }
.privacy .section-head p, .privacy .card p { color: #b9d6cf; }
.privacy .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.privacy .icon { background: rgba(127,224,210,0.14); color: #7fe0d2; }

/* platforms strip + final CTA */
.cta { text-align: center; }
.cta p { color: var(--text-2); font-size: 1.1rem; max-width: 620px; margin: 0 auto 28px; }
.platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 0.9rem; font-weight: 550; }

/* page header (inner pages) */
.page-head { background: linear-gradient(180deg, var(--mint) 0%, var(--bg) 100%); padding: 64px 0 24px; }
.page-head p { color: var(--text-2); font-size: 1.15rem; max-width: 680px; }

/* quick start */
.steps { counter-reset: step; max-width: 1000px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 750; display: grid; place-items: center; font-size: 1.1rem; }
.step p, .step li { color: var(--text-2); }
.step .shot { margin-top: 20px; max-width: 760px; }
.step .shot.small { max-width: 280px; }
kbd { font: 600 0.85em var(--font); background: var(--surface); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--text); }
.menu { font-weight: 600; color: var(--text); }
.tip { background: var(--teal-soft); border-radius: 12px; padding: 14px 18px; color: var(--text); font-size: 0.97rem; margin-top: 16px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* download */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .downloads { grid-template-columns: 1fr; } }
.dl { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.dl h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.dl h3 svg { width: 28px; height: 28px; color: var(--text); }
.dl .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.dl .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.dl .note { font-size: 0.9rem; color: var(--text-2); margin: 14px 0 0; }
.dl.soon { background: var(--bg-soft); }
.badge-soon { font-size: 0.75rem; font-weight: 700; color: var(--teal-ink); background: var(--teal-soft); border-radius: 999px; padding: 3px 10px; margin-left: auto; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.version { color: var(--muted); font-size: 0.95rem; margin-top: 28px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.site-footer nav { display: flex; gap: 20px; margin-left: auto; }
.site-footer a { color: var(--text-2); }
