:root {
  color-scheme: dark;
  --bg: #10151f;
  --surface: #172231;
  --surface-2: #203044;
  --line: #314257;
  --text: #f5f7fb;
  --muted: #c0cad8;
  --accent: #f2a93b;
  --accent-2: #5ed1c6;
  --danger: #ff7676;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  text-decoration: underline;
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -10rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  background: rgba(16, 21, 31, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  align-items: center;
  color: var(--text);
  display: flex;
  font-weight: 800;
  gap: 0.75rem;
  letter-spacing: 0;
}

.brand img {
  height: 42px;
  width: 40px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  padding: 0.4rem 0.7rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--line);
  color: var(--text);
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(1.25rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  min-height: calc(100vh - 76px);
  padding: clamp(2rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  min-height: 46px;
  padding: 0.72rem 1rem;
}

.button.primary {
  background: var(--accent);
  color: #111827;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.button:hover {
  text-decoration: none;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.notice,
.content-band,
.faq {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
}

.notice {
  background: #13202b;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.notice p,
.content-band p,
.site-footer p,
.faq p {
  color: var(--muted);
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.topic-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}

.topic-card p {
  min-height: 6rem;
}

.topic-card a {
  display: inline-block;
  font-weight: 800;
  margin-top: 1rem;
}

.split {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.checklist {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}

.checklist.warning {
  border-color: rgba(255, 118, 118, 0.55);
}

.checklist ul {
  color: var(--muted);
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.checklist li + li {
  margin-top: 0.55rem;
}

.coin-table-wrap {
  overflow-x: auto;
}

table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-2);
  color: var(--text);
}

td {
  color: var(--muted);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 0.8rem;
  padding: 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  background: #0b1018;
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1rem, 4vw, 3rem);
}

code {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--text);
  padding: 0.1rem 0.3rem;
}

.rating {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0;
}

.rating strong {
  color: var(--accent);
  font-size: 2rem;
}

.pros-cons {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.meta-row {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1rem;
}

@media (max-width: 850px) {
  .site-header,
  .hero,
  .split,
  .topic-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 100%;
  }

  .topic-card p {
    min-height: 0;
  }
}
