:root{
  --bg:#09090B;
  --card:rgba(24,24,27,0.4);
  --border:#27272A;
  --green:#34C759;
  --blue:#007AFF;
  --red:#FF3B30;
  --text:#FFFFFF;
  --muted:#A1A1AA;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{
  background:var(--bg); color:var(--text);
  font-family:'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
  min-height:100vh; display:flex; flex-direction:column;
}
.mono{font-family:ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;}
.wrap{max-width:1152px; margin:0 auto; padding:0 24px;}

/* Header (shared across all pages) */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(9,9,11,0.8); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.header-row{height:64px; display:flex; align-items:center; justify-content:space-between;}
.logo{display:flex; align-items:center; gap:3px; font-size:24px; font-weight:800; letter-spacing:-0.02em; text-decoration:none; color:var(--text);}
.logo .mlogo{flex:none}
.btn-download{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--text); color:var(--bg); border-radius:9999px;
  padding:10px 20px; font-size:14px; font-weight:600; text-decoration:none;
}
.btn-download:hover{background:#E4E4E7;}

/* Hero */
.hero{max-width:768px; margin:0 auto; padding:80px 24px 64px; text-align:center;}
h1{font-size:44px; font-weight:800; letter-spacing:-0.02em; line-height:1.1;}
h1 .accent{color:var(--green);}
.sub{margin-top:24px; font-size:19px; color:var(--muted); max-width:560px; margin-left:auto; margin-right:auto;}
.app-store-link{display:inline-block; margin:24px 0;}

/* Hero visual — Cash Trajectory mock card */
.trajectory-card {
  max-width: 440px; margin: 40px auto 0;
  background: #18181B; border: 1px solid #27272A;
  border-radius: 24px; padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  text-align: center;
}
.traj-header {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: #A1A1AA;
  margin-bottom: 24px;
}
.traj-sub { font-size: 12px; font-weight: 600; color: #A1A1AA; letter-spacing: 0.05em; margin-bottom: 8px; }
.traj-balance { font-size: 48px; font-weight: 800; color: #FFFFFF; letter-spacing: -0.03em; margin-bottom: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.traj-details { font-size: 13px; color: #A1A1AA; margin-bottom: 20px; }
.traj-warning {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #D4D4D8;
  background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 6px 12px; border-radius: 8px; margin-bottom: 24px;
}
.traj-warning svg { color: #FBBF24; }
.traj-bar { display: flex; height: 28px; width: 100%; border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.traj-locked { width: 85%; background: var(--red, #FF3B30); }
.traj-avail { width: 15%; background: var(--green, #34C759); }
.traj-bar-labels { display: flex; justify-content: space-between; font-size: 12px; color: #A1A1AA; }

/* How it works */
.section{max-width:1152px; margin:0 auto; padding:80px 24px;}
.section h2{text-align:center; font-size:30px; font-weight:700; letter-spacing:-0.01em;}
.steps{margin-top:48px; display:grid; gap:20px; grid-template-columns:repeat(3,1fr);}
.step-card{
  display:flex; align-items:center; gap:14px;
  border-radius:24px; border:1px solid var(--border); background:var(--card); padding:14px 18px;
}
.step-icon{
  flex:none; display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:16px; background:rgba(52, 199, 89, 0.15); color:var(--green);
}
.step-num-title{display:flex; align-items:center; gap:10px;}
.step-num{font-family:ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace; font-size:13px; color:#71717A; width:20px; flex:none;}
.step-title{font-size:16px; font-weight:600;}
.step-desc{margin-top:8px; font-size:14px; line-height:1.6; color:var(--muted);}

/* Trust & Privacy callout (homepage) */
.privacy-banner{
  max-width:1152px; margin:0 auto 0; padding:0 24px 64px;
}
.privacy-card{
  display:flex; align-items:center; justify-content:center; gap:16px;
  border-radius:24px; border:1px solid var(--border); background:#18181B;
  padding:28px 32px; text-align:center;
}
.privacy-icon{
  flex:none; display:flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:16px; background:#27272A; color:var(--green);
}
.privacy-card p{font-size:16px; font-weight:600; color:var(--muted); text-align:left;}
.privacy-card p strong{color:var(--text); font-weight:800;}

/* Footer (shared across all pages) */
footer{border-top:1px solid var(--border); padding:32px 0; text-align:center; font-size:14px; color:var(--muted);}
.footer-links{display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:12px;}
.footer-links a{color:var(--muted); text-decoration:none; font-weight:500;}
.footer-links a:hover{color:var(--text); text-decoration:underline;}
.footer-links .dot{color:var(--muted);}
.legal-attribution{font-size:12px; color:var(--muted); margin-top:12px;}

/* ---- Privacy Policy page ---- */
.legal-content{max-width:720px; margin:0 auto; padding:56px 24px 80px; flex:1 0 auto; line-height:1.6;}
.legal-content h1{font-size:34px; font-weight:800; letter-spacing:-0.02em;}
.legal-content .updated{margin-top:8px; font-size:14px; color:var(--muted);}
.legal-content .highlight-card{
  margin-top:32px; border-radius:24px; border:1px solid var(--border);
  background:var(--card); padding:24px 28px; font-size:16px; color:var(--text);
}
.legal-content h2{margin-top:36px; margin-bottom:12px; font-size:19px; font-weight:700;}
.legal-content p{margin-bottom:14px; font-size:15px; color:var(--muted); max-width:60ch;}
.legal-content ul{margin:0 0 14px 20px; max-width:60ch;}
.legal-content li{margin-bottom:8px; font-size:15px; color:var(--muted);}
.legal-content strong{color:var(--text); font-weight:600;}
.legal-content a.inline{color:var(--blue);}

/* ---- Support page ---- */
.support-content{max-width:560px; width:100%; margin:0 auto; padding:56px 24px 80px; flex:1 0 auto; line-height:1.6;}
.support-content h1{font-size:34px; font-weight:800; letter-spacing:-0.02em;}
.support-content .lead{margin-top:12px; font-size:16px; color:var(--muted); max-width:44ch;}
.contact-card{
  margin-top:32px; border-radius:24px; border:1px solid var(--border);
  background:var(--card); padding:28px;
}
.contact-card h2{font-size:16px; font-weight:700; margin-bottom:8px;}
.contact-card p{font-size:14px; color:var(--muted); margin-bottom:18px;}
.mail-btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--text); color:var(--bg); border-radius:9999px;
  padding:12px 22px; font-size:15px; font-weight:600; text-decoration:none;
}
.mail-btn:hover{background:#E4E4E7;}

/* ---- mobile (<=768px), applies site-wide ---- */
@media (max-width: 768px) {
  .wrap{padding:0 20px}
  .header-row{height:56px}

  .hero{padding:56px 20px 48px}
  h1{font-size:32px}
  .sub{font-size:16px}

  .trajectory-card{padding:20px}
  .traj-balance{font-size:36px}
  .traj-header{font-size:10px}

  .section{padding:56px 20px}
  .section h2{font-size:24px}
  .steps{grid-template-columns:1fr}

  .privacy-banner{padding:0 20px 48px}
  .privacy-card{flex-direction:column; text-align:center; padding:24px 20px}
  .privacy-card p{text-align:center}

  .legal-content{padding:40px 20px 56px}
  .legal-content h1{font-size:28px}
  .legal-content .highlight-card{padding:20px}

  .support-content{padding:40px 20px 56px}
  .support-content h1{font-size:28px}
  .contact-card{padding:22px}
}
