/* Museum Catalogue — microsite
   Clean and legible. Warm off-white ground, dark ink text, one restrained
   accent. Serif headings, serif body, generous spacing. No ornament. */

:root {
  --paper:     #faf7f0;
  --panel:     #f1ede2;
  --ink:       #21201c;
  --ink-soft:  #55514a;
  --line:      #e0daca;
  --line-soft: #ece7d9;
  --accent:    #9a3b28;
  --accent-hi: #b64a34;

  --content: 1120px;
  --text: 680px;

  --serif:   "Newsreader", Georgia, "Times New Roman", serif;
  --display: "Fraunces", "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
}
.brand span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 7px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }

/* ---- Section rhythm ---------------------------------------------------------- */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

.section-title {
  font-size: clamp(24px, 3.2vw, 30px);
  margin: 0 0 10px;
}
.section-intro {
  color: var(--ink-soft);
  max-width: var(--text);
  margin: 0 0 44px;
}

/* ---- Hero ---------------------------------------------------------------- */
.hero { padding: 84px 0 76px; }
.hero h1 {
  font-size: clamp(33px, 4.6vw, 50px);
  font-weight: 500;
  max-width: 24ch;
  margin: 0 0 22px;
}
.hero .sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 32px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

/* ---- Screenshot frame ------------------------------------------------------- */
.shot {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 10px;
  box-shadow: 0 18px 40px -24px rgba(40, 30, 15, 0.35);
}
.shot img {
  width: 100%;
  border-radius: 5px;
  display: block;
}
figure.shot { margin: 0; }
figure.shot figcaption {
  padding: 12px 6px 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---- Steps ("How it works") ---------------------------------------------- */
.steps { display: flex; flex-direction: column; gap: 60px; }
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.step:nth-child(even) .step-text { order: 2; }
.step-text h3 {
  font-size: 22px;
  margin: 0 0 10px;
}
.step-text p { color: var(--ink-soft); margin: 0; max-width: 42ch; }
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ---- Features ------------------------------------------------------------ */
.features { background: var(--panel); }
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 48px;
}
.feature-list h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.feature-list p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* ---- About / contact --------------------------------------------------- */
.prose { max-width: var(--text); color: var(--ink-soft); }
.prose p { font-size: 17px; }

.contact .wrap { text-align: left; }
.contact p { color: var(--ink-soft); max-width: var(--text); }
.contact .email {
  margin-top: 22px;
  font-family: var(--display);
  font-size: 20px;
}

/* ---- Footer ----------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  align-items: center;
}
.site-footer p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.site-footer ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding: 60px 0 90px; }
.legal .wrap { max-width: 760px; }
.legal h1 {
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 500;
  margin: 0 0 6px;
}
.legal .updated {
  color: var(--ink-soft);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin: 0 0 30px;
}
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; color: var(--ink-soft); }
.legal p, .legal li { color: var(--ink-soft); font-size: 16.5px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 5px 0; }
.legal strong { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .step:nth-child(even) .step-text { order: 0; }
  .step-text p { max-width: none; }
  .feature-list { grid-template-columns: 1fr; gap: 26px; }
  .site-nav { gap: 18px; font-size: 14px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  section { padding: 56px 0; }
  .hero { padding: 60px 0 56px; }
}

@media print {
  a { color: inherit; text-decoration: none; }
}
