@font-face {
  font-family: Inter;
  src: url("/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font: 15px/1.5 Inter, system-ui, sans-serif;
  color: #20201f;
  background: #fcfcfb;
  --surface: #fff;
  --wash: #f3f3f1;
  --line: #e2e2de;
  --muted: #656560;
  --ink: #1b1b1a;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
main { min-width: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid #536a98; outline-offset: 3px; }

.layout { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100vh;
  padding: 28px 16px 18px;
  border-right: 1px solid var(--line);
  background: var(--wash);
}

.brand {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 11px;
  padding-inline: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 25px;
  font-weight: 720;
  letter-spacing: -.055em;
}

.brand-mark, .nav-icon, .platform-icon, .preview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: var(--ink);
  color: white;
}

.brand-mark { width: 36px; height: 36px; gap: 3px; border-radius: 11px; }
.brand-mark i { width: 2px; height: 9px; border-radius: 2px; background: currentColor; }
.brand-mark i:nth-child(2) { height: 19px; }
.brand-mark i:nth-child(3) { height: 13px; }
.nav { display: grid; gap: 4px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 9px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 550;
}
.nav-item:hover { background: #e7e7e4; }
.nav-icon { width: 26px; height: 26px; border-radius: 7px; }
svg { display: block; width: 17px; height: 17px; fill: currentColor; }
.sidebar-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: auto 0 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafaf9;
  color: var(--muted);
  font-size: 12px;
}
.sidebar-status span { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #373735; }

.content { max-width: 1090px; margin: auto; padding: 35px clamp(22px, 4vw, 56px) 42px; }
.heading { margin-bottom: 24px; }
.heading h1 { margin: 0; font-size: clamp(32px, 5vw, 54px); font-weight: 720; line-height: 1.1; letter-spacing: -.055em; }
.heading p { margin: 8px 0 0; color: var(--muted); }
.preview {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 15px;
  background: var(--ink);
  color: white;
}
.preview-icon { width: 52px; height: 52px; border: 1px solid #5a5a55; border-radius: 14px; background: #30302d; }
.preview-icon svg { width: 29px; height: 29px; }
.preview h2, .releases h2, .setup h2 { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -.035em; }
.preview p { margin: 4px 0 0; color: #cececa; font-size: 13px; }

.releases, .setup { margin-top: 26px; scroll-margin-top: 16px; }
.release-list {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}
.release { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; }
.release + .release { border-top: 1px solid var(--line); }
.platform-icon { width: 42px; height: 42px; border-radius: 11px; }
.platform-icon svg { width: 22px; height: 22px; }
.release h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.release p, .version { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.release-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.status { padding: 4px 9px; border-radius: 999px; background: #eaeae7; color: #464641; font-size: 11px; font-weight: 650; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.button:hover { background: #373735; }

.setup ol { margin: 12px 0 0; padding-left: 26px; color: var(--muted); }
.setup li { padding: 8px 0 8px 4px; border-top: 1px solid var(--line); }
.setup strong { color: var(--ink); font-weight: 650; }

@media (max-width: 660px) {
  .layout { display: block; }
  .sidebar { position: static; height: auto; gap: 9px; padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding-inline: 0; }
  .nav { display: flex; flex-wrap: wrap; }
  .nav-item { font-size: 13px; }
  .sidebar-status { display: none; }
  .content { padding: 24px 14px; }
  .release { grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 13px; }
  .release-actions { grid-column: 2; justify-content: flex-start; }
}
