:root {
  --purple: #3D3489;
  --green: #7FB89A;
  --coral: #F28B8B;
  --ink: #1f1d2b;
  --muted: #5d5a6d;
  --line: #e6e3ef;
  --bg: #ffffff;
  --soft: #f7f6fb;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--purple); }
a:hover { text-decoration-thickness: 2px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--purple);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.3px;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--coral);
  border-right-color: var(--green);
  border-bottom-color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--purple);
}
nav.top a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 16px;
}
nav.top a:hover { color: var(--purple); }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
main { padding-top: 32px; padding-bottom: 48px; }

h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 6px;
  color: var(--purple);
  letter-spacing: -0.4px;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 36px 0 10px;
  color: var(--ink);
}
h3 { font-size: 18px; margin: 24px 0 8px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.lead { font-size: 18px; color: var(--muted); }

.box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 20px 0;
}
.box p:last-child, .box ol:last-child, .box ul:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
th { background: var(--soft); color: var(--ink); font-weight: 600; }

.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 40px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  color: var(--ink);
}
.card:hover { border-color: var(--purple); }
.card strong { display: block; color: var(--purple); margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 15px; }

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 20px 0 28px;
}
footer.site a { color: var(--muted); margin-right: 14px; }
footer.site p { margin: 8px 0 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  .hero h1 { font-size: 32px; }
  nav.top a { margin-left: 0; margin-right: 14px; }
}
