/* Stubbed website — paper and ink, serif figures, the app's own palette. */
:root {
  --paper: #f5f2ec;
  --card: #ffffff;
  --ink: #15171c;
  --ink-2: #555a66;
  --rule: rgba(0, 0, 0, 0.08);
  --accent: #2a6bff;
  --accent-deep: #0d2e9e;
  --coin: #f2b840;
  --serif: "New York", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(0, 0, 0, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1115;
    --card: #1a1d23;
    --ink: #f2f2f4;
    --ink-2: #a3a8b4;
    --rule: rgba(255, 255, 255, 0.09);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.site-nav { padding: 18px 0; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 20px var(--serif); color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { font-weight: 600; color: var(--accent); margin: 0 0 10px; }
h1 { font: 700 clamp(40px, 6vw, 68px)/1.04 var(--serif); margin: 0 0 20px; letter-spacing: -0.5px; }
.lede { font-size: 20px; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  padding: 14px 22px; border-radius: 14px; font-weight: 600;
}
.store-badge:hover { text-decoration: none; opacity: 0.9; }

/* Phone mockup */
.phone {
  width: min(340px, 100%); margin: 0 auto; aspect-ratio: 9 / 19.2;
  background: #0f1115; border-radius: 52px; padding: 14px;
  box-shadow: 0 40px 80px rgba(13, 46, 158, 0.25), 0 2px 0 rgba(255, 255, 255, 0.15) inset;
}
.screen {
  height: 100%; border-radius: 40px; background: #0f1115; color: #f2f2f4;
  padding: 26px 18px; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
}
.screen .title { font: 700 26px var(--serif); }
.m-card { background: #1a1d23; border-radius: 20px; padding: 16px; }
.m-days { font: 500 64px/1 var(--serif); color: var(--accent); }
.m-label { font-weight: 600; margin-top: 4px; }
.m-sub { color: #a3a8b4; font-size: 13px; margin-top: 8px; }
.m-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.m-grid span { aspect-ratio: 1; border-radius: 5px; background: var(--accent); }
.m-grid span.off { background: rgba(255, 255, 255, 0.09); }
.m-grid span.today { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-grid span.mile { background: var(--accent); position: relative; }
.m-grid span.mile::after { content: "◆"; color: #fff; font-size: 9px; position: absolute; inset: 0; display: grid; place-items: center; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 0 40px; }
h2 { font: 700 clamp(30px, 4vw, 42px)/1.1 var(--serif); margin: 0 0 12px; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 19px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--card); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.feature-card h3 { font: 600 22px var(--serif); margin: 14px 0 8px; }
.feature-card p { margin: 0; color: var(--ink-2); }
.feature-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.feature-icon svg { width: 22px; height: 22px; }

/* Ledger showcase */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ledger { background: var(--card); border-radius: 24px; padding: 8px 22px; box-shadow: var(--shadow); }
.ledger-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row b { display: block; }
.ledger-row small { color: var(--ink-2); }
.ledger-row .amount { font: 500 22px var(--serif); }

/* Jars */
.jars { display: flex; gap: 18px; justify-content: center; }
.jar { width: 110px; text-align: center; font-weight: 600; }
.jar .glass { height: 130px; border: 3px solid var(--rule); border-radius: 18px 18px 22px 22px; position: relative; overflow: hidden; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.jar .fill { position: absolute; left: 0; right: 0; bottom: 0; background: var(--accent); animation: rise 2.4s ease-out both; }
.jar .coin { position: absolute; left: 50%; width: 16px; height: 9px; margin-left: -8px; border-radius: 50%; background: var(--coin); animation: drop 2.6s ease-in infinite; }
.jar small { display: block; color: var(--ink-2); font-weight: 400; }
@keyframes rise { from { height: 0; } }
@keyframes drop { 0% { top: -12px; opacity: 1; } 55% { opacity: 1; } 70%, 100% { top: 70%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .jar .fill, .jar .coin { animation: none; } .jar .coin { display: none; } }

/* Footer + legal */
footer { padding: 40px 0 56px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
.lang-switch a { margin-left: 14px; color: var(--ink-2); }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.footer-legal { margin-top: 16px; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--ink-2); }
.legal { padding: 24px 0 64px; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: 46px; }
.legal h2 { font-size: 26px; margin-top: 36px; }
.back-link { display: inline-block; margin-bottom: 18px; }
.legal-effective { color: var(--ink-2); }
.legal-intro { font-size: 19px; }

@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 16px; }
}
