:root {
  --ink: #0A0A0B;
  --ink2: #1A1A1F;
  --text2: #4A4A52;
  --text3: #8E8E96;
  --surface: #FFFFFF;
  --surface2: #FAFAFC;
  --surface3: #F5F5F7;
  --accent: #FF3B5C;
  --hairline: rgba(10, 10, 11, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Pretendard',
               'Apple SD Gothic Neo', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 32px;
}
.brand .dot { color: var(--accent); }

h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1.2;
}

.updated {
  color: var(--text3);
  font-size: 13px;
  margin: 0 0 32px;
}

h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
}

h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 24px 0 8px;
}

p, li {
  color: var(--ink2);
  font-size: 15px;
}

ul, ol {
  padding-left: 22px;
}
li { margin: 4px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
}
th {
  background: var(--surface3);
  color: var(--text2);
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
a:hover { border-bottom-color: var(--accent); }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--text3);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
footer a { color: var(--text2); border-bottom: none; }
footer a:hover { color: var(--accent); }

/* Index hero */
.hero {
  text-align: center;
  padding: 72px 0 56px;
}
.hero h1 { font-size: 40px; }
.hero p { font-size: 17px; color: var(--text2); }

.glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--ink);
  margin-bottom: 20px;
  position: relative;
}
.glyph::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
}
.glyph::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
}
.card {
  display: block;
  padding: 20px;
  background: var(--surface3);
  border-radius: 14px;
  border: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-2px); }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.card p { margin: 0; font-size: 13px; color: var(--text3); }
