/* MY Finance Tracker website. Same palette as the app icon and the promo video. */
:root {
  --bg: #021416;
  --bg-2: #073338;
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #a9cbc8;
  --aqua: #4cdada;
  --teal: #00897b;
  --teal-deep: #005a5a;
  --coin: #ffcb47;
  --coin-rim: #e09a12;
  --money: #2bd67b;
  --paper: #f6faf9;
  --paper-ink: #0b2526;
  --paper-muted: #3f5b59;
  --paper-line: #d3e3e1;
  --radius: 22px;
  --max: 1120px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--aqua); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--coin); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(2, 20, 22, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand b { color: var(--coin); }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 16px; }
.site-nav a:hover { color: #fff; }
.site-nav .pill { color: var(--bg); background: var(--aqua); padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.site-nav .pill:hover { background: #fff; color: var(--bg); }
@media (max-width: 760px) { .site-nav a:not(.pill) { display: none; } .brand span { font-size: 18px; } }

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; background: radial-gradient(ellipse 80% 70% at 30% 20%, var(--bg-2) 0%, var(--bg) 75%); }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 720px; height: 720px; left: -260px; top: -260px; background: radial-gradient(circle, rgba(0, 137, 123, 0.45), transparent 68%); }
.hero::after { width: 560px; height: 560px; right: -160px; bottom: -220px; background: radial-gradient(circle, rgba(76, 218, 218, 0.2), transparent 68%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(76, 218, 218, 0.12); border: 1px solid rgba(76, 218, 218, 0.4); color: var(--aqua); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 18px; font-weight: 800; }
h1 em { font-style: normal; color: var(--coin); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.play-badge img { height: 64px; width: auto; }
.text-link { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.text-link span { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.facts li::before { content: '✓'; color: var(--money); font-weight: 800; margin-right: 8px; }
@media (max-width: 900px) { .hero { padding: 48px 0 40px; } .hero .wrap { grid-template-columns: 1fr; } .hero .phone { max-width: 300px; margin: 8px auto 0; } }

/* ---------- phone mockup around real screenshots */
.phone { position: relative; width: 100%; max-width: 340px; margin: 0 auto; padding: 11px; border-radius: 44px; background: linear-gradient(145deg, #2c3436, #0c1113 55%, #232b2d); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.14); }
.phone img { width: 100%; height: auto; border-radius: 34px; aspect-ratio: 9 / 16; object-fit: cover; background: var(--paper); }
.phone::after { content: ''; position: absolute; top: 22px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #05070b; box-shadow: 0 0 0 3px #151a1c; }
.phone.tilt { transform: rotate(2.5deg); }

/* ---------- sections */
section { padding: 88px 0; }
@media (max-width: 600px) { section { padding: 60px 0; } }
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 800; }
h2 em { font-style: normal; color: var(--aqua); }
h3 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 19px; }

.video-card { border-radius: 26px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); background: #000; }
.video-card video { width: 100%; height: auto; aspect-ratio: 16 / 9; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px 30px; }
.step .num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--aqua); color: var(--bg); font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0 0 22px; font-size: 16.5px; }
.step .phone { max-width: 250px; padding: 8px; border-radius: 32px; }
.step .phone img { border-radius: 25px; }
.step .phone::after { top: 16px; width: 10px; height: 10px; margin-left: -5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.phones-pair { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.phones-pair .phone { max-width: 250px; padding: 8px; border-radius: 32px; }
.phones-pair .phone img { border-radius: 25px; }
.phones-pair .phone::after { top: 16px; width: 10px; height: 10px; margin-left: -5px; }
.phones-pair .phone:last-child { margin-top: 56px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } }
@media (max-width: 520px) { .phones-pair { gap: 12px; } .phones-pair .phone:last-child { margin-top: 32px; } }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: #e3f1ef; }
.checks li::before { content: ''; flex: 0 0 24px; height: 24px; margin-top: 3px; border-radius: 50%; background: var(--money) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23053318' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px 18px; min-width: 150px; }
.stat small { display: block; color: var(--muted); font-weight: 600; font-size: 14px; }
.stat strong { font-size: 24px; letter-spacing: -0.02em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .icon { width: 52px; height: 52px; border-radius: 15px; background: var(--aqua); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature:nth-child(3n + 2) .icon { background: var(--coin); }
.feature .icon svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); margin: 0; font-size: 16.5px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.privacy-band { background: linear-gradient(160deg, #04322f, #021416 70%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.plan { border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); background: var(--surface); }
.plan.accent { border-color: rgba(255, 203, 71, 0.6); background: linear-gradient(160deg, rgba(255, 203, 71, 0.12), rgba(255, 255, 255, 0.03)); }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 4px; }
.plan .note { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--aqua); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.final-cta { text-align: center; padding: 96px 0; background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(0, 137, 123, 0.4), transparent 70%); }
.final-cta img.icon { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.final-cta .cta-row { justify-content: center; margin-top: 26px; }

.site-footer { border-top: 1px solid var(--border); padding: 32px 0 44px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.site-footer nav { display: flex; gap: 22px; margin-left: auto; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }

/* ---------- document pages (privacy policy): light and easy to read, dark if the reader prefers */
body.doc { background: var(--paper); color: var(--paper-ink); }
body.doc .site-header { background: rgba(2, 20, 22, 0.94); }
.doc main { padding: 56px 0 80px; }
.doc .wrap.narrow { max-width: 780px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); color: var(--paper-ink); }
.doc h2 { font-size: 26px; margin: 44px 0 10px; color: var(--paper-ink); letter-spacing: -0.02em; }
.doc h3 { font-size: 19px; margin: 26px 0 6px; }
.doc p, .doc li { color: #24403e; }
.doc a { color: var(--teal-deep); }
.doc .meta { color: var(--paper-muted); font-weight: 600; }
.doc .summary { background: #e3f3f0; border: 1px solid #bfdcd8; border-radius: 18px; padding: 20px 24px; margin: 28px 0; }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--paper-line); }
.doc th { background: #eaf4f2; }
.doc .table-scroll { overflow-x: auto; }
.doc .site-footer { color: var(--paper-muted); border-color: var(--paper-line); }
.doc .site-footer a { color: var(--paper-muted); }
@media (prefers-color-scheme: dark) {
  body.doc { background: #0e1514; color: #dde4e3; }
  .doc h1, .doc h2, .doc h3 { color: #f1f7f6; }
  .doc p, .doc li, .doc td { color: #c9d6d4; }
  .doc a { color: var(--aqua); }
  .doc .meta { color: #9fb9b6; }
  .doc .summary { background: #12302d; border-color: #1f4a46; }
  .doc th { background: #16302d; color: #e7f1ef; }
  .doc th, .doc td { border-color: #24403d; }
  .doc .site-footer, .doc .site-footer a { color: #9fb9b6; border-color: #24403d; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
