/* EyeNewz legal & contact pages — brand red EN theme */

:root {
  --accent: #e30613;
  --accent-deep: #b5050f;
  --accent-light: #ff4d57;
  --ink: #141414;
  --ink-muted: #5c6370;
  --ink-subtle: #8b929e;
  --bg: #fff8f8;
  --surface: #fff0f0;
  --border: rgba(227, 6, 19, 0.12);
  --header-height: 72px;
  --max-width: 800px;
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(227, 6, 19, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--ink-subtle);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
}

.site-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.legal-main h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--accent);
}

.legal-meta {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.legal-main h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.legal-main h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.legal-main p,
.legal-main li {
  color: var(--ink-muted);
}

.legal-main ul,
.legal-main ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
}

.legal-main li {
  margin-bottom: 0.35rem;
}

.legal-section {
  margin-bottom: 1.5rem;
}

.contact-intro {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink-muted);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 560px;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent-light);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  justify-self: start;
  padding: 0.8rem 1.75rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--accent-deep);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--ink-subtle);
}

.site-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--ink-muted);
}

.footer-sep {
  color: var(--ink-subtle);
}

@media (max-width: 640px) {
  .brand-tagline {
    display: none;
  }

  .site-nav {
    gap: 0.75rem;
  }

  .site-nav a {
    font-size: 0.7rem;
  }
}
