/* Terms of Service — Newsverge AI */
:root{
  --ink:#0b1220;
  --ink-muted:#5b6b7a;
  --brand:#00356B;        /* Newsverge deep blue */
  --panel:#ffffff;
  --edge:#e7ebef;
  --bg:#f7f9fc;
}

html,body{font-family:'Segoe UI',system-ui,-apple-system,Arial,sans-serif;}

.tos{
  background: var(--bg);
  padding: clamp(48px,8vw,96px) 24px;
  color: var(--ink);
}

.tos-wrap{
  max-width: 1100px;
  margin: 0 auto;
}

.tos-head {
  text-align: center;
  margin-bottom: 32px;
}

.tos-head h1 {
  font-size: clamp(28px,4.5vw,40px);
  line-height: 1.15;
  color: var(--brand);
  margin: 0 0 8px;
}

.tos-meta {
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-weight: 600;
}

.tos-intro {
  margin: 0 0 22px;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}


/* Two-column layout */
.tos-grid{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(18px,3vw,28px);
  align-items: start;
}

/* TOC */
.tos-toc{
  position: sticky;
  top: 16px;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 16px 16px 18px;
}

.toc-title{
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
  margin: 0 0 10px;
}

.tos-toc ol{
  list-style: decimal;
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 8px;
}

.tos-toc a{
  color: var(--ink);
  text-decoration: none;
}
.tos-toc a:hover{ text-decoration: underline; color: var(--brand); }

/* Body */
.tos-body{
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: clamp(16px,2.6vw,28px);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.15);
}

.tos-body h2{
  font-size: clamp(18px,2.6vw,22px);
  color: var(--brand);
  margin: 16px 0 8px;
}

.tos-body p{ color: var(--ink); line-height: 1.75; margin: 0 0 12px; }
.tos-body ul{ margin: 0 0 14px 18px; color: var(--ink); line-height: 1.7; }
.tos-body li{ margin: 6px 0; }

/* Links */
.tos-body a{ color: var(--brand); }
.tos-body a:hover{ text-decoration: underline; }

/* Responsive */
@media (max-width: 980px){
  .tos-grid{ grid-template-columns: 1fr; }
  .tos-toc{ position: static; }
}

.nv-footer {
  background: #0C2340; /* Deep navy blue */
  color: #fff;
  padding: 40px 20px;
  font-size: 0.95rem;
  font-family: 'Segoe UI', sans-serif;
}

.nv-footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.nv-footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.nv-footer-col p {
  color: #e5e7eb;
  margin-bottom: 10px;
  line-height: 1.6;
}

.nv-footer-col small {
  display: block;
  color: #9ca3af;
}

.nv-footer-col h4 {
  color: #00c4cc;
  font-weight: 600;
  margin-bottom: 12px;
}

.nv-footer-col ul {
  list-style: none;
  padding: 0;
}

.nv-footer-col ul li {
  margin-bottom: 8px;
}

.nv-footer-col ul li a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nv-footer-col ul li a:hover {
  color: #fff;
}

.nv-footer-form {
  display: flex;
  margin-top: 12px;
}

.nv-footer-form input {
  flex: 1;
  padding: 8px;
  border: none;
  outline: none;
  border-radius: 3px 0 0 3px;
}

.nv-footer-form button {
  background: #0077c0; /* Green send button */
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.nv-footer-form button:hover {
  background: #00CCFF;
}
