/* Feed Break — companion site. Brand tokens mirror the Android app
   (ui/theme/Color.kt): one green "focus" accent on cool-neutral surfaces,
   Space Grotesk for display, system font for body. Theme-aware, no trackers,
   no external requests — the font is self-hosted, matching the app's ethos. */

@font-face {
  font-family: "Space Grotesk";
  src: url("space-grotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef0f3;
  --ink: #12151a;
  --muted: #5b6470;
  --line: #e4e7ec;
  --accent: #1e9e5a;
  --accent-ink: #0c2e1e;
  --accent-container: #d3f3e1;
  --stop: #e4022a;
  --shadow: 0 1px 2px rgba(18, 21, 26, .04), 0 8px 30px rgba(18, 21, 26, .06);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 60rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --surface: #171b21;
    --surface-2: #1d222a;
    --ink: #e6e9ee;
    --muted: #99a1ad;
    --line: #262c35;
    --accent: #35d07f;
    --accent-ink: #d7f7e6;
    --accent-container: #0e3b29;
    --stop: #ff5470;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 40px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Header ---- */
.site-header { padding-block: 1.25rem; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; display: block; }
.nav-link { font-size: .95rem; color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-link:hover { color: var(--ink); }

/* ---- Hero ---- */
.hero { padding-block: 5rem 3.5rem; }
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin: 0 0 1rem;
}
h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-align: center;
  margin: 0 auto;
  max-width: 15ch;
}
.lede {
  margin: 1.4rem auto 0;
  max-width: 44ch;
  text-align: center;
  color: var(--muted);
  font-size: 1.2rem;
}
.hero-note {
  margin-top: 2rem;
  text-align: center;
}
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  background: var(--accent-container);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: .92rem;
}
.chip .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }

/* ---- Sections ---- */
section { padding-block: 3rem; }
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
}
.section-intro { color: var(--muted); margin: 0 0 2rem; max-width: 46ch; }

/* Centered section header (steps cards keep their own left-aligned text). */
.section-centered .section-title { text-align: center; }
.section-centered .section-intro { text-align: center; margin-inline: auto; }

/* Steps */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
}
.step-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: .85rem;
  color: var(--accent);
  letter-spacing: .05em;
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; margin: .5rem 0 .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Trust panel */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.75rem 0; }
.trust-item { font-family: var(--display); font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; gap: .5rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.mono { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 5px; }

/* Developer / contact */
.contact-card { text-align: center; }
.contact-card .section-title { margin-bottom: .75rem; }
.contact-card p { color: var(--muted); margin: 0 auto; max-width: 42ch; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.5rem;
  padding: .85rem 1.65rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  transition: transform .06s ease, filter .15s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--accent); color: #06231a; }
.btn-primary:hover { filter: brightness(1.06); text-decoration: none; }
.btn:active { transform: translateY(1px); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.25rem; margin-top: 2rem; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; }
.foot-links { display: flex; gap: 1.25rem; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.trademark { max-width: 100%; margin-top: 1rem; font-size: .82rem; line-height: 1.5; }

/* ---- Legal / privacy page ---- */
.legal { padding-block: 2.5rem 1rem; }
.legal h1 { text-align: left; max-width: none; font-size: clamp(2rem, 5vw, 2.8rem); }
.legal .updated { color: var(--muted); font-size: .95rem; margin-top: .5rem; }
.legal h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -.01em;
  margin: 2.5rem 0 .5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal .callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 1.1rem 1.35rem;
}

/* ---- Responsive ---- */
@media (max-width: 44rem) {
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-block: 2.5rem 2rem; }
}

