:root {
  --bg-top: #DDF5E4;
  --bg-bottom: #D6ECFA;
  --card: #FFFFFF;
  --text: #1F2A37;
  --muted: #55606E;
  --primary: #0B7A6E;
  --border: #D5E3E0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-top: #0F1F1C;
    --bg-bottom: #0E1A26;
    --card: #17262A;
    --text: #E8F1EF;
    --muted: #A8B6B3;
    --primary: #5CD6C4;
    --border: #2A3C3F;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg-bottom); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.logo {
  width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: var(--card);
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
}
header .name { font-weight: 800; font-size: 20px; }
nav { margin-left: auto; display: flex; gap: 16px; }
a { color: var(--primary); }
nav a { text-decoration: none; font-weight: 600; }
nav a[aria-current="page"] { text-decoration: underline; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px; margin-bottom: 16px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 20px; margin: 24px 0 4px; }
.muted { color: var(--muted); font-size: 15px; }
details { border-top: 1px solid var(--border); padding: 12px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 700; }
.button {
  display: inline-block; background: var(--primary); color: var(--card); text-decoration: none;
  font-weight: 700; padding: 12px 20px; border-radius: 12px; margin-top: 8px;
}
footer { text-align: center; margin-top: 32px; }
