:root {
  --sun-y: #F5EF00; --sun-o: #F78F1E; --sun-r: #F24137;
  --bg: #fffaf3; --surface: #ffffff; --text: #22160f; --muted: #6e5d52;
  --border: #f0e2d4; --accent: #d8321f; --chip: #fff1df;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #160f0c; --surface: #211814; --text: #f7eee7; --muted: #b3a399;
    --border: #3a2b23; --accent: #ff6a4d; --chip: #2d1f18;
  }
}
:root[data-theme="dark"] {
  --bg: #160f0c; --surface: #211814; --text: #f7eee7; --muted: #b3a399;
  --border: #3a2b23; --accent: #ff6a4d; --chip: #2d1f18;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.65; }
a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

header .wrap { display: flex; justify-content: center; padding-top: 24px; padding-bottom: 8px; }
header img { height: 52px; width: auto; display: block; }

main { padding: 40px 0 24px; }
.title { text-align: center; margin-bottom: 36px; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.1; margin: 0 0 8px; font-weight: 800; letter-spacing: -.025em; }
.updated { color: var(--muted); margin: 0; font-size: .95rem; }
h2 { font-size: 1.2rem; margin: 32px 0 8px; letter-spacing: -.01em; }
p, li { color: var(--text); }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

.apps { margin-top: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; text-align: center; position: relative; overflow: hidden; }
.apps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(to right, var(--sun-y), var(--sun-o) 50%, var(--sun-r)); }
.apps h2 { margin: 6px 0 6px; }
.apps p { margin: 0 0 12px; color: var(--muted); }
.apps .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-weight: 700; }

footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: .9rem; text-align: center; }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 8px; }
