/* The Satoshi Key promo site
   Simple, vibrant, responsive. No frameworks required. */

:root {
  --bg: #070a12;
  --panel: rgba(255, 255, 255, .06);
  --panel-strong: rgba(255, 255, 255, .10);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .72);
  --faint: rgba(255, 255, 255, .55);

  --cyan: #2de2ff;
  --gold: #f6c35c;
  --violet: #7c5cff;
  --lime: #79ff9f;

  --ring: rgba(45, 226, 255, .35);
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --radius: 18px;

  --wrap: 1120px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 20% 10%, rgba(124, 92, 255, .25), transparent 55%),
    radial-gradient(900px 600px at 80% 0%, rgba(45, 226, 255, .22), transparent 55%),
    radial-gradient(900px 700px at 70% 90%, rgba(246, 195, 92, .18), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none
}

a:hover {
  opacity: .92
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  top: 16px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(7, 10, 18, .84), rgba(7, 10, 18, .45));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: .2px;
}

.brand.small {
  font-weight: 700
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: conic-gradient(from 210deg, var(--cyan), var(--violet), var(--gold), var(--cyan));
  box-shadow: 0 0 0 6px rgba(45, 226, 255, .09), 0 0 28px rgba(45, 226, 255, .25);
}

.brand-text {
  white-space: nowrap
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.nav-cta {
  color: #0b0f1a !important;
  background: linear-gradient(135deg, var(--gold), #ffe2a6);
  border-color: rgba(0, 0, 0, .0) !important;
  box-shadow: 0 10px 24px rgba(246, 195, 92, .18);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}

.nav-toggle-lines {
  display: block;
  width: 22px;
  height: 14px;
  position: relative;
}

.nav-toggle-lines:before,
.nav-toggle-lines:after,
.nav-toggle-lines span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, .82);
  border-radius: 2px;
}

.nav-toggle-lines:before {
  top: 0
}

.nav-toggle-lines:after {
  bottom: 0
}

.nav-toggle-lines span {
  top: 6px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  position: relative;
  padding: 66px 0 34px;
}

.hero-bg {
  position: absolute;
  inset: -1px 0 auto 0;
  height: 520px;
  background:
    radial-gradient(800px 400px at 20% 30%, rgba(45, 226, 255, .18), transparent 65%),
    radial-gradient(700px 420px at 70% 40%, rgba(246, 195, 92, .14), transparent 65%),
    radial-gradient(650px 420px at 55% 70%, rgba(124, 92, 255, .12), transparent 62%);
  pointer-events: none;
  filter: saturate(1.15);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  border-radius: 999px;
  color: var(--muted);
  margin: 0 0 14px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -.8px;
}

.subhead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  max-width: 56ch;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 22px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .22)
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring)
}

.btn.primary {
  color: #0b0f1a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), #a8f3ff);
  box-shadow: 0 14px 36px rgba(45, 226, 255, .16);
}

.btn.secondary {
  color: #0b0f1a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), #ffe2a6);
  box-shadow: 0 14px 36px rgba(246, 195, 92, .14);
}

.btn.ghost {
  background: rgba(255, 255, 255, .03);
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
}

.meta-card {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow);
}

.meta-label {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase
}

.meta-value {
  font-weight: 700;
  margin-top: 4px
}

.hero-cover {
  position: relative
}

.cover-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .03);
  box-shadow: var(--shadow);
}

.cover-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.cover-glow {
  position: absolute;
  inset: auto -12px -22px -12px;
  height: 60%;
  background: radial-gradient(400px 220px at 50% 70%, rgba(45, 226, 255, .22), transparent 65%),
    radial-gradient(420px 260px at 55% 60%, rgba(246, 195, 92, .18), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.micro-copy {
  margin-top: 12px
}

.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--cyan));
  box-shadow: 0 0 0 6px rgba(45, 226, 255, .10);
}

.section {
  padding: 64px 0
}

.section.alt {
  background: linear-gradient(to bottom, rgba(255, 255, 255, .03), rgba(255, 255, 255, .00));
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.section h2 {
  margin: 0 0 12px;
  font-size: 34px;
  letter-spacing: -.3px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
}

.fineprint {
  color: var(--faint);
  font-size: 13px
}

.muted {
  color: var(--muted)
}

.small {
  font-size: 14px
}

.quote-card {
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
  position: relative;
}

.quote-mark {
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 64px;
  color: rgba(45, 226, 255, .26);
  line-height: 1;
}

blockquote {
  margin: 14px 0 10px;
  color: var(--text);
  font-size: 16px;
}

.quote-attrib {
  color: var(--faint);
  font-size: 13px
}

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

.card {
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px
}

.card p {
  margin: 0;
  color: var(--muted)
}

.excerpt {
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(45, 226, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(45, 226, 255, .18);
  box-shadow: var(--shadow);
}

.excerpt p {
  margin: 0
}

.list-card {
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow);
}

.list-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted)
}

.list-card li {
  margin: 6px 0
}

.section.cta {
  padding: 66px 0 70px;
  background:
    radial-gradient(900px 420px at 15% 30%, rgba(45, 226, 255, .12), transparent 60%),
    radial-gradient(900px 420px at 85% 40%, rgba(246, 195, 92, .10), transparent 60%),
    linear-gradient(to top, rgba(255, 255, 255, .03), rgba(255, 255, 255, .00));
  border-top: 1px solid rgba(255, 255, 255, .06);
}

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

.signup {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow);
}

.signup-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap
}

.signup input {
  flex: 1 1 220px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
}

.signup input:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring)
}

.footer {
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .14);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.footer-right {
  display: flex;
  gap: 14px;
  color: var(--muted)
}

.footer-right a {
  padding: 8px 10px;
  border-radius: 999px
}

.footer-right a:hover {
  background: rgba(255, 255, 255, .04)
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow);
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

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

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

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex
  }

  .nav-links {
    position: absolute;
    right: 20px;
    top: 62px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(7, 10, 18, .92);
    box-shadow: var(--shadow);
    min-width: 210px;
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    width: 100%
  }

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

  .footer-inner {
    flex-direction: column
  }
}

.excerpt p {
  margin-bottom: 1.4em;
}

.excerpt {
  text-align: center;
}

.buy-center {
  text-align: center;
}

.buy-center .cta-row {
  justify-content: center;
}

.buy-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* was center */
  gap: 48px;
  width: 100%;
}

.buy-text {
  flex: 1;
  max-width: 700px;
  /* adjust to taste */
}

.buy-text h2,
.buy-text p {
  text-align: center;
}

.buy-text .cta-row {
  justify-content: center;
}

.buy-cover img {
  max-width: 220px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}