*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #0b1120;
  --color-surface: #131c31;
  --color-surface-alt: #1a2540;
  --color-text: #e2e8f0;
  --color-muted: #94a3b8;
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
  --color-border: #1e293b;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 1100px;
  --narrow-width: 760px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow {
  max-width: var(--narrow-width);
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--color-accent);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

nav a:hover {
  color: var(--color-text);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--color-surface);
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.section p {
  color: var(--color-muted);
  margin-bottom: 1rem;
  max-width: 720px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Article / Review page */
.page-header {
  padding: 3.5rem 0 2rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.article-page {
  padding: 3rem 0 4rem;
}

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.article-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 1rem;
}

.article-intro {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.75;
}

.article-page section {
  margin-bottom: 2.5rem;
}

.article-page h2 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  color: var(--color-text);
}

.article-page p {
  color: var(--color-muted);
  margin-bottom: 0.85rem;
}

.team-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.team-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.team-list strong {
  color: var(--color-text);
}

.feature-list {
  margin: 1rem 0 1.5rem 1.25rem;
  color: var(--color-muted);
}

.feature-list li {
  margin-bottom: 0.5rem;
}

.cta-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}

/* Contact */
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem;
}

.contact-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0;
}

.contact-list li {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.editorial-note {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 0 6px 6px 0;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--color-muted);
  margin-bottom: 0.85rem;
}

/* Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-inner p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }
}
