/* lastknownposition.app: the app's palette (indigo, paper, amber), light and dark. */
:root {
  --indigo: #262a52;
  --accent: #3b4295;
  --amber: #9a6206;
  --bg: #f6f5f2;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #5f5f66;
  --border: #d9d7d2;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #a3abff;
    --amber: #f2b84b;
    --bg: #121214;
    --surface: #1d1d20;
    --text: #ececf0;
    --muted: #a0a0a8;
    --border: #34343a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.site { background: var(--indigo); color: #f4efe6; }
header.site .wrap { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
header.site a:last-child { font-size: 1.1rem; }
header.site a { color: inherit; text-decoration: none; font-weight: 700; }
/* The knight cropped to its outline (knight.svg), not the padded app icon. */
header.site img { height: 40px; width: auto; display: block; }
.hero { background: var(--indigo); color: #f4efe6; padding: 32px 0 48px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.phone {
  display: block; width: 100%; height: auto; border-radius: 22px;
  border: 6px solid #0f1024; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.hero .phone { flex: 0 1 260px; max-width: 260px; margin: 0 auto; }
.hero .cta { margin-top: 20px; }
.hero .button { background: #f2b84b; color: #17171c; }
.shot { max-width: 260px; margin: 24px auto; }
.shot figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 10px; text-align: center; }
.hero h1 { font-size: 2.2rem; line-height: 1.15; margin: 0 0 12px; }
.hero p { margin: 0; font-size: 1.15rem; opacity: 0.92; max-width: 30em; }
.hero .copy { flex: 1 1 280px; }
main { padding: 24px 0 48px; }
h2 { font-size: 1.35rem; margin: 2em 0 0.5em; }
h3 { font-size: 1.1rem; margin: 1.5em 0 0.4em; }
.steps { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px 14px 56px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  border: 2px dashed var(--amber); color: var(--amber); font-weight: 700; text-align: center; line-height: 24px;
}
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin: 16px 0; }
.button {
  display: inline-block; background: var(--accent); color: var(--surface); text-decoration: none;
  font-weight: 600; padding: 12px 20px; border-radius: 8px;
}
@media (prefers-color-scheme: dark) { .button { color: #1a1d45; } }
.muted { color: var(--muted); }
footer { border-top: 1px solid var(--border); padding: 20px 0 32px; font-size: 0.9rem; color: var(--muted); }
footer a { color: inherit; }
.doc h1 { font-size: 1.8rem; margin: 0.5em 0; }
.doc li { margin: 0.3em 0; }
