:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: #171719;
  background: #f5f5f7;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 48px 20px;
  line-height: 1.65;
}

main {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 44px clamp(24px, 6vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.06);
}

header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 32px;
}

.app-mark {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #101012;
  border-radius: 14px;
}

.app-mark span {
  display: block;
  width: 8px;
  border-radius: 99px;
  background: #50e3c2;
}

.app-mark span:first-child { height: 16px; }
.app-mark span:last-child { height: 28px; }

.eyebrow {
  margin: 0 0 2px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.updated {
  margin: 7px 0 0;
  color: #6e6e73;
  font-size: 14px;
}

.language {
  display: flex;
  padding: 3px;
  background: #ededf0;
  border-radius: 10px;
}

.language a {
  padding: 5px 8px;
  color: #454549;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.language a:hover { background: #fff; }

.summary {
  margin: 0 0 42px;
  padding: 20px 22px;
  background: rgba(80, 227, 194, 0.13);
  border-left: 4px solid #2fba9b;
  border-radius: 4px 16px 16px 4px;
}

.summary p { margin: 0; }

h2 {
  margin: 0 0 28px;
  font-size: 25px;
  letter-spacing: -0.02em;
}

h3 {
  margin: 28px 0 7px;
  font-size: 17px;
}

p { margin: 0 0 13px; }

a { color: #087e6b; }
a:hover { text-decoration-thickness: 2px; }

hr {
  height: 1px;
  margin: 52px 0;
  border: 0;
  background: #dedee2;
}

footer {
  margin-top: 48px;
  color: #86868b;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 560px) {
  body { padding: 0; }
  main {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  header { grid-template-columns: auto 1fr; }
  .language { grid-column: 1 / -1; width: max-content; }
}

@media (prefers-color-scheme: dark) {
  :root { color: #f5f5f7; background: #000; }
  main {
    background: #171719;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
  .app-mark { background: #050506; }
  .eyebrow, .updated, footer { color: #a1a1a6; }
  .language { background: #2b2b2e; }
  .language a { color: #d1d1d6; }
  .language a:hover { background: #3a3a3d; }
  .summary { background: rgba(80, 227, 194, 0.1); }
  hr { background: #38383c; }
  a { color: #50e3c2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
