body {
  background-color: #f8f8f8;
  color: #777;
  font-family: 'SF Pro Text', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  -webkit-text-size-adjust: none;
}

/* Text */

a {
  color: inherit;
}

h2, h3, .title {
  font-family: 'SF Pro Display', sans-serif;
  font-weight: bold;
  color: #2a2a2a;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

p, li, h2, h3, form {
  margin-bottom: 16px;
  line-height: 1.25;
}

:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0 0 16px 32px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

.subtitle {
  display: block;
  font-size: 12px;
}

.centered {
  text-align: center;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.small {
  font-size: 12px;
}

.error {
  color: #b71c1c;
}

.callout {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 2px;
  color: #fff;
}

.callout--success {
  background-color: #1b5e20;
}

.callout--muted {
  background-color: rgba(0, 0, 0, 0.5);
}

.hidden {
  display: none;
}

/* Forms */

input, textarea, select {
  display: block;
}

input[type=text], input[type=email], textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  font-size: inherit;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

label {
  display: block;
  margin-bottom: 16px;
}

label input,
label textarea,
label select {
  margin-top: 8px;
}

.button {
  display: block;
  padding: 4px 16px;
  border: 1px solid #07c;
  border-radius: 4px;
  background: linear-gradient(#42a1ec, #0070c9);
  color: #fff;
  font-size: inherit;
  text-align: center;
  cursor: pointer;
}

.button:hover {
  background: linear-gradient(#51a9ee, #147bcd);
  border-color: #1482d0;
}

.button:active {
  background: linear-gradient(#3d94d9, #0067b9);
  border-color: #006dbc;
}

.button[disabled] {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.button-link {
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Sections */

.header {
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16), 0 1px 2px rgba(0, 0, 0, 0.23);
  z-index: 1;
}

.header__top {
  display: flex;
  align-items: center;
  padding: 16px;
}

.header__center {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

.header__logo {
  display: block;
  height: 36px;
}

.header__toggle-menu {
  margin-left: auto;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.header__toggle-menu-icon {
  height: 30px;
  fill: #069;
}

.menu {
  height: 0;
  overflow: hidden;
  font-size: 14px;
  transition: height 0.2s ease-out;
  margin: 0;
  list-style: none;
}

.menu__item {
  margin: 0;
}

.menu__item-link {
  display: block;
  padding: 16px;
  color: #2a2a2a;
  text-decoration: none;
}

.menu__item-link:hover {
  color: #00aeff;
}

.menu__item-link:hover,
.menu__item-link--active {
  box-shadow: inset 2px 0 0 0 #00aeff
}

.main {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 70px 16px 0 16px;
}

.main__section {
  border-bottom: 1px solid #ccc;
  padding: 32px 0;
}

.splash__details {
  margin-bottom: 32px;
}

.splash__image {
  display: block;
  width: 50%;
  max-width: 256px;
  margin: 0 auto;
  filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.1));
}

.registration-form__input {
  margin-bottom: 4px;
}

.registration-form__buttons {
  display: flex;
  margin: 0 -8px;
}

.registration-form__button {
  flex: 1;
  margin: 0 8px;
}

.registration-form__payment-options {
  display: block;
  margin: 32px auto 0 auto;
}

.promos {
  margin: 0;
  list-style: none;
}

.promos__promo-link {
  display: block;
  box-sizing: border-box;
  height: 100%;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #2a2a2a;
  text-align: center;
  text-decoration: none;
}

.promos__promo-image {
  height: 50px;
}

.promos__promo-title {
  font-size: 20px;
}

.right-image__image {
  display: block;
  width: 192px;
  margin: 0 auto 32px auto;
}

.wide-image {
  display: block;
  width: 50%;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.registration-status__udid {
  word-break: break-all;
}

.footer {
  padding: 16px;
  font-size: 12px;
  text-align: center;
}

.footer__text {
  margin: 0;
}

.confirmed-points--refresh {
  animation: refresh 1s;
}

@keyframes refresh {
  from {
    color: #00aeff;
  }
  to {
    color: inherit;
  }
}

@media screen and (min-width: 480px) {

  h2 {
    font-size: 32px;
  }

  .header__top {
    padding: 16px 32px;
  }

  .header__logo {
    height: 48px;
  }

  .menu__item-link {
    padding: 16px 32px;
  }

  .main {
    padding: 80px 32px 0 32px;
  }
}

@media screen and (min-width: 720px) {

  .splash {
    display: flex;
    align-items: center;
  }

  .splash__details {
    text-align: center;
    padding: 0 16px;
  }

  .splash__image {
    flex-shrink: 0;
    padding: 0 16px;
  }

  .promos {
    display: flex;
    justify-content: stretch;
    margin: 0 -8px;
  }

  .promos__promo {
    flex: 1;
    margin: 0 8px;
  }

  .promos__promo-link {
    height: 100%;
  }
}

@media screen and (min-width: 960px) {

  .header__center {
    display: flex;
  }

  .header__nav {
    margin-left: auto;
    padding: 0 32px;
  }

  .header__toggle-menu {
    display: none;
  }

  .menu {
    display: flex;
    min-height: 100%;
    font-size: 14px;
  }

  .menu__item {
    margin: 0;
  }

  .menu__item-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    text-decoration: none;
    color: #2a2a2a;
    transition: color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
  }

  .menu__item-link:hover {
    color: #00aeff;
  }

  .menu__item-link:hover,
  .menu__item-link--active {
    box-shadow: inset 0 -2px 0 0 #00aeff
  }

  .splash__details {
    padding: 0 32px;
  }

  .splash__image {
    padding: 0 32px;
  }

  .promos {
    display: flex;
    justify-content: stretch;
    margin: 0 -16px;
  }

  .promos__promo {
    flex: 1;
    margin: 0 16px;
  }

  .right-image {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }

  .right-image__image {
    flex-shrink: 0;
    margin-left: 32px;
    margin-bottom: 0;
  }
}

/* Fonts */

@font-face {
  font-family: 'SF Pro Text';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/sf-pro-text_regular.woff');
}

@font-face {
  font-family: 'SF Pro Text';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/sf-pro-text_bold.woff');
}