:root {
  --bg: #08111b;
  --panel: #101926;
  --panel-2: #0c1520;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.56);
  --faint: rgba(255, 255, 255, 0.34);
  --cyan: #29c4e8;
  --gold: #c9a96e;
  --danger: #f59f9f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(41, 196, 232, 0.09), transparent 28%),
    linear-gradient(180deg, #08111b 0%, #060b12 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--cyan);
}

.page {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  text-decoration: none;
}

.back:hover {
  color: var(--text);
}

.hero {
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(16, 25, 38, 0.76);
  backdrop-filter: blur(14px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hero p,
.section p,
.section li,
.meta,
td,
th {
  color: var(--muted);
  font-size: 15px;
}

.meta {
  margin-top: 14px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.section {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(16, 25, 38, 0.72);
}

.section ul {
  margin: 0;
  padding-left: 20px;
}

.section li + li {
  margin-top: 8px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

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

th {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.note {
  padding: 16px 18px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 18px;
  background: rgba(201, 169, 110, 0.08);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 13px;
}

.warning {
  color: var(--danger);
}

.app-links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  text-decoration: none;
  font-size: 14px;
}

.app-link.primary {
  background: var(--cyan);
  color: #07131b;
  font-weight: 700;
}

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

footer {
  margin-top: 24px;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 720px) {
  .page {
    padding: 20px 16px 56px;
  }

  .hero,
  .section {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .hero p,
  .section p,
  .section li,
  .meta,
  td,
  th {
    font-size: 14px;
  }

  .app-links {
    flex-direction: column;
  }
}
