/* Trackkr marketing — shared layout + SEO-friendly sections
   Brand: plum #4A154B · forest #2E8B57 · slate neutrals */

:root {
  --tk-plum: #4a154b;
  --tk-plum-dark: #351038;
  --tk-forest: #2e8b57;
  --tk-forest-dark: #1e5c3a;
  --tk-mint: #f0fdf4;
  --tk-mint-border: #bbf7d0;
  --tk-sand: #f7f5f2;
  --tk-ink: #1e293b;
  --tk-muted: #64748b;
  --tk-line: #e2e8f0;
  --tk-white: #ffffff;
  --tk-radius: 14px;
  --tk-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --tk-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

#header-placeholder {
  min-height: 84px;
}

#footer-placeholder {
  min-height: 300px;
}

.store-badge {
  display: block;
  height: 50px;
  width: auto;
  border-radius: 8px;
  background-color: #111;
}

.store-badge--apple {
  width: 150px;
}

.store-badge--google {
  width: 169px;
}

.app-screenshot {
  aspect-ratio: 1170 / 835;
  width: 100%;
  height: auto;
  background-color: #e9ecef;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  display: block;
  object-fit: cover;
}

.tutorial-video {
  margin: 16px 0 8px;
  max-width: 280px;
}

.tutorial-video__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.tutorial-video__player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f172a;
  vertical-align: top;
}

.tutorial-video figcaption {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.4;
}

@media (min-width: 720px) {
  .tutorial-video {
    max-width: 320px;
  }
}

/* ——— Shared marketing chrome ——— */
.tk-body {
  font-family: var(--tk-font);
  margin: 0;
  padding: 0;
  color: var(--tk-ink);
  background: var(--tk-sand);
  line-height: 1.6;
}

.tk-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.tk-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tk-forest);
  margin-bottom: 10px;
}

.tk-hero {
  text-align: center;
  padding: 64px 20px 40px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(46, 139, 87, 0.12), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--tk-sand) 100%);
  border-bottom: 1px solid var(--tk-line);
}

.tk-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--tk-plum);
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.tk-hero .lede {
  font-size: 1.15rem;
  color: var(--tk-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}

.tk-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.tk-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.tk-btn--primary {
  background: var(--tk-plum);
  color: #fff;
}

.tk-btn--secondary {
  background: transparent;
  color: var(--tk-plum);
  border-color: var(--tk-plum);
}

.tk-btn--forest {
  background: var(--tk-forest);
  color: #fff;
}

.tk-store-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 8px;
}

.tk-section {
  padding: 56px 20px;
}

.tk-section--white {
  background: #fff;
}

.tk-section--mint {
  background: var(--tk-mint);
  border-block: 1px solid var(--tk-mint-border);
}

.tk-section h2 {
  color: var(--tk-plum);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  text-align: center;
}

.tk-section .section-lede {
  text-align: center;
  color: var(--tk-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.tk-quick {
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  box-shadow: var(--tk-shadow);
  padding: 28px 28px 20px;
  max-width: 900px;
  margin: -28px auto 0;
  position: relative;
  z-index: 1;
}

.tk-quick h2 {
  text-align: left;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.tk-quick ul,
.tk-bullets {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--tk-ink);
}

.tk-quick li,
.tk-bullets li {
  margin-bottom: 10px;
}

.tk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.tk-card {
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  padding: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.tk-card h3 {
  color: var(--tk-forest-dark);
  margin: 12px 0 8px;
  font-size: 1.15rem;
}

.tk-card p,
.tk-card li {
  color: var(--tk-muted);
  font-size: 0.98rem;
  margin: 0;
}

.tk-card ul {
  margin: 10px 0 0;
  padding-left: 1.1rem;
}

.tk-card__icon {
  width: 56px;
  height: 56px;
  display: block;
}

.tk-compare {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}

.tk-compare table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--tk-radius);
  overflow: hidden;
  border: 1px solid var(--tk-line);
}

.tk-compare th,
.tk-compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--tk-line);
  font-size: 0.95rem;
}

.tk-compare th {
  background: var(--tk-plum);
  color: #fff;
}

.tk-compare tr:last-child td {
  border-bottom: none;
}

.tk-compare .yes {
  color: var(--tk-forest);
  font-weight: 700;
}

.tk-compare .no {
  color: #b91c1c;
  font-weight: 600;
}

.tk-faq {
  max-width: 800px;
  margin: 0 auto;
}

.tk-faq details {
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.tk-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--tk-plum);
  list-style: none;
}

.tk-faq summary::-webkit-details-marker {
  display: none;
}

.tk-faq details[open] summary {
  margin-bottom: 8px;
}

.tk-faq p {
  margin: 0;
  color: var(--tk-muted);
}

.tk-cta-band {
  text-align: center;
  padding: 56px 20px;
  background: linear-gradient(135deg, var(--tk-plum-dark), var(--tk-plum) 55%, #1e5c3a);
  color: #fff;
}

.tk-cta-band h2 {
  color: #fff;
  margin: 0 0 10px;
}

.tk-cta-band p {
  max-width: 560px;
  margin: 0 auto 22px;
  opacity: 0.92;
}

.tk-cta-band .tk-btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.tk-breadcrumbs {
  font-size: 0.85rem;
  color: var(--tk-muted);
  margin: 0 0 12px;
}

.tk-breadcrumbs a {
  color: var(--tk-forest);
  text-decoration: none;
}

.tk-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.tk-split--flip {
  direction: rtl;
}

.tk-split--flip > * {
  direction: ltr;
}

.tk-split img,
.tk-split .tk-illust {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.tk-illust {
  display: block;
  max-width: 420px;
  margin: 0 auto;
}

.tk-price-note {
  background: var(--tk-mint);
  border: 1px solid var(--tk-forest);
  color: var(--tk-forest-dark);
  padding: 14px 18px;
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
  border-radius: 10px;
  font-weight: 500;
}

@media (max-width: 800px) {
  .tk-split,
  .tk-split--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
    gap: 24px;
  }

  .tk-split ul {
    text-align: left;
    display: inline-block;
  }

  .tk-hero h1 {
    max-width: none;
  }
}
