/* Team Post Kit marketing, help, contact, and blog pages.
   Kept outside main.css so public-page layout changes do not have to be made in
   the same file as the builder and Schedule Designer workstations. */

.tpk-announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: calc(100% - 2.5rem);
  margin: 0.85rem auto 0;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  border-radius: 12px;
  background:
    radial-gradient(120% 180% at 12% 50%, rgba(var(--primary-rgb), 0.32), transparent 60%),
    radial-gradient(120% 180% at 88% 50%, rgba(var(--tpk-accent-rgb), 0.22), transparent 60%),
    rgba(8, 11, 24, 0.85);
  box-shadow: 0 8px 26px -16px rgba(var(--primary-rgb), 0.8);
  color: #eef1ff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tpk-announce-footer {
  margin: 3rem auto 0;
}

.tpk-announce:hover {
  border-color: rgba(var(--primary-rgb), 0.7);
  box-shadow: 0 10px 30px -14px rgba(var(--primary-rgb), 0.95);
}

.tpk-announce-tag {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--tpk-accent));
  color: #06122a;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tpk-announce-text strong {
  color: #fff;
}

.tpk-announce-arrow {
  transition: transform 0.2s ease;
}

.tpk-announce:hover .tpk-announce-arrow {
  transform: translateX(3px);
}

.tpk-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  max-width: 1120px;
  padding-top: 0.75rem;
  text-align: left;
}

.tpk-hero-split .tpk-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tpk-hero-split h1,
.tpk-hero-split p {
  text-align: left;
}

.tpk-hero-split p {
  margin-left: 0;
}

.tpk-hero-split .tpk-hero-actions,
.tpk-hero-split .tpk-trust {
  justify-content: flex-start;
}

.tpk-hero-split .tpk-trust {
  margin-top: 1.5rem;
}

.tpk-hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.tpk-hero-card {
  position: absolute;
  width: 230px;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  border-radius: 20px;
  background: #0b0f1f;
  box-shadow:
    0 30px 70px -30px rgba(2, 4, 12, 0.95),
    0 0 50px -12px rgba(var(--primary-rgb), 0.55);
}

.tpk-hero-card img {
  display: block;
  width: 100%;
  height: auto;
}

.tpk-hero-card-front {
  z-index: 3;
  border-color: rgba(var(--tpk-accent-rgb), 0.55);
  box-shadow:
    0 36px 80px -30px rgba(2, 4, 12, 0.95),
    0 0 60px -10px rgba(var(--tpk-accent-rgb), 0.6);
  transform: rotate(-3deg);
}

.tpk-hero-card-mid {
  z-index: 2;
  opacity: 0.92;
  transform: translate(72px, -46px) rotate(5deg) scale(0.9);
}

.tpk-hero-card-back {
  z-index: 1;
  opacity: 0.78;
  transform: translate(-78px, 40px) rotate(-9deg) scale(0.82);
}

.tpk-platform-strip {
  max-width: 960px;
  margin: 0.5rem auto 0;
  padding: 1.75rem 1rem 0.5rem;
  text-align: center;
}

.tpk-platform-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tpk-platform-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpk-platform-logos li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease, filter 0.2s ease;
}

.tpk-platform-logos svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.tpk-platform-logos li:hover {
  color: var(--text);
  filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.55));
}

.tpk-price-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.tpk-price-mini {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.22s ease;
}

.tpk-price-mini:hover {
  border-color: rgba(var(--primary-rgb), 0.6);
  box-shadow: 0 18px 44px -22px rgba(var(--primary-rgb), 0.7);
  transform: translateY(-3px);
}

.tpk-price-mini.is-highlight {
  border-color: rgba(var(--primary-rgb), 0.85);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(var(--primary-rgb), 0.18), transparent 70%),
    var(--surface);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.4), 0 22px 55px -24px rgba(var(--primary-rgb), 0.75);
}

.tpk-price-mini-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--tpk-accent));
  color: #06122a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.tpk-price-mini-name {
  font-size: 1rem;
  font-weight: 700;
}

.tpk-price-mini-amount {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.tpk-price-mini-amount small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.tpk-price-mini-gens {
  color: var(--text);
  font-size: 0.9rem;
}

.tpk-price-mini-gens strong {
  color: var(--primary-light);
}

.tpk-price-mini-trial {
  color: var(--muted);
  font-size: 0.78rem;
}

.tpk-plan-card.is-highlight {
  box-shadow:
    0 0 0 1px rgba(var(--primary-rgb), 0.55),
    0 24px 60px -26px rgba(var(--primary-rgb), 0.8),
    0 0 50px -18px rgba(var(--tpk-accent-rgb), 0.45);
}

.tpk-help-article {
  max-width: 760px;
}

.tpk-help-head {
  margin-bottom: 2rem;
  text-align: center;
}

.tpk-help-head h1 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.tpk-help-lead {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.tpk-help-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.tpk-help-body p {
  color: var(--text);
  line-height: 1.65;
}

.tpk-help-scoring {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.tpk-help-scoring li {
  position: relative;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.tpk-help-scoring strong {
  color: var(--primary-light);
}

.tpk-help-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.tpk-contact-page {
  max-width: 720px;
}

.tpk-blog-index {
  max-width: 1040px;
  /* This section stands in for a hero on the blog index — drop the seam line
     and the empty gap the generic .tpk-section top padding leaves under the nav. */
  border-top: none;
  padding-top: 1.25rem;
}

.tpk-blog-hero {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  padding: 1.5rem 1rem 0;
}
/* Soft glow so the headline sits on something instead of floating. */
.tpk-blog-hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.12), transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.tpk-blog-hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 0.85rem;
}
.tpk-blog-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 520px;
}

.tpk-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tpk-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.22s ease;
}

.tpk-blog-card:hover {
  border-color: rgba(var(--primary-rgb), 0.6);
  box-shadow: 0 22px 50px -26px rgba(var(--primary-rgb), 0.7);
  transform: translateY(-4px);
}

.tpk-blog-card-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0b0f1f;
}

.tpk-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}

.tpk-blog-card:hover .tpk-blog-card-media img {
  transform: scale(1.05);
}

.tpk-blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 1.1rem 1.1rem;
}

.tpk-blog-card-meta {
  display: flex;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.tpk-blog-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.tpk-blog-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.tpk-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.tpk-blog-tag {
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 999px;
  background: var(--primary-surface);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 600;
}

.tpk-blog-empty {
  color: var(--muted);
  text-align: center;
}

.tpk-post {
  max-width: 760px;
}

.tpk-post-head {
  margin-bottom: 1.5rem;
}

.tpk-post-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.tpk-post-back:hover {
  color: var(--text);
}

.tpk-post-head h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
}

.tpk-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.tpk-post-hero {
  overflow: hidden;
  margin: 0 auto 2rem; /* Centered */
  max-width: 320px; /* Significantly smaller */
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 50px -16px rgba(var(--primary-rgb), 0.5);
}

.tpk-post-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.tpk-post-body {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.tpk-post-body img.inset-left {
  float: left;
  margin: 0.25rem 1.5rem 0.75rem 0;
  max-width: 175px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tpk-post-body img.inset-right {
  float: right;
  margin: 0.25rem 0 0.75rem 1.5rem;
  max-width: 175px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tpk-post-body h2 {
  clear: both; /* Prevent floated images overlapping subsequent sections */
  margin: 2rem 0 0.75rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.tpk-post-body h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.15rem;
}

.tpk-post-body p {
  margin: 0 0 1.1rem;
}

.tpk-post-body ul,
.tpk-post-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

.tpk-post-body li {
  margin-bottom: 0.5rem;
}

.tpk-post-body a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tpk-post-body a:hover {
  color: var(--tpk-accent);
}

.tpk-post-body strong {
  color: #fff;
}

.tpk-post-body hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.tpk-post-body::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 480px) {
  .tpk-post-body img.inset-left,
  .tpk-post-body img.inset-right {
    float: none;
    display: block;
    margin: 1rem auto;
    max-width: 180px;
  }
}

.tpk-post-cta {
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 0%, rgba(var(--primary-rgb), 0.22), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(var(--tpk-accent-rgb), 0.16), transparent 55%),
    var(--panel);
  text-align: center;
}

.tpk-post-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.tpk-post-cta p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

@media (min-width: 861px) {
  .tpk-price-mini-gens,
  .tpk-price-mini-trial {
    white-space: nowrap;
  }
}

@media (max-width: 860px) {
  .tpk-hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tpk-hero-split .tpk-hero-copy {
    align-items: center;
  }

  .tpk-hero-split h1,
  .tpk-hero-split p {
    text-align: center;
  }

  .tpk-hero-split .tpk-hero-actions,
  .tpk-hero-split .tpk-trust {
    justify-content: center;
  }

  .tpk-hero-showcase {
    order: -1;
    min-height: 320px;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .tpk-hero-card {
    width: 190px;
  }

  .tpk-price-mini-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

@media (max-width: 520px) {
  .tpk-announce {
    width: calc(100% - 1.5rem);
    font-size: 0.78rem;
  }

  .tpk-announce-text {
    line-height: 1.25;
  }

  .tpk-platform-logos {
    gap: 1rem 1.5rem;
  }

  .tpk-platform-logos li span {
    display: none;
  }

  .tpk-platform-logos svg {
    width: 26px;
    height: 26px;
  }

  .tpk-hero-card {
    width: 160px;
  }

  .tpk-hero-showcase {
    min-height: 280px;
  }
}
