/* TrueMate landing pages. Standalone: no BoldTech site styles. */
:root {
  --mint: #31d7be;
  --mint-soft: rgba(49, 215, 190, 0.14);
  --canvas: #080d0f;
  --surface: #141b1d;
  --surface-2: #1b2426;
  --border: #2a3533;
  --text: #f2f4f3;
  --muted: #a9b5b2;
  --on-mint: #03221d;
  --red: #ff6b6b;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.tm {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 16px; }
.tm-wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.tm-center { text-align: center; }
.tm-mint { color: var(--mint); }
.tm-skip { position: absolute; left: -9999px; }
.tm-skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--mint); color: var(--on-mint); padding: 8px 14px; border-radius: 10px; }
.tm-eyebrow { color: var(--mint); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.tm-lead { color: var(--muted); font-size: 1.12rem; max-width: 36em; }
.tm-fine { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

/* Header */
.tm-header { position: sticky; top: 0; z-index: 5; background: rgba(8, 13, 15, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.tm-header__row { display: flex; align-items: center; gap: 24px; height: 68px; }
.tm-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.tm-brand img { border-radius: 10px; }
.tm-nav { display: flex; gap: 22px; margin-left: auto; }
.tm-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.tm-nav a:hover { color: var(--text); }

/* Buttons */
.tm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--mint); color: var(--on-mint); font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.tm-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(49, 215, 190, 0.25); }
.tm-btn--small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.tm-btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.tm-btn--ghost:hover { border-color: var(--mint); box-shadow: none; }
.tm-play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 16px; border-radius: 14px; background: #000; border: 1px solid #3c4643; color: #fff; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.tm-play:hover { border-color: var(--mint); transform: translateY(-1px); }
.tm-play span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.tm-play small { font-weight: 500; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: #cfd6d4; }
.tm-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Hero */
.tm-hero { padding: 64px 0 40px; overflow: hidden; }
.tm-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.tm-hero__copy h1 { margin-bottom: 20px; }
.tm-qr { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 14px 18px 14px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; width: fit-content; }
.tm-qr img { width: 112px; height: 112px; border-radius: 10px; background: #fff; padding: 4px; }
.tm-qr div { display: flex; flex-direction: column; max-width: 16em; }
.tm-qr span { color: var(--muted); font-size: 0.92rem; }
.tm-hero__visual { position: relative; display: flex; justify-content: center; min-height: 600px; }
.tm-glow { position: absolute; inset: 10% 5%; background: radial-gradient(circle at 50% 45%, rgba(49, 215, 190, 0.32), transparent 62%); filter: blur(10px); }
.tm-phone { position: relative; width: 300px; padding: 10px; border-radius: 46px; background: linear-gradient(145deg, #2b3533, #0d1314); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.07) inset; transform: rotate(-3deg); }
.tm-phone img { border-radius: 36px; }
.tm-float { position: absolute; margin: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: rgba(20, 27, 29, 0.92); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); backdrop-filter: blur(8px); }
.tm-float img { width: 52px; height: 52px; border-radius: 14px; }
.tm-float figcaption { display: flex; flex-direction: column; font-size: 0.85rem; line-height: 1.3; }
.tm-float span { color: var(--muted); }
.tm-float--a { top: 70px; left: -10px; }
.tm-float--b { bottom: 70px; right: -6px; }
.tm-float--b b { color: var(--mint); }

/* Sections */
.tm-section { padding: 88px 0; }
.tm-section--alt { background: linear-gradient(180deg, #0c1315, #0a1012); border-block: 1px solid rgba(255, 255, 255, 0.04); }
.tm-section--tight { padding: 48px 0 72px; }
.tm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.tm-step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 26px; }
.tm-step__shot { height: 340px; overflow: hidden; border-radius: 16px; margin-bottom: 20px; background: var(--canvas); }
.tm-step__shot img { width: 100%; }
.tm-step__num { position: relative; z-index: 1; width: 38px; height: 38px; margin: -39px 0 0 0; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--on-mint); font-weight: 800; box-shadow: 0 0 0 6px var(--surface); }
.tm-step__shot { position: relative; }
.tm-step h3 { margin-top: 14px; }
.tm-step p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.tm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tm-split--reverse > :first-child { order: 0; }

/* Flag card */
.tm-flagcard { display: block; text-decoration: none; color: var(--text); background: radial-gradient(circle at 20% 0%, rgba(49, 215, 190, 0.18), transparent 55%), var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 30px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); transform: rotate(1.5deg); transition: transform .2s ease, border-color .2s ease; }
.tm-flagcard:hover { transform: rotate(0) translateY(-2px); border-color: var(--mint); }
.tm-flagcard__label { color: var(--mint); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.tm-flagcard__q { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 14px 0 24px; }
.tm-flagcard__votes { display: flex; flex-wrap: wrap; gap: 10px; }
.tm-vote { padding: 10px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; font-size: 0.95rem; }
.tm-vote--green { border-color: rgba(49, 215, 190, 0.5); background: var(--mint-soft); }
.tm-vote--red { border-color: rgba(255, 107, 107, 0.5); background: rgba(255, 107, 107, 0.12); }
.tm-flagcard__hint { display: block; margin-top: 22px; color: var(--muted); font-size: 0.9rem; }

/* Avatars */
.tm-avatars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tm-avatars img { border-radius: 20px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.tm-avatars img:nth-child(even) { transform: translateY(18px); }

/* Features */
.tm-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.tm-features article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.tm-features span { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.tm-features p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Safety */
.tm-safety { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.tm-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tm-checks li { position: relative; padding: 16px 18px 16px 52px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; color: var(--muted); }
.tm-checks li::before { content: "✓"; position: absolute; left: 18px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--on-mint); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }

/* Final CTA */
.tm-final { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; border-radius: 32px; background: radial-gradient(circle at 85% 30%, rgba(49, 215, 190, 0.28), transparent 50%), var(--surface); border: 1px solid var(--border); }
.tm-final p { color: var(--muted); font-size: 1.1rem; }
.tm-final__qr { width: 160px; height: 160px; background: #fff; padding: 8px; border-radius: 16px; flex: none; }

/* Support and footer */
.tm-support { max-width: 760px; }
.tm-support h2 { font-size: 1.5rem; }
.tm-support p { color: var(--muted); }
.tm-footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 40px 0 28px; background: #060a0b; }
.tm-footer__row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.tm-footer__brand p { color: var(--muted); font-size: 0.92rem; margin-top: 10px; max-width: 26em; }
.tm-footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; align-content: flex-start; }
.tm-footer__links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.tm-footer__links a:hover { color: var(--text); }
.tm-footer__legal p { color: #6f7b78; font-size: 0.82rem; margin: 26px 0 0; }

/* Tablet */
@media (max-width: 960px) {
  .tm-hero__grid, .tm-split, .tm-safety { grid-template-columns: 1fr; }
  .tm-hero__visual { min-height: 0; padding: 20px 0 10px; }
  .tm-steps, .tm-features { grid-template-columns: 1fr 1fr; }
  .tm-split--reverse > :first-child { order: 1; }
}
/* Phone */
@media (max-width: 640px) {
  body.tm { font-size: 16px; }
  .tm-nav { display: none; }
  .tm-header__row { justify-content: space-between; }
  .tm-hero { padding-top: 36px; }
  .tm-qr { display: none; } /* On a phone the store button is enough. */
  .tm-phone { width: 250px; }
  .tm-float { transform: scale(0.88); }
  .tm-float--a { left: -4px; top: 30px; }
  .tm-float--b { right: -4px; bottom: 40px; }
  .tm-steps, .tm-features { grid-template-columns: 1fr; }
  .tm-section { padding: 64px 0; }
  .tm-final { flex-direction: column; text-align: center; padding: 32px 22px; }
  .tm-final__qr { display: none; }
  .tm-avatars { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Flag or Not? ---------- */
.tm-red { color: var(--red); }
.tm-flaghero { padding: 56px 0 8px; background: radial-gradient(circle at 15% 0%, rgba(49, 215, 190, 0.16), transparent 45%), radial-gradient(circle at 90% 10%, rgba(255, 107, 107, 0.12), transparent 40%); }
.tm-flaghero__inner { max-width: 760px; text-align: center; }
.tm-flaghero h1 { margin-bottom: 18px; }
.tm-flaghero .tm-lead { margin-inline: auto; }
.tm-progress { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 0.95rem; }
.tm-progress progress { width: 140px; height: 8px; appearance: none; border: 0; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.tm-progress progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 99px; }
.tm-progress progress::-webkit-progress-value { background: var(--mint); border-radius: 99px; }
.tm-progress progress::-moz-progress-bar { background: var(--mint); border-radius: 99px; }
.tm-section--flags { padding-top: 40px; }
.tm-cards { max-width: 760px; display: grid; gap: 22px; }
.tm-game { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 30px; scroll-margin-top: 90px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.tm-game--done { border-color: rgba(49, 215, 190, 0.35); }
.tm-game--empty, .tm-game--complete { text-align: center; }
.tm-game--complete { background: radial-gradient(circle at 50% 0%, rgba(49, 215, 190, 0.2), transparent 60%), var(--surface); }
.tm-game--complete p, .tm-game--empty p { color: var(--muted); }
.tm-game--split { background: radial-gradient(circle at 100% 0%, rgba(255, 107, 107, 0.14), transparent 50%), var(--surface); }
.tm-game__count { color: var(--mint); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.tm-game--split .tm-game__count { color: var(--red); }
.tm-game__q { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 22px; }
.tm-game__mine { margin-bottom: 8px; color: var(--muted); }
.tm-game__total { color: var(--muted); font-size: 0.95rem; margin-bottom: 12px; }
.tm-game__note { color: var(--muted); font-size: 0.95rem; margin: 16px 0 0; }
.tm-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-weight: 700; margin-left: 4px; }
.tm-chip--green { background: var(--mint-soft); color: var(--mint); }
.tm-chip--red { background: rgba(255, 107, 107, 0.14); color: var(--red); }
.tm-votes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tm-votebtn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-weight: 700; text-decoration: none; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.tm-votebtn:hover, .tm-votebtn:focus-visible { transform: translateY(-2px); }
.tm-votebtn--green:hover, .tm-votebtn--green:focus-visible { border-color: var(--mint); background: var(--mint-soft); }
.tm-votebtn--red:hover, .tm-votebtn--red:focus-visible { border-color: var(--red); background: rgba(255, 107, 107, 0.14); }
.tm-votebtn--depends:hover, .tm-votebtn--depends:focus-visible { border-color: #9aa7a4; }
.tm-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tm-bar { display: grid; grid-template-columns: 9.5em 1fr 3.2em; align-items: center; gap: 12px; font-size: 0.95rem; }
.tm-bar__label { color: var(--muted); font-weight: 600; }
.tm-bar--mine .tm-bar__label { color: var(--text); }
.tm-bar__track { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.tm-bar__fill { display: block; height: 100%; border-radius: 99px; background: #7d8a87; }
.tm-bar--green .tm-bar__fill { background: var(--mint); }
.tm-bar--red .tm-bar__fill { background: var(--red); }
.tm-bar__pct { text-align: right; font-weight: 800; }
.tm-share { text-align: center; padding: 8px 0 0; }
.tm-share p { color: var(--muted); }
.tm-share__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 640px) {
  .tm-game { padding: 22px; }
  .tm-votes { grid-template-columns: 1fr; }
  .tm-bar { grid-template-columns: 7.8em 1fr 2.8em; gap: 8px; font-size: 0.9rem; }
  .tm-progress progress { width: 90px; }
}
/* Result bar widths (inline styles are blocked by the site's CSP). */
.tm-w-0 { width: 0%; }
.tm-w-1 { width: 1%; }
.tm-w-2 { width: 2%; }
.tm-w-3 { width: 3%; }
.tm-w-4 { width: 4%; }
.tm-w-5 { width: 5%; }
.tm-w-6 { width: 6%; }
.tm-w-7 { width: 7%; }
.tm-w-8 { width: 8%; }
.tm-w-9 { width: 9%; }
.tm-w-10 { width: 10%; }
.tm-w-11 { width: 11%; }
.tm-w-12 { width: 12%; }
.tm-w-13 { width: 13%; }
.tm-w-14 { width: 14%; }
.tm-w-15 { width: 15%; }
.tm-w-16 { width: 16%; }
.tm-w-17 { width: 17%; }
.tm-w-18 { width: 18%; }
.tm-w-19 { width: 19%; }
.tm-w-20 { width: 20%; }
.tm-w-21 { width: 21%; }
.tm-w-22 { width: 22%; }
.tm-w-23 { width: 23%; }
.tm-w-24 { width: 24%; }
.tm-w-25 { width: 25%; }
.tm-w-26 { width: 26%; }
.tm-w-27 { width: 27%; }
.tm-w-28 { width: 28%; }
.tm-w-29 { width: 29%; }
.tm-w-30 { width: 30%; }
.tm-w-31 { width: 31%; }
.tm-w-32 { width: 32%; }
.tm-w-33 { width: 33%; }
.tm-w-34 { width: 34%; }
.tm-w-35 { width: 35%; }
.tm-w-36 { width: 36%; }
.tm-w-37 { width: 37%; }
.tm-w-38 { width: 38%; }
.tm-w-39 { width: 39%; }
.tm-w-40 { width: 40%; }
.tm-w-41 { width: 41%; }
.tm-w-42 { width: 42%; }
.tm-w-43 { width: 43%; }
.tm-w-44 { width: 44%; }
.tm-w-45 { width: 45%; }
.tm-w-46 { width: 46%; }
.tm-w-47 { width: 47%; }
.tm-w-48 { width: 48%; }
.tm-w-49 { width: 49%; }
.tm-w-50 { width: 50%; }
.tm-w-51 { width: 51%; }
.tm-w-52 { width: 52%; }
.tm-w-53 { width: 53%; }
.tm-w-54 { width: 54%; }
.tm-w-55 { width: 55%; }
.tm-w-56 { width: 56%; }
.tm-w-57 { width: 57%; }
.tm-w-58 { width: 58%; }
.tm-w-59 { width: 59%; }
.tm-w-60 { width: 60%; }
.tm-w-61 { width: 61%; }
.tm-w-62 { width: 62%; }
.tm-w-63 { width: 63%; }
.tm-w-64 { width: 64%; }
.tm-w-65 { width: 65%; }
.tm-w-66 { width: 66%; }
.tm-w-67 { width: 67%; }
.tm-w-68 { width: 68%; }
.tm-w-69 { width: 69%; }
.tm-w-70 { width: 70%; }
.tm-w-71 { width: 71%; }
.tm-w-72 { width: 72%; }
.tm-w-73 { width: 73%; }
.tm-w-74 { width: 74%; }
.tm-w-75 { width: 75%; }
.tm-w-76 { width: 76%; }
.tm-w-77 { width: 77%; }
.tm-w-78 { width: 78%; }
.tm-w-79 { width: 79%; }
.tm-w-80 { width: 80%; }
.tm-w-81 { width: 81%; }
.tm-w-82 { width: 82%; }
.tm-w-83 { width: 83%; }
.tm-w-84 { width: 84%; }
.tm-w-85 { width: 85%; }
.tm-w-86 { width: 86%; }
.tm-w-87 { width: 87%; }
.tm-w-88 { width: 88%; }
.tm-w-89 { width: 89%; }
.tm-w-90 { width: 90%; }
.tm-w-91 { width: 91%; }
.tm-w-92 { width: 92%; }
.tm-w-93 { width: 93%; }
.tm-w-94 { width: 94%; }
.tm-w-95 { width: 95%; }
.tm-w-96 { width: 96%; }
.tm-w-97 { width: 97%; }
.tm-w-98 { width: 98%; }
.tm-w-99 { width: 99%; }
.tm-w-100 { width: 100%; }
