/* ==========================================
   RocketToons legal pages
   Same design language as the sales and upgrade pages: Google Sans Flex, a black top band with
   the colour logo, a gold highlight box in the headline, the document on a white sheet.
   Each page is plain HTML: edit the text directly in the .html file.
   ========================================== */
:root {
  --ink: #16181d;
  --body: #3b3f4a;
  --muted: #6b7080;
  --paper: #f6f5f1;
  --line: rgba(22, 24, 29, 0.08);
  --gold: linear-gradient(169.9deg, #ffe6a8 0%, #ffc94d 71.429%);
  --link: #0b5cff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Google Sans Flex", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }

/* ---- top band ---- */
.lg-top {
  position: relative;
  padding: 28px 20px 120px;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 201, 77, 0.16) 0%, rgba(255, 201, 77, 0) 70%),
    #050507;
  color: #fff;
  text-align: center;
}
.lg-top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
}
.lg-logo img { display: block; width: 150px; height: auto; }
.lg-chip {
  padding: 7px 14px;
  border: 1px solid rgba(255, 230, 168, 0.6);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lg-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1120px;
  margin: 44px auto 0;
  padding: 0;
  list-style: none;
}
.lg-nav a {
  display: block;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.lg-nav a:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.lg-nav a[aria-current="page"] { border-color: transparent; background: var(--gold); color: var(--ink); }
.lg-hero { margin-top: 64px; }
.lg-eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.lg-title {
  margin: 18px 0 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.lg-hl {
  display: inline-block;
  padding: 0 0.25em;
  border-radius: 0.3em;
  background: var(--gold);
  box-shadow: 0 0 40px rgba(255, 201, 77, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.6);
  color: var(--ink);
}
.lg-updated { margin: 22px 0 0; font-size: 16px; color: rgba(255, 255, 255, 0.6); }

/* ---- the document ---- */
.lg-sheet { margin-top: -72px; padding: 0 16px 96px; }
.lg-doc {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 68px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 68px -18px rgba(11, 42, 92, 0.16), 0 2px 5px rgba(11, 42, 92, 0.06);
}
.lg-doc h2 {
  margin: 44px 0 12px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lg-doc h2:first-child { margin-top: 0; }
.lg-doc p,
.lg-doc li { font-size: 17px; line-height: 1.7; color: var(--body); }
.lg-doc p { margin: 0 0 16px; }
.lg-doc ul { margin: 0 0 16px; padding: 0; list-style: none; }
.lg-doc li { position: relative; margin: 0 0 10px; padding-left: 26px; }
.lg-doc li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 201, 77, 0.2);
}
.lg-doc strong { color: var(--ink); }
.lg-company {
  margin: 0 0 16px;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--paper);
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
  color: var(--body);
}
.lg-company strong { display: block; font-size: 17px; }

@media (max-width: 767px) {
  .lg-top { padding: 20px 16px 100px; }
  .lg-logo img { width: 120px; }
  .lg-chip { font-size: 11px; }
  .lg-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 32px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
  .lg-nav::-webkit-scrollbar { display: none; }
  .lg-nav a { white-space: nowrap; font-size: 14px; padding: 9px 15px; }
  .lg-hero { margin-top: 44px; }
  .lg-title { font-size: 40px; }
  .lg-updated { font-size: 14px; }
  .lg-doc { padding: 32px 22px; border-radius: 22px; }
  .lg-doc h2 { margin-top: 34px; font-size: 21px; }
  .lg-doc p, .lg-doc li { font-size: 16px; }
}
