/* midnightpond.app: the same night palette and type as the app (src/ui/style.css). */
:root {
  --night: #04061a;
  --night-2: #0a0d2b;
  --ink: rgba(236, 238, 250, 0.94);
  --ink-soft: rgba(196, 201, 235, 0.78);
  --ink-faint: rgba(196, 201, 235, 0.5);
  --line: rgba(255, 255, 255, 0.09);
  --accent: #c9cdf2;
  --warm: #f2c98a;
  --serif: ui-serif, 'New York', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--night) radial-gradient(ellipse 90% 60% at 50% 0%, #121842 0%, transparent 70%) no-repeat;
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

.wrap { width: min(980px, 100%); margin: 0 auto; padding: 0 20px; }
.prose { width: min(680px, 100%); margin: 0 auto; padding: 0 20px; }

header.bar { padding: 22px 0; }
header.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 19px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.bar nav { display: flex; gap: 18px; font-size: 15px; }
header.bar nav a { color: var(--ink-soft); text-decoration: none; }
header.bar nav a:hover, header.bar nav a[aria-current] { color: var(--ink); }

.hero { text-align: center; padding: 48px 0 40px; }
.hero .icon { width: 128px; height: 128px; border-radius: 29px; margin: 0 auto 28px; box-shadow: 0 18px 60px rgba(120, 140, 255, 0.18), 0 0 0 1px var(--line); }
.eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-faint); }
h1 { margin: 0; font: 400 clamp(40px, 9vw, 64px)/1.05 var(--serif); letter-spacing: 0.01em; }
.lede { margin: 16px auto 30px; max-width: 34em; color: var(--ink-soft); font-size: 19px; }
.store { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 26px; border-radius: 14px; border: 1px solid var(--line); background: rgba(12, 14, 38, 0.6); color: var(--ink); text-decoration: none; }
.store small { color: var(--ink-faint); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.store strong { font-weight: 500; }
.price { margin: 12px 0 0; color: var(--ink-faint); font-size: 14px; }

.places { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 24px 0 0; padding: 0; }
@media (min-width: 720px) { .places { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.places figure { margin: 0; }
/* The app's own controls sit at the top and bottom of each screenshot; the crop leaves them out. */
.places img { width: 100%; height: auto; aspect-ratio: 390 / 720; object-fit: cover; object-position: 50% 45%; border-radius: 18px; border: 1px solid var(--line); background: var(--night-2); }
.places figcaption { margin-top: 10px; font-size: 15px; line-height: 1.4; }
.places figcaption span { display: block; color: var(--ink-faint); font-size: 13px; }

section { padding: 44px 0; }
h2 { margin: 0 0 6px; font: 400 clamp(26px, 5vw, 34px)/1.2 var(--serif); }
.sub { margin: 0; color: var(--ink-soft); }
.features { display: grid; gap: 16px 32px; margin: 26px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.features li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); opacity: 0.8; }
.features strong { color: var(--ink); font-weight: 500; }

.prose h1 { font-size: clamp(34px, 7vw, 46px); margin: 36px 0 6px; }
.prose .updated { margin: 0 0 30px; color: var(--ink-faint); font-size: 15px; }
.prose h2 { font-size: 24px; margin: 34px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose dl { margin: 0; }
.prose dt { margin-top: 22px; color: var(--ink); font-weight: 500; }
.prose dd { margin: 4px 0 0; color: var(--ink-soft); }
.contact { margin: 34px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 14, 38, 0.5); }
.contact p { margin: 0; }

footer { margin-top: 40px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--ink-soft); text-decoration: none; }
