/*
 * Home page (.um-ollie-home): the original Ultimate Multisite home design.
 * Tokens come from theme.json (--wp--preset--color--um-*).
 */

.um-ollie-home,
.um-ollie-home * {
  box-sizing: border-box;
}

.um-ollie-home {
  --um-green: var(--wp--preset--color--um-green);
  --um-text: var(--wp--preset--color--um-ink);
  --um-muted: var(--wp--preset--color--um-muted);
  --um-panel: var(--wp--preset--color--um-panel);
  --um-card: var(--wp--preset--color--um-card);
  --um-blue: var(--wp--preset--color--um-sky);
  --um-dark: #202020;
  background: #ffffff;
  color: var(--um-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  width: 100%;
}

.um-ollie-home :where(h1, h2, h3, p, ul, figure) {
  margin-top: 0;
}

.um-ollie-home a {
  color: inherit;
  text-decoration: none;
}

.um-section {
  padding-left: 24px;
  padding-right: 24px;
}

.um-wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 1088px;
  width: 100%;
}

.um-hero {
  background: #ffffff;
  min-height: 550px;
  padding-bottom: 38px;
  padding-top: 72px;
}

.um-hero-grid {
  align-items: center;
  display: grid;
  gap: 74px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
}

.um-pill {
  background: rgba(150, 181, 86, 0.28);
  border-radius: 999px;
  color: #82a844;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 32px;
  margin-left: 153px;
  padding: 5px 12px 6px;
  white-space: nowrap;
}

.um-hero h1 {
  color: #000000;
  font-size: clamp(2.65rem, 4vw, 3.18rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.99;
  margin-bottom: 30px;
  max-width: 510px;
  text-transform: uppercase;
}

.um-hero .um-lead {
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.33;
  margin-bottom: 31px;
  max-width: 526px;
}

.um-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.um-button {
  align-items: center;
  border: 2px solid var(--um-green);
  border-radius: 17px;
  display: inline-flex;
  font-size: 20px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 49px;
  padding: 13px 21px 14px;
}

.um-button-primary {
  background: var(--um-green);
  color: #ffffff;
  padding-left: 22px;
  padding-right: 22px;
}

.um-button-secondary {
  background: transparent;
  color: #86aa4a;
}

.um-hero-brand {
  align-self: start;
  padding-top: 65px;
  text-align: left;
}

.um-hero-brand p {
  color: #0a0a0a;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 45px;
}

.um-logo {
  display: block;
  height: auto;
  max-width: 432px;
  width: 100%;
}

.um-solution {
  background: var(--um-panel);
  padding-bottom: 66px;
  padding-top: 46px;
}

.um-section-title {
  color: #000000;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 22px;
  text-align: center;
}

.um-section-subtitle {
  color: var(--um-muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 auto 58px;
  max-width: 720px;
  text-align: center;
}

.um-card-grid {
  display: grid;
  gap: 40px 58px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.um-feature-card {
  background: var(--um-card);
  border-radius: 22px;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.24);
  color: var(--um-muted);
  min-height: 207px;
  padding: 10px 10px 23px;
}

.um-feature-head {
  align-items: center;
  display: grid;
  gap: 15px;
  grid-template-columns: 91px minmax(0, 1fr);
  min-height: 88px;
}

.um-feature-card h3 {
  color: #666666;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.26;
  margin-bottom: 0;
  text-align: center;
}

.um-feature-card p {
  color: #606060;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 0;
}

.um-icon {
  color: var(--um-green);
  display: block;
  height: 82px;
  width: 82px;
}

.um-more-zone {
  background: var(--um-panel);
  padding-bottom: 92px;
  padding-top: 0;
}

.um-more-panel {
  background: var(--um-blue);
  border-radius: 30px;
  padding: 14px 94px 30px;
}

.um-more-panel .um-section-title {
  margin-bottom: 24px;
}

.um-more-panel .um-section-subtitle {
  margin-bottom: 30px;
}

.um-more-lists {
  display: grid;
  gap: 54px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 810px;
}

.um-more-lists ul {
  color: #606060;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.48;
  margin-bottom: 0;
  padding-left: 22px;
}

.um-steps {
  background: #ffffff;
  padding-bottom: 76px;
  padding-top: 10px;
  text-align: center;
}

.um-steps .um-section-subtitle {
  margin-bottom: 30px;
}

.um-steps .um-button {
  border-radius: 19px;
  margin-bottom: 30px;
  min-height: 51px;
  padding-left: 24px;
  padding-right: 24px;
}

.um-steps-copy {
  color: #666666;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.48;
  margin: 0 auto 30px;
  max-width: 1124px;
}

.um-step-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.um-step-number {
  align-items: center;
  background: var(--um-green);
  border-radius: 999px;
  color: #666666;
  display: inline-flex;
  font-size: 51px;
  font-weight: 900;
  height: 68px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 31px;
  width: 68px;
}

.um-step h3 {
  color: #666666;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.um-step p {
  color: #666666;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 320px;
}

.um-hosting {
  background: var(--um-panel);
  padding-bottom: 54px;
  padding-top: 8px;
}

.um-hosting .um-section-subtitle {
  margin-bottom: 31px;
  max-width: 1010px;
}

.um-logo-grid {
  display: grid;
  gap: 38px 60px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.um-logo-card {
  align-items: center;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.24);
  display: flex;
  height: 129px;
  justify-content: center;
  padding: 28px 10px;
}

.um-logo-card img {
  display: block;
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
}

.um-testimonials {
  background: #ffffff;
  padding-bottom: 84px;
  padding-top: 47px;
}

.um-testimonials .um-section-subtitle {
  margin-bottom: 27px;
}

.um-testimonial-stack {
  display: grid;
  gap: 70px;
}

.um-testimonial-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.24);
  color: #5f5f5f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.72;
  padding: 33px 34px 28px;
  text-align: center;
}

.um-testimonial-card-wide {
  justify-self: center;
  max-width: 936px;
  min-height: 154px;
  padding-top: 30px;
  width: 86%;
}

.um-testimonial-pair {
  display: grid;
  gap: 80px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.um-person {
  align-items: center;
  display: flex;
  gap: 98px;
  justify-content: center;
  margin-bottom: 27px;
}

.um-testimonial-card-wide .um-person {
  gap: 98px;
  margin-bottom: 25px;
}

.um-avatar {
  border-radius: 999px;
  display: block;
  height: 60px;
  object-fit: cover;
  width: 60px;
}

.um-person a,
.um-person span {
  color: #88ad4b;
  font-size: 18px;
  font-weight: 900;
}

/*
 * Hosting sections. Each reuses an original component so new sections look
 * like the rest of the page:
 * - hero price line = .um-lead typography;
 * - included cards  = .um-feature-card (without the icon column);
 * - price band      = .um-final conversion band;
 * - big price       = heading font and weight.
 */

.um-hero .um-hero-price {
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.33;
  margin-bottom: 31px;
  max-width: 526px;
}

.um-hero-price .tgc-price-now {
  color: var(--wp--preset--color--um-green-text);
  font-weight: 900;
}

.um-hero-note {
  color: var(--um-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 24px;
}

.um-ollie-home .um-hero-note a,
.um-ollie-home .um-text-link {
  color: var(--wp--preset--color--um-green-text);
  font-weight: 700;
  text-decoration: underline;
}

.um-ollie-home .um-actions .um-text-link {
  font-size: 18px;
}

.um-include {
  background: #ffffff;
  padding-bottom: 76px;
  padding-top: 46px;
}

.um-include-grid {
  display: grid;
  gap: 40px 58px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.um-include-card {
  background: var(--um-card);
  border-radius: 22px;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.24);
  color: var(--um-muted);
  padding: 24px 22px 23px;
}

.um-include-card h3 {
  color: #666666;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.26;
  margin-bottom: 12px;
  text-align: center;
}

.um-include-card p {
  color: #606060;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 0;
}

.um-price-strip,
.um-final {
  background: var(--um-blue);
  padding-bottom: 70px;
  padding-top: 60px;
  text-align: center;
}

.um-price-strip .um-big-price {
  color: #000000;
  font-family: var(--wp--preset--font-family--dm-sans), sans-serif;
  font-size: clamp(2.65rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 18px;
}

.um-price-strip .um-price-detail {
  color: var(--um-muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 auto 30px;
  max-width: 720px;
}

.um-price-strip .um-actions,
.um-final .um-actions,
.um-self-host .um-actions {
  justify-content: center;
}

.um-self-host .um-actions {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .um-hero {
    padding-top: 72px;
  }

  .um-hero-grid,
  .um-card-grid,
  .um-include-grid,
  .um-logo-grid,
  .um-testimonial-pair {
    grid-template-columns: 1fr;
  }

  .um-pill {
    margin-left: 0;
  }

  .um-hero-brand {
    padding-top: 0;
    text-align: center;
  }

  .um-logo {
    margin: 0 auto;
  }

  .um-card-grid,
  .um-include-grid,
  .um-logo-grid {
    gap: 28px;
  }

  .um-more-panel {
    padding-left: 28px;
    padding-right: 28px;
  }

  .um-testimonial-pair {
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .um-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .um-hero h1 {
    font-size: 2.5rem;
  }

  .um-actions,
  .um-more-lists,
  .um-step-grid {
    grid-template-columns: 1fr;
  }

  .um-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .um-button {
    width: 100%;
  }

  .um-feature-head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .um-more-lists {
    display: grid;
    gap: 8px;
  }

  .um-step-grid {
    gap: 36px;
  }

  .um-person,
  .um-testimonial-card-wide .um-person {
    flex-direction: column;
    gap: 12px;
  }

  .um-testimonial-card-wide {
    width: 100%;
  }
}
