:root {
  --ground: #000000;
  --surface: #212225;
  --hairline: #34363b;
  --text: #ffffff;
  --text-2: #a7abb3;
  --cyan: #1ce2e5;
  --gold: #ffd24d;
  --orange: #ff6a2b;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* The cyan glow behind the top right corner, as on the store's feature graphic. */
.glow {
  position: absolute;
  top: -260px;
  right: max(-220px, calc(50vw - 660px));
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 226, 229, 0.2), rgba(28, 226, 229, 0) 65%);
  pointer-events: none;
  z-index: 0;
}
.top, main, .foot { position: relative; z-index: 1; }

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.top, main, .foot { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

.top { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px var(--hairline); }
.lang { color: var(--text-2); font-size: 15px; text-decoration: none; }
.lang:hover { color: var(--text); }

main { flex: 1; padding-bottom: 56px; }

/* Home: the icon beside the headline, like the feature graphic; stacked on a phone. */
.home .hero { display: flex; align-items: center; gap: 48px; padding: 72px 0 48px; }
.home .hero img { width: 168px; height: 168px; border-radius: 38px; box-shadow: 0 0 0 2px var(--hairline); flex: none; }
.home h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 800; }
.home .lede { font-size: 20px; color: var(--text-2); margin: 0; max-width: 30em; }
.dots { display: flex; gap: 8px; margin: 24px 0 28px; }
.dots span { height: 8px; width: 8px; border-radius: 4px; }
.dots span:first-child { width: 28px; background: var(--cyan); }
.dots span:nth-child(2) { background: var(--orange); }
.dots span:nth-child(3) { background: var(--gold); }
@media (max-width: 700px) {
  .home .hero { flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 40px; }
  .home .hero img { width: 96px; height: 96px; border-radius: 22px; }
}
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.badge.soon { color: var(--text-2); }
.list { list-style: none; padding: 0; margin: 40px 0 0; background: var(--surface); border-radius: 20px; overflow: hidden; }
.list li { padding: 18px 20px; border-top: 1px solid var(--hairline); }
.list li:first-child { border-top: 0; }
.list strong { display: block; font-size: 17px; }
.list span { color: var(--text-2); font-size: 15px; }

/* Documents */
.doc h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.01em; margin: 24px 0 12px; }
.doc .intro { color: var(--text-2); font-size: 19px; margin: 0 0 32px; }
.doc h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 8px; }
.doc h3 { font-size: 18px; margin: 24px 0 4px; }
.doc p, .doc li { color: #e4e6ea; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .card { background: var(--surface); border-radius: 16px; padding: 18px 20px; margin: 20px 0; }
.doc .card p { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hairline); }
.doc th { color: var(--text-2); font-weight: 600; }
.doc ol.steps { padding-left: 22px; }
.updated { color: var(--text-2); font-size: 14px; margin-top: 48px; }

.foot { border-top: 1px solid var(--hairline); padding-top: 24px; padding-bottom: 40px; color: var(--text-2); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: var(--text); }
.foot p { margin: 0; }
