:root {
  --bg: #f5f2ec;
  --paper: #ffffff;
  --ink: #161a18;
  --muted: #6b716d;
  --line: #e6e1d7;
  --cyan: #a9e4ee;
  --cyan-strong: #5dc3d4;
  --cyan-ink: #0c4a56;
  --warn: #7a4311;
  --warn-soft: #fbf1e3;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 var(--sans);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
main { max-width: 480px; margin: 0 auto; padding: 36px 18px 40px; }
h1 { font: 400 2.1rem/1.1 var(--serif); letter-spacing: -0.01em; margin: 26px 0 8px; }
p { margin: 0 0 10px; }
a { color: var(--cyan-ink); }
.muted { color: var(--muted); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.brand em { font-family: var(--serif); font-weight: 400; font-style: italic; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--cyan); color: var(--cyan-ink); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.notice { background: var(--warn-soft); color: var(--warn); border-radius: 14px; padding: 10px 14px; margin: 18px 0 0; font-size: 14px; }
.spaces { display: grid; gap: 14px; margin-top: 26px; }
.space {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  min-height: 84px;
}
.space:hover, .space:focus-visible { border-color: var(--ink); }
.space:focus-visible { outline: 2px solid var(--cyan-strong); outline-offset: 3px; }
.space.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.space.dark .space-text { color: #c9cfcb; }
.space.dark .space-icon { background: var(--cyan); color: var(--cyan-ink); }
.space.cyan { background: var(--cyan); border-color: var(--cyan); color: var(--cyan-ink); }
.space.cyan .space-text { color: var(--cyan-ink); opacity: .85; }
.space.cyan .space-icon { background: var(--paper); color: var(--cyan-ink); }
.space-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cyan); color: var(--cyan-ink); }
.space-body { display: grid; gap: 4px; min-width: 0; }
.space-body strong { font-size: 1.15rem; font-weight: 700; }
.space-text { font-size: 14px; line-height: 1.35; color: var(--muted); }
.space > .icon { color: currentColor; }
.icon { flex-shrink: 0; }
.foot { margin-top: 30px; font-size: 14px; text-align: center; }
