/*
 * Rebuilt 1:1 from https://bg.nt.contenttake.com/landing/ (step 1) and
 * /landing-a1/, /landing-other/ (step 2). Rules copied from the vendor's
 * bg_bringboost_sms/css/content_take.css, keeping only what these pages use.
 * logon_hub.css / bring_boost.css are also loaded there but none of their
 * rules match these pages; main.css is entirely commented out.
 */

/* ---------- reset (Eric Meyer v2.0) ---------- */

html, body, div, span, p, a, img, ul, li, footer, header, main {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

footer, header, main {
  display: block;
}

body {
  line-height: 1;
}

ul {
  list-style: none;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

/* ---------- general ---------- */

body.content_take {
  --bg-color: #3d06d5;
  --text-color: #fff;
  --main-color: #f79539;
  --main-font: "Asap", sans-serif;

  color: var(--text-color);
  font-family: var(--main-font);
  font-size: 12px;
}

body.content_take p {
  font-size: 12px;
  font-weight: 500;
  line-height: 140%;
  margin: 0 0 25px;
}

body.content_take a {
  color: var(--main-color);
  text-decoration: underline;
}

body.content_take .main {
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 15px;
  position: relative;
}

.page {
  flex: 1;
}

/* Step-2 pages wrap the content in .Page (A1) / .inner (other), which match no
   rule: the content does not grow and the footer follows it directly. */
body[data-step="sms"] .page {
  flex: 0 1 auto;
}

/* ---------- header ---------- */

body.content_take .header {
  text-align: center;
  padding: 20px 15px 20px;
}

body.content_take .header .header__logo {
  background: url("../images/logo.webp") center no-repeat;
  background-size: contain;
  display: block;
  width: 253px;
  height: 40px;
  margin: auto;
}

/* ---------- hero ---------- */

body.content_take .hero {
  position: relative;
}

body.content_take .hero .hero__image {
  position: relative;
  text-align: center;
}

body.content_take .hero .hero__image img {
  box-sizing: border-box;
  max-width: 100%;
  margin: auto auto 20px !important;
  position: relative;
  z-index: 2;
}

/* ---------- option ---------- */

body.content_take .option {
  max-width: 320px;
  margin: auto;
}

body.content_take .option .option__title {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 15px;
  text-align: center;
}

body.content_take .option a.button {
  background: var(--main-color);
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  margin: 0 15px 8px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  -webkit-tap-highlight-color: transparent;
}

body.content_take .option a.button:last-of-type {
  margin-bottom: 15px;
}

body.content_take .option p {
  text-align: center;
}

/* step 2 shows the instruction in an inline-styled <p> */
body.content_take .option p.sms-title {
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- footer ---------- */

body.content_take .footer {
  padding: 0 15px;
}

body.content_take .footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0 0 10px;
}

body.content_take .footer ul li {
  margin: 0 10px 15px;
}

body.content_take .footer ul li a {
  background: #2e338c;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px;
}
