/*
 * TextYourModel homepage
 * Full replacement stylesheet.
 */

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.home-page {
  margin: 0;
  color: #111418;
  background:
    linear-gradient(
      90deg,
      transparent 0,
      transparent 70px,
      rgba(199, 79, 79, 0.075) 71px,
      rgba(199, 79, 79, 0.075) 72px,
      transparent 73px
    ),
    repeating-linear-gradient(
      to bottom,
      #fdfdfb 0,
      #fdfdfb 35px,
      rgba(102, 126, 145, 0.055) 36px,
      #fdfdfb 37px
    );
}

.home-page .wrap {
  width: 100%;
  max-width: 1460px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 48px;
}

.home-page .site-header {
  min-height: 94px;
  background: rgba(253, 253, 251, 0.82);
}

.home-page .new-brand strong {
  font-family: "Courier New", Courier, monospace;
  font-size: 30px;
  letter-spacing: 0.035em;
}

.home-page .new-brand small {
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.42em;
  color: #7d8288;
}

.home-page .new-nav {
  gap: 34px;
}

.home-page .new-nav a {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #23272b;
}

.home-main,
.hero,
.hero-copy,
.pricing-grid,
.price-card,
.phone-column,
.bridge-section {
  min-width: 0;
}

.home-main {
  width: 100%;
  max-width: 100%;
}


/* Hero */

.hero {
  display: block;
  width: 100%;
  max-width: 1040px;
  min-height: 0;
  margin: 0 auto;
  padding: 72px 38px 78px;
}

.hero-copy {
  width: 100%;
  max-width: 100%;
}

.hero h1 {
  width: 100%;
  max-width: 940px;
  margin: 0 0 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 6vw, 96px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.052em;
}

.phone-column {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 34px 0 42px;
}

.phone-image {
  display: block;
  width: min(100%, 430px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(15, 18, 20, 0.17));
}

.hero-subtext {
  width: 100%;
  max-width: 840px;
  margin: 0 0 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.55vw, 25px);
  line-height: 1.48;
  color: #40464c;
}


/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 900px;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 300px;
  padding: 36px 48px;
  overflow: hidden;
  border: 1px solid rgba(25, 29, 33, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  color: #111418;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(20, 24, 28, 0.04);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(20, 24, 28, 0.08);
}

.price-card.primary {
  background: #145b4b;
  color: #ffffff;
  border-color: #145b4b;
}

.price-amount {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4vw, 68px);
  line-height: 1.0;
  font-weight: 400;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.price-amount + .price-amount {
  margin-top: 8px;
  font-size: clamp(68px, 7vw, 104px);
  line-height: 0.92;
}

.price-details {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(40, 45, 50, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.25;
}

.primary .price-details {
  border-top-color: rgba(255, 255, 255, 0.34);
}

.price-details span {
  min-width: 0;
}

.price-details span:nth-child(2) {
  text-align: right;
  opacity: 0.86;
  font-size: 16px;
}

.price-arrow {
  font-size: 24px;
  line-height: 1;
}

.pricing-note {
  max-width: 900px;
  margin: 20px 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.5;
  color: #666d73;
}


/* Below fold */

.hero-kicker,
.section-kicker {
  margin: 0 0 28px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.23em;
  color: #555e66;
}

.bridge-section {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 70px 40px;
  border-top: 1px solid rgba(22, 26, 30, 0.13);
}

#how {
  scroll-margin-top: 110px;
}

.bridge-section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.bridge-section > p:not(.section-kicker):not(.canary-link) {
  max-width: 830px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.62;
  color: #4e555b;
}

.canary-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 32px 0 0;
}

.canary-link a {
  width: fit-content;
  max-width: 100%;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #22272c;
}

.canary-link span {
  font-size: 13px;
  color: #767c82;
}


/* Tablet */

@media (max-width: 1050px) {
  .hero {
    max-width: 900px;
    padding-top: 52px;
  }

  .phone-image {
    max-width: 390px;
  }

  .pricing-grid {
    max-width: 840px;
  }
}


/* Mobile */

@media (max-width: 760px) {
  .home-page {
    background:
      linear-gradient(
        90deg,
        transparent 0,
        transparent 30px,
        rgba(199, 79, 79, 0.065) 31px,
        rgba(199, 79, 79, 0.065) 32px,
        transparent 33px
      ),
      repeating-linear-gradient(
        to bottom,
        #fdfdfb 0,
        #fdfdfb 35px,
        rgba(102, 126, 145, 0.05) 36px,
        #fdfdfb 37px
      );
  }

  .home-page .wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-page .site-header {
    min-height: 76px;
  }

  .home-page .new-brand strong {
    font-size: 22px;
  }

  .home-page .new-brand small {
    letter-spacing: 0.30em;
  }

  .home-page .new-nav {
    gap: 14px;
  }

  .home-page .new-nav a:nth-child(1),
  .home-page .new-nav a:nth-child(2) {
    display: none;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    padding: 38px 0 60px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 28px;
    font-size: clamp(46px, 13vw, 64px);
    overflow-wrap: anywhere;
  }

  .phone-column {
    margin: 26px 0 34px;
  }

  .phone-image {
    width: min(100%, 315px);
    max-width: 100%;
  }

  .hero-subtext {
    width: 100%;
    max-width: 100%;
    margin-bottom: 34px;
    font-size: 20px;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    width: 100%;
    max-width: 100%;
  }

  .price-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 32px 22px 28px;
    border-radius: 24px;
  }

  .price-amount {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.02;
  }

  .price-amount + .price-amount {
    margin-top: 8px;
    font-size: clamp(66px, 20vw, 94px);
  }

  .price-details {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    margin-top: 30px;
    padding-top: 18px;
    font-size: clamp(16px, 4.7vw, 20px);
  }

  .price-details span:nth-child(2) {
    text-align: right;
    white-space: nowrap;
    font-size: clamp(14px, 4.1vw, 18px);
  }

  .price-arrow {
    display: none;
  }

  .pricing-note {
    width: 100%;
    max-width: 100%;
    margin: 18px 4px 0;
    font-size: 14px;
  }

  .bridge-section {
    width: 100%;
    max-width: 100%;
    padding: 55px 4px;
  }

  #how {
    scroll-margin-top: 86px;
  }
}


/* Very small phones */

@media (max-width: 420px) {
  .home-page .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .price-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .price-details {
    grid-template-columns: 1fr;
  }

  .price-details span:nth-child(2) {
    text-align: left;
    white-space: normal;
  }
}
