body {
  background-color: #F5F5F5;
  color: rgba(0, 0, 0, 0.8);
  font-family: 'SF Pro Text', sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: none;
}

/* Text */

a {
  color: inherit;
}

p, h1, h2, h3, ol, li, img {
  margin-bottom: 16px;
}

h2 + h3,
p + h2,
p + h3,
ol + h2,
ol + h3,
ul + h2,
ul + h3,
form + h2,
form + h3 {
  margin-top: 24px;
}

p, li {
  line-height: 1.25;
}

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

h1, h2, h3, .title, .subtitle {
  font-family: 'SF Pro Display', sans-serif;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

ul, ol {
  margin-left: 24px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

.bold {
  font-weight: bold;
}

.subtitle {
  font-weight: lighter;
}

.error {
  color: #b71c1c;
}

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

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

.callout--muted {
  background-color: #607d8b;
}

/* Forms */

input, textarea, select {
  display: block;
}

input[type=text], 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;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  border: 2px solid #2d5999;
  font-size: inherit;
  font-family: 'SF Pro Display', sans-serif;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  background-color: #2d5999;
  cursor: pointer;
  transition: background-color 0.125s ease-in-out;
  -webkit-appearance: none;
}

.button:hover,
.button:focus {
  outline: none;
  background-color: #4771cc;
}

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

.button--light {
  border-color: rgba(255, 255, 255, 0.9);
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.1);
}

.button--light:hover,
.button--light:focus {
  background-color: rgba(255, 255, 255, 0.2);
}

.button--large {
  font-size: 24px;
}

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

.underline-on-hover {
  display: block;
  position: relative;
  padding: 8px 0;
  text-decoration: none;
}

.underline-on-hover:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 100%;
  border-bottom: 1px solid #f5f5f5;
  transform: scaleX(0);
  transition: transform 125ms ease-in-out;
}

.underline-on-hover:hover,
.underline-on-hover:focus {
  outline: none;
}

.underline-on-hover:hover:after,
.underline-on-hover:focus:after {
  transform: scaleX(1);
}

.muted-link {
  text-decoration: none;
}

.muted-link:hover,
.muted-link:focus {
  text-decoration: underline;
}

/* Layout */

.three-columns__column {
  padding-bottom: 16px;
}

.three-columns__column:after {
  content: '';
  display: block;
  height: 1px;
  width: 50%;
  margin-top: 16px;
  margin-left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.2);
}

.three-columns__column:last-child {
  padding-bottom: 0;
}

.three-columns__column:last-child:after {
  display: none;
}

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

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

.text-with-image__image {
  display: block;
  margin: 0 auto 16px auto;
  max-height: 160px;
  max-width: 256px;
}

.text-with-image__button {
  text-align: center;
}

/* Header */

.header {
  background-color: #000;
  color: rgba(255, 255, 255, 0.9);
}

.header__center {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 16px;
}

.header__title {
  margin-bottom: 8px;
}

.menu {
  width: 100%;
  font-size: 16px;
}

.menu__list {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  margin: 0;
  list-style: none;
}

.menu__list-item {
  margin: 0;
}

/* Main */

.main-section {
  position: relative;
  padding: 24px 16px 0 16px;
  box-sizing: border-box;
}

.main-section:after {
  content: '';
  display: block;
  height: 1px;
  width: 100%;
  margin-top: 16px;
  background-color: rgba(0, 0, 0, 0.2);
}

.main-section--splash {
  padding: 48px 16px;
  color: rgba(255, 255, 255, 0.9);
  background: radial-gradient(circle farthest-side at center bottom, #6286D2, #254E86 125%);
  text-align: center;
}

.main-section--splash:after {
  display: none;
}

.paypal-checkout-form__submit {
  display: none;
}

.package-options {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column-reverse;
  flex-direction: column-reverse;
  margin: 0;
}

.package-options__option {
  -webkit-flex: 1;
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 16px;
  list-style: none;
}

.package-options__option:first-child {
  margin-bottom: 0;
}

.package-options__name {
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 150%;
  color: rgba(255, 255, 255, 0.9);
}

.package-options__name--bronze {
  background-color: #8b7855;
}

.package-options__name--bronze-plus {
  background-color: #a57c42;
}

.package-options__name--silver {
  background-color: #bdc3c7;
}

.package-options__name--gold {
  background-color: #f1c40f;
}

.package-options__cost {
  margin: 32px 0;
}

.package-options__currency {
  vertical-align: super;
}

.package-options__price {
  font-size: 150%;
}

.package-options__features {
  padding: 0 8px;
  margin: 0;
}

.package-options__feature {
  margin-bottom: 16px;
  list-style: none;
}

.package-options__feature--excluded {
  color: #960107;
  text-decoration: line-through;
}

.package-options__buy {
  margin: 32px 0;
}

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

.contact-form__order-details {
  margin-bottom: 16px;
}

/* Footer */

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

.footer__text {
  margin: 0;
}

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

  .three-columns {
    display: flex;
  }

  .three-columns__column {
    position: relative;
    -webkit-flex: 1;
    flex: 1;
    padding: 0 8px;
    margin: 0;
  }

  .three-columns__column:after {
    position: absolute;
    top: 0;
    right: 0;
    height: 50%;
    width: 1px;
    margin-top: 0;
    margin-left: 32px;
    transform: translateY(50%);
  }

  .text-with-image {
    -webkit-display: flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-align-items: center;
    align-items: center;
  }

  .text-with-image--left {
    -webkit-flex-direction: row;
    flex-direction: row;
  }

  .text-with-image__image {
    margin: 0 0 0 16px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }

  .text-with-image--left .text-with-image__image {
    margin: 0 16px 0 0;
  }

  .text-with-image__button {
    text-align: left;
  }

  .header__center {
    -webkit-flex-direction: row;
    flex-direction: row;
  }

  .header__title {
    margin: 0;
  }

  .menu {
    width: auto;
  }

  .menu__list-item {
    margin-left: 32px;
  }

  .main-section {
    padding: 32px 16px 0 16px;
  }

  .main-section:after {
    margin-top: 32px;
  }

  .main-section--splash {
    padding: 48px 16px;
  }
}

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

  h1 {
    font-size: 36px;
  }

  .subtitle {
    font-size: 24px;
  }

  .text-with-image__image {
    margin: 0 0 0 32px;
  }

  .text-with-image--left .text-with-image__image {
    margin: 0 32px 0 0;
  }

  .header__center {
    padding: 16px 32px;
  }

  .main-section {
    padding: 48px 32px 0 32px;
  }

  .main-section:after {
    margin-top: 48px;
  }

  .main-section--splash {
    padding: 96px;
  }

  .main-section--splash .main-section__title {
    font-size: 36px;
  }

  .package-options {
    -webkit-flex-direction: row;
    flex-direction: row;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
  }

  .package-options__option {
    margin: 0;
    border-left: none;
  }
}

/* Fonts */

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

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

@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');
}