:root {
  --night: #080918;
  --ink: #0E1024;
  --card: #141629;
  --card-border: #1E2142;
  --frame: #2B2F5E;
  --violet: #8B7CF8;
  --violet-light: #A99DF9;
  --lilac: #C9A6FF;
  --gold: #F4C768;
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, .76);
  --text-body: rgba(255, 255, 255, .82);

  --font-body: 'Nunito', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-brand: 'Lobster', 'Brush Script MT', cursive;
}

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

body {
  margin: 0;
  background-color: var(--night);
  background-image: url(images/night-sky.webp);
  background-size: 3200px 3200px;
  background-repeat: repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
}

img { display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Brand wordmark */
.brand {
  font-family: var(--font-brand);
  font-weight: 400;
  color: var(--lilac);
  text-decoration: none;
}
.brand--lg { font-size: 30px; line-height: 36px; }
.brand--md { font-size: 22px; }
.brand--sm { font-size: 18px; line-height: 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--violet);
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { background: var(--violet-light); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--sm { min-height: 44px; padding: 0 22px; }

/* Text links */
.link { color: var(--violet-light); font-weight: 600; text-decoration: underline; }
.link:hover { color: var(--text); }
.link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Headings */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -1px;
  text-wrap: balance;
}
.display--xl { font-size: clamp(42px, 7vw, 72px); line-height: 1.08; }
.display--lg { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; }

.lead { margin: 0; font-size: 20px; line-height: 28px; color: var(--text-muted); }

/* Header */
.site-header {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__brand { display: flex; align-items: center; gap: 12px; }
.site-header__icon { width: 40px; height: 40px; border-radius: 9px; }

/* Hero */
.hero {
  padding-top: 48px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hero__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__copy .lead { max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__note { font-weight: 600; color: var(--violet-light); }
.hero__device { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }

/* Phone mockup */
.phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  padding: 10px;
  background: #05060F;
  border-radius: 56px;
  box-shadow: 0 0 0 2px var(--frame), 0 0 0 4px var(--ink), 0 30px 80px rgba(0, 0, 0, .6);
}
.phone__button { position: absolute; width: 4px; background: var(--frame); }
.phone__button--action { left: -6px; top: 96px; height: 28px; border-radius: 2px 0 0 2px; }
.phone__button--volume { left: -6px; top: 140px; height: 48px; border-radius: 2px 0 0 2px; }
.phone__button--side { right: -6px; top: 128px; height: 72px; border-radius: 0 2px 2px 0; }
.phone__screen { position: relative; border-radius: 46px; overflow: hidden; background: var(--night); }
.phone__screen img { width: 100%; height: auto; }
.phone__island {
  position: absolute;
  left: 50%;
  top: 1.3%;
  width: 31%;
  aspect-ratio: 126 / 37;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

/* Cards */
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: 24px; }

/* How it works */
.steps-section { padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step__number { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--gold); }
.step__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; }
.step__text { margin: 0; color: var(--text-muted); }

/* Closing CTA */
.closing {
  padding-top: 24px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.closing__icon { width: 104px; height: 104px; border-radius: 23px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.closing .lead { max-width: 28em; }

/* Footer */
.site-footer { background: var(--night); border-top: 1px solid var(--card-border); }
.site-footer__inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 18px;
  color: rgba(255, 255, 255, .7);
}
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-footer__links .link { font-size: 14px; line-height: 21px; }

/* Privacy policy */
.policy { max-width: 824px; margin: 0 auto; padding: 24px 24px 96px; }
.policy__article {
  padding: clamp(24px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  color: var(--text-body);
}
.policy__intro { display: flex; flex-direction: column; gap: 8px; }
.policy__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--text);
}
.policy__subtitle { font-size: 20px; line-height: 28px; color: rgba(255, 255, 255, .86); }
.policy__date { font-size: 12px; line-height: 17px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.policy__article p, .policy__article address { margin: 0; font-style: normal; }
.policy__article h2 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
  color: var(--text);
}
.policy__article h3 { margin: 8px 0 0; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--text); }
.policy__article ul { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
