/* Dream Catcher, shared styles for the landing page and the privacy policy.
   Colours, shapes and type follow Common/docs/art-direction.md: always night, one blue accent,
   rose only for Pro, depth by surface steps instead of shadows. */

:root {
  color-scheme: dark;

  /* surfaces, darkest first */
  --midnight: #171A27;
  --night: #212439;
  --dusk: #2B2F4A;
  --cloud: #363B5A;
  --haze: #4E5578;
  --twilight: #5A6B94;
  --deepsea: #2F4D6E;

  /* accent */
  --sky: #33B5E5;
  --skybright: #4AC9F7;
  --skysoft: #8ACFE6;
  --skydeep: #1F7FA8;
  --mist: #A3C2C4;

  /* text */
  --moonlight: #ECF1F5;
  --fog: #B8BECC;
  --ash: #8590A6;

  /* warm */
  --rose: #E07285;
  --moon: #F4EFD9;
  --star: #FFD166;

  /* shapes */
  --r-card: 16px;
  --r-chip: 10px;
  --gutter: 20px;
  --max: 1080px;

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--night);
  color: var(--fog);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--skybright); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--skybright);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { color: var(--moonlight); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
strong { color: var(--moonlight); font-weight: 600; }

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

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--dusk);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--moonlight);
  font-weight: 600;
  font-size: 17px;
}
.brand:hover { color: var(--moonlight); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.topnav { display: flex; gap: 22px; font-size: 15px; }
.topnav a { color: var(--fog); }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--moonlight); text-decoration: none; }
@media (max-width: 520px) {
  .topnav { gap: 16px; }
  .topnav .optional { display: none; }
}

/* ---------- Shared bits ---------- */

.eyebrow {
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.pro-badge {
  display: inline-block;
  vertical-align: middle;
  background: var(--rose);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 999px;
  margin-left: 6px;
  position: relative;
  top: -1px;
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores a { display: block; border-radius: 10px; }
.stores img { height: 52px; width: auto; }

.card {
  background: var(--cloud);
  border-radius: var(--r-card);
  padding: 24px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--midnight);
  color: var(--ash);
  font-size: 15px;
  padding: 32px 0 40px;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--fog); }
.footer a:hover { color: var(--moonlight); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
