/* Legal Content Sections */
.legal-content {
  min-width: 0;
}

.legal-section {
  scroll-margin-top: 100px;
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section-tag {
  font-size: 12px;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text);
}

.legal-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.legal-text-muted {
  color: var(--text-muted);
}

/* Google-style Callout Box ("Plain English" / "Key Takeaway") */
.legal-callout {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.legal-callout-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.legal-callout-content {
  flex: 1;
}

.legal-callout-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 4px;
}

.legal-callout-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Feature / Item Cards Grid */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.legal-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.legal-card:hover {
  border-color: var(--border-strong);
}

.legal-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.legal-card-title {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

.legal-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Interactive Checkup / Controls Banner */
.legal-controls-card {
  background: linear-gradient(135deg, rgba(4, 148, 244, 0.12) 0%, rgba(33, 33, 33, 0.9) 100%);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-controls-info {
  flex: 1;
  min-width: 240px;
}

.legal-controls-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text);
}

.legal-controls-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.legal-controls-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.legal-controls-btn:hover {
  opacity: 0.92;
}

/* Bullet Lists */
.legal-list {
  padding-left: 20px;
  margin: 14px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.legal-list li strong {
  color: var(--text);
}

/* Legal Footer */
.legal-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-panel);
  padding: 40px 20px 32px;
}

.legal-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.legal-footer-branding {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 480px;
  opacity: 0.85;
}

.legal-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.legal-footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}

.legal-footer-link:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .legal-nav-tabs {
    display: none;
  }
  .legal-hero-title {
    font-size: 28px;
  }
  .legal-hero {
    padding: 36px 16px 24px;
  }
}


/* ----------------- root.css ----------------- */
/* =============================================================================
   GOTHWAD ACCOUNTS — ROOT REDIRECT SPLASH
   ============================================================================= */

.root-splash {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.root-splash-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-7vh);
  border-radius: 20px;
  line-height: 0;
  animation: root-brand-pulse 1.6s ease-in-out infinite;
}

.root-splash-brand:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.root-splash-logo {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(4, 148, 244, 0.34);
}

@keyframes root-brand-pulse {
  0%, 100% { opacity: 0.84; transform: translateY(-7vh) scale(1); }
  50% { opacity: 1; transform: translateY(-7vh) scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
  .root-splash-brand { animation: none; }
}

/* Screen-reader-only text: visual splash intentionally remains logo-only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

