/* artgallery.fun: one stylesheet for every page. The look follows the app's brand art ("Window"): a dark green
   gallery wall lit from above, a black frame with a gold edge, cream type in the system serif. */

:root {
  --wall-top: #2a3e40;
  --wall: #0e1819;
  --light: rgba(255, 241, 214, 0.13);
  --cream: #f3ecdd;
  --muted: rgba(243, 236, 221, 0.68);
  --faint: rgba(243, 236, 221, 0.12);
  --gold: #c2a06a;
  --frame: #141210;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background-color: var(--wall);
  background-image:
    radial-gradient(1100px 520px at 50% -140px, var(--light), transparent 70%),
    linear-gradient(180deg, var(--wall-top) 0, #1a2b2c 560px, var(--wall) 1200px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cream); text-decoration-color: rgba(194, 160, 106, 0.7); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

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

/* Header and footer */

.top, .foot, main { width: min(1080px, 100% - 32px); margin-inline: auto; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.mark { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: 0.01em; text-decoration: none; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--cream); }

.foot {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  margin-top: 96px; padding: 28px 0 40px; border-top: 1px solid var(--faint);
  font-size: 14px; color: var(--muted);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--cream); }

/* Home */

.hero { text-align: center; padding: 40px 0 24px; }
.hero .painting {
  width: min(560px, 100%); margin: 0 auto 56px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.55), 0 10px 22px rgba(0, 0, 0, 0.4);
}
h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(44px, 8vw, 76px); line-height: 1.05; letter-spacing: -0.005em;
}
.tagline {
  margin-top: 14px; font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.lede { max-width: 34em; margin: 28px auto 0; font-size: 19px; color: var(--muted); }
.soon {
  display: inline-block; margin-top: 30px; padding: 8px 18px; border: 1px solid rgba(194, 160, 106, 0.55);
  border-radius: 999px; font-size: 14px; letter-spacing: 0.02em; color: var(--cream);
}

section { margin-top: 112px; }
.label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
h2 {
  margin-top: 10px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 40px); line-height: 1.15;
}
.intro { max-width: 40em; margin-top: 16px; color: var(--muted); }

.tv {
  margin: 40px auto 0; max-width: 960px; padding: clamp(6px, 1.2vw, 12px);
  background: #050606; border-radius: clamp(8px, 1.6vw, 16px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.tv img { border-radius: clamp(3px, 0.6vw, 6px); }
figcaption { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; list-style: none; }
.steps li { padding-top: 18px; border-top: 1px solid var(--faint); }
.steps .n { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--gold); }
.steps h3, .features h3 { margin-top: 12px; font-family: var(--serif); font-weight: 600; font-size: 21px; }
.steps p, .features p { margin-top: 6px; color: var(--muted); font-size: 16px; }

.sources { margin-top: 36px; display: grid; grid-template-columns: 180px 1fr; gap: 14px 32px; }
.sources dt { font-weight: 600; }
.sources dd { color: var(--muted); }
.chains { margin-top: 24px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 40px; }
.features div { padding-top: 18px; border-top: 1px solid var(--faint); }

.private { text-align: center; }
.private .intro { margin-inline: auto; }

/* Text pages (privacy, support, 404) */

.page { max-width: 700px; padding-top: 32px; }
.page h1 { font-size: clamp(38px, 6vw, 54px); }
.page .meta { margin-top: 8px; color: var(--muted); }
.page h2 { margin-top: 44px; font-size: 26px; }
.page h3 { margin-top: 26px; font-size: 18px; font-weight: 600; }
.page p, .page ul { margin-top: 12px; color: var(--muted); }
.page strong { color: var(--cream); font-weight: 600; }
.page ul { padding-left: 1.2em; }
.page li + li { margin-top: 6px; }
.page .lead { font-size: 19px; color: var(--cream); margin-top: 28px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 16px; }
  .hero .painting { margin-bottom: 40px; }
  section { margin-top: 80px; }
  .steps, .features { grid-template-columns: 1fr; gap: 28px; }
  .sources { grid-template-columns: 1fr; gap: 2px; }
  .sources dd { margin-bottom: 14px; }
  .foot { margin-top: 72px; }
}
