:root {
  --bg: #0b0b0c;
  --fg: #e9e7e4;
  --muted: #9b9993;
  --line: #242427;
  --accent: #d6aa7c;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
p { text-wrap: pretty; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, dt { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
code { font: 400 13.5px/1.6 var(--mono); }

a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(214, 170, 124, .4); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--bg); color: var(--fg); padding: 8px 12px; border: 1px solid var(--line); z-index: 10; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; font-size: 15px; text-decoration: none; }
.top nav ul { display: flex; gap: 24px; }
.top nav a { white-space: nowrap; color: var(--muted); font-size: 14px; text-decoration: none; }
.top nav a:hover, .top nav a:focus-visible { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }

/* intro */
.intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 0 64px; }
h1 { font-size: clamp(40px, 7vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; margin-bottom: 20px; }
.intro p { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 34em; }
.wave { width: 200px; height: 200px; flex: none; margin: -24px -8px -24px 0; -webkit-mask-image: radial-gradient(circle, #000 48%, transparent 71%); mask-image: radial-gradient(circle, #000 48%, transparent 71%); }

/* sections */
section { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.intro { border-top: 0; }
h2 { font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }

/* plugins */
.plugin { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.plugin:first-child { border-top: 0; padding-top: 0; }
.plugin:last-child { padding-bottom: 0; }
.cover { width: 300px; aspect-ratio: 2 / 1; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; background: #131315; }
.plugin h3 { font-family: var(--mono); font-size: 16px; font-weight: 500; margin-bottom: 10px; }
.ver { font: 400 14px var(--mono); color: var(--muted); margin-left: 8px; }
.plugin p { color: #c9c7c2; font-size: 15px; line-height: 1.65; }
.plugin .meta { font: 400 12.5px/1.5 var(--mono); color: var(--muted); margin-top: 14px; }
.links { font-size: 14px; margin-top: 8px; color: var(--muted); }
.plugin .links { color: var(--muted); }

/* install */
#install > p { color: #c9c7c2; max-width: 40em; margin-bottom: 28px; }
.kv { border: 1px solid var(--line); border-radius: 4px; background: #101011; }
.kv > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 20px; }
.kv > div + div { border-top: 1px solid var(--line); }
dt { font: 400 12.5px/1.9 var(--mono); color: var(--muted); }
dd { min-width: 0; }
dd code { color: var(--fg); overflow-wrap: anywhere; }
.repos code { display: block; }
.copy { font: 500 13px var(--sans); color: var(--accent); background: none; border: 0; padding: 0 0 0 6px; margin: 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(214, 170, 124, .4); text-underline-offset: 3px; }
.copy:hover { text-decoration-color: currentColor; }
.status { min-height: 1.6em; font: 400 12.5px/1.6 var(--mono); color: var(--muted); padding: 0 0 8px; overflow-wrap: anywhere; }

/* other */
.rows li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows h3 { font-size: 16px; }
.rows p { color: #c9c7c2; font-size: 15px; }
.rows code { color: var(--fg); }
.rows .links { margin-top: 4px; }
#other { padding-bottom: 32px; }

/* footer */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 48px; font-size: 13.5px; color: var(--muted); }
.foot ul { display: flex; gap: 20px; }

@media (max-width: 760px) {
  .plugin { grid-template-columns: 1fr; gap: 16px; }
  .cover { width: 100%; }
  .kv > div, .rows li { grid-template-columns: 1fr; gap: 4px; }
  .intro { padding: 32px 0 48px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .foot { width: calc(100% - 40px); padding-left: 0; padding-right: 0; }
  .wave { display: none; }
  .intro p { font-size: 16.5px; }
  .top nav ul { gap: 14px; }
  .top nav a { font-size: 13px; }
  .repos code { font-size: 11px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
