:root {
  --accent: #3df2c7;
  --text: #ffffff;
  --secondary: rgba(255, 255, 255, 0.66);
  --tertiary: rgba(255, 255, 255, 0.45);
  --card: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.10);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: #000; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(to bottom, rgba(61, 242, 199, 0.34) 0, rgba(61, 242, 199, 0.12) 280px, transparent 620px),
    #000;
  background-repeat: no-repeat;
}

/* Grain, fading out with the glow, like the app. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 620px;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}

main { position: relative; max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
nav .brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
nav .brand img { width: 32px; height: 32px; border-radius: 8px; }
nav .links { display: flex; gap: 18px; font-size: 15px; }
nav .links a { color: var(--secondary); }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 128px; height: 128px; border-radius: 29px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.hero h1 { font-size: clamp(40px, 9vw, 56px); line-height: 1.05; margin: 28px 0 12px; letter-spacing: -0.02em; }
.hero p { color: var(--secondary); font-size: 20px; max-width: 520px; margin: 0 auto; }

.badge {
  display: inline-block; margin-top: 28px; padding: 13px 24px; border-radius: 999px;
  background: #fff; color: #000; font-weight: 600;
}
.badge:hover { text-decoration: none; opacity: 0.9; }
.hero .note { color: var(--tertiary); font-size: 14px; margin-top: 10px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 56px; }
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: 22px; padding: 20px; }
.card h2 { font-size: 18px; margin: 0 0 6px; }
.card p { color: var(--secondary); margin: 0; font-size: 15px; }

.doc h1 { font-size: 36px; line-height: 1.15; margin: 0 0 6px; }
.doc .updated { color: var(--tertiary); margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--secondary); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 22px; }

footer {
  margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--stroke);
  color: var(--tertiary); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
}
footer a { color: var(--tertiary); }
