/* ============================================================
   TG Timer landing — scoped additions on top of base.css.
   Reuses the existing Whiteforge light identity and tokens.
   ============================================================ */

/* ---------- Hero CTA ---------- */

.tg-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 28px 0 0;
}

.tg-cta .appstore-button { padding: 12px 26px; }

.tg-terms {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  font-feature-settings: "tnum" 1;
}
.tg-terms strong { color: var(--text); font-weight: 600; }

.tg-demo-link {
  font-size: 15px;
  color: var(--text);
  text-decoration-color: var(--border-strong);
}

.tg-hero-benefit {
  margin: 26px 0 0;
  font-size: 15px;
  color: var(--text-dim);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  line-height: 1.5;
}

/* ---------- Demo video ---------- */

.tg-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tg-video__frame {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #05070a;
  box-shadow: 0 12px 40px rgba(20, 20, 26, 0.12);
}

.tg-video__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-video__caption {
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
  max-width: 48ch;
  margin: 0;
  line-height: 1.5;
}
.tg-video__caption a { color: var(--text-muted); }

/* ---------- Benefit cards ---------- */

.tg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tg-benefit h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin: 16px 0 6px;
  letter-spacing: -0.005em;
}
.tg-benefit p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Placeholder screenshot tile (until real assets land) ---------- */

.tg-shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 9 / 19.5;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  color: var(--text-dim);
  text-align: center;
  padding: 18px;
}
.tg-shot svg { width: 42px; height: 42px; color: var(--accent); opacity: 0.7; }
.tg-shot span { font-size: 12px; letter-spacing: 0.02em; max-width: 18ch; }

/* a real screenshot drops straight in with this class */
.tg-shot--img {
  display: block;
  aspect-ratio: auto;
  padding: 0;
  border-style: solid;
  background: #000;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------- Steps ---------- */

.tg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tg-step { position: relative; }
.tg-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-feature-settings: "tnum" 1;
  margin: 0 0 14px;
}
.tg-step h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.tg-step p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Feature detail accordion ---------- */

.tg-feature {
  border-bottom: 1px solid var(--border);
}
.tg-feature:first-of-type { border-top: 1px solid var(--border); }
.tg-feature summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tg-feature summary::-webkit-details-marker { display: none; }
.tg-feature summary::after {
  content: "+";
  color: var(--text-dim);
  font-weight: 400;
  font-size: 20px;
  transition: transform 0.15s ease;
}
.tg-feature[open] summary::after { content: "\2212"; }
.tg-feature summary:hover { color: var(--accent); }
.tg-feature summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tg-feature__body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 0 18px;
  max-width: 62ch;
}
.tg-feature__body p { margin: 0 0 10px; }
.tg-feature__body p:last-child { margin-bottom: 0; }

/* ---------- Final CTA band ---------- */

.tg-final {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 32px;
  margin-top: 8px;
}
.tg-final h2 { margin: 0 0 14px; border: 0; }
.tg-final p { max-width: 52ch; margin: 0 auto 26px; color: var(--text-muted); }
.tg-final .tg-cta { align-items: center; margin-top: 0; }

/* ---------- Caption under a qualified claim ---------- */

.tg-note {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 14px 0 0;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .tg-feature summary::after { transition: none; }
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .tg-grid-3 { grid-template-columns: 1fr; gap: 28px; max-width: 340px; margin-left: auto; margin-right: auto; }
  .tg-steps { grid-template-columns: 1fr; gap: 26px; }
  .tg-video__frame { max-width: 260px; }
  .tg-final { padding: 36px 22px; }
  .tg-shot:not(.tg-shot--img) { aspect-ratio: 16 / 10; }
  .tg-grid-3 .tg-shot:not(.tg-shot--img) { aspect-ratio: 9 / 16; }
}
