:root {
  --paper: #fff6ee;
  --card: #fffdfb;
  --ink: #1c1917;
  --muted: #5c534c;
  --line: #f0e2d4;
  --orange: #e36a00;
  --blue: #0b57d0;
  --green: #137333;
  --shadow: 0 18px 50px rgba(120, 52, 0, 0.12);
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #0842a0; }

img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

nav { display: flex; gap: 22px; font-size: 15px; }
nav a { color: var(--ink); text-decoration: none; }
nav a[aria-current="page"] { color: var(--orange); }

.hero {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 28px;
}

.hero img {
  width: 168px;
  height: 168px;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

h1 {
  margin: 0 0 10px;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lede {
  margin: 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 18px;
}

.meta {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.meta span { color: var(--ink); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 28px 0 8px;
}

article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 18px;
}

article h2 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

article p { margin: 0; color: var(--muted); font-size: 15.5px; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.dot.orange { background: var(--orange); }
.dot.blue { background: var(--blue); }
.dot.green { background: var(--green); }

.systems {
  padding: 36px 0 12px;
}

.systems h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.systems p {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer a { color: inherit; }

.doc { padding: 28px 0 8px; max-width: 740px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.doc h2 { margin: 32px 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--ink); }
.doc ul { margin: 8px 0 0; padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.updated { color: var(--muted); margin-top: 0; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 32px; }
  .hero img { width: 112px; height: 112px; border-radius: 26px; }
  .features { grid-template-columns: 1fr; }
  header { align-items: flex-start; }
}
