@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg-top: #07101f;
  --bg-bottom: #0d1f3b;
  --panel: rgba(9, 22, 43, 0.84);
  --panel-strong: rgba(12, 28, 53, 0.94);
  --ink: #edf4ff;
  --muted: #95a8c7;
  --line: rgba(146, 172, 214, 0.18);
  --accent: #4c8dff;
  --accent-strong: #79a8ff;
  --shadow: 0 28px 80px rgba(2, 8, 20, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(76, 141, 255, 0.22), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(33, 110, 255, 0.14), transparent 26%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav,
.footer-links,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a,
.footer a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover,
.footer a:hover {
  color: var(--ink);
}

.hero,
.note,
.legal-card,
.feature-panel,
.how {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero {
  margin-top: 24px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(76, 141, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-copy {
  display: grid;
  align-content: center;
}

.hero-visual {
  position: relative;
  min-height: 340px;
}

.hero-visual-panel {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 31, 58, 0.82);
  box-shadow: var(--shadow);
}

.hero-visual-panel-primary {
  inset: 12px 0 12px 0;
  padding: 24px;
}

.hero-dashboard {
  display: grid;
  gap: 16px;
}

.dashboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(121, 168, 255, 0.18);
  border-radius: 999px;
  background: rgba(76, 141, 255, 0.08);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.dashboard-card {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(121, 168, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(76, 141, 255, 0.08), rgba(76, 141, 255, 0.03));
}

.dashboard-card-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-card strong {
  font-size: 1rem;
  line-height: 1.35;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h2 {
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.lede,
.card p,
.note p,
.legal-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.lede {
  max-width: 34rem;
  margin: 20px 0 0;
}

.hero-actions {
  margin-top: 28px;
}

.hero-support {
  margin: 18px 0 0;
  max-width: 32rem;
  color: rgba(237, 244, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #eff5ff;
  box-shadow: 0 14px 34px rgba(76, 141, 255, 0.24);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--ink);
}

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

.stack {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.feature-panel {
  padding: 34px;
  background: linear-gradient(180deg, rgba(10, 24, 45, 0.94), rgba(12, 29, 54, 0.92));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
}

.feature-copy {
  max-width: 62ch;
}

.feature-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.feature-art {
  width: 100%;
}

.feature-art svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.feature-art rect,
.feature-art path,
.feature-art circle {
  fill: rgba(76, 141, 255, 0.08);
  stroke: rgba(121, 168, 255, 0.72);
  stroke-width: 2;
}

.how {
  margin-top: 20px;
  padding: 34px;
}

.how-copy {
  max-width: 54ch;
}

.how-copy p:last-child {
  color: var(--muted);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(11, 27, 49, 0.72);
}

.step-number {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.step h3 {
  margin: 0;
  font-size: 1.05rem;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(11, 27, 49, 0.8);
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(121, 168, 255, 0.18);
  border-radius: 14px;
  background: rgba(76, 141, 255, 0.1);
  color: var(--accent-strong);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h2,
.note h2,
.legal-card h2 {
  margin-bottom: 10px;
}

.card-header h2 {
  margin: 0;
}

.note {
  margin-top: 20px;
  padding: 28px;
}

.legal-page {
  margin-top: 24px;
}

.legal-page h1,
.legal-page .lede {
  max-width: none;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

.legal-card {
  margin-top: 20px;
  padding: 36px;
}

.legal-card p + h2 {
  margin-top: 22px;
}

.footer {
  margin-top: 24px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.45rem;
  background: rgba(76, 141, 255, 0.14);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 0.95em;
}

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

  .hero-visual {
    min-height: 280px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

  .how-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 36px 26px;
    gap: 28px;
  }

  .feature-panel,
  .how,
  .legal-card {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(1240px, calc(100% - 20px));
    padding-top: 12px;
  }

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

  h1 {
    max-width: none;
  }

}
