/* Shared styling for the Sudoku XL support site. Deliberately one small file
   with no external requests — App Review opens these pages, and a policy that
   fails to load because a CDN is slow is a policy that failed to load. */
:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --ink: #1A1D24;
  --ink-soft: #55596A;
  --rule: #E4E1D8;
  --accent: #3F51B5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161C;
    --surface: #1B1E26;
    --ink: #ECEBE6;
    --ink-soft: #A6A9B8;
    --rule: #2E323C;
    --accent: #8C97E0;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 40px 20px 80px; }

header { border-bottom: 1px solid var(--rule); padding-bottom: 20px; margin-bottom: 32px; }

.brand {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em; }
h2 { font-size: 21px; margin: 40px 0 12px; letter-spacing: -.005em; }
h3 { font-size: 17px; margin: 28px 0 8px; }

.updated { color: var(--ink-soft); font-size: 14px; margin: 0; }

p, li { color: var(--ink); }
ul { padding-left: 22px; }
li { margin-bottom: 8px; }

a { color: var(--accent); }

.note {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 14px 18px;
  margin: 20px 0;
}
.note p { margin: 0; }

.contact {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 20px;
  margin: 28px 0;
}
.contact p { margin: 0 0 6px; }
.contact p:last-child { margin: 0; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 14px;
}
footer a { margin-right: 16px; }

/* ── download call to action ────────────────────────────────────────────────
   The site existed only to satisfy App Review's support and privacy links, so
   it had no way to actually get the app. Anyone arriving from Reddit or a
   video landed on a page they could read but not act on. */
.cta-row { margin: 0 0 32px; }

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
}

.cta:hover { filter: brightness(1.08); }

.cta-note {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Width and height are set on the img itself so the space is reserved before
   the image arrives — the text below must not jump once it loads. */
.shot { margin: 32px 0; text-align: center; }

.shot img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 12px;
}

.shot figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
