:root {
  color-scheme: dark;
  --ink: #f4f0e8;
  --muted: #aaa69d;
  --line: rgba(244, 240, 232, 0.15);
  --accent: #9cdbbd;
  --paper: #151816;
  --panel: #1b201d;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(78, 133, 105, 0.18), transparent 30rem),
    linear-gradient(135deg, rgba(255,255,255,0.025), transparent 40%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 32px;
}

.hero { max-width: 830px; padding: 5vh 0 9vh; }

.mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 64px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 14px;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 9vw, 7.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.intro {
  max-width: 650px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

article { min-height: 230px; padding: 32px; border-right: 1px solid var(--line); }
article:first-child { padding-left: 0; }
article:last-child { border-right: 0; }
article span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 11px; }
article h2 { margin: 54px 0 12px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
article p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

footer { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; color: var(--muted); font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(156, 219, 189, 0.1); }

.error-page { padding-top: 12vh; }
.error-page h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
.back { display: inline-block; margin-top: 36px; color: var(--ink); text-underline-offset: 5px; }

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1080px); padding-top: 24px; }
  .hero { padding-bottom: 64px; }
  .mark { margin-bottom: 48px; }
  .grid { grid-template-columns: 1fr; }
  article, article:first-child { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  article:last-child { border-bottom: 0; }
  article h2 { margin-top: 24px; }
  footer { align-items: flex-start; gap: 18px; }
}
