:root {
  color-scheme: dark;
  --bg: #020817;
  --bg-2: #061332;
  --ink: #f8fbff;
  --muted: #b6c1dc;
  --dim: #8390b3;
  --line: rgba(130, 160, 255, .24);
  --line-strong: rgba(116, 138, 255, .5);
  --panel: rgba(9, 24, 58, .72);
  --panel-strong: rgba(12, 30, 72, .86);
  --blue: #466dff;
  --violet: #7b5cff;
  --green: #7de66f;
  --shadow: 0 34px 100px rgba(0, 0, 0, .42);
  --glow: 0 0 55px rgba(74, 103, 255, .34);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 22%, rgba(75, 105, 255, .36), transparent 34rem),
    radial-gradient(circle at 18% 36%, rgba(17, 86, 255, .22), transparent 29rem),
    radial-gradient(circle at 52% 4%, rgba(132, 88, 255, .18), transparent 24rem),
    linear-gradient(180deg, #020714 0%, #04102a 44%, #020817 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .48;
  background-image:
    radial-gradient(circle, rgba(151, 129, 255, .9) 0 1px, transparent 1.6px),
    linear-gradient(120deg, transparent 0 30%, rgba(91, 116, 255, .08) 30.2% 30.4%, transparent 30.6%);
  background-size: 130px 130px, 100% 100%;
  mask-image: linear-gradient(180deg, #000 0, transparent 82%);
}

a { color: inherit; }
svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: 0 0 auto; }
.site-shell { position: relative; z-index: 1; max-width: 1480px; margin: 0 auto; }

.site-header {
  height: 94px;
  padding: 0 clamp(24px, 4vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(94, 74, 255, .12));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 44px rgba(73, 88, 255, .18);
}

.brand img,
.brand-mark img {
  width: 44px;
  height: 44px;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: #fff;
  font-weight: 750;
}

nav a {
  text-decoration: none;
  color: rgba(255,255,255,.9);
  transition: color .18s ease, transform .18s ease;
}

nav a:hover { color: #fff; transform: translateY(-1px); }
nav a[aria-current="page"] { color: #fff; }

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 23px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(128, 102, 255, .95), rgba(59, 88, 210, .9));
  border: 1px solid rgba(191, 197, 255, .35);
  box-shadow: 0 14px 38px rgba(72, 83, 255, .25), inset 0 1px 0 rgba(255,255,255,.22);
}

.hero {
  min-height: 840px;
  padding: 94px clamp(28px, 5vw, 52px) 72px;
  display: grid;
  grid-template-columns: minmax(320px, 610px) minmax(420px, 710px);
  gap: clamp(56px, 8vw, 104px);
  align-items: center;
}

.hero-copy { max-width: 610px; }
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #9ba8ff;
  text-transform: none;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: .01em;
}

.eyebrow {
  padding: 10px 17px;
  border: 1px solid rgba(145, 124, 255, .3);
  border-radius: 999px;
  background: rgba(106, 90, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

h1,
h2,
h3,
p { letter-spacing: 0; }

h1 {
  margin: 46px 0 28px;
  font-size: clamp(54px, 6.3vw, 86px);
  line-height: 1.03;
  font-weight: 880;
  text-wrap: balance;
}

.lede,
.privacy-panel p,
.policy-hero p,
.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.58;
}

.lede {
  margin: 0;
  max-width: 590px;
  font-size: clamp(20px, 2vw, 26px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 52px;
}

.button {
  min-height: 70px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid rgba(111, 139, 255, .4);
  color: #fff;
  background: rgba(7, 21, 54, .58);
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.24);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(162, 176, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 60px rgba(64, 83, 255, .22);
}

.button.primary {
  background: linear-gradient(145deg, #6b5dff, #1558ff);
  border-color: rgba(182, 192, 255, .42);
}

.trust-row {
  margin-top: 62px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: rgba(255,255,255,.9);
  font-weight: 750;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 28px;
  border-right: 1px solid rgba(156, 177, 255, .25);
}

.trust-row span:first-child { padding-left: 0; }
.trust-row span:last-child { border-right: 0; }
.trust-row svg { color: #fff; width: 26px; height: 26px; }

.vault-preview {
  position: relative;
  border: 2px solid rgba(99, 135, 255, .72);
  border-radius: 36px;
  padding: 52px 40px 34px;
  background:
    linear-gradient(145deg, rgba(15, 36, 82, .84), rgba(6, 18, 46, .92)),
    radial-gradient(circle at 80% 0, rgba(117, 86, 255, .34), transparent 40%);
  box-shadow: var(--shadow), var(--glow), inset 0 1px 0 rgba(255,255,255,.12);
  overflow: hidden;
}

.vault-preview::before {
  content: "";
  position: absolute;
  inset: -35% -18% auto auto;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(117, 100, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(64, 88, 255, .05), 0 0 0 140px rgba(64, 88, 255, .035);
}

.preview-glow {
  position: absolute;
  inset: auto -80px -120px 25%;
  height: 270px;
  background: radial-gradient(circle, rgba(45, 92, 255, .5), transparent 68%);
  filter: blur(18px);
}

.preview-head,
.vault-item,
.chart-card {
  position: relative;
  z-index: 1;
}

.preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.preview-head span {
  display: block;
  color: var(--muted);
  font-size: 22px;
}

.preview-head strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(54px, 5vw, 70px);
  line-height: 1;
}

.live-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  padding: 15px 20px;
  border: 1px solid rgba(131, 230, 111, .18);
  border-radius: 999px;
  background: rgba(125, 230, 111, .09);
  color: #fff !important;
  font-size: 18px !important;
}

.live-pill i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px rgba(125, 230, 111, .7);
}

.vault-item {
  min-height: 114px;
  display: grid;
  grid-template-columns: 84px 1fr 18px;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  padding: 16px 24px;
  border: 1px solid rgba(135, 163, 255, .18);
  border-radius: 20px;
  background: rgba(10, 27, 66, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.vault-item img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 14px 26px rgba(0,0,0,.24);
}

.vault-item b {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(18px, 1.7vw, 25px);
}

.vault-item span {
  font-size: 18px;
  color: #a98cff;
}

.vault-item .unlocked { color: var(--green); }
.vault-item em {
  width: 14px;
  height: 14px;
  border-top: 2px solid rgba(255,255,255,.8);
  border-right: 2px solid rgba(255,255,255,.8);
  transform: rotate(45deg);
}

.chart-card {
  margin-top: 24px;
  min-height: 220px;
  padding: 26px 28px 24px;
  border: 1px solid rgba(135, 163, 255, .2);
  border-radius: 18px;
  background: rgba(6, 19, 50, .7);
}

.chart-card svg {
  position: absolute;
  left: 70px;
  right: 34px;
  bottom: 28px;
  width: calc(100% - 104px);
  height: 138px;
}

.chart-card .fill { fill: url(#chartFill); }
.chart-card .line {
  fill: none;
  stroke: #7b5cff;
  stroke-width: 4;
  filter: drop-shadow(0 0 12px rgba(123, 92, 255, .7));
}

.chart-card strong {
  position: absolute;
  right: 28px;
  top: 56px;
  padding: 8px 12px;
  border: 1px solid rgba(157, 139, 255, .55);
  border-radius: 10px;
  background: rgba(91, 76, 222, .45);
}

.chart-axis {
  position: absolute;
  left: 26px;
  top: 26px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.section {
  border-top: 1px solid rgba(118, 145, 255, .16);
  padding: 82px clamp(28px, 5vw, 76px) 46px;
  text-align: center;
}

.section-kicker {
  color: #86a2ff;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.section h2 {
  max-width: 980px;
  margin: 24px auto 52px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.14;
}

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

.feature-grid article,
.policy-card,
.privacy-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(13, 32, 78, .76), rgba(4, 15, 39, .82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 70px rgba(0,0,0,.2);
}

.feature-grid article {
  min-height: 405px;
  padding: 42px 44px 38px;
  border-radius: 20px;
  text-align: left;
}

.feature-icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #dfe8ff;
  background: linear-gradient(145deg, #705bff, #1c57d8);
  box-shadow: 0 18px 44px rgba(78, 92, 255, .3);
}

.feature-icon svg { width: 52px; height: 52px; }
.feature-icon.purple { background: linear-gradient(145deg, #a167ff, #5b42d8); }
.feature-icon.blue { background: linear-gradient(145deg, #7195ff, #2350c7); }

.feature-grid h3 {
  margin: 36px 0 14px;
  font-size: 28px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.privacy-panel {
  position: relative;
  margin: 44px clamp(28px, 5vw, 42px) 64px;
  min-height: 460px;
  padding: clamp(42px, 5vw, 66px);
  display: grid;
  grid-template-columns: minmax(300px, 590px) 1fr;
  gap: 56px;
  align-items: center;
  border-radius: 26px;
  overflow: hidden;
}

.privacy-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  background:
    radial-gradient(circle at 50% 48%, rgba(119, 86, 255, .34), transparent 28%),
    radial-gradient(circle at 66% 40%, rgba(72, 105, 255, .18), transparent 40%);
  opacity: .96;
}

.privacy-panel h2 {
  margin: 24px 0 24px;
  font-size: clamp(40px, 4.2vw, 56px);
  line-height: 1.1;
}

.privacy-panel p {
  margin: 0 0 42px;
  font-size: 22px;
}

.shield-orbit {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.shield-orbit span {
  position: absolute;
  border: 1px solid rgba(125, 92, 255, .42);
  border-radius: 50%;
}

.shield-orbit span:nth-child(1) { width: 250px; height: 250px; }
.shield-orbit span:nth-child(2) { width: 330px; height: 330px; }
.shield-orbit span:nth-child(3) { width: 410px; height: 410px; }

.shield {
  position: relative;
  width: 184px;
  height: 218px;
  border-radius: 34px 34px 72px 72px;
  background: linear-gradient(160deg, #8c7bff, #18327a 58%, #071a4b);
  clip-path: polygon(50% 0, 92% 16%, 84% 78%, 50% 100%, 16% 78%, 8% 16%);
  box-shadow: 0 26px 58px rgba(36, 61, 210, .36), inset 0 2px 8px rgba(255,255,255,.35);
}

.shield::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 24px 24px 50px 50px;
  background: linear-gradient(160deg, #101f5b, #061339);
  clip-path: inherit;
}

.shield::after {
  content: "";
  position: absolute;
  left: 68px;
  top: 72px;
  width: 48px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(145deg, #c9c2ff, #7766f6);
  box-shadow: 0 -28px 0 -16px transparent, 0 0 0 1px rgba(255,255,255,.28);
}

.policy-page {
  padding: 58px clamp(26px, 5vw, 76px) 76px;
}

.policy-hero {
  max-width: 900px;
  margin: 64px auto 44px;
  text-align: center;
}

.policy-hero h1 {
  margin: 30px 0 18px;
  font-size: clamp(54px, 7vw, 86px);
}

.policy-hero p {
  margin: 0;
  font-size: 20px;
}

.policy-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.policy-card {
  border-radius: 22px;
  padding: 34px;
}

.policy-card.span-2 { grid-column: span 2; }
.policy-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.policy-card p,
.policy-card li {
  font-size: 18px;
}

.policy-card p { margin: 0; }
.policy-card ul {
  margin: 0;
  padding-left: 22px;
}

.policy-card a {
  color: #aeb9ff;
  font-weight: 800;
  text-decoration: none;
}

.policy-card a:hover { text-decoration: underline; }

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

  .hero {
    min-height: 0;
    padding-top: 54px;
  }

  .vault-preview { max-width: 720px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
  .privacy-panel::before { width: 100%; opacity: .45; }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
    padding-top: 22px;
    padding-bottom: 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    gap: 14px;
    flex-wrap: wrap;
  }

  .github-link { padding: 10px 16px; }
  .hero { padding-inline: 22px; }
  h1 { font-size: 48px; }
  .actions { margin-top: 34px; }
  .button { width: 100%; min-height: 58px; }
  .trust-row { margin-top: 36px; display: grid; gap: 14px; }
  .trust-row span { border-right: 0; padding: 0; }
  .vault-preview { padding: 30px 20px; border-radius: 24px; }
  .preview-head { flex-direction: column; margin-bottom: 24px; }
  .vault-item {
    grid-template-columns: 58px 1fr;
    padding: 14px;
  }
  .vault-item img { width: 54px; height: 54px; }
  .vault-item em { display: none; }
  .chart-card { min-height: 180px; }
  .feature-grid article { padding: 30px; }
  .privacy-panel { margin-inline: 20px; padding: 30px; }
  .shield-orbit { min-height: 260px; transform: scale(.72); }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-card.span-2 { grid-column: auto; }
  .policy-page { padding-inline: 18px; }
  .policy-grid { width: 100%; max-width: 100%; }
  .policy-card { padding: 26px 22px; overflow-wrap: anywhere; }
}
