/* Postaira — shared styles (base, footer, home page). Values match the computed styles of the former WordPress build. */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/open-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/open-sans-600.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 100; font-display: swap; src: url(../fonts/lato-100.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/manrope-500.woff2) format("woff2"); }
@font-face { font-family: "Prompt"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/prompt-500.woff2) format("woff2"); }
@font-face { font-family: "Prompt"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/prompt-600.woff2) format("woff2"); }
/* Icon glyphs (subset to the three used on the home page). */
@font-face { font-family: "PostairaFA"; font-style: normal; font-weight: 900; font-display: block; src: url(../fonts/icons-fa.woff2) format("woff2"); }
@font-face { font-family: "PostairaET"; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/icons-et.woff2) format("woff2"); }

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #666;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; padding-bottom: 10px; color: #333; font-weight: 500; line-height: 1em; }
p { margin: 0; padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
img { max-width: 100%; height: auto; }
a { color: #2ea3f2; text-decoration: none; }
#page, main { display: block; }

.row { position: relative; width: 90%; max-width: 1150px; margin: 0 auto; }

/* button */
.btn {
  display: inline-block;
  position: relative;
  padding: 10px 37px 12px;
  border: 2px solid #fff;
  border-radius: 5px;
  background-color: #060606;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7em;
  transition: all 300ms ease 0ms;
}
.btn:hover { background-color: #49b3cb; }

/* ---------- footer (shared) ---------- */
.site-footer { background: #000; padding: 3px 0 2px; }
.site-footer__row { width: 80%; max-width: 1080px; margin: 0 auto; padding: 27px 0; }
.site-footer__text { color: #fff; text-align: center; }

/* ---------- entrance animations ("slide up" / "fade", as before), skipped without JS or with reduced motion ---------- */
@keyframes pa-slide { from { opacity: 0; transform: translate3d(0, var(--i, 6%), 0); } to { opacity: 1; transform: none; } }
@keyframes pa-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .js .anim { opacity: 0; }
  .js .anim.is-in[data-anim="slide"] { animation: pa-slide 1000ms ease var(--d, 0ms) both; }
  .js .anim.is-in[data-anim="fade"] { animation: pa-fade 1000ms ease 500ms both; }
}

/* ---------- home: hero ---------- */
.hero { padding-top: 14px; background: #fff; }
.hero__row { text-align: center; }
.hero__brand, .hero__title { color: #2f2f2f; font-size: 74px; line-height: 1.1em; text-align: center; }
.hero__brand { margin-bottom: 13px; font-family: "Lato", Helvetica, Arial, Lucida, sans-serif; font-weight: 100; text-transform: uppercase; }
.hero__title { margin-bottom: 11px; font-family: "Outfit", sans-serif; }
.copy { color: #555; font-family: "Manrope", Helvetica, Arial, Lucida, sans-serif; font-size: 18px; line-height: 1.6em; }
.copy span { color: #374151; }
.hero__lead { max-width: 750px; margin: 0 auto 39px; }
.hero__button-wrap { display: inline-block; }
.how-it-works {
  display: inline-table;
  margin-left: 18px;
  vertical-align: -17px;
  text-align: left;
}
.how-it-works img { display: table-cell; width: 46px; vertical-align: top; }
.how-it-works__label { display: table-cell; padding-left: 15px; vertical-align: top; }
.how-it-works__label span {
  display: block;
  margin: 13px 0 0 -3px;
  padding-bottom: 10px;
  color: #2f2f2f;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1em;
  vertical-align: top;
  transition: color 300ms ease 0ms;
}
.how-it-works:hover .how-it-works__label span { color: #3866ff; }
.hero__shot { max-width: 700px; margin: 39px auto 0; line-height: 0; text-align: center; }
.hero__shot-frame {
  display: inline-block;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 1px;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.3);
}
.hero__shot img { display: inline; vertical-align: top; }

/* ---------- home: quote ---------- */
.quote {
  padding: 70px 0 73px;
  background: #060606 url(../img/saas-landing-18-df-7.webp) center / cover no-repeat;
}
.quote__row { padding: 56px 90px 66px; border: 1px solid #fff; border-radius: 15px; overflow: hidden; box-sizing: border-box; }
.quote blockquote { margin: 20px 0 30px; padding-left: 20px; border-left: 5px solid #49b3cb; color: #49b3cb; font-size: 20px; }
.quote h3 { color: #fff; font-family: "Outfit", sans-serif; font-size: 40px; line-height: 1.2em; text-align: left; }

/* ---------- home: features ---------- */
.features { padding-top: 43px; background: #fff; }
.features h2 { color: #2f2f2f; font-family: "Outfit", sans-serif; font-size: 48px; line-height: 1.2em; }
.intro { margin-bottom: 34px; }
.intro h2 { margin-bottom: 11px; text-align: center; }
.intro__text { max-width: 680px; margin: 0 auto; text-align: center; }

.cards { display: flex; margin-bottom: 94px; }
.card {
  width: 22.75%;
  margin-right: 3%;
  padding: 24px;
  border-radius: 20px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 20px 40px 0 rgba(255, 255, 255, 0);
  transition: box-shadow 300ms ease 0ms;
}
.card:last-child { margin-right: 0; }
.card:hover { box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.1); }
.card__icon { margin-bottom: 14.08px; }
.card__icon-wrap { display: inline-block; line-height: 0; }
.icon { display: inline-block; color: #49b3cb; font-size: 96px; line-height: 96px; font-style: normal; speak: none; }
.icon--fa { font-family: "PostairaFA"; font-weight: 900; }
.icon--et { font-family: "PostairaET"; font-weight: 400; }
.card h3 { margin-bottom: 2px; color: #2f2f2f; font-family: "Outfit", sans-serif; font-size: 24px; font-weight: 600; text-align: center; }
.card__text { margin-bottom: 23px; color: #555; font-family: "Manrope", Helvetica, Arial, Lucida, sans-serif; font-size: 16px; line-height: 1.6em; }

.split { display: flex; align-items: flex-start; }
.split__col { width: 50%; box-sizing: border-box; position: relative; display: flow-root; }
.split h2 { text-align: left; }

.speed { margin-bottom: 71px; }
.speed__media { padding-left: 30px; }
.speed__image { position: relative; max-width: 425px; line-height: 0; }
.speed__image::before { content: ""; position: absolute; top: -30px; left: -30px; width: 100%; height: 100%; border-radius: 20px; background: #ededed; }
.speed__image span { position: relative; display: inline-block; overflow: hidden; border-radius: 20px; box-shadow: 0 20px 40px 0 rgba(138, 138, 138, 0.2); }
.speed__text { padding: 0 80px 0 30px; }
.speed__text h2 { margin: 50px 0 11px; }
.ruled { padding-bottom: 34px; margin-bottom: 43px; border-bottom: 1px solid #555; }
.ruled--blue { border-bottom-color: #49b3cb; }

.power { margin-bottom: 310px; }
.power__text { padding-right: 50px; }
.power__text h2 { margin: 48px 0 19px; }
.power__button { margin-bottom: 0; }

.steps { padding: 24px 0 24px 55px; }
.steps::before { content: ""; position: absolute; top: 0; left: 130px; width: 365px; height: 100%; border-radius: 20px; background: #f2f2f2; }
.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  max-width: 365px;
  margin-bottom: 24px;
  padding: 24px 10px;
  box-sizing: border-box;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 50px -10px rgba(0, 0, 0, 0.15);
  color: #555;
  font-family: "Manrope", Helvetica, Arial, Lucida, sans-serif;
  line-height: 1.4em;
}
.step--2 { margin-left: 150px; }
.step--3 { margin-bottom: 0; }
.step img { flex: 0 0 auto; width: 45px; margin-left: 5px; }
.step__body { flex: 1 1 auto; padding-left: 15px; }
.step h4 { margin-bottom: -5px; color: #2f2f2f; font-family: "Outfit", sans-serif; font-size: 24px; }
.step p { line-height: 1.4em; }

/* ---------- tablet (<= 980px) ---------- */
@media (max-width: 980px) {
  .site-footer__row { padding: 30px 0; }
  .hero { padding-top: 70px; }
  .hero__brand, .hero__title { font-size: 42px; }
  .how-it-works { margin-top: 14px; }
  .hero__shot { margin-top: 64px; }
  .quote { padding: 70px 0 90px; }
  .quote__row { padding: 85px 90px; }
  .quote blockquote { margin-bottom: 35px; }
  .quote h3 { text-align: center; }
  .features { padding-top: 110px; }
  .intro { margin-bottom: 60px; }
  .cards { flex-wrap: wrap; margin-bottom: 130px; }
  .card { width: 47.25%; margin-right: 5.5%; margin-bottom: 30px; }
  .card:nth-child(2n) { margin-right: 0; }
  .card:nth-last-child(-n+2) { margin-bottom: 0; }
  .split { display: block; }
  .split__col { width: 100%; }
  .speed { margin-bottom: 100px; }
  .speed__text { padding: 0; }
  .speed__text h2 { margin-top: 75px; }
  .power { margin-bottom: 120px; }
  .power__text { padding: 0; }
  .power__text h2 { margin-top: 0; }
  .power__button { margin-bottom: 75px; }
}

/* ---------- phone (<= 767px) ---------- */
@media (max-width: 767px) {
  .hero { padding-top: 50px; }
  .hero__brand, .hero__title { font-size: 32px; }
  .copy { font-size: 16px; }
  .hero__button-wrap { display: block; margin-bottom: 30px; }
  .how-it-works { margin: 0; }
  .hero__shot { margin-top: 40px; }
  .quote { padding: 67px 0 90px; }
  .quote__row { padding: 50px 30px; }
  .quote blockquote { margin-bottom: 30px; }
  .quote h3 { font-size: 26px; }
  .features { padding-top: 80px; }
  .features h2 { font-size: 30px; }
  .intro { margin-bottom: 40px; }
  .cards { margin-bottom: 100px; }
  .card__icon { margin-bottom: 30px; }
  .speed { margin-bottom: 65px; }
  .speed__text h2 { margin-top: 50px; }
  .ruled { padding-bottom: 25px; margin-bottom: 32px; }
  .power { margin-bottom: 90px; }
  .power__button { margin-bottom: 60px; }
  .steps { padding: 24px 0; }
  .steps::before { left: 0; right: 0; width: 85%; margin: auto; border-radius: 10px; }
  .step--2 { margin-left: 0; }
  .step img { width: 37px; margin-top: 3px; }
}

/* ---------- small phone (<= 479px): one card per row ---------- */
@media (max-width: 479px) {
  .card { width: 100%; margin-right: 0; margin-bottom: 30px; }
  .card:nth-last-child(-n+2) { margin-bottom: 30px; }
  .card:last-child { margin-bottom: 0; }
}

/* header: member-app login link, top right over the first section */
.site-header { position: absolute; top: 0; right: 0; z-index: 10; padding: 20px 24px; }
.site-header__login { display: inline-block; padding: 8px 18px; border: 2px solid currentColor; border-radius: 4px; color: #000; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; }
.site-header__login:hover { background-color: #49b3cb; border-color: #49b3cb; color: #fff; }
.page-waitlist .site-header__login { color: #fff; }
@media (max-width: 480px) { .site-header { padding: 12px 16px; } .site-header__login { padding: 6px 14px; font-size: 14px; } }
