/* 10 Minute Leaders sales page. Built on the homepage.css tokens; loaded after homepage.css. */

.tml-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 6.5rem);
  background-color: var(--color-dark);
  background-image: linear-gradient(rgba(19, 35, 45, 0.78) 0%, rgba(19, 35, 45, 0.94) 100%), url("../images/tml-hero-beach.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-on-dark);
  text-align: center;
}

.tml-hero__inner {
  max-width: 48rem;
}

.tml-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
  text-align: left;
}

.tml-brand img {
  width: 3.25rem;
  height: 3.25rem;
  border: 1.5px solid rgba(185, 228, 238, 0.45);
  border-radius: 50%;
  object-fit: cover;
}

.tml-brand p {
  margin: 0;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(185, 228, 238, 0.4);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-white);
}

.tml-brand span {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-highlight);
}

.tml-hero h1 {
  margin: 0 auto 1.5rem;
  color: var(--color-white);
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  line-height: 1.05;
}

.tml-hero p {
  max-width: 38rem;
  margin: 0 auto 1.1rem;
  color: var(--color-on-dark-muted);
  font-size: var(--text-md);
  line-height: 1.7;
}

.tml-hero__line {
  color: var(--color-highlight) !important;
  font-weight: 600;
  margin-bottom: 2rem !important;
}

.tml-hero .button {
  margin-top: 0.5rem;
}

.tml-hero .tml-hero__sub {
  margin: 1.1rem auto 0;
  font-size: var(--text-sm);
}

.tml-prose {
  max-width: var(--container-reading);
  font-size: var(--text-md);
  line-height: 1.7;
}

.tml-prose p {
  margin: 0 0 1.25rem;
}

.tml-prose p:last-child {
  margin-bottom: 0;
}

.tml-strong {
  color: var(--color-dark);
  font-weight: 600;
}

.tml-band {
  position: relative;
  height: clamp(20rem, 42vw, 32rem);
  margin: 0;
  overflow: hidden;
}

.tml-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.tml-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(19, 35, 45, 0.72) 0%, rgba(19, 35, 45, 0.15) 60%, transparent 100%);
}

.tml-band figcaption {
  position: absolute;
  bottom: clamp(1.75rem, 4vw, 3rem);
  left: max(var(--gutter), calc((100% - var(--container-main)) / 2));
  z-index: 1;
  max-width: 26rem;
  color: var(--color-white);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
}

.tml-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.tml-tags span {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.tml-photo {
  margin: 0;
}

.tml-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border-radius: var(--radius-media);
  object-fit: cover;
}

.tml-quote {
  max-width: 46rem;
  margin: 0 auto;
}

.tml-quote blockquote {
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
}

.tml-quote p {
  margin: 0;
  font-size: var(--text-sm);
}

.tml-quote strong {
  display: block;
}

.chapter--dark .tml-quote p {
  color: var(--color-on-dark-muted);
}

.tml-qa {
  max-width: var(--container-reading);
}

.tml-qa h2 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 1.3rem + 2.3vw, 3.4rem);
  line-height: 1.12;
}

.tml-qa__item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
}

.tml-qa__item h3 {
  margin: 0 0 0.6rem;
  font-size: var(--text-lg);
}

.tml-qa__item p {
  margin: 0 0 0.9rem;
  color: var(--color-text-muted);
}

.tml-qa__item p:last-child {
  margin-bottom: 0;
}

.tml-head {
  max-width: var(--container-reading);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.tml-head h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 1.3rem + 2.3vw, 3.4rem);
  line-height: 1.12;
}

.tml-head--center {
  margin-inline: auto;
  text-align: center;
}

.tml-arc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tml-arc article {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.tml-arc article:first-child {
  padding-left: 0;
  border-left: 0;
}

.tml-arc article:last-child {
  padding-right: 0;
}

.tml-arc span {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--color-highlight);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tml-arc h3 {
  margin: 0 0 0.75rem;
  color: var(--color-white);
  font-size: var(--text-h3);
}

.tml-arc p {
  margin: 0;
  color: var(--color-on-dark-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.tml-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.tml-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-media);
  background: var(--color-surface);
}

.tml-plan--featured {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.tml-plan__badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: var(--color-highlight);
  color: var(--color-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tml-plan__name {
  margin: 0 0 0.5rem;
  font-size: var(--text-md);
  font-weight: 700;
}

.tml-plan--featured .tml-plan__name {
  color: var(--color-white);
}

.tml-plan__price {
  margin: 0;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-dark);
}

.tml-plan--featured .tml-plan__price {
  color: var(--color-highlight);
}

.tml-plan__price small {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-muted);
}

.tml-plan--featured .tml-plan__price small {
  color: var(--color-on-dark-muted);
}

.tml-plan__billing {
  margin: 0.5rem 0 1.25rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.tml-plan--featured .tml-plan__billing,
.tml-plan--featured .tml-plan__included {
  color: var(--color-on-dark-muted);
}

.tml-plan__included {
  margin: 0 0 0.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
}

.tml-plan ul {
  flex: 1;
  margin: 0 0 1.75rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
}

.tml-plan--featured ul {
  border-color: rgba(185, 228, 238, 0.25);
}

.tml-plan li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.tml-plan li::before {
  content: "\2713";
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-accent);
}

.tml-plan--featured li::before {
  color: var(--color-highlight);
}

.tml-plan .button {
  width: 100%;
  margin-top: 0;
}

.tml-plan--featured .button--primary {
  background: var(--color-highlight);
  color: var(--color-dark);
}

.tml-plan--featured .button--primary:hover {
  background: var(--color-white);
}

.tml-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 56rem;
  margin: 2rem auto 0;
}

.tml-duo figure {
  position: relative;
  height: 16rem;
  margin: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
}

.tml-duo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tml-duo figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(19, 35, 45, 0.78));
}

.tml-duo figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  z-index: 1;
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tml-note {
  max-width: 44rem;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.tml-guarantee {
  max-width: 42rem;
  margin: 0 auto;
  padding-left: 1.75rem;
  border-left: 3px solid var(--color-accent);
}

.tml-guarantee p {
  margin: 0 0 1rem;
  font-size: var(--text-md);
  line-height: 1.65;
}

.tml-guarantee p:last-child {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand);
}

@media (max-width: 64rem) {
  .tml-arc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tml-arc article {
    padding: 1.75rem 1.25rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .tml-arc article:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 48rem) {
  .tml-plans,
  .tml-duo {
    grid-template-columns: 1fr;
  }

  .tml-arc {
    grid-template-columns: 1fr;
  }

  .tml-arc article {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-inline: 0;
  }

  .tml-arc article:first-child {
    border-top: 0;
  }
}
