/* specialed.app. Colors match the app (src/theme.ts). System fonts only, so nothing loads from other sites. */
:root {
  --sky: #4197e2;
  --slate: #406b96;
  --yellow: #ecde39;
  --green: #268144;
  --green-light: #e4f2e8;
  --link: #1f6fb8;
  --link-pressed: #164f85;
  --cream: #fbf6e9;
  --white: #ffffff;
  --ink: #1f1f1c;
  --ink-soft: #3d3b36;
  --muted: #5c5a53;
  --border: #ddd4bc;
}

* { box-sizing: border-box; }

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

a { color: var(--link); }
a:hover { color: var(--link-pressed); }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

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

/* Header band */
/* Author (2026-10-20): the sign sits on the bright blue, like the app icon; the hero below is slate. */
header.band { background: var(--sky); color: var(--white); }
header.band .wrap { display: flex; align-items: center; gap: 14px; padding-top: 16px; padding-bottom: 16px; }
header.band img { width: 56px; height: 56px; flex: none; }
header.band .name { font-weight: 800; font-size: 18px; line-height: 1.3; color: var(--white); text-decoration: none; }
header.band .name span { display: block; font-weight: 400; font-size: 15px; opacity: 0.9; }
nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: var(--white); font-weight: 700; font-size: 16px; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--white); text-decoration: underline; }

/* Hero */
.hero { background: var(--slate); color: var(--ink); padding: 44px 0 40px; }
.hero h1 { font-family: Georgia, "Merriweather", serif; font-size: 34px; line-height: 1.25; margin: 0 0 14px; color: var(--white); }
.hero p { font-size: 20px; margin: 0 0 22px; color: var(--white); }
.badge {
  display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800;
  padding: 10px 16px; border-radius: 10px; border: 2px solid var(--ink);
}

main { padding: 28px 0 40px; }
h2 { font-family: Georgia, "Merriweather", serif; font-size: 26px; line-height: 1.3; margin: 36px 0 12px; }
h3 { font-size: 19px; margin: 22px 0 6px; }
p { margin: 0 0 14px; }

.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin: 0 0 14px; }
.card h3 { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.grid .card { margin: 0; }

ul.plain { padding-left: 22px; margin: 0 0 14px; }
ul.plain li { margin-bottom: 8px; }

/* Author (2026-10-03): strong, easy-to-see disclaimers. */
.disclaimer { background: #fbf5cf; border: 2px solid var(--ink); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.disclaimer h2 { margin: 0 0 8px; font-size: 22px; }
.disclaimer p { margin: 0 0 10px; }
.disclaimer p:last-child { margin-bottom: 0; }
footer .legal { font-size: 15px; color: var(--white); border-left: 4px solid var(--yellow); padding-left: 12px; margin-bottom: 18px; }

.note { background: var(--green-light); border-left: 4px solid var(--green); border-radius: 4px; padding: 14px 16px; margin: 18px 0; }
.small { font-size: 15px; color: var(--muted); }

.button {
  display: inline-block; background: var(--link); color: var(--white); font-weight: 800; text-decoration: none;
  padding: 12px 20px; border-radius: 10px; min-height: 44px;
}
.button:hover { background: var(--link-pressed); color: var(--white); }

details { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 0 0 12px; }
details summary { font-weight: 800; cursor: pointer; }
details[open] summary { margin-bottom: 8px; }

/* Author (2026-10-03): dark footer, matching the header, so the disclaimer stands out. */
footer { background: var(--slate); color: var(--white); padding: 26px 0 36px; font-size: 15px; }
footer a { color: var(--white); font-weight: 700; margin-right: 16px; }
footer a:hover { color: var(--yellow); }

@media (max-width: 560px) {
  body { font-size: 17px; }
  header.band .wrap { flex-wrap: wrap; }
  nav { margin-left: 0; width: 100%; justify-content: flex-start; }
  .hero h1 { font-size: 28px; }
}
