/* Dragon Minimal Onyx — Style 2 */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0e0f10;
  --bg-elevated: #161819;
  --bg-soft: #1c1e20;
  --border: #2a2d30;
  --border-accent: #3a5c48;
  --text: #e8ebe9;
  --text-muted: #9aa39d;
  --accent: #6fdb8c;
  --accent-soft: #4aad68;
  --accent-dim: rgba(111, 219, 140, 0.12);
  --max: 1080px;
  --header-h: 72px;
  --radius: 2px;
  --font: 'Manrope', system-ui, sans-serif;
}

*,
*::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.7;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #9aefb0;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

li::marker {
  color: var(--accent-soft);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 15, 16, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0a0c0b;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #85e6a0;
  color: #0a0c0b;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-accent);
}

.btn-ghost:hover {
  background: var(--accent-dim);
  color: #9aefb0;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.85rem;
}

.icon-mark {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  margin-top: 2rem;
}

.lead,
.section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

/* Hero */
.hero {
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, #121414 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero .lead {
  font-size: 1.05rem;
  max-width: 560px;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

/* Tables */
.table-scroll {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

thead {
  background: var(--bg-soft);
}

th,
td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: var(--text-muted);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

/* Flat panels (minimal, thin border — Style 2) */
.panel {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}

.panel-accent {
  border-color: var(--border-accent);
}

.panel-grid {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}

@media (min-width: 700px) {
  .panel-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .panel-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.panel h3 {
  margin-top: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.panel p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  margin-bottom: 0;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

/* Content image */
.content-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1.75rem 0;
  background: var(--bg-soft);
}

/* CTA band */
.cta-band {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid var(--border-accent);
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  max-width: 480px;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 720px;
}

.page-content {
  padding: 3.5rem 0 5rem;
}

.page-content .section-block {
  margin-bottom: 3rem;
}

.page-content .section-block:last-child {
  margin-bottom: 0;
}

.warn-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.warn-list li {
  padding: 0.75rem 0 0.75rem 1.35rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  position: relative;
  margin-bottom: 0;
}

.warn-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: #0b0c0d;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-brand img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-note {
  font-size: 0.8rem;
  color: #6b736e;
  line-height: 1.6;
  max-width: 640px;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.footer-note p {
  margin-bottom: 0.5rem;
  color: #6b736e;
}

/* Utility */
.text-accent {
  color: var(--accent);
}

.mt-2 {
  margin-top: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 640px) {
  .header-cta .btn-ghost {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .btn-lg {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
  }
}
