/*
 * style.css — one stylesheet shared by index.html and privacy.html.
 *
 * The colours are BitFlip's own two themes, lifted straight from the app's
 * css/style.css. The site follows the visitor's system setting: dark by
 * default, light when their device asks for it (the @media block below).
 */

:root {
  --page:      #312e2c;   /* page background */
  --surface:   #3a3633;   /* cards */
  --line:      #4a4642;   /* hairline borders */
  --text:      #f2ede7;
  --muted:     #bfb8af;
  --accent:    #5170ff;   /* things you can press */
  --accent-2:  #ffbd59;   /* things that are lit up */
}

/* Light theme: same structure, BitFlip's light palette. */
@media (prefers-color-scheme: light) {
  :root {
    --page:     #f6f3ee;
    --surface:  #ffffff;
    --line:     #e2dcd2;
    --text:     #2b2825;
    --muted:    #8a8378;
    --accent:   #3987e5;
    --accent-2: #ff751f;
  }
}

* { margin: 0; box-sizing: border-box; }

body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  background: var(--page);
  color: var(--text);
}

/* Everything sits in one centred column, like the app itself. */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */

header { padding: 40px 0 8px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; border-radius: 14px; }
.brand h1 { font-size: 1.8rem; letter-spacing: -0.5px; }
.brand h1 span { color: var(--accent); }
.tagline { color: var(--muted); margin-top: 2px; }

/* ---- Sections ---- */

section { padding: 28px 0; }
h2 { font-size: 1.3rem; margin-bottom: 12px; }
p  { margin-bottom: 12px; }
.muted { color: var(--muted); }

/* The "coming soon" chip where the Play badge will eventually go. */
.chip {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---- Screenshot strip ---- */

/* Three phone screenshots side by side; on a narrow phone screen the row
   scrolls sideways instead of squashing the images. */
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 0 20px;
}
.shots img {
  width: 210px;
  border-radius: 18px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

/* ---- Cards (beta steps, features) ---- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card p  { margin-bottom: 0; color: var(--muted); }

/* Numbered beta steps get a little accent number. */
.card .step {
  color: var(--accent-2);
  font-weight: 700;
  font-family: monospace;
  margin-right: 8px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 24px;
}
.btn:hover { filter: brightness(1.1); }

/* ---- Feature list ---- */

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

/* ---- Footer ---- */

footer {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--accent); }

/* ---- Privacy page ---- */

.policy h2 { font-size: 1.1rem; margin: 1.6em 0 0.4em; }
.back { display: inline-block; margin: 24px 0 0; color: var(--accent); }
