/* Shared styles for every musewith.app page.
   Colors come from the MuseWith mark: teal #0F4C55, coral #E0603F.
   Page background #E5F3F8: OKLCH 0.955 / 0.016 / 220. A light cool tint whose hue sits next
   to the teal and opposite the coral, so neither logo color fights it. Not grey, not cream.
   Checked: coral "With" 3.13:1 (large text), teal 8.5:1, body text 15:1.
   Dark mode uses the same hue, deep. "Muse" lightens to #388B94 (4.5:1) there.
   Fonts: Afacad Flux for the name and headings, Inter for body text and buttons. */
:root {
  --page: #e5f3f8;
  --on-page: #0f4c55;
  --muse: #0f4c55;
  --with: #e0603f;
  --logo-plate: transparent;
  --bg: #f5f8fa;
  --surface: #ffffff;
  --text: #1d1b18;
  --muted: #55504a;
  --link: #0f4c55;
  --border: #cadbe1;
  --on-link: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #08191e;
    --on-page: #c9d4da;
    --muse: #388b94;
    --with: #e8806a;
    --logo-plate: #e5f3f8;
    --bg: #08191e;
    --surface: #13252a;
    --text: #f5f1ea;
    --muted: #c4bdb2;
    --link: #e8806a;
    --border: #24434a;
    --on-link: #0b1c20;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 40px 16px;
  background: var(--page);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, sans-serif;
}
/* 640px wide, growing to 40% of the window on large screens. */
main {
  width: min(100%, max(640px, 40vw));
  margin: 0 auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(15, 76, 85, 0.08);
}
/* Logo and name sit on the page, centered above the panel. The name is about as tall as the logo.
   In dark mode the logo gets a light backing, or its teal half would vanish. */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 28px;
}
.brand img {
  display: block;
  width: auto;
  height: 128px;
  padding: 6px;
  border-radius: 8px;
  background: var(--logo-plate);
}
.brand h1 {
  font-size: 7rem;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.brand .muse { color: var(--muse); }
.brand .with { color: var(--with); }
/* The name and all headings use Afacad Flux. Body text and buttons use Inter. */
h1, h2 { font-family: "Afacad Flux", system-ui, sans-serif; }
h1 { margin: 0; font-size: 3.6rem; font-weight: 600; line-height: 1.05; }
h2 { margin: 32px 0 4px; font-size: 1.4rem; font-weight: 600; line-height: 1.25; }
h2 + p { margin-top: 0; }
.status {
  margin: 0 0 24px;
  font: italic 600 2.6rem/1.1 "Afacad Flux", system-ui, sans-serif;
  text-align: center;
}
main > p:first-child { margin-top: 0; }
a { color: var(--link); }
.button {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 999px;
  background: var(--link);
  color: var(--on-link);
  font: bold 1rem "Inter", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, .button:focus-visible { opacity: 0.85; }

/* Waitlist signup. Posts straight to Kit, no Kit script on our pages. */
.signup { margin: 8px 0 24px; }
.signup label { display: block; margin-bottom: 6px; font-weight: 600; }
.signup-row { display: flex; flex-wrap: wrap; gap: 8px; }
.signup input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font: 1rem "Inter", system-ui, sans-serif;
}
.signup input:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.small { font-size: 0.9rem; color: var(--muted); }
.joined {
  margin: 8px 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  font-weight: 600;
}
footer { margin: 16px auto 0; color: var(--on-page); font-size: 0.9rem; text-align: center; }
@media (max-width: 480px) {
  main { padding: 20px; }
  .status { font-size: 2rem; }
  .brand { gap: 12px; }
  .brand img { height: 80px; }
  .brand h1 { font-size: 3.6rem; }
  
}
