/* sakanami.com の共通スタイル。色はアプリの DESIGN.md のトークンと同じ値（ダーク固定） */
:root {
  --surface: #0b0e13;
  --surface-elevated: #151a21;
  --text-primary: #f2f4f7;
  --text-secondary: #8a94a6;
  --accent: #37b6ff;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

header.site a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

h1 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 8px;
}

h2 {
  font-size: 20px;
  line-height: 1.5;
  margin: 40px 0 12px;
}

p,
li {
  color: var(--text-primary);
}

.lead,
.meta,
small {
  color: var(--text-secondary);
}

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

ul {
  padding-left: 1.4em;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--surface-elevated);
}

th {
  color: var(--text-secondary);
  font-weight: 600;
}

.card {
  background: var(--surface-elevated);
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
}

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

footer a {
  color: var(--text-secondary);
}
