/* SOLDER — landing site styles
   Brand palette pulled from the app:
   bg #120B3F · primary #1639E4 · accent #F0841D · gold #F8D26C · purple #63168A
*/

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0716;
  --bg-elev: #120B3F;
  --bg-card: #1A1247;
  --primary: #1639E4;
  --primary-deep: #0E25A8;
  --accent: #F0841D;
  --gold: #F8D26C;
  --purple: #63168A;
  --red: #E1130C;
  --text: #F5F5F7;
  --text-muted: #A8A4C7;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1080px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ───────────────────────────────────────────────────────────── */

header.site {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 7, 22, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 18px;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

nav.site-nav a {
  color: var(--text-muted);
  margin-left: 22px;
  font-size: 15px;
  font-weight: 500;
}
nav.site-nav a:hover { color: var(--text); text-decoration: none; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(22, 57, 228, 0.25) 0%, transparent 60%),
    radial-gradient(40% 40% at 80% 30%, rgba(240, 132, 29, 0.18) 0%, transparent 70%),
    radial-gradient(40% 40% at 15% 60%, rgba(99, 22, 138, 0.25) 0%, transparent 70%);
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 17px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}
.store-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.store-btn .icon { font-size: 28px; line-height: 1; }
.store-btn .label-line { font-size: 11px; opacity: 0.6; line-height: 1; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.store-btn .label-main { font-size: 18px; line-height: 1; font-weight: 800; }

.store-btn.disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
  border-color: var(--border);
  box-shadow: none;
}

/* ─── Features ─────────────────────────────────────────────────────────── */

.features {
  padding: 80px 0;
}

.features h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 16px;
}

.features .sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
}

.card .icon {
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(22, 57, 228, 0.25), rgba(99, 22, 138, 0.4));
  border: 1px solid var(--border);
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p { color: var(--text-muted); font-size: 16px; }

/* ─── Footer ───────────────────────────────────────────────────────────── */

footer.site {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}

.foot-bar nav a {
  color: var(--text-muted);
  margin-right: 20px;
}
.foot-bar nav a:hover { color: var(--text); text-decoration: none; }

/* ─── Legal pages ──────────────────────────────────────────────────────── */

.legal {
  padding: 56px 0 96px;
  max-width: 780px;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--gold);
}

.legal h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p, .legal li {
  color: #DEDAF0;
  margin-bottom: 12px;
}

.legal ul, .legal ol {
  margin: 8px 0 16px 24px;
}

.legal strong { color: var(--text); }

.legal .callout {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

.back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.back-link:hover { color: var(--text); text-decoration: none; }

/* ─── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .features { padding: 56px 0; }
  nav.site-nav a { margin-left: 14px; font-size: 14px; }
  .store-btn { padding: 14px 22px; }
  .store-btn .label-main { font-size: 16px; }
}
