:root {
  --red: #d90416;
  --red-dark: #9f0010;
  --white: #fff;
  --ink: #191919;
  --muted: #6d6d6d;
  --line: rgba(25, 25, 25, .12);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.24), transparent 28rem),
    radial-gradient(circle at 80% 88%, rgba(255,255,255,.18), transparent 22rem),
    linear-gradient(135deg, var(--red), var(--red-dark));
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(100%, 480px);
  padding: clamp(18px, 4vw, 28px);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .26);
  text-align: center;
}

.brand-header {
  display: grid;
  place-items: center;
  min-height: 172px;
  margin: 0 0 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 255, 255, .18), transparent 18rem),
    linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.brand-logo {
  display: block;
  width: min(330px, 72vw);
  height: auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: .95;
}

.hint,
.ios-note {
  color: var(--muted);
  line-height: 1.55;
}

.access-form {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  text-align: left;
}

label {
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 58px;
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: .22em;
  color: #111;
  background: #fff;
  text-align: center;
  outline: none;
}

input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 5px rgba(217, 4, 22, .14);
}

button,
.download {
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

button,
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.secondary {
  color: var(--red-dark);
  background: #fff1f2;
}

.message {
  min-height: 22px;
  margin: 0;
  color: var(--red-dark);
  font-weight: 800;
  text-align: center;
}

.downloads {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.downloads[hidden] {
  display: none;
}

.success {
  display: inline-grid;
  place-self: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: #0b6f2f;
  background: #e9f8ee;
  font-weight: 900;
}

@media (max-width: 430px) {
  .shell {
    padding: 14px;
  }

  .card {
    border-radius: 26px;
  }
}
