/* Stylesheet for the policy pages (privacy.html, 404.html). privacy.html keeps its original markup and
   wording byte for byte; this file restyles it to match the ColorRail site. */
@font-face {
  font-family: "Lilita One";
  src: url("/assets/fonts/LilitaOne-Regular.woff2") format("woff2");
  font-display: swap;
}
:root {
  --sky: #5EC2F2;
  --sky-light: #BDE9FF;
  --ink: #0B2545;
  --muted: #33496A;
  --card: #FFFFFF;
  --link: #1D4ED8;
  --green: #22C55E;
  --green-dark: #15803D;
  --navy: #0F2A5C;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-light) 420px, #EAF7FF 100%) no-repeat, #EAF7FF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: 3px; }
.wrap { max-width: 860px; margin: 0 auto; padding: 20px 16px 48px; }
header { display: flex; align-items: center; gap: 14px; padding: 6px 0 4px; }
header a { display: block; line-height: 0; }
header img { width: 56px; height: 56px; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 4px 0 rgba(11, 37, 69, .2); }
header h1 { margin: 0; font-family: "Lilita One", system-ui, sans-serif; font-weight: 400; font-size: 2.1rem; color: #fff;
  -webkit-text-stroke: .12em var(--navy); paint-order: stroke fill; filter: drop-shadow(0 3px 0 var(--navy)); letter-spacing: .01em; }
.card { background: var(--card); border: 3px solid #fff; border-radius: 26px; padding: 22px 22px 26px; margin: 18px 0;
  box-shadow: 0 8px 0 rgba(11, 37, 69, .08), 0 20px 44px rgba(11, 37, 69, .12); }
.card h1, .card h2 { font-family: "Lilita One", system-ui, sans-serif; font-weight: 400; color: var(--ink); line-height: 1.1; letter-spacing: .01em; }
.card h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); margin: .1em 0 .3em; }
.card h2 { font-size: 1.5rem; margin: 1.5em 0 .35em; }
.card p, .card li { color: var(--muted); }
.card strong { color: var(--ink); }
ul { padding-left: 1.2em; }
li { margin: .25em 0; }
li::marker { color: var(--green); }
.cta { display: inline-block; font-family: "Lilita One", system-ui, sans-serif; font-size: 1.25rem; color: #fff; text-decoration: none;
  text-shadow: 0 2px 0 var(--green-dark); padding: 12px 24px; border-radius: 20px; border: 3px solid #fff;
  background: linear-gradient(180deg, #4ADE80 0 42%, var(--green) 58%); box-shadow: 0 6px 0 var(--green-dark), 0 12px 22px rgba(11, 37, 69, .25); }
.cta:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--green-dark); }
footer { text-align: center; margin-top: 28px; }
footer p { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0; }
footer a { display: inline-block; font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; border: 2.5px solid #fff;
  border-radius: 999px; padding: 6px 16px; box-shadow: 0 4px 0 rgba(11, 37, 69, .12); }
footer a:hover { background: #F0FDF4; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
