:root {
  --bg: #0a0c10;
  --bg-raised: #12151c;
  --bg-next: #161a22;
  --line: #2a3140;
  --text: #f5f2ea;
  --text-dim: #c4c0b6;
  --text-mute: #8b93a3;
  --gold: #f0c75e;
  --gold-dim: #c9a445;
  --ink: #1a1406;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: var(--bg);
  font-family:
    'Segoe UI',
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.from-app-banner {
  margin: 0;
  padding: 8px 20px;
  text-align: center;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 8px;
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.top nav a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.top nav a:hover,
.top nav a:focus-visible {
  color: var(--gold);
  text-decoration: none;
}

.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.hero-logo {
  display: block;
  margin: 0 auto 24px;
  border-radius: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.lede {
  display: block;
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.4;
}

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

.hero .actions {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  outline: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  filter: brightness(1.05);
}

.btn.is-placeholder {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

.btn.is-placeholder:hover,
.btn.is-placeholder:focus-visible {
  background: var(--gold);
  color: var(--ink);
  filter: none;
}

main section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

h2 {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

section p,
section dd {
  color: var(--text-dim);
}

section p + p,
.file {
  margin-top: 12px;
}

.file code,
section code {
  color: var(--text);
  font-family: Consolas, 'Segoe UI Mono', ui-monospace, monospace;
  font-size: 0.95em;
}

.note {
  color: var(--text-mute);
  font-size: 14px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dl {
  display: grid;
  gap: 20px;
}

dt {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--text-mute);
  font-size: 14px;
}

.foot-brand {
  margin-top: 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

@media (max-width: 640px) {
  main section {
    scroll-margin-top: 120px;
  }

  .top {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
  }

  .top nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 48px;
  }

  .lede {
    font-size: 16px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
