:root {
  --bg: #0f1115;
  --surface: #181c23;
  --surface-elevated: #222832;
  --border: #2d3542;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --primary: #f59e0b;
  --chord: #10b981;
  --scale: #38bdf8;
  --tension: #a855f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}

.brand img {
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #111827;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.92;
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
}

.app-stage {
  padding: 20px 0 12px;
}

.app-frame-wrap {
  background: var(--surface);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.app-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.app-iframe {
  display: block;
  width: 100%;
  height: min(82vh, 780px);
  min-height: 580px;
  border: 0;
  background: var(--bg);
}

.hero {
  padding: 24px 0 18px;
}

.hero-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), var(--surface));
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 14px;
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 14px;
  color: var(--text);
}

h3 {
  font-size: 1.15rem;
  margin: 22px 0 8px;
  color: var(--primary);
}

.lead {
  color: #d1d5db;
  font-size: 1.05rem;
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-logo-box {
  text-align: center;
  background: #121318;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.hero-logo-box img {
  max-width: 240px;
  width: 100%;
  height: auto;
}

section.article-section {
  padding: 26px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.mini-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.mini-card strong {
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th, td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--primary);
  background: var(--surface-elevated);
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .hero-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}
