/* Word Search: Easy on the Eyes. Same colours and font as the app's
   Classic Paper theme, at the same generous sizes. */
:root {
  --paper: #fbf6ec;
  --card: #fffdf8;
  --ink: #1c1b1a;
  --muted: #4a4640;
  --navy: #1f4e79;
  --navy-dark: #163a5c;
  --found: #fdd98a;
  --on-found: #1c1b1a;
  --rule: #e4dac8;
  --accent: #b3261e;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111111;
    --card: #1c1c1c;
    --ink: #ffffff;
    --muted: #d6d6d6;
    --navy: #ffd60a;
    --navy-dark: #ffe45c;
    --found: #5c4a12;
    --on-found: #ffffff;
    --rule: #3a3a3a;
    --accent: #ff8a80;
  }
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body {
  margin: 0;
  font: 1.25rem/1.6 "Atkinson Hyperlegible", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 0.15em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.brand img { width: 52px; height: 52px; border-radius: 12px; }
.site-header nav a { font-weight: 700; margin-left: 18px; }

/* Hero */
.hero { padding: 28px 0 48px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 820px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } }
.eyebrow { display: inline-block; background: var(--found); color: var(--on-found); font-weight: 700; border-radius: 999px; padding: 4px 14px; font-size: 1rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1.12; margin: 14px 0 16px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); line-height: 1.2; margin: 0 0 18px; }
h3 { font-size: 1.35rem; margin: 0 0 6px; }
.lead { font-size: 1.4rem; color: var(--muted); margin: 0 0 26px; }
.hero-shot { max-width: 340px; margin: 0 auto; border-radius: 28px; box-shadow: 0 18px 40px rgba(0,0,0,0.18); }

.button {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1.25rem;
  padding: 16px 28px; border-radius: 14px; min-height: 56px;
  background: var(--navy); color: var(--paper); border: 2px solid var(--navy);
}
.button:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.button.secondary { background: transparent; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.note { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 2px solid var(--rule); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--paper); }
.card p { margin: 0; color: var(--muted); }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.shots img { border-radius: 18px; scroll-snap-align: start; box-shadow: 0 8px 20px rgba(0,0,0,0.12); }

/* Steps on the testers page */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 18px; }
ol.steps li { counter-increment: step; position: relative; padding: 22px 22px 22px 86px; background: var(--card); border: 2px solid var(--rule); border-radius: var(--radius); }
ol.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 20px;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--found); color: var(--on-found); font-weight: 700; font-size: 1.4rem;
}
ol.steps li p { margin: 4px 0 0; color: var(--muted); }
.callout { background: var(--found); color: var(--on-found); border-radius: var(--radius); padding: 20px 24px; }
.callout a { color: var(--on-found); font-weight: 700; }

details { background: var(--card); border: 2px solid var(--rule); border-radius: var(--radius); padding: 16px 20px; }
details + details { margin-top: 12px; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 1.05rem; }
footer .made { color: var(--accent); font-weight: 700; }
footer p { margin: 6px 0; }
