/* Dragon Minimal Onyx — Style 2 */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0e1010;
  --bg-elevated: #161918;
  --bg-soft: #1a1e1c;
  --border: #2a322e;
  --border-accent: #3d5c4a;
  --text: #e8ebe9;
  --text-muted: #9aa39c;
  --accent: #5fbf7a;
  --accent-soft: #4a9a62;
  --accent-dim: rgba(95, 191, 122, 0.12);
  --white: #f5f7f6;
  --font: 'Manrope', system-ui, sans-serif;
  --max: 1120px;
  --space: clamp(3rem, 6vw, 5.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--white);
}

ul, ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 16, 16, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.header-cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0a0c0b;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-soft);
  color: #0a0c0b;
  border-color: var(--accent-soft);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-accent);
}

.btn-outline:hover {
  background: var(--accent-dim);
  color: var(--white);
  border-color: var(--accent);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

/* ——— Layout ——— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space) 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  max-width: 720px;
}

.section-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 0.2rem;
  color: var(--accent);
}

.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--white);
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.prose p {
  margin-bottom: 1.1rem;
  color: var(--text);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.85rem;
  letter-spacing: -0.02em;
}

.prose ul,
.prose ol {
  margin: 0.75rem 0 1.25rem;
  color: var(--text);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  width: 100%;
  min-height: clamp(340px, 48vw, 560px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(14, 16, 16, 0.72) 45%,
    rgba(14, 16, 16, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.5rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
  max-width: 640px;
  line-height: 1.4;
}

.hero-text {
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 1.75rem;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ——— Tables ——— */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: var(--bg-soft);
}

th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--accent-dim);
}

/* ——— Feature strip ——— */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.98rem;
}

/* ——— Media block ——— */
.media-block {
  margin: 2rem 0;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
}

.media-block img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

/* ——— FAQ ——— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.35rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--white);
  margin: 0 0 0.55rem;
  letter-spacing: -0.015em;
}

.faq-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* ——— CTA band ——— */
.cta-band {
  padding: var(--space) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.cta-band .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 640px;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.cta-band p {
  color: var(--text-muted);
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 0.85rem;
}

.page-hero .lead {
  margin-bottom: 0;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: #0a0c0b;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  display: block;
}

.footer-brand img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.footer-copy p {
  margin-bottom: 0.35rem;
}

/* ——— Animations ——— */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeUp 0.65s ease both;
}

.hero-content .hero-brand { animation-delay: 0.05s; }
.hero-content .hero-title { animation-delay: 0.15s; }
.hero-content .hero-text { animation-delay: 0.25s; }
.hero-content .hero-actions { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .hero-content > * {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ——— Responsive ——— */
@media (max-width: 640px) {
  .header-inner {
    padding: 0.75rem 1rem;
  }

  .logo img {
    height: 36px;
    max-width: 140px;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 300px;
  }

  .hero-content {
    padding: 1.75rem 0;
  }

  th, td {
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
  }
}
