:root {
  color-scheme: light;
  --background: #fbfaf7;
  --surface: #ffffff;
  --ink: #171611;
  --muted: #716e65;
  --line: #dedbd2;
  --accent: #b6542d;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 0.2em;
}

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

.page {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

.hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 24px;
}

.hanger {
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 22px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: skewY(-21deg) rotate(-1deg);
}

.hanger::before {
  position: absolute;
  top: -10px;
  left: 8px;
  width: 7px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.sparkle {
  position: absolute;
  top: -5px;
  right: -2px;
  color: var(--accent);
  font-size: 11px;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(42px, 8vw, 60px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin: 20px 0 12px;
  color: #3e3c35;
  font-size: 19px;
  line-height: 1.65;
}

.updated {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.updated span {
  white-space: nowrap;
}

.policy {
  padding: 16px 0 56px;
}

.policy section {
  padding: 34px 0 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: 0;
}

h3 {
  margin: 24px 0 6px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

p,
ul,
dl {
  margin: 0 0 14px;
}

ul {
  padding-left: 1.2em;
}

li + li {
  margin-top: 8px;
}

.permissions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.permissions div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
}

.permissions dt {
  margin-bottom: 5px;
  font-weight: 750;
}

.permissions dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 600px) {
  .page {
    width: min(100% - 32px, 760px);
  }

  .hero {
    padding-top: 32px;
  }

  .brand {
    margin-bottom: 40px;
  }

  .intro {
    font-size: 17px;
  }

  .updated span[aria-hidden="true"] {
    display: none;
  }

  .permissions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a {
    transition: color 160ms ease;
  }
}
