/* AIO Weather — styling for the text pages (privacy, terms, about, contact).
   Same palette as styles.css, but without the animated sky: these are meant to
   be read, and a moving background behind a legal document is obnoxious. */

:root {
  --text:      #f4f6ff;
  --dim:       rgba(244, 246, 255, 0.72);
  --dimmer:    rgba(244, 246, 255, 0.46);
  --card:      rgba(255, 255, 255, 0.06);
  --card-line: rgba(255, 255, 255, 0.14);
  --accent:    #6fb1ff;
  --radius:    18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(180deg, #16224f 0%, #0b1233 55%, #070c22 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a { color: var(--accent); }
a:hover { color: #9ccbff; }

/* ── Header / footer, deliberately identical to the home page ────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 14px 22px;
  border-bottom: 1px solid var(--card-line);
  background: rgba(9, 14, 38, 0.55);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 10;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .2px; text-decoration: none; color: var(--text);
}
.topbar nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
.topbar nav a:hover { color: var(--text); }
.cta {
  background: var(--accent); color: #06122e !important;
  padding: 8px 14px; border-radius: 999px; font-weight: 650; white-space: nowrap;
}
.cta:hover { background: #8cc2ff; }

/* ── The document itself ─────────────────────────────────────────── */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 22px 72px;
}

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.5px; }
h2 {
  font-size: 19px; margin: 38px 0 10px; letter-spacing: -.2px;
  padding-top: 18px; border-top: 1px solid var(--card-line);
}
h2:first-of-type { border-top: 0; padding-top: 0; }
h3 { font-size: 16px; margin: 24px 0 6px; color: var(--dim); }

.updated { color: var(--dimmer); font-size: 14px; margin: 0 0 28px; }
p, li { color: var(--dim); }
strong { color: var(--text); font-weight: 650; }
ul { padding-left: 22px; }
li { margin: 6px 0; }

/* A callout for the things people actually need to see. */
.note {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 22px 0;
}
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note p:first-child { margin-top: 0; }

.lede { font-size: 17px; color: var(--text); }

/* Contact page cards. */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 26px 0; }
.card {
  background: var(--card); border: 1px solid var(--card-line);
  border-radius: var(--radius); padding: 18px 20px;
}
.card h3 { margin-top: 0; color: var(--text); }
.card p { margin-bottom: 0; font-size: 15px; }

footer {
  border-top: 1px solid var(--card-line);
  padding: 26px 22px 40px;
  text-align: center;
}
footer nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
footer nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
footer nav a:hover { color: var(--text); }
footer .small { color: var(--dimmer); font-size: 13px; max-width: 640px; margin: 0 auto; }

@media (max-width: 560px) {
  h1 { font-size: 25px; }
  main { padding: 28px 18px 56px; }
}
