/* OnlySocial yearly promo: HTML/CSS rebuild of ltd.onlysocial.io */

:root {
  --ink: #27272a;
  --body: #5e6163;
  --blue: #5276eb;
  --link: #1b86f1;
  --red: #ef3f59;
  --yellow: #f8cf61;
  --green: #22bf8e;
  --gold: #e5c341;
  --orange: #ff5100;
  --soft: #f8f5f5;
  --mist: #f2f5f6;

  --font-head: "Work Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-ui: "Inter", sans-serif;

  --container: 1160px;
  --gutter: 20px;
  --bar-height: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-promo-bar {
  padding-bottom: var(--bar-height);
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: 100px 0;
}

.section-title {
  font-size: 40px;
  line-height: 48px;
  text-align: center;
}

.section-title--left {
  text-align: left;
}

.section-title--light {
  color: #fff;
}

.section-lead {
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 20px;
  line-height: 33px;
  text-align: center;
}

.section-lead--wide {
  max-width: 1067px;
}

.lead {
  font-size: 20px;
  line-height: 33px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn--pill {
  padding: 15px 34px;
  border-radius: 32px;
  background: var(--blue);
  color: #fff;
}

.btn--pill:hover {
  background: #3d62dc;
  transform: translateY(-1px);
}

.btn--wide {
  padding: 16px 42px;
}

.btn--plan {
  padding: 13px 38px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  color: #000;
}

.btn--plan:hover {
  background: var(--blue);
  color: #fff;
}

.btn--plan-solid {
  padding: 16px 48px;
  background: var(--blue);
  color: #fff;
}

.btn--plan-solid:hover {
  background: #3d62dc;
  border-color: #3d62dc;
}

/* ---------- Header + hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  background: url("assets/hero-section-bg.svg") center / cover no-repeat;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 25px;
}

.site-header__logo img {
  width: 256px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin-bottom: 6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 676px 1fr;
  gap: 50px;
  align-items: start;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-top: 15px;
}

.ltd-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 22px;
  font-family: var(--font-body);
  padding: 8px 18px;
  border: 1px solid rgba(239, 63, 89, 0.35);
  border-radius: 999px;
  background: #fff1f3;
  color: #c4223b;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.hero h1 {
  font-size: 56px;
  line-height: 70px;
}

.hero h1 u {
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.hero .lead {
  max-width: 541px;
  margin: 20px 0 30px;
}

.rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 54px;
}

.rating__stars {
  display: flex;
  gap: 2px;
}

.rating__stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.rating__count {
  color: var(--ink);
  font-size: 18px;
  line-height: 23px;
}

.hero__art {
  padding-top: 0;
}

.hero__art img {
  width: 731px;
  max-width: none;
  height: auto;
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 50px;
  margin-top: 80px;
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 30px #ebe7e7;
}

.feature__icon svg {
  width: 48px;
  height: 48px;
}

.feature__icon.is-red { fill: var(--red); }
.feature__icon.is-blue { fill: var(--blue); }
.feature__icon.is-yellow { fill: var(--yellow); }

.feature h5 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
}

.feature p {
  margin-top: 12px;
}

/* ---------- Networks ---------- */

.networks {
  background: var(--soft);
}

.networks__title {
  max-width: 580px;
  margin: 0 auto;
  font-size: 34px;
  line-height: 42.5px;
  text-align: center;
}

.network-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
  max-width: 1100px;
  margin: 50px auto 0;
}

.network-icons svg {
  width: 50px;
  height: 50px;
}

/* ---------- Agencies ---------- */

.agencies {
  background: var(--blue);
}

.agency-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 36px;
  margin-top: 80px;
}

.agency-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  height: 60px;
}

/* ---------- Split rows (suite, salesbot, link in bio) ---------- */

.split {
  display: grid;
  align-items: center;
}

.split--media-right {
  grid-template-columns: 545px 1fr;
  gap: 95px;
}

.split--media-left {
  grid-template-columns: 469px 1fr;
  gap: 50px;
}

.split__copy h3 {
  font-size: 34px;
  line-height: 42.5px;
}

.split__copy h3 + .lead {
  margin-top: 20px;
}

.split__copy .checklist {
  margin: 30px 0 20px;
}

.split__media {
  position: relative;
}

.checklist li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 38px;
  line-height: 29.7px;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 14 10'%3E%3Cpath fill='%2322BF8E' d='M4.774 9.932c-.33 0-.658-.13-.91-.391L.377 5.913a1.38 1.38 0 0 1 0-1.892 1.25 1.25 0 0 1 1.818-.001l2.579 2.683L10.84.392a1.25 1.25 0 0 1 1.818 0 1.38 1.38 0 0 1 0 1.893L5.684 9.54c-.252.262-.58.392-.91.392Z'/%3E%3C/svg%3E")
    center / 12px auto no-repeat,
    var(--mist);
}

.suite {
  overflow: hidden;
  background: url("assets/elements-content.svg") left top no-repeat;
}

.suite .split {
  margin-top: 140px;
}

.suite__media::before {
  content: "";
  position: absolute;
  top: -35px;
  left: 240px;
  width: 290px;
  height: 314px;
  background: url("assets/blob-1.svg") no-repeat;
}

.suite__media img {
  position: relative;
  width: 967px;
  max-width: none;
  height: auto;
}

.salesbot {
  padding: 90px 0;
}

.salesbot__media {
  min-height: 779px;
  padding: 35px 0 0 35px;
  background: url("assets/blob-2.svg") left top no-repeat;
}

.salesbot__media video {
  width: 399px;
  height: auto;
}

.linkbio {
  overflow: hidden;
  background: url("assets/blob-testimonial.svg") center no-repeat;
}

.linkbio .split {
  grid-template-columns: 555px 1fr;
  gap: 50px;
  align-items: start;
}

.linkbio .section-title + p {
  margin-top: 20px;
}

.linkbio__media img {
  width: 779px;
  max-width: none;
  height: auto;
}

/* ---------- Testimonial ---------- */

.testimonial {
  margin-top: 100px;
}

.testimonial__body {
  display: grid;
  grid-template-columns: 580px 1fr;
  align-items: center;
  margin-top: 80px;
}

.testimonial__photo {
  position: relative;
  height: 616px;
}

.testimonial__img {
  position: absolute;
  top: 110px;
  left: 142px;
  width: 295px;
  height: 428px;
  object-fit: cover;
}

.testimonial__deco {
  position: absolute;
}

.testimonial__deco--top {
  top: 0;
  left: 0;
}

.testimonial__deco--bottom {
  top: 508px;
  left: 490px;
}

.testimonial__quote {
  max-width: 563px;
  margin: 0;
}

.testimonial__quote p {
  color: var(--ink);
  font-size: 26px;
  line-height: 41.6px;
}

.testimonial__quote footer {
  margin-top: 27px;
}

.testimonial__quote h6 {
  font-size: 18px;
  font-weight: 600;
  line-height: 24.3px;
}

.testimonial__quote span {
  color: var(--ink);
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--mist) url("assets/elements-table.svg") left top no-repeat;
}

.pricing__guarantee {
  margin-top: 20px;
  font-size: 24px;
  line-height: 33px;
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 55px;
}

.plan {
  padding: 50px 25px;
  border: 3px solid var(--blue);
  border-radius: 1px;
  background: #fff;
  text-align: center;
}

.plan h3 {
  font-size: 34px;
  line-height: 42.5px;
}

.plan__desc {
  max-width: 300px;
  margin: 41px auto 0;
  color: #000;
}

.plan__regular {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--body);
  font-size: 18px;
}

.plan__save {
  padding: 2px 10px;
  border-radius: 999px;
  background: #e6f8f1;
  color: #128a63;
  font-size: 14px;
  font-weight: 700;
}

.plan__price {
  margin-top: 30px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

.plan__regular + .plan__price {
  margin-top: 6px;
}

.plan__period {
  margin-top: 10px;
  color: #000;
}

.plan .btn {
  margin-top: 30px;
}

.plan h4 {
  margin: 40px 0 20px;
  color: #000;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  line-height: 29.7px;
  text-transform: uppercase;
}

.plan .plan__list + h4 {
  margin-top: 20px;
}

.plan__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  line-height: 29.7px;
}

.plan__list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing__note {
  max-width: 760px;
  margin: 40px auto 0;
  color: var(--ink);
  text-align: center;
}

.pricing__note a {
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- About the lifetime deal ---------- */

.ltd-ended {
  padding-bottom: 0;
}

.ltd-ended__body {
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 20px;
  line-height: 33px;
  text-align: center;
}

.ltd-ended__body p + p {
  margin-top: 16px;
}

.ltd-ended__body a {
  font-weight: 600;
  text-decoration: underline;
}

.ltd-ended__cta {
  margin-top: 30px;
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq__list {
  display: grid;
  gap: 15px;
  margin-top: 55px;
}

.faq details {
  border: 1px solid var(--ink);
  border-radius: 3px;
}

.faq summary {
  position: relative;
  padding: 15px 60px 15px 25px;
  color: #000;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 25px;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq__answer {
  padding: 0 25px 20px;
}

.faq__answer p + p,
.faq__answer p + ul {
  margin-top: 8px;
}

.faq__answer ul {
  padding-left: 22px;
  list-style: disc;
}

/* ---------- Closing CTA ---------- */

.cta {
  background: var(--yellow);
}

.cta__grid {
  display: grid;
  grid-template-columns: 555px 1fr;
  gap: 134px;
  align-items: center;
}

.cta p {
  margin: 20px 0 30px;
  color: var(--ink);
  font-size: 20px;
  line-height: 33px;
}

.cta__art img {
  width: 386px;
  height: auto;
}

/* ---------- Sticky promo bar ---------- */

.promo-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: var(--bar-height);
  padding: 8px 56px;
  background: #000;
  color: #fff;
}

.has-promo-bar .promo-bar {
  display: flex;
}

.promo-bar__text {
  font-size: 18px;
  line-height: 24px;
}

.promo-bar__text strong {
  color: #f5cd2f;
  font-weight: 700;
}

.promo-bar__btn {
  flex: none;
  padding: 10px 32px;
  border-radius: 2px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
}

.promo-bar__btn:hover {
  background: #e04800;
}

.promo-bar__close {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.promo-bar__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero__art img {
    width: 100%;
    max-width: 731px;
  }

  .split--media-right,
  .linkbio .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
  }

  .testimonial__body {
    grid-template-columns: 500px 1fr;
  }

  .testimonial__img {
    left: 100px;
  }

  .testimonial__deco--bottom {
    left: 420px;
  }

  .cta__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 60px;
  }
}

@media (max-width: 1024px) {
  .hero__grid,
  .split--media-right,
  .split--media-left,
  .linkbio .split,
  .testimonial__body,
  .cta__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__art {
    justify-self: center;
  }

  .split--media-left .split__media {
    justify-self: center;
  }

  .split__media img,
  .suite__media img,
  .linkbio__media img {
    width: 100%;
    max-width: 100%;
  }

  .suite .split {
    margin-top: 70px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }

  .plans {
    grid-template-columns: minmax(0, 480px);
    justify-content: center;
    gap: 30px;
  }

  .testimonial__photo {
    justify-self: center;
    width: 580px;
    max-width: 100%;
  }

  .testimonial__quote {
    justify-self: center;
    text-align: center;
  }

  .cta__art {
    justify-self: center;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 17px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 32px;
    line-height: 40px;
  }

  .section-lead,
  .lead,
  .ltd-ended__body {
    font-size: 18px;
    line-height: 30px;
  }

  .ltd-ended {
    padding-bottom: 0;
  }

  .site-header__logo img {
    width: 180px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .site-nav a {
    padding: 12px 20px;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .ltd-notice {
    font-size: 14px;
    line-height: 20px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 48px;
  }

  .hero h1 u {
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
  }

  .rating {
    margin-top: 36px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    margin-top: 56px;
  }

  .networks__title {
    font-size: 28px;
    line-height: 36px;
  }

  .network-icons {
    gap: 16px 22px;
    margin-top: 36px;
  }

  .network-icons svg {
    width: 40px;
    height: 40px;
  }

  .agency-logos {
    row-gap: 24px;
    margin-top: 48px;
  }

  .agency-logos li {
    width: 50%;
  }

  .split__copy h3,
  .plan h3 {
    font-size: 28px;
    line-height: 36px;
  }

  .salesbot__media {
    min-height: 0;
    padding: 24px 0 0 24px;
    background-size: 240px auto;
  }

  .salesbot__media video {
    width: 300px;
  }

  .suite__media::before {
    display: none;
  }

  .testimonial {
    margin-top: 70px;
  }

  .testimonial__body {
    margin-top: 40px;
  }

  .testimonial__photo {
    width: 100%;
    height: auto;
  }

  .testimonial__img {
    position: static;
    width: 260px;
    height: auto;
    margin: 0 auto;
  }

  .testimonial__deco {
    display: none;
  }

  .testimonial__quote {
    margin-top: 30px;
  }

  .testimonial__quote p {
    font-size: 21px;
    line-height: 34px;
  }

  .pricing__guarantee {
    font-size: 19px;
    line-height: 28px;
  }

  .plan {
    padding: 40px 20px;
  }

  .plan__desc {
    margin-top: 20px;
  }

  .faq summary {
    padding: 14px 48px 14px 18px;
    font-size: 17px;
    line-height: 26px;
  }

  .faq summary::after {
    right: 18px;
  }

  .faq__answer {
    padding: 0 18px 18px;
  }

  .cta__art img {
    width: 280px;
  }

  .promo-bar {
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 8px 44px 8px 16px;
  }

  .promo-bar__text {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .promo-bar__btn {
    padding: 7px 18px;
    font-size: 12px;
  }

  .promo-bar__close {
    right: 6px;
  }

  body.has-promo-bar {
    padding-bottom: 96px;
  }
}
