/* Shared style of the text pages (FAQ, Terms, Privacy). Brand: pink #d4145a, yellow #FFC93C. */
:root {
  --pink: #d4145a;
  --pink-dark: #9c0d43;
  --yellow: #FFC93C;
  --text: #22252b;
  --muted: #5d616b;
  --line: #e6e7ec;
  --bg: #f6f7fa;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--pink); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--pink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.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: #fff;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
}

.brand img { height: 34px; width: auto; }
.brand b { color: var(--yellow); font-weight: 700; }

.topbar nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.topbar nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .92; }
.topbar nav a:hover, .topbar nav a[aria-current] { opacity: 1; text-decoration: underline; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

.hero {
  background: linear-gradient(135deg, #e8326f 0%, var(--pink) 50%, var(--pink-dark) 100%);
  color: #fff;
  padding: 48px 0 40px;
}

.hero h1 { margin: 0 0 8px; font-size: 38px; line-height: 1.15; }
.hero p { margin: 0; font-size: 18px; opacity: .95; max-width: 680px; }

main.wrap { padding-top: 28px; padding-bottom: 48px; }

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.toc a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

section.card {
  background: var(--card);
  border-radius: 16px;
  padding: 8px 24px 16px;
  margin-bottom: 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

section.card > h2 {
  margin: 16px 0 6px;
  font-size: 15px;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--pink);
}

/* FAQ entries: native <details> - work without JavaScript and are searchable with Ctrl+F once opened */
details { border-top: 1px solid var(--line); }
details:first-of-type { border-top: none; }

summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 32px 14px 0;
  position: relative;
  font-weight: 700;
  font-size: 18px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 24px;
  font-weight: 400;
  color: var(--pink);
}

details[open] summary::after { content: "–"; }
details > div { padding: 0 0 14px; color: var(--text); }
details p, details ul, details ol { margin: 0 0 10px; }
details li { margin-bottom: 4px; }

.tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  vertical-align: 2px;
}

.tag.free { background: #e6f6ec; color: #1c7a3f; }
.tag.premium { background: var(--yellow); color: #000; }

/* Legal pages */
.legal h2 { margin: 26px 0 8px; font-size: 22px; color: var(--text); }
.legal h3 { margin: 18px 0 6px; font-size: 18px; }
.legal p, .legal li { color: var(--text); }
.legal .updated { color: var(--muted); font-size: 15px; margin-top: 0; }

.fill {
  background: #fff3c4;
  border: 1px dashed #c99700;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px;
  font-size: 15px;
}

table.data th, table.data td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

table.data th { background: #fbe3ec; }

footer.site {
  background: #1d1f24;
  color: #c9ccd3;
  font-size: 15px;
  padding: 26px 0;
}

footer.site a { color: #fff; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 30px; }
  .topbar nav { display: none; }
  section.card { padding: 6px 16px 12px; }
  summary { font-size: 17px; }
  table.data { font-size: 14px; }
}
.brand img { height: 30px; width: auto; }
