/* gladesolitaire.com: the colours of the glade icon (sky, hill, grass). Soft and light, like the app. */
:root {
  --sky-top: #9fd0ec;
  --sky-low: #e3f2f7;
  --hill: #9ccc78;
  --grass: #3f8f52;
  --grass-deep: #2f6e3e;
  --ink: #2f3a2a;
  --ink-soft: #5b6653;
  --paper: #fbfdf8;
  --card: #ffffff;
  --line: #dfe9d8;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky-top: #1d3a4a;
    --sky-low: #16242b;
    --hill: #3d5f33;
    --grass: #8fd19c;
    --grass-deep: #b5e3bd;
    --ink: #e8efe3;
    --ink-soft: #b3c0aa;
    --paper: #131a16;
    --card: #1b241e;
    --line: #2c3a30;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--grass); text-underline-offset: 2px; }
a:hover { color: var(--grass-deep); }

.top {
  background: linear-gradient(var(--sky-top), var(--sky-low));
  border-bottom: 6px solid var(--hill);
}
.top .wrap { display: flex; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.top nav { margin-left: auto; display: flex; gap: 16px; font-size: 15px; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--grass); text-decoration-thickness: 2px; }

.wrap { max-width: 720px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { padding: 32px 0 56px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, li { color: var(--ink); }
ul { padding-left: 22px; }
.updated, .lede { color: var(--ink-soft); }
.lede { font-size: 19px; }

.box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 24px 0;
}
.box p { margin: 0.4em 0; }
.email { font-size: 20px; font-weight: 700; overflow-wrap: anywhere; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 6px 20px rgba(47, 58, 42, 0.15); }
.hero h1 { margin-top: 18px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 20px 0 8px; }
.button {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  background: var(--grass); color: #fff; text-decoration: none; font-weight: 700;
}
.button:hover { background: var(--grass-deep); color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .button, :root:not([data-theme="light"]) .button:hover { color: #10240f; }
}

footer { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--ink-soft); font-size: 14px; }
footer a { color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  .top nav { gap: 12px; font-size: 14px; }
  .brand span { display: none; }
}
