/* Page chrome for the groklings.bot rehearsal mockup. System fonts only. */

:root {
  --bg: #171310;
  --bg-2: #221c17;
  --ink: #f4efe6;
  --muted: #cbb9a2;
  --paper: #f7f1e6;
  --paper-ink: #1c1712;
  --accent: #d08a4c;
  --line: rgba(244, 239, 230, 0.14);
  --sans: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(208, 138, 76, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(62, 92, 96, 0.22), transparent 50%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 28rem);
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  height: auto;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  padding: 0.4rem 0.7rem;
  background: var(--paper);
  color: var(--paper-ink);
  z-index: 10;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.site-header {
  margin: 0 0 2.75rem;
  max-width: 42rem;
}

.mark {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-title {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.lede {
  margin: 0;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}

.live-note {
  margin: 0.9rem 0 0;
  min-height: 1.3em;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.live-note[data-state="ok"] {
  color: #b7d7a8;
}

.live-note[data-state="fallback"] {
  color: #e0c48a;
}

.corners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.corner {
  padding: 1.25rem 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.corner h2 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.corner p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.corner p:last-child {
  margin-bottom: 0;
}

.built-files {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
  max-height: 16rem;
  overflow: auto;
  font-size: 0.82rem;
}

.built-files li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.18rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  color: var(--muted);
}

.built-files code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--ink);
}

.built-total {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
}

.site-footer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .corners {
    grid-template-columns: 1fr;
  }
}

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

.safe-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.safe-list li {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.safe-list li:last-child {
  margin-bottom: 0;
}

.safe-list strong {
  color: var(--ink);
}



.mark a {
  color: inherit;
  text-decoration: none;
}

.mark a:hover,
.mark a:focus {
  color: var(--accent);
  text-decoration: underline;
}
