/* The app's own palette (Sage accent, warm cream light / deep moss dark). */
:root {
  --bg: #f4f0e6;
  --surface: #fff;
  --text: #22231d;
  --text-2: #6c6a5e;
  --accent: #4e7a5b;
  --accent-2: #3c6248;
  --border: #e7e1d2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15180f;
    --surface: #1e2217;
    --text: #ece9de;
    --text-2: #a6a897;
    --accent: #86b08c;
    --accent-2: #9bc2a0;
    --border: #2e3324;
  }
}

* { box-sizing: border-box; }

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

main { max-width: 680px; margin: 0 auto; }

header { padding: 56px 0 32px; }

.mark {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 21px;
  background: var(--accent);
  overflow: hidden;
}
.mark .orb {
  position: absolute;
  top: -28%;
  right: -18%;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: .5;
}
.mark .a {
  position: absolute;
  left: 15%;
  bottom: 11%;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}
.mark .han {
  position: absolute;
  right: 13%;
  top: 13%;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  opacity: .96;
}

h1 { font-size: 34px; line-height: 1.2; letter-spacing: -.02em; margin: 26px 0 6px; }
h2 { font-size: 20px; letter-spacing: -.01em; margin: 38px 0 10px; }
.sub { color: var(--text-2); margin: 0; font-size: 18px; }
.updated { color: var(--text-2); font-size: 15px; margin-top: 4px; }

p, li { color: var(--text); }
ul { padding-left: 22px; }
li { margin: 7px 0; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 22px 0;
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

nav { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 15px; }
nav a { margin-right: 18px; }

footer { margin-top: 44px; color: var(--text-2); font-size: 14px; }
