/* Chandra's holding pages: night sky, moon cream, one turmeric accent.
   Colours match the draft sales site. Fonts are the phone's own, because
   the security headers only allow files from this site. */
:root {
  --night: #1b2140;
  --ink: #f4efe3;
  --muted: #c9c6d6;
  --moon: #f1e3b8;
  --accent: #e8a90c;
  --line: #2e3456;
  --focus: #8fb0ff;
  --display: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: var(--moon); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

main {
  flex: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
}
.home main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.moon { width: 4rem; height: 4rem; margin-bottom: 1.5rem; }
h1 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--moon);
}
h2 {
  margin: 2rem 0 0.25rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--moon);
}
p { margin: 0 0 1rem; }
h2 + .muted { margin-bottom: 0; }
.muted { color: var(--muted); }

footer {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}
footer a { display: inline-block; padding: 0.625rem 0; }

/* Standalone links get a 44px tall tap area without looking like buttons. */
.tap { display: inline-block; padding: 0.625rem 0; overflow-wrap: anywhere; }

.license {
  margin-top: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}
.license p:last-child { margin-bottom: 0; }
