/* TinkerTime product page. Every rule is scoped under .p-tinkertime.
   Built like the app runs: the page opens on the app's own question with working minute buttons,
   then walks a session as "Step 1 of 4 ... 4 of 4" pages under a progress bar.
   Tokens from TinkerTime/src/theme/tokens.ts: sand paper, one clay accent, teal for "ready",
   amber for "keep in mind", plum for Pro, heavy system type with tight tracking. */
.p-tinkertime {
  --tt-sand50: #fff6e9;
  --tt-sand100: #f8ead6;
  --tt-sand200: #edd9be;
  --tt-ink: #1b1714;
  --tt-ink700: #3d342e;
  --tt-ink500: #6b5d53;
  --tt-clay: #dd6b3d;
  --tt-clay600: #c4552e;
  --tt-clay-ink: #a8431f;
  --tt-clay100: #f9ddd0;
  --tt-teal: #1f5f5b;
  --tt-teal100: #d6edea;
  --tt-amber: #d99a2b;
  --tt-amber100: #faebc9;
  --tt-plum: #7a4a73;
  --tt-plum100: #eeddec;
  --tt-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--tt-sand50);
  color: var(--tt-ink);
  font-family: var(--tt-font);
}
.p-tinkertime a { text-decoration-color: var(--tt-clay); }
.p-tinkertime a:hover { color: var(--tt-clay-ink); }
.p-tinkertime :focus-visible { outline-color: var(--tt-clay600); }
.p-tinkertime h1, .p-tinkertime h2, .p-tinkertime h3 { font-family: var(--tt-font); font-weight: 800; color: var(--tt-ink); }
.p-tinkertime h1 em, .p-tinkertime h2 em { font-style: normal; color: var(--tt-clay-ink); }
.p-tinkertime h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 18ch; }
.p-tinkertime .tt-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.p-tinkertime .tt-quiet { color: var(--tt-ink500); font-size: 0.9375rem; }
.p-tinkertime .tt-over { margin: 0 0 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tt-clay-ink); }
.p-tinkertime .tt-soon { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--tt-ink); color: var(--tt-sand50); font-weight: 700; font-size: 0.875rem; }
.p-tinkertime .tt-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--tt-clay); box-shadow: 0 0 0 4px rgba(221, 107, 61, 0.3); }

/* the question, asked on the page */
.p-tinkertime .tt-ask { padding: 28px 0 64px; overflow: hidden; background:
  radial-gradient(circle at 96% 30%, rgba(221, 107, 61, 0.14) 0 140px, transparent 141px),
  radial-gradient(circle at 0% 90%, rgba(31, 95, 91, 0.12) 0 110px, transparent 111px),
  var(--tt-sand50); }
.p-tinkertime .tt-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 40px; }
.p-tinkertime .tt-brand { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; }
.p-tinkertime .tt-brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 6px 14px -8px rgba(27, 23, 20, 0.5); }
.p-tinkertime .tt-play { max-width: 820px; margin: 0 auto; text-align: center; }
.p-tinkertime .tt-play h1 { margin: 0 auto 28px; max-width: 13ch; font-size: clamp(2.6rem, 8.4vw, 5.25rem); line-height: 0.98; letter-spacing: -0.045em; }
.p-tinkertime .tt-dial { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 640px; margin: 0 auto 28px; padding: 0; border: 0; min-width: 0; }
.p-tinkertime .tt-dial label { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 2px solid var(--tt-sand200); font-size: clamp(1.125rem, 4vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; cursor: pointer; box-shadow: 0 4px 0 var(--tt-sand200); transition: transform .15s, box-shadow .15s, background-color .15s, color .15s; }
.p-tinkertime .tt-dial label::after { content: "min"; position: absolute; bottom: 16%; font-size: 0.5em; font-weight: 600; letter-spacing: 0; opacity: 0.6; }
.p-tinkertime .tt-dial label:hover { border-color: var(--tt-clay); }
.p-tinkertime .tt-dial input:checked + label { background: var(--tt-clay); border-color: var(--tt-clay600); color: #fff; box-shadow: 0 2px 0 var(--tt-clay600); transform: translateY(2px); }
.p-tinkertime .tt-dial input:focus-visible + label { outline: 3px solid var(--tt-ink); outline-offset: 3px; }
.p-tinkertime .tt-picks { display: grid; max-width: 560px; margin: 0 auto; text-align: left; }
.p-tinkertime .tt-pick { display: none; padding: 24px; border-radius: 28px; background: #fff; box-shadow: 0 30px 50px -36px rgba(27, 23, 20, 0.45), 0 2px 8px rgba(27, 23, 20, 0.05); }
.p-tinkertime .tt-pick-title { margin: 0 0 6px; font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.p-tinkertime .tt-pick-tag { margin: 0 0 8px; font-size: 1rem; line-height: 1.45; color: var(--tt-ink500); }
.p-tinkertime .tt-pick-meta { margin: 0 0 18px; font-size: 0.8125rem; font-weight: 700; color: var(--tt-teal); }
.p-tinkertime .tt-pick-btns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; margin: 0; }
.p-tinkertime .tt-start, .p-tinkertime .tt-else { display: block; padding: 14px 10px; border-radius: 16px; text-align: center; font-weight: 700; font-size: 0.9375rem; }
.p-tinkertime .tt-start { background: var(--tt-clay); color: #fff; }
.p-tinkertime .tt-else { background: var(--tt-sand100); color: var(--tt-ink); }
.p-tinkertime .tt-play:has(#tt-m5:checked) .m5,
.p-tinkertime .tt-play:has(#tt-m10:checked) .m10,
.p-tinkertime .tt-play:has(#tt-m20:checked) .m20,
.p-tinkertime .tt-play:has(#tt-m30:checked) .m30,
.p-tinkertime .tt-play:has(#tt-m45:checked) .m45,
.p-tinkertime .tt-play:has(#tt-m60:checked) .m60 { display: block; animation: tt-in .3s ease-out; }
@keyframes tt-in { from { opacity: 0; transform: translateY(8px) rotate(-0.6deg); } to { opacity: 1; transform: none; } }
.p-tinkertime .tt-cap { margin: 16px auto 0; max-width: 34em; font-size: 0.8125rem; color: var(--tt-ink500); }
.p-tinkertime .tt-lead { margin: 48px auto 0; max-width: 36em; text-align: center; font-size: 1.1875rem; line-height: 1.55; color: var(--tt-ink700); }

/* the session: four pages under one progress bar */
.p-tinkertime .tt-session { padding: 72px 0; background: var(--tt-sand100); }
.p-tinkertime .tt-bar-big { height: 10px; margin: 28px 0 22px; border-radius: 5px; background: var(--tt-sand200); overflow: hidden; }
.p-tinkertime .tt-bar-big span { display: block; width: 100%; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--tt-clay) 0 25%, #e47b4f 25% 50%, #ea8a61 50% 75%, #f0a07c 75%); }
.p-tinkertime .tt-pages { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.p-tinkertime .tt-pg { margin: 0; padding: 22px; border-radius: 24px; background: var(--tt-sand50); box-shadow: 0 4px 12px rgba(27, 23, 20, 0.06); min-width: 0; }
.p-tinkertime .tt-pg h3 { margin: 0 0 14px; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.03em; }
.p-tinkertime .tt-pg > p:last-child { margin: 14px 0 0; font-size: 0.9375rem; color: var(--tt-ink500); }
.p-tinkertime .tt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.p-tinkertime .tt-chips span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--tt-sand200); font-size: 0.8125rem; font-weight: 600; color: var(--tt-ink700); }
.p-tinkertime .tt-chips span.on { background: var(--tt-ink); border-color: var(--tt-ink); color: var(--tt-sand50); }
.p-tinkertime .tt-chips.small span { padding: 4px 10px; font-size: 0.75rem; }
.p-tinkertime .tt-chips.small span.on { background: var(--tt-teal); border-color: var(--tt-teal); }
.p-tinkertime .tt-things { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.p-tinkertime .tt-things li { margin: 0; padding: 4px 10px; border-radius: 8px; background: #fff; border: 1.5px dashed var(--tt-sand200); font-size: 0.8125rem; font-weight: 600; }
.p-tinkertime .tt-things li:nth-child(3n+1) { transform: rotate(-2deg); }
.p-tinkertime .tt-things li:nth-child(3n) { transform: rotate(1.5deg); }
.p-tinkertime .tt-mini { padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--tt-sand200); }
.p-tinkertime .tt-mini-over { margin: 0 0 8px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tt-clay-ink); }
.p-tinkertime .tt-mini-step { margin: 0 0 10px; font-size: 1.0625rem; line-height: 1.35; font-weight: 800; letter-spacing: -0.02em; }
.p-tinkertime .tt-mini-keep { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--tt-amber100); font-size: 0.75rem; line-height: 1.4; }
.p-tinkertime .tt-mini-keep b { display: block; color: #7f560c; }
.p-tinkertime .tt-verdict { display: grid; gap: 6px; margin: 0; }
.p-tinkertime .tt-verdict span { padding: 10px; border-radius: 14px; text-align: center; font-weight: 700; font-size: 0.875rem; }
.p-tinkertime .tt-verdict .a { background: var(--tt-clay); color: #fff; }
.p-tinkertime .tt-verdict .b { background: #fff; border: 1px solid var(--tt-sand200); }
.p-tinkertime .tt-verdict .c { color: var(--tt-ink500); }
.p-tinkertime .tt-range { margin: 32px 0 0; font-size: 1.0625rem; color: var(--tt-ink700); }
.p-tinkertime .tt-range b { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--tt-teal); }

/* Pro: the toy shelf */
.p-tinkertime .tt-shelf { padding: 72px 0; background: var(--tt-plum100); }
.p-tinkertime .tt-shelf-in { display: grid; gap: 36px; align-items: center; }
.p-tinkertime .tt-shelf-in > * { min-width: 0; }
.p-tinkertime .tt-shelf-copy .tt-pro-tag { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px; background: var(--tt-plum); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.p-tinkertime .tt-shelf h2 em { color: var(--tt-plum); }
.p-tinkertime .tt-shelf-copy p { color: var(--tt-ink700); max-width: 34em; }
.p-tinkertime .tt-swap { display: grid; gap: 14px; justify-items: center; }
.p-tinkertime .tt-swap-card { width: 100%; max-width: 360px; margin: 0; padding: 18px 20px; border-radius: 22px; background: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.p-tinkertime .tt-swap-card.before { color: var(--tt-ink500); text-decoration: line-through; text-decoration-color: rgba(122, 74, 115, 0.5); text-decoration-thickness: 2px; background: rgba(255, 255, 255, 0.55); }
.p-tinkertime .tt-swap-card.after { box-shadow: 0 0 0 2px var(--tt-plum), 0 22px 36px -22px rgba(122, 74, 115, 0.7); transform: rotate(-1deg); }
.p-tinkertime .tt-swap-card small { display: table; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--tt-plum100); color: var(--tt-plum); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.p-tinkertime .tt-swap-shelf { margin: 0; padding: 8px 16px; border-radius: 12px; background: var(--tt-plum); color: #fff; font-weight: 700; font-size: 0.9375rem; }
.p-tinkertime .tt-swap-shelf span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }

/* privacy as the app's own "Keep in mind" note */
.p-tinkertime .tt-keep { padding: 72px 0; }
.p-tinkertime .tt-keep-box { max-width: 760px; margin: 0 auto; padding: 28px; border-radius: 28px; background: var(--tt-amber100); border-left: 8px solid var(--tt-amber); }
.p-tinkertime .tt-keep-box h2 { margin: 0 0 14px; font-size: 1.75rem; color: #7f560c; }
.p-tinkertime .tt-keep-box ul { margin: 0 0 14px; padding-left: 1.2em; }
.p-tinkertime .tt-keep-box li { color: var(--tt-ink700); font-weight: 600; }
.p-tinkertime .tt-keep-box p { margin: 0; font-size: 0.9375rem; color: var(--tt-ink700); }

/* questions as open cards */
.p-tinkertime .tt-qs { padding: 24px 0 72px; }
.p-tinkertime .tt-qgrid { display: grid; gap: 14px; margin: 28px 0 18px; }
.p-tinkertime .tt-qgrid article { padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 4px 12px rgba(27, 23, 20, 0.05); }
.p-tinkertime .tt-qgrid h3 { margin: 0 0 8px; font-size: 1.1875rem; letter-spacing: -0.02em; }
.p-tinkertime .tt-qgrid p { margin: 0; font-size: 0.9375rem; color: var(--tt-ink700); }

/* all done */
.p-tinkertime .tt-done { padding: 80px 0; text-align: center; background: var(--tt-clay); color: #fff; }
.p-tinkertime .tt-over.light { color: var(--tt-ink); }
.p-tinkertime .tt-done h2 { margin: 0 auto 28px; color: #fff; max-width: 16ch; }
.p-tinkertime .tt-done h2 em { color: var(--tt-ink); }

@media (min-width: 720px) {
  .p-tinkertime .tt-qgrid { grid-template-columns: 1fr 1fr; }
  .p-tinkertime .tt-pages { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
  .p-tinkertime .tt-ask { padding: 32px 0 96px; }
  .p-tinkertime .tt-session, .p-tinkertime .tt-shelf { padding: 104px 0; }
  .p-tinkertime .tt-pages { grid-template-columns: repeat(4, 1fr); }
  .p-tinkertime .tt-shelf-in { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .p-tinkertime .tt-keep { padding: 104px 0; }
}
@media (max-width: 719px) {
  .p-tinkertime .tt-pages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 12px; }
  .p-tinkertime .tt-pg { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (max-width: 400px) {
  .p-tinkertime .tt-dial { gap: 6px; }
  .p-tinkertime .tt-dial label { border-width: 1.5px; }
  .p-tinkertime .tt-dial label::after { bottom: 10%; }
  .p-tinkertime .tt-pick { padding: 18px; }
  .p-tinkertime .tt-keep-box { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .p-tinkertime .tt-pick { animation: none !important; }
  .p-tinkertime .tt-dial label { transition: none; }
}
