:root {
  --bg: #07111f;
  --bg-elevated: rgba(15, 23, 42, 0.78);
  --line: rgba(148, 163, 184, 0.2);
  --text: #e5eefb;
  --muted: #94a3b8;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --card: rgba(15, 23, 42, 0.55);
  --shadow: 0 16px 60px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.12), transparent 22%),
    linear-gradient(180deg, #0b1220 0%, #07111f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.15));
}

.page-shell,
.legal-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 24px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #062033;
  box-shadow: var(--shadow);
}

.brand-text {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: stretch;
  padding: 52px 0 40px;
}

.hero-copy,
.hero-panel,
.legal-shell {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 64ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.status-card,
.panel-card,
.panel-note {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.status-card {
  margin-top: 28px;
  padding: 20px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.status-label,
.panel-title {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-value,
.panel-note p,
.legal-note,
.legal-section p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #062033;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(15, 23, 42, 0.45);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.panel-card,
.panel-note {
  border-radius: 22px;
  padding: 22px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-strong);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 32px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-footer p,
.site-footer nav {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a,
.back-link {
  color: var(--text);
  text-decoration: none;
}

.legal-shell {
  padding: 36px 0 48px;
}

.legal-shell h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 18px 0 12px;
}

.legal-note {
  color: var(--muted);
  margin-bottom: 28px;
}

.legal-section {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.42);
  border-radius: 18px;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.back-link {
  display: inline-block;
  color: var(--accent);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .status-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .page-shell,
  .legal-shell {
    width: min(100% - 20px, 1120px);
  }

  .button {
    width: 100%;
  }
}
