:root {
  color-scheme: dark;
  --background: #070b12;
  --panel: #0d1420;
  --panel-top: #121c2a;
  --line: #263244;
  --text: #d9e3ef;
  --muted: #8391a5;
  --accent: #59e1bd;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

header {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

h1,
.path {
  margin: 0;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
}

.path {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
}

.source-link,
button {
  padding: 0.65rem 0.9rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.source-link:hover,
button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.verification-note {
  margin: -0.25rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.source-panel {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.source-bar {
  display: flex;
  min-height: 52px;
  padding: 0.55rem 0.75rem 0.55rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  background: var(--panel-top);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

pre {
  max-height: calc(100vh - 180px);
  margin: 0;
  padding: 1.4rem;
  overflow: auto;
  tab-size: 4;
}

code {
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.86rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  main {
    padding: 1.5rem 0;
  }

  header {
    align-items: start;
    flex-direction: column;
  }

  pre {
    max-height: none;
    padding: 1rem;
  }
}
