:root {
  --bg: #051926;
  --bg-2: #0c2340;
  --bg-3: #112d50;
  --panel: rgba(10, 20, 35, 0.82);
  --panel-soft: rgba(18, 35, 58, 0.96);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(141, 184, 255, 0.2);
  --primary: #6db7ff;
  --primary-strong: #4c9dff;
  --primary-soft: #eaf5ff;
  --cyan: #68f0df;
  --text: #edf7ff;
  --muted: #bfd4ef;
  --success: #8ee7c4;
  --shadow: rgba(4, 15, 27, 0.58);
  --shadow-soft: rgba(84, 139, 255, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(108, 188, 255, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(88, 241, 220, 0.12), transparent 22%),
    linear-gradient(180deg, #051822 0%, #0b1e35 38%, #0b1f3b 100%);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 18, 31, 0.66);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand-logo {
  display: block;
  width: 110px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(122, 174, 255, 0.25));
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #8ec5ff, #dfeeff);
  color: #071b33;
  box-shadow: 0 10px 24px rgba(125, 170, 255, 0.38);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible { color: var(--text); }

.nav-button {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.hero {
  padding: 68px 0 40px;
}

.app-shell {
  background: linear-gradient(180deg, rgba(9, 24, 39, 0.96), rgba(13, 31, 53, 0.93));
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 30px 90px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 8px 13px;
  background: rgba(103, 183, 255, 0.08);
  color: var(--primary-soft);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0 0 18px;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  letter-spacing: -0.06em;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--primary), #d8f0ff);
  color: #061c35;
  box-shadow: 0 18px 28px rgba(103, 183, 255, 0.32);
}

.button.secondary {
  background: rgba(255,255,255,0.02);
  border-color: var(--line);
  color: var(--text);
}

.feature-panel {
  background: linear-gradient(180deg, rgba(103, 183, 255, 0.12), rgba(15, 30, 52, 0.8));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 36px rgba(4, 12, 21, 0.28);
}

.app-dashboard-card {
  background: linear-gradient(180deg, rgba(9, 25, 38, 0.92), rgba(17, 32, 55, 0.96));
  border: 1px solid rgba(156, 201, 255, 0.18);
  border-radius: 20px;
  padding: 16px 16px 12px;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(109, 183, 255, 0.18);
  color: var(--primary-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  color: var(--success);
  background: rgba(126, 230, 188, 0.08);
  border: 1px solid rgba(126, 230, 188, 0.2);
}

.brand-stack {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 14px;
}

.mini-brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  padding: 6px;
}

.brand-stack strong,
.brand-stack small {
  display: block;
}

.brand-stack strong {
  font-size: 1.05rem;
}

.brand-stack small {
  color: var(--muted);
}

.security-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 14px;
}

.security-strip > div {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(145, 188, 255, 0.16);
  border-radius: 14px;
  padding: 10px 12px;
}

.security-strip strong,
.security-strip span {
  display: block;
}

.security-strip strong {
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.security-strip span {
  color: var(--muted);
  font-size: 0.72rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.7rem;
  background: rgba(109, 183, 255, 0.08);
  border: 1px solid rgba(109, 183, 255, 0.16);
  color: var(--primary-soft);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.metric strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.metric span { color: var(--muted); }

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

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(2rem, 2vw, 3rem);
  letter-spacing: -0.04em;
}

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

.card {
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.94), rgba(14, 30, 50, 0.85));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 18px 38px rgba(3, 11, 20, 0.16), inset 0 1px 0 rgba(255,255,255,0.05);
}

.card .index {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--primary-soft);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card p,
.text-content p,
.text-content li,
.legal-body p,
.legal-body li {
  color: var(--muted);
}

.card a {
  color: var(--primary-soft);
  font-weight: 700;
}

.page-shell {
  padding: 56px 0 80px;
}

.legal-wrap {
  background: rgba(12, 25, 44, 0.88);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
}

.legal-hero {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.legal-hero h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  margin-bottom: 10px;
}

.legal-body {
  padding: 30px 32px 36px;
}

.legal-body section {
  margin-bottom: 28px;
}

.legal-body h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.legal-body h3 {
  font-size: 1.1rem;
  margin: 16px 0 8px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 22px;
  margin: 10px 0;
}

.note {
  border: 1px solid var(--line);
  background: rgba(103, 183, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--primary-soft);
}

.related-box {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related-divider {
  color: var(--muted);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.related-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.related-list li + li {
  margin-top: 10px;
}

.related-list a {
  color: var(--primary-soft);
}

.help-feedback {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
}

.help-feedback p {
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--text);
}

.reaction-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.reaction-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.reaction-button:hover,
.reaction-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(103, 183, 255, 0.6);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }
}

@media (max-width: 560px) {
  .app-shell,
  .legal-hero,
  .legal-body { padding-left: 18px; padding-right: 18px; }
  .section-head { display: block; }
  h1 { font-size: 2.3rem; }
}
