/* -----------------------------------------------------------------
 * ca-app-web-cf - minimal design shell.
 *
 * This is deliberately un-fancy: system fonts, generous whitespace,
 * high-contrast text. The point is not to impress anyone visually
 * (the mobile app does that); the point is to render clearly on
 * whatever device a camper is holding, at any connection speed,
 * with any accessibility settings.
 *
 * Designer refines this later once the mobile app brand is settled.
 * Anything more elaborate at this stage would just have to be
 * thrown away.
 * ---------------------------------------------------------------- */

:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b7280;
  --accent: #4C7D45;
  --border: #e5e7eb;
  --max-width: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px 96px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
}

header.site-header .brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  text-decoration: none;
}

header.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
}

header.site-header nav a:hover {
  color: var(--fg);
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 700;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 32px 0 12px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 24px 0 8px;
  font-weight: 600;
}

p, ul, ol {
  margin: 0 0 16px;
}

ul, ol {
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.notice {
  background: #fff7ed;
  border-left: 4px solid #d97706;
  padding: 12px 16px;
  margin: 24px 0;
  border-radius: 4px;
  font-size: 15px;
}

.notice strong {
  color: #7c2d12;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  color: var(--muted);
  font-size: 14px;
  max-width: var(--max-width);
  margin: 48px auto 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

footer.site-footer a {
  color: var(--muted);
}

footer.site-footer .copy {
  margin-left: auto;
}

/* --- Landing-page specific (index.html) --------------------------- */

.hero {
  text-align: center;
  padding: 48px 20px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.hero .tagline {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 32px;
}

.download-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

/* Text-only store buttons pending real Apple/Google badge artwork
 * from the designer. Sized to roughly match Apple's 60pt badge
 * height so the layout doesn't shift when we swap in the real
 * badges later. */
.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 18px;
  min-width: 160px;
  height: 56px;
  background: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-family: inherit;
  transition: background 0.15s ease;
}
.store-btn:hover {
  background: #2a2a2a;
  text-decoration: none;
}
.store-btn strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
}
.store-btn span {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.1;
  margin-top: 2px;
}

.guest-vs-operator {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.guest-vs-operator h2 {
  margin-top: 0;
}

/* --- Print-friendly (Apple / Play reviewers occasionally print) --- */

@media print {
  header.site-header nav,
  footer.site-footer,
  .download-badges { display: none; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
