/* Snowly Water — shared styles for product and legal pages.
   The studio landing page keeps its own inline styles so it stays byte-identical. */

:root {
  --bg: #0b1220;
  --bg2: #101a2e;
  --card: #14213a;
  --ink: #eef3fb;
  --muted: #9fb0c9;
  --accent: #7cc4ff;
  --accent2: #4d9fff;
  --line: #22345a;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo { font-weight: 800; font-size: 18px; letter-spacing: .5px; }
.logo span { color: var(--accent); }
header.site nav { display: flex; gap: 20px; }
header.site nav a { color: var(--muted); font-size: 14.5px; }
header.site nav a:hover { color: var(--ink); }

main { padding: 52px 0 72px; }

h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.15;
  margin-bottom: 10px;
}
h2 {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.2px;
  margin: 36px 0 10px;
}
h3 { font-size: 16.5px; font-weight: 700; margin: 22px 0 8px; }

p, li { color: var(--muted); font-size: 15.5px; }
p + p { margin-top: 12px; }
ul, ol { margin: 10px 0 0 22px; }
li + li { margin-top: 6px; }
strong { color: var(--ink); font-weight: 650; }

.meta {
  color: #7d90ad;
  font-size: 13.5px;
  line-height: 1.9;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.meta strong { color: #a9bcd8; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin-top: 22px;
}

.btn {
  display: inline-block;
  background: var(--accent2);
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 15.5px;
  margin-top: 22px;
}
.btn:hover { filter: brightness(1.1); text-decoration: none; }
.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  margin-left: 8px;
}

.tiles { display: flex; gap: 8px; margin-bottom: 18px; }
.tile {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1d2f52, #16233d);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; color: var(--accent);
}

.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pill {
  font-size: 12.5px;
  background: #1b2a49;
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

footer.site {
  border-top: 1px solid var(--line);
  background: var(--bg2);
  padding: 26px 0;
  color: #5d6f8c;
  font-size: 13.5px;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
footer.site a { color: #7d90ad; }

@media (max-width: 600px) {
  header.site nav { gap: 14px; }
  main { padding: 36px 0 56px; }
  .btn.ghost { margin-left: 0; margin-top: 10px; }
}
