/* Homepage introduction only. Existing shared styles and scripts are unchanged. */
.tpc-a7-site .tpc-app-intro {
  padding: 32px 0;
  /* Match the existing calculator section background. */
  background: #0d1d30;
}
.tpc-app-intro::after,
.tpc-app-intro .hero-noise { display: none; }
.tpc-app-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 20px 56px;
  position: relative;
  z-index: 1;
}
.tpc-app-intro .kicker { color: var(--orange); margin-bottom: 16px; }
.tpc-a7-site .tpc-app-intro h1 {
  max-width: 700px;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0;
}
.tpc-a7-site .tpc-app-intro-lead {
  color: #d8e0e8;
  font-size: 21px;
  line-height: 1.55;
  max-width: 590px;
  margin: 18px 0 0;
}
.tpc-app-intro-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tpc-a7-site .tpc-app-intro-button {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  min-height: 56px;
  padding: 14px 28px;
  gap: 24px;
  font-size: 17px;
  font-weight: 750;
  border-radius: 6px;
}
.tpc-app-intro-button span { font-size: 25px; line-height: 1; }
.tpc-a7-site .tpc-app-intro-note { color: #bec8d3; font-size: 14px; margin: 8px 0 0; }
.tpc-a7-site .tpc-install-link,
.tpc-a7-site .tpc-installation a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tpc-install-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 16px; }
.tpc-install-link:hover { text-decoration-thickness: 2px; }
.tpc-a7-site .tpc-installation {
  display: none;
  scroll-margin-top: 24px;
  background: #081421f0;
  border: 1px solid #ffffff4d;
  border-radius: 8px;
  padding: 24px;
  margin-top: 12px;
  width: min(100%, 680px);
  text-align: left;
}
.tpc-a7-site .tpc-installation:target { display: block; }
.tpc-a7-site .tpc-installation h2 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 700; }
.tpc-a7-site .tpc-installation p { color: #d8e0e8; font-size: 15px; line-height: 1.6; margin: 16px 0 0; }
.tpc-a7-site .tpc-installation strong { color: #fff; }
.tpc-a7-site .tpc-installation-tip { color: #bec8d3; font-size: 14px; }
.tpc-installation-close { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin-top: 12px; font-size: 14px; }
.tpc-a7-site .tpc-app-intro-shot { width: min(100%, 260px); margin: 0 auto; }
.tpc-app-intro-shot-window {
  aspect-ratio: 415 / 510;
  overflow: hidden;
  border: 6px solid #26374a;
  border-radius: 12px;
  box-shadow: 12px 12px 0 #f15a242b, 0 16px 40px #0005;
}
.tpc-a7-site .tpc-app-intro-shot img {
  width: 100%;
  height: auto;
  /* Crop the authentic capture to navigation and search controls, below its logo. */
  transform: translateY(-12.05%);
}
.tpc-a7-site .tpc-app-intro-shot figcaption { color: #c7d1dc; text-align: center; font-size: 13px; margin-top: 14px; }
.tpc-app-intro a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
/* Preserve the finder title's appearance after giving the introduction the page h1. */
.tpc-a7-site .updated-hero h2 {
  font-family: var(--font-display);
  letter-spacing: -.055em;
  max-width: 690px;
  margin: 0;
  font-size: clamp(48px, 5.7vw, 78px);
  font-weight: 650;
  line-height: .98;
}
@media (max-width: 820px) {
  .tpc-a7-site .tpc-app-intro { padding: 32px 0; }
  .tpc-app-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tpc-a7-site .tpc-app-intro h1 { max-width: 650px; font-size: clamp(40px, 7vw, 56px); }
  .tpc-a7-site .tpc-app-intro-shot { width: min(100% - 20px, 240px); }
}
@media (max-width: 520px) {
  .tpc-app-intro-grid { width: calc(100% - 40px); }
  .tpc-app-intro .kicker { font-size: 12px; margin-bottom: 14px; }
  .tpc-a7-site .tpc-app-intro h1 { font-size: 40px; line-height: 1.06; }
  .tpc-a7-site .tpc-app-intro-lead { font-size: 18px; margin: 16px 0 0; }
  .tpc-a7-site .tpc-app-intro-button { width: 100%; padding: 14px 16px; gap: 18px; font-size: 15px; min-height: 54px; }
  .tpc-a7-site .tpc-app-intro-note { text-align: center; }
  .tpc-a7-site .tpc-installation { padding: 20px; }
  .tpc-a7-site .updated-hero h2 { font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpc-app-intro a { transition: none; }
}

/* Centre and proportion the introduction on desktop; existing mobile rules stay intact. */
@media (min-width: 821px) {
  .tpc-a7-site .tpc-app-intro { padding: 24px 0; }
  .tpc-a7-site .tpc-app-intro-grid {
    width: min(calc(100% - 64px), 1040px);
    gap: 16px;
    justify-items: center;
  }
  .tpc-a7-site .tpc-app-intro-copy { width: 100%; text-align: center; }
  .tpc-a7-site .tpc-app-intro .kicker { margin-bottom: 12px; }
  .tpc-a7-site .tpc-app-intro h1 {
    max-width: 1000px;
    font-size: clamp(48px, 4.4vw, 64px);
    margin: 0 auto;
    text-wrap: balance;
  }
  .tpc-a7-site .tpc-app-intro-lead {
    max-width: 780px;
    margin: 12px auto 0;
    font-size: 20px;
    line-height: 1.5;
    text-wrap: balance;
  }
  .tpc-a7-site .tpc-app-intro-shot { width: clamp(300px, 20vw, 340px); }
  .tpc-a7-site .tpc-app-intro-shot figcaption { margin-top: 10px; }
}
