/* Brackets' palette and type: see docs/brand.md. */

@font-face {
  font-family: 'Archivo';
  src: url("fonts/archivo.57ba47cca037.woff2") format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --purple: #7768ae;
  --tint: #faf4ff;
  --red: #ff5554;
  --blue: #4494dc;
  --gold: #e1bc29;
  --gold-edge: #a88a12;
  --ink: #1f1836;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--purple);
  color: var(--tint);
  font-family: 'Archivo', system-ui, sans-serif;
}

a {
  color: var(--tint);
}
a:hover {
  color: #ffffff;
}

.display {
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0.01em;
}

.label {
  font-weight: 800;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* The front page: one screen. */

.home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 48px 16px;
  text-align: center;
}

.icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  box-shadow: 0 12px 30px rgba(31, 24, 54, 0.3);
}

.wordmark {
  margin: 0;
  font-size: 96px;
}

.line {
  margin: 0;
  max-width: 420px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.now {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  border-radius: 16px;
  /* Equal red and blue stripes, top and bottom, like the open round's slab
     in the app: neither side gets more. */
  background: linear-gradient(
    var(--red) 0 8px,
    var(--ink) 8px calc(100% - 8px),
    var(--blue) calc(100% - 8px)
  );
}

.now .label {
  font-size: 14px;
  color: var(--gold);
}
.now .name {
  margin: 0;
  font-size: 44px;
  line-height: 0.9;
}
.now .state {
  font-size: 18px;
  font-weight: 700;
}

.cta {
  display: inline-block;
  padding: 18px 28px;
  border-radius: 16px;
  background: var(--gold);
  box-shadow: 0 6px 0 var(--gold-edge);
  color: var(--ink);
  font-size: 24px;
  text-decoration: none;
}

.cta:hover {
  background: #eac93c;
  color: var(--ink);
}

.links {
  display: flex;
  gap: 24px;
  font-size: 16px;
  font-weight: 700;
}

/* Privacy and support: a page of reading. */

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

.page header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.page header a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.page header img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.page header span {
  font-size: 34px;
}

.page h1 {
  margin: 0 0 12px;
  font-size: 72px;
}
.page .updated {
  margin: 0 0 40px;
  font-size: 16px;
  font-weight: 600;
}

.page h2 {
  margin: 48px 0 12px;
  font-size: 40px;
}

.page p,
.page li {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
}

.page ul {
  padding-left: 1.2em;
}
.page li + li {
  margin-top: 8px;
}
.page strong {
  font-weight: 800;
}

.page footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 2px solid rgba(250, 244, 255, 0.3);
}

@media (max-width: 480px) {
  .wordmark {
    font-size: 80px;
  }
  .page h1 {
    font-size: 56px;
  }
  .page h2 {
    font-size: 34px;
  }
}
