/* BullFrog — tradebullfrog.com
   Colours are the app's own tokens (KineticColors.swift); the theme follows the device. */

@font-face { font-family: "Geist"; src: url("/assets/Geist_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/Geist_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/Geist_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/Fraunces_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #FBFAF7;
  --fg: #151B24;
  --muted: #626975;
  --surface: #FFFFFF;
  --surface-2: #F4F3F0;
  --hairline: #DFDEDA;
  --brand: #248372;
  --brand-soft: #D7F2EB;
  --badge-border: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090D14;
    --fg: #F2F2EF;
    --muted: #999FA8;
    --surface: #11161E;
    --surface-2: #191E28;
    --hairline: rgba(255, 255, 255, 0.08);
    --brand: #46BBA5;
    --brand-soft: #0F3B33;
    --badge-border: rgba(255, 255, 255, 0.28);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.55 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-underline-offset: 3px; }

img { display: block; max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------- header --------------------------------- */

.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg); text-decoration: none;
  font: 600 21px/1 "Fraunces", Georgia, serif; letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 34px; }

/* ----------------------------------- hero ---------------------------------- */

.hero { text-align: center; padding-top: 56px; padding-bottom: 24px; }

.eyebrow {
  display: inline-block; margin: 0 0 20px; padding: 5px 12px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand);
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }

.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.04; max-width: 13ch; margin: 0 auto; }

.hero p.lede { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 34rem; margin: 20px auto 0; }

/* ------------------------------- store badges ------------------------------ */

.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 172px; height: 54px; padding: 0 18px 0 14px;
  border-radius: 12px; border: 1px solid var(--badge-border);
  background: #000; color: #fff; text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.store:hover { transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 400; letter-spacing: 0.01em; }
.store strong { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

/* A badge with no store link yet: still shown, not clickable. */
.store[aria-disabled="true"] { cursor: default; pointer-events: none; }
@media (max-width: 400px) {
  .store { min-width: 0; padding: 0 14px 0 12px; gap: 8px; }
  .store strong { font-size: 18px; }
}
.stores-note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* --------------------------------- features -------------------------------- */

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding-top: 64px; padding-bottom: 40px;
}

.feature { text-align: center; }
.feature picture { display: block; max-width: 270px; margin: 0 auto 22px; }
.feature h3 { font-size: 22px; line-height: 1.2; }
.feature p { color: var(--muted); font-size: 16px; margin: 8px auto 0; max-width: 20rem; }

@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------------------------------- footer --------------------------------- */

.site-footer { border-top: 1px solid var(--hairline); margin-top: 48px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.disclaimer { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; max-width: 46rem; }

/* ---------------------------------- legal ---------------------------------- */

.legal { max-width: 720px; padding-top: 32px; padding-bottom: 24px; }
.legal h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.1; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 10px 0 28px; }
.legal .summary { background: var(--surface-2); border-radius: 14px; padding: 18px 20px; margin: 0 0 12px; }
.legal h2 { font-size: 23px; margin: 40px 0 10px; }
.legal h3 { font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: 0; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 16px; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal li strong, .legal p strong { font-weight: 600; }

/* Opened from the app (?app): the page's content only, no site chrome. */
.in-app .site-header, .in-app .site-footer { display: none; }
.in-app .legal { padding-top: 20px; padding-bottom: 40px; }

/* ----------------------------------- 404 ----------------------------------- */

.notfound { text-align: center; padding: 96px 0; }
.notfound h1 { font-size: 44px; }
.notfound p { color: var(--muted); }
