/* Reading pages (organizer guide, Privacy, Terms, Contact): the site's header,
   card and light look, so they feel like the rest of newtv.dev. */
:root { color-scheme: light; --page: #eef1f4; --card: #f6f8fa; --surface: #ffffff; --ink: #111827; --ink-2: #374151; --muted: #6b7280; --line: #e3e7ec; --soft: #e7eaee; --grid: rgba(17, 24, 39, 0.045); }
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; padding: 40px 16px;
  font: 16px/1.65 Roboto, system-ui, -apple-system, sans-serif; color: var(--ink);
  background-color: var(--page);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
}
a { color: inherit; }
.site { max-width: 1180px; margin: 0 auto; background: var(--card); border-radius: 22px; box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 24px 60px -20px rgba(17, 24, 39, .18); padding: 0 clamp(16px, 6vw, 72px) 24px; min-height: calc(100vh - 80px); display: flex; flex-direction: column; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 32px 0 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 30px/1 Inter, sans-serif; letter-spacing: -.02em; }
.logo-mark { height: 52px; width: auto; display: block; margin: -6px 0; }
.tld { color: #9ca3af; font-weight: 700; }
.links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.links > a { text-decoration: none; color: var(--ink-2); font-size: 17px; }
.links > a:hover, .links > a[aria-current="page"] { color: var(--ink); }
.links > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.links > .btn { display: inline-flex; align-items: center; border-radius: 9px; padding: 10px 18px; font: 500 16px Roboto, sans-serif; text-decoration: none; white-space: nowrap; background: var(--ink); color: #fff; }
.legal { max-width: 760px; width: 100%; margin: 24px auto 0; padding: 8px 0 24px; }
.legal h1 { font: 800 clamp(28px, 4vw, 40px)/1.15 Inter, system-ui, sans-serif; letter-spacing: -.02em; margin: 18px 0 4px; }
.legal h2 { font: 700 21px/1.3 Inter, system-ui, sans-serif; margin: 32px 0 8px; }
.legal h3 { font-size: 16px; margin: 20px 0 4px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.legal .meta { color: var(--muted); font-size: 14px; }
.legal .back { color: var(--muted); font-size: 14px; text-decoration: none; }
.foot { margin-top: auto; text-align: right; color: var(--muted); font-size: 14px; padding-top: 28px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
@media (max-width: 800px) {
  body { padding: 16px 8px; }
  .site { padding: 0 16px 16px; border-radius: 16px; }
  .links { gap: 14px 18px; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links > a { font-size: 15px; flex: none; }
  .links > .btn { flex: none; }
}
.contact { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.contact label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; color: var(--ink); }
.contact input, .contact select, .contact textarea { font: 15px/1.45 Roboto, system-ui, sans-serif; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; }
.contact button { align-self: flex-start; font: 500 15px Roboto, system-ui, sans-serif; background: var(--ink); color: var(--surface); border: 0; border-radius: 9px; padding: 10px 20px; cursor: pointer; }
.contact .status { margin: 0; color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-top: 1px solid #e5e7eb; }
.legal th { font-weight: 600; }
@media (max-width: 600px) { .legal table { display: block; overflow-x: auto; } }
