/* SumUploader static site — shared stylesheet (no build step) */
:root {
  --navy: #1e2a5a;
  --navy-dark: #141d42;
  --orange: #f97316;
  --orange-dark: #ea6a0a;
  --gold: #ecba44;
  --ink: #1c1c28;
  --muted: #5b5b6e;
  --line: #e6e6ef;
  --bg: #ffffff;
  --bg-soft: #f7f7fc;
  --radius: 14px;
}

* { box-sizing: border-box; }

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

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

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 20px;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-header nav { display: flex; gap: 18px; }
.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.site-header nav a[aria-current="page"],
.site-header nav a:hover { color: var(--orange); }

/* ---------- hero / landing ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 70%);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
}
.hero img.logo-hero {
  width: 96px; height: 96px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  margin: 20px 0 8px;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--gold); }
.hero p.lede {
  font-size: clamp(17px, 3vw, 21px);
  color: #d7d9ea;
  max-width: 640px;
  margin: 0 auto 28px;
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.platforms li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}
.store-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  opacity: .55;
  cursor: default;
}
.store-btn small { display: block; font-weight: 400; font-size: 11px; color: #bbb; }
.store-note { color: #a9adc9; font-size: 14px; margin-top: 14px; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-soft); }
.section h2 {
  text-align: center;
  color: var(--navy);
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 8px;
}
.section p.sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.features li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.features h3 { margin: 0 0 6px; color: var(--navy); font-size: 18px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

.how { counter-reset: step; padding: 0; margin: 0 auto; max-width: 620px; list-style: none; }
.how li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
}
.how li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 2px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-band {
  background: var(--gold);
  color: var(--navy-dark);
  text-align: center;
  padding: 48px 0;
}
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0 0 20px; }
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
}
.btn:hover { background: var(--navy-dark); }

/* ---------- legal pages ---------- */
.legal { padding: 40px 0 64px; }
.legal h1 { color: var(--navy); font-size: clamp(28px, 5vw, 38px); margin-bottom: 4px; }
.legal h2 { color: var(--navy); margin-top: 36px; font-size: 22px; border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.legal h3 { color: var(--navy); margin-top: 24px; font-size: 18px; }
.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { padding-left: 24px; }
p.updated { color: var(--muted); font-size: 15px; margin-top: 0; }

.todo {
  background: #fff8e6;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 15px;
}
.todo strong { color: #9a6b00; }

table.scope-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}
.scope-table th, .scope-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.scope-table th { background: var(--navy); color: #fff; }
.scope-table code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13px;
  word-break: break-all;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 28px 0;
  font-size: 14px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner a { color: var(--navy); text-decoration: none; font-weight: 600; }
.footer-inner a:hover { color: var(--orange); }
