/* ojuu: TempClock page. Identity from site.css; product screens in TempClock's own colours
   (kiosk #030712 / #111827 / #1F2937 / #374151, console grey with orange #F97316). */

/* page rhythm: tighter sections so the page stays near six screens */
.tk { --tk-sec: clamp(3rem, 2rem + 2vw, 3.5rem); }
.tk .section-head { margin-bottom: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); }

/* ============ shared bits this page needs (home.css is not loaded here) ============ */
.cup__img { position: absolute; inset: 0; border-radius: 0 0 9999px 9999px; overflow: hidden; }
.pcard { position: relative; padding: 14px 16px; border-radius: 12px 12px 22px 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  font: 400 .84rem/1.5 var(--sans); color: var(--ink-2); }
.pcard__k { margin: 0 0 6px; font: 600 .66rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pcard__t { margin: 0 0 6px; font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.35; }
.pcard__b { margin: 0; color: var(--ink-2); }
.pcard__b b { color: var(--ink); }
.pcard--soft { background: var(--porcelain); box-shadow: none; }
.kz-logo { display: inline-flex; align-items: center; gap: 7px; font: 700 .95rem/1 Inter, sans-serif; color: inherit; }
.kz-logo b { color: #F97316; }
.kz-logo i { position: relative; width: 17px; height: 17px; border-radius: 50%; border: 2.5px solid #F97316; }
.kz-logo i::after { content: ""; position: absolute; left: 50%; top: 2px; width: 2px; height: 5px; background: #F97316; transform: translateX(-50%); }
.tk-tick { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #10B981; color: #fff; font: 700 1.4rem/1 Inter, sans-serif; }

/* ============ 1. hero ============ */
.tk-hero { position: relative; overflow: hidden; background: var(--white); padding: clamp(1.75rem, 1rem + 2.5vw, 3.25rem) 0 clamp(2.5rem, 1.5rem + 2.5vw, 3.5rem); }
.tk-hero.ticks::before { inset: 0 0 30% 50%; }
.tk-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.tk-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.tk-brand__mark { display: block; width: 46px; height: 37px; overflow: hidden; flex: none; }
.tk-brand__mark img { width: 46px; height: 46px; max-width: none; margin-top: -2px; }
.tk-brand > span { font: 700 1.3rem/1 Inter, sans-serif; letter-spacing: -0.02em; color: var(--ink); }
.tk-brand > span b { color: #C2410C; }
.tk-brand em { font-style: normal; font-size: .82rem; color: var(--ink-3); padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line-2); }
.tk-hero__title { font-size: clamp(2.6rem, 1rem + 4vw, 4.75rem); font-weight: 700; letter-spacing: -0.055em; line-height: .98; margin-bottom: 18px; }
.tk-hero__lead { font-size: var(--t-lg); line-height: 1.55; color: var(--ink-2); max-width: 32em; margin-bottom: var(--s-6); }
.tk-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-5); }
.tk-hero__for { margin: 0; font-size: var(--t-sm); color: var(--ink-3); max-width: 46ch; }
.tk-hero__for a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--coral); }

.tk-hero__fig { position: relative; margin: 0; padding-bottom: 4%; }
.tk-cup { position: relative; aspect-ratio: 1 / 1.12; border-radius: 0 0 9999px 9999px; }
.tk-hero__fig > .tk-cup { width: 80%; margin-left: auto; }
.tk-cup::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--coral); }
.tk-cup .cup__img img { object-position: 10% 50%; }
/* the kiosk sits beside the cup, over the page, never over a face */
.tk-tab { position: absolute; left: 0; bottom: 0; z-index: 2; width: 52%;
  border: 10px solid #0A0A0C; border-radius: 24px; background: #030712; color: #F9FAFB; box-shadow: 0 0 0 1.5px #3A3A42, var(--shadow-3); overflow: hidden; font-family: Inter, sans-serif; }
.tk-tab__bar { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; background: #111827; border-bottom: 1px solid #1F2937; }
.tk-tab__gate { font-size: .66rem; color: #9CA3AF; padding: 3px 9px; border: 1px solid #374151; border-radius: 999px; }
.tk-tab__body { display: grid; grid-template-columns: .85fr 1fr; gap: 14px; align-items: center; padding: 16px; }
.tk-tab__res { text-align: center; }
.tk-tab__res .tk-tick { margin-bottom: 8px; }
.tk-tab__k { margin: 0; font-size: .64rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #34D399; }
.tk-tab__n { margin: 3px 0 4px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.tk-tab__m { margin: 0 0 8px; font-size: .7rem; color: #D1D5DB; font-variant-numeric: tabular-nums; }
.tk-tab__f { display: inline-block; margin: 0; padding: 4px 9px; border-radius: 999px; background: rgba(16,185,129,.14); color: #34D399; font-size: .64rem; font-weight: 600; }
.tk-cam { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; background: radial-gradient(ellipse at 50% 35%, #2B3445, #111827 70%); overflow: hidden; }
.tk-cam__ring { position: absolute; left: 16%; right: 16%; top: 12%; bottom: 28%; border: 3px solid #10B981; border-radius: 50%; }
.tk-cam__head { position: absolute; left: 31%; right: 31%; top: 22%; aspect-ratio: 1; border-radius: 50%; background: #4B5563; }
.tk-cam__head::after { content: ""; position: absolute; left: -45%; right: -45%; top: 118%; height: 130%; border-radius: 50% 50% 0 0; background: #4B5563; }
.tk-chip { position: absolute; z-index: 3; right: -3%; top: 7%; margin: 0; padding: 12px 16px; border-radius: 14px 14px 22px 22px; background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-3); font-family: Inter, sans-serif; }
.tk-chip p { margin: 0; }
.tk-chip__k { display: flex; align-items: center; gap: 6px; font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #15803D; }
.tk-live { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.22); }
.tk-chip__n { position: relative; display: grid; font: 800 2rem/1.1 Inter, sans-serif; letter-spacing: -0.03em; color: #1F2937; font-variant-numeric: tabular-nums; }
.tk-chip__n > span { grid-area: 1 / 1; }
.tk-chip__a { opacity: 0; }
.tk-chip__s { font-size: .72rem; color: #6B7280; }
.tk-hero__cap { position: absolute; right: 0; bottom: -22px; }
/* hero motion: the scan finds the face, the tick lands, the count goes up by one */
.js .tk-hero__fig:not(.is-in) .tk-tab { opacity: 0; transform: translateX(-24px); }
.js .tk-hero__fig .tk-tab { transition: opacity .7s .2s, transform .9s .2s cubic-bezier(.2,.8,.2,1); }
.js .tk-hero__fig.is-in .tk-cam__ring { animation: tkScan 1.6s .6s both; }
.js .tk-hero__fig.is-in .tk-tab__res { animation: tkUp .6s 1.9s cubic-bezier(.2,.8,.2,1) both; }
.js .tk-hero__fig:not(.is-in) .tk-chip__a { opacity: 1; } .js .tk-hero__fig:not(.is-in) .tk-chip__b { opacity: 0; }
.js .tk-hero__fig.is-in .tk-chip__a { animation: tkFade .4s 2.4s both; }
.js .tk-hero__fig.is-in .tk-chip__b { animation: tkUp .5s 2.5s both; }
@keyframes tkScan { 0% { border-color: #F97316; transform: scale(1.08); } 70% { border-color: #F97316; transform: scale(.98); } 100% { border-color: #10B981; transform: none; } }
@keyframes tkUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes tkFade { from { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }

.tk-gauges { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2.25rem, 1.75rem + 1.5vw, 2.75rem); }
.tk-gauges .gauge { padding: var(--s-5) var(--s-5) 22px; }
.tk-gauges .gauge dt u { font-size: .5em; letter-spacing: -0.02em; }
.tk-gauges .gauge small { font-size: .75rem; }

/* ============ 2. fire register (signature) ============ */
.tk-fire { padding: var(--tk-sec) 0; background: var(--porcelain); border-block: 1px solid var(--line); }
.tk-roll { position: relative; display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.5fr) minmax(0, .62fr); gap: var(--s-6); align-items: center;
  padding: var(--s-5) var(--s-6); border-radius: 18px 18px 44px 44px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; }
.tk-roll::before { content: ""; position: absolute; inset: 0 22% 0 26%; pointer-events: none; background: var(--line); opacity: .8;
  -webkit-mask: var(--ticks) 0 0 / 48px 48px; mask: var(--ticks) 0 0 / 48px 48px; }
.tk-roll__steps { position: relative; display: grid; gap: 0; }
.tk-step { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; padding: 0 0 18px; }
.tk-step::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.tk-step:last-child { padding-bottom: 0; } .tk-step:last-child::before { display: none; }
.tk-step time { position: relative; z-index: 1; display: grid; place-items: center; height: 24px; border-radius: 6px 6px 12px 12px; background: var(--coral); color: var(--obsidian);
  font: 700 .75rem/1 var(--sans); font-variant-numeric: tabular-nums; transition: background var(--med), color var(--med); }
.tk-step h3 { font-size: 1rem; letter-spacing: -0.015em; line-height: 1.3; }
.tk-step p { margin: 6px 0 0; font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.tk-step > div { transition: opacity var(--med); }
.tk-roll.is-play .tk-step:not(.is-on) time { background: var(--porcelain-2); color: var(--ink-3); }
.tk-roll.is-play .tk-step:not(.is-on) > div { opacity: .45; }

.tk-roll__scr { position: relative; }
.tk-roll__fig { margin-top: 12px; text-align: center; }
.tkw { display: grid; grid-template-columns: 118px minmax(0, 1fr); border-radius: 14px; overflow: hidden; background: #F3F4F6; box-shadow: var(--shadow-3);
  font: 400 .72rem/1.4 Inter, sans-serif; color: #1F2937; }
.tkw__side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: #111827; color: #9CA3AF; }
.tkw__side .kz-logo { color: #fff; font-size: .78rem; margin: 0 0 12px 4px; } .tkw__side .kz-logo i { width: 14px; height: 14px; border-width: 2px; }
.tkw__side > span:not(.kz-logo) { padding: 6px 8px; border-radius: 7px; font-size: .68rem; }
.tkw__side > .is-on { background: rgba(249,115,22,.14); color: #FB923C; font-weight: 600; }
.tkw__main { padding: 14px 16px 16px; display: grid; gap: 10px; }
.tkf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tkw__h { margin: 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.tkw__sub { margin: 2px 0 0; color: #6B7280; font-size: .66rem; }
.tkf-btns { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.tkf-start, .tkf-btn { padding: 5px 8px; border-radius: 7px; color: #fff; font-weight: 600; font-size: .62rem; white-space: nowrap; }
.tkf-start { background: #DC2626; } .tkf-btn { background: #374151; }
.tkf-amber, .tkf-red { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 10px 16px; border-radius: 10px; color: #fff; }
.tkf-amber { background: #F59E0B; } .tkf-red { background: #DC2626; }
.tkf-k { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tkf-amber b, .tkf-red b { grid-row: 1 / 3; grid-column: 2; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tkf-amber em, .tkf-red em { font-style: normal; font-size: .64rem; opacity: .92; }
.tkf-cols { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 8px; }
.tkf-col { padding: 10px; border-radius: 10px; background: #fff; border: 1px solid #F3F4F6; }
.tkf-col__h { display: flex; justify-content: space-between; margin: 0 0 6px; font-weight: 700; font-size: .72rem; }
.tkf-col__h span { color: #6B7280; font-weight: 600; }
.tkf-col ul { display: grid; gap: 5px; }
.tkf-col li[data-row] { display: grid; gap: 4px; padding: 6px 7px; border-radius: 7px; background: #F0FDF4; border: 1px solid #BBF7D0; transition: background .3s, border-color .3s; }
.tkf-col li[data-row] > span { display: grid; font-size: .6rem; color: #6B7280; line-height: 1.3; }
.tkf-col li[data-row] b { font-size: .7rem; color: #111827; font-weight: 600; }
.tkf-col li[data-row] i { justify-self: start; font-style: normal; font-size: .58rem; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: #16A34A; color: #fff; }
.tkf-col li[data-row].is-wait { background: #FEF2F2; border-color: #FECACA; }
.tkf-col li[data-row].is-wait i { background: #fff; color: #991B1B; border: 1px solid #FCA5A5; }
.tkf-more { padding: 4px 7px; font-size: .62rem; color: #6B7280; }

.tk-roll__proof { position: relative; display: grid; gap: 12px; align-content: center; }
.tk-doc__dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 8px 0 10px; font-size: .8rem; }
.tk-doc__dl dt { color: var(--ink-2); } .tk-doc__dl dd { margin: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.tk-file { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px; border-radius: 7px; background: var(--porcelain); font: 500 .75rem/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-2); overflow-wrap: anywhere; }
.tk-file::before { content: "PDF"; flex: none; padding: 2px 4px; border-radius: 3px; background: #DC2626; color: #fff; font: 700 .55rem/1 var(--sans); }
.js .tk-roll.is-play [data-roll-pdf] { opacity: .35; transform: translateY(8px); }
[data-roll-pdf] { transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.tk-replay { justify-self: start; border-radius: 12px 12px 22px 22px; }
.tk-replay[hidden] { display: none; }

/* ============ 3. four more problems: full-width tabs, three-zone panels ============ */
.tk-fix { padding: var(--tk-sec) 0; background: var(--white); }
.tk-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px 16px 26px 26px; background: var(--porcelain); overflow: hidden; }
.tk-tabs__t { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px 18px 18px 40px; border: 0; border-right: 1px solid var(--line); background: none;
  text-align: left; cursor: pointer; color: var(--ink-2); font: 500 .95rem/1.35 var(--sans); transition: background var(--fast), color var(--fast); }
.tk-tabs__t:last-child { border-right: 0; }
.tk-tabs__t::before { content: ""; position: absolute; left: 16px; top: 19px; width: 12px; height: 12px; background: var(--line-2); -webkit-mask: var(--u-glyph) center/contain no-repeat; mask: var(--u-glyph) center/contain no-repeat; transition: background var(--fast); }
.tk-tabs__t::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.tk-tabs__t em { font-style: normal; font: 600 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tk-tabs__t:hover { background: var(--white); color: var(--ink); }
.tk-tabs__t[aria-selected="true"] { background: var(--white); color: var(--ink); }
.tk-tabs__t[aria-selected="true"]::before { background: var(--coral); }
.tk-tabs__t[aria-selected="true"]::after { transform: none; }
.tk-tabs__t[aria-selected="true"] em { color: var(--coral-ink); }
.tk-tabs__t:focus-visible { outline-offset: -3px; }

.tk-panels { position: relative; margin-top: var(--s-4); }
.tkp { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--s-6); align-items: center;
  padding: var(--s-5) var(--s-6); border-radius: 18px 18px 44px 44px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; margin-bottom: var(--s-4); }
.tkp::before { content: ""; position: absolute; inset: 0 24% 0 36%; pointer-events: none; background: var(--line); opacity: .8;
  -webkit-mask: var(--ticks) 0 0 / 48px 48px; mask: var(--ticks) 0 0 / 48px 48px; }
.js .tkp { display: none; margin: 0; }
.js .tkp.is-on { display: grid; animation: fixIn .55s cubic-bezier(.2,.8,.2,1) both; }
.tkp__text, .tkp__scr, .tkp__proof { position: relative; }
.tkp__h { font-size: clamp(1.45rem, 1.05rem + 1.1vw, 2rem); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 18px; }
.tkp .ulist { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.55; gap: .7em; }
.tkp .ulist b { color: var(--ink); font-weight: 600; }
.tkp__scr { display: grid; place-items: center; min-height: 360px; }
.tkp__proof { display: grid; gap: 12px; align-content: center; }
.is-on .tkp__proof .pcard { animation: tkSide .6s .5s cubic-bezier(.2,.8,.2,1) both; }
.is-on .tkp__proof .pcard + .pcard { animation-delay: .75s; }
@keyframes tkSide { from { opacity: 0; transform: translateX(18px); } }

/* 3a kiosk: keypad then face */
.tkk { width: 100%; max-width: 520px; border: 12px solid #0A0A0C; border-radius: 26px; background: #030712; color: #F9FAFB; box-shadow: 0 0 0 1.5px #3A3A42, var(--shadow-3); overflow: hidden; font-family: Inter, sans-serif; }
.tkk .scr-kz__bar { padding: 9px 14px; }
.tkk__body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; }
.tkk__pad { display: grid; gap: 7px; }
.tkk__lbl { margin: 0; font-size: .66rem; color: #9CA3AF; text-align: center; }
.tkk__read { display: flex; justify-content: center; gap: 4px; margin: 0; padding: 7px; border-radius: 10px; background: #111827; border: 2px solid #374151; min-height: 40px;
  font: 700 1.35rem/1 Inter, sans-serif; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.tkk__read i { font-style: normal; }
.tkk__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.tkk__keys span { display: grid; place-items: center; height: 28px; border-radius: 8px; background: #1F2937; font-weight: 600; font-size: .8rem; }
.tkk__keys .is-dim { color: #9CA3AF; font-size: .66rem; }
.tkk__go { display: grid; place-items: center; height: 30px; border-radius: 9px; background: #F97316; color: #fff; font-weight: 700; font-size: .74rem; }
.tkk__qr { display: grid; place-items: center; height: 26px; border-radius: 9px; background: #1F2937; border: 1px solid #374151; color: #E5E7EB; font-size: .66rem; }
.tkk__face { position: relative; display: grid; }
.tkk__face .tk-cam { grid-area: 1 / 1; aspect-ratio: auto; }
.tkk__ok { grid-area: 1 / 1; align-self: end; margin: 10px; display: grid; justify-items: center; gap: 2px; padding: 10px; border-radius: 12px; background: rgba(3,7,18,.86); text-align: center; }
.tkk__ok .tk-tick { width: 34px; height: 34px; font-size: 1.05rem; margin-bottom: 4px; }
.tkk__ok b { font-size: .95rem; }
.tkk__ok span:not(.tk-tick) { font-size: .64rem; color: #D1D5DB; }
.is-on .tkk__read i { animation: tkKey .25s both; }
.is-on .tkk__read i:nth-child(1) { animation-delay: .3s; } .is-on .tkk__read i:nth-child(2) { animation-delay: .55s; }
.is-on .tkk__read i:nth-child(3) { animation-delay: .8s; } .is-on .tkk__read i:nth-child(4) { animation-delay: 1.05s; }
.is-on .tkk__go { animation: tkPress .4s 1.35s both; }
.is-on .tkk__face .tk-cam__ring { animation: tkScan 1.4s 1.6s both; }
.is-on .tkk__ok { animation: tkUp .5s 2.9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tkKey { from { opacity: 0; transform: translateY(6px); } }
@keyframes tkPress { 50% { transform: scale(.94); background: #C2410C; } }
.tk-burst { display: flex; gap: 6px; margin: 4px 0 8px; }
.tk-burst i { flex: 1; max-width: 72px; aspect-ratio: 1; border-radius: 6px; background: radial-gradient(circle at 50% 38%, #9CA3AF 0 18%, transparent 19%), radial-gradient(ellipse at 50% 100%, #9CA3AF 0 38%, transparent 39%), #374151; }

/* 3b forensic clock audit (white paper) */
.tka { width: 100%; max-width: 470px; padding: 18px 20px; border-radius: 6px 6px 18px 18px; background: #fff; color: #111827; box-shadow: var(--shadow-3); font: 400 .74rem/1.45 Inter, sans-serif; border-top: 4px solid #F97316; }
.tka__head { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid #E5E7EB; }
.tka__k { margin: 0; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6B7280; }
.tka__t { margin: 4px 0 2px; font-size: 1rem; font-weight: 700; }
.tka__m { margin: 0; color: #374151; }
.tka__score { display: grid; justify-items: center; align-content: center; min-width: 84px; padding: 8px; border-radius: 12px; background: #ECFDF5; }
.tka__score b { font-size: 2rem; line-height: 1; font-weight: 800; color: #065F46; letter-spacing: -0.03em; }
.tka__score span { font-size: .62rem; color: #6B7280; }
.tka__score em { margin-top: 4px; font-style: normal; font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #34D399; color: #064E3B; }
.tka__sh { margin: 12px 0 6px; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6B7280; }
.tka__chain { display: grid; gap: 5px; }
.tka__chain li { display: flex; align-items: center; gap: 8px; color: #374151; }
.tka__chain i { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #34D399; }
.tka__chain i::after { content: ""; width: 6px; height: 3px; border: solid #064E3B; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.tka__risk { display: flex; justify-content: space-between; margin: 0; padding: 7px 10px; border-radius: 8px; background: #F9FAFB; border: 1px solid #E5E7EB; color: #374151; }
.tka__risk b { color: #92400E; }
.is-on .tka__chain li { animation: tkUp .4s both; }
.is-on .tka__chain li:nth-child(2) { animation-delay: .2s; } .is-on .tka__chain li:nth-child(3) { animation-delay: .4s; }
.is-on .tka__chain li:nth-child(4) { animation-delay: .6s; } .is-on .tka__chain li:nth-child(5) { animation-delay: .8s; }
.is-on .tka__score { animation: tkScore .7s 1.1s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes tkScore { from { opacity: 0; transform: scale(.7); } }
.tk-state { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: .74rem; }
.tk-state--ok { background: #DCFCE7; color: #15803D; }
.tk-state--ok::before { content: "\2713  "; }

/* 3c live view (light console) */
.tkl { width: 100%; max-width: 520px; padding: 14px; border-radius: 14px; background: #F3F4F6; box-shadow: var(--shadow-3); font: 400 .72rem/1.4 Inter, sans-serif; color: #1F2937; }
.tkl__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tkl__head b { font-size: 1.05rem; font-weight: 700; }
.tkl__pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: #DCFCE7; color: #15803D; font-weight: 600; font-size: .64rem; }
.tkl__pill i { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; animation: tkPulse 1.6s infinite; }
@keyframes tkPulse { 50% { opacity: .35; } }
.tkl__sel { margin-left: auto; padding: 3px 9px; border-radius: 7px; background: #fff; border: 1px solid #E5E7EB; font-size: .64rem; color: #374151; }
.tkl__hero { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(110deg, #16A34A, #059669); color: #fff; margin-bottom: 10px; }
.tkl__hero div { margin-right: auto; }
.tkl__hero p { margin: 0; font-size: .64rem; opacity: .92; }
.tkl__hero b { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tkl__hero > span { padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.2); font-size: .62rem; font-weight: 600; }
.tkl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tkl__card { padding: 10px; border-radius: 12px; background: #fff; border: 1px solid #F3F4F6; display: grid; gap: 6px; align-content: start; }
.tkl__site { display: flex; justify-content: space-between; align-items: center; margin: 0; font-weight: 700; font-size: .74rem; }
.tkl__site span { padding: 1px 8px; border-radius: 999px; background: #FFEDD5; color: #C2410C; font-size: .66rem; }
.tkl__site .tkl__warn { background: #FEF3C7; color: #92400E; }
.tkl__bar { height: 5px; border-radius: 3px; background: #F3F4F6; overflow: hidden; }
.tkl__bar i { display: block; width: 82%; height: 100%; background: #F97316; border-radius: inherit; transform-origin: 0 50%; }
.tkl__row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0; font-size: .66rem; color: #6B7280; }
.tkl__row b { color: #111827; font-weight: 600; font-size: .7rem; }
.tkl__row > span { margin-left: auto; font-variant-numeric: tabular-nums; }
.tkl__tag { font-style: normal; padding: 1px 6px; border-radius: 5px; background: #EEF2FF; color: #4F46E5; font-size: .58rem; font-weight: 600; }
.tkl__tag--role { background: #EFF6FF; color: #2563EB; }
.tkl__card--watch { border-color: #FDE68A; background: #FFFBEB; }
.tkl__card--watch .tkl__row > span { margin-left: 0; flex-basis: 100%; color: #92400E; }
.tkl__act { margin: 2px 0 0; padding: 5px 8px; border-radius: 7px; background: #F97316; color: #fff; font-weight: 600; font-size: .62rem; text-align: center; }
.is-on .tkl__card:first-child .tkl__row { animation: tkUp .4s both; }
.is-on .tkl__card:first-child .tkl__row:nth-of-type(3) { animation-delay: .25s; } .is-on .tkl__card:first-child .tkl__row:nth-of-type(4) { animation-delay: .5s; }
.is-on .tkl__bar i { animation: tkGrow 1.2s .2s cubic-bezier(.2,.8,.2,1) both; }
.is-on .tkl__card--watch { animation: tkUp .5s 1s both; }
.is-on .tkl__act { animation: tkUp .5s 1.6s both; }
@keyframes tkGrow { from { transform: scaleX(0); } }
.tk-mailbtns { display: flex; gap: 6px; margin-top: 10px; }
.tk-mailbtns span { padding: 5px 10px; border-radius: 8px; border: 1px solid #D1D5DB; color: #374151; font-weight: 600; font-size: .74rem; }
.tk-mailbtns .tk-mailbtns__y { background: #F97316; border-color: #F97316; color: #fff; }

/* 3d pay week */
.tkpay { width: 100%; max-width: 520px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #F3F4F6; box-shadow: var(--shadow-3); font: 400 .72rem/1.4 Inter, sans-serif; color: #1F2937; }
.tkpay__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.tkpay__head b { display: block; font-size: 1.05rem; font-weight: 700; }
.tkpay__head span:not(.tkpay__lock) { color: #6B7280; font-size: .66rem; }
.tkpay__lock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #1F2937; color: #fff; font-weight: 700; font-size: .66rem; }
.tkpay__lock::before { content: ""; width: 9px; height: 8px; border-radius: 2px; background: #FBBF24; box-shadow: 0 -4px 0 -1px transparent; border-top: 0; }
.tkpay__t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tkpay__t th { text-align: left; padding: 6px 6px; font-size: .58rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #6B7280; border-bottom: 1px solid #E5E7EB; }
.tkpay__t td { padding: 7px 6px; border-bottom: 1px solid #F3F4F6; }
.tkpay__t td:last-child, .tkpay__t th:last-child { text-align: right; font-weight: 600; }
.tkpay__t em { font-style: normal; padding: 1px 6px; border-radius: 5px; background: #EFF6FF; color: #2563EB; font-size: .6rem; font-weight: 600; }
.tkpay__t em.is-night { background: #EEF2FF; color: #4F46E5; }
.tkpay__t em.is-ot { background: #FFEDD5; color: #C2410C; }
.tkpay__ex { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tkpay__ex span { padding: 5px 9px; border-radius: 8px; background: #F97316; color: #fff; font-weight: 600; font-size: .64rem; }
.tkpay__ex span + span { background: #fff; border: 1px solid #D1D5DB; color: #374151; }
.is-on .tkpay__t tbody tr { animation: tkUp .4s both; }
.is-on .tkpay__t tbody tr:nth-child(2) { animation-delay: .15s; } .is-on .tkpay__t tbody tr:nth-child(3) { animation-delay: .3s; } .is-on .tkpay__t tbody tr:nth-child(4) { animation-delay: .45s; }
.is-on .tkpay__lock { animation: tkScore .6s 1s cubic-bezier(.34,1.56,.64,1) both; }

/* ============ 4. the legal edge (dark photo band) ============ */
.tk-legal { padding: var(--tk-sec) 0; overflow: hidden; }
.tk-legal__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-6); align-items: stretch; }
.tk-legal .eyebrow { color: var(--coral); }
.tk-answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1px; margin: 0; background: var(--obsidian-line); border: 1px solid var(--obsidian-line); border-radius: 16px 16px 32px 32px; overflow: hidden; }
.tk-answers li { position: relative; padding: 20px 24px 20px 50px; background: var(--obsidian-2); transition: background .3s; }
.tk-answers li:hover { background: var(--obsidian-3, var(--obsidian-2)); }
.tk-answers li::before { content: ""; position: absolute; left: 24px; top: 26px; width: 12px; height: 12px; background: var(--coral); -webkit-mask: var(--u-glyph) center/contain no-repeat; mask: var(--u-glyph) center/contain no-repeat; }
.tk-answers h3 { font-size: 1.05rem; letter-spacing: -0.015em; line-height: 1.3; color: var(--paper); }
.tk-answers p { margin: 6px 0 0; max-width: 32ch; font-size: .86rem; line-height: 1.5; color: var(--paper-2); }
.tk-legal__fig { position: relative; display: flex; flex-direction: column; margin: 0; }
.tk-cup--legal { flex: 1; aspect-ratio: auto; min-height: 220px; }
.tk-cup--legal .cup__img, .tk-cup--legal .cup__img img { height: 100%; }
.tk-cup--legal .cup__img img { object-position: 30% 25%; }
.tk-langs { position: absolute; left: 14px; right: 14px; top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tk-legal__cap { margin: 12px 0 0; text-align: right; color: var(--paper-3); }
.tk-langs span { justify-self: start; padding: 7px 12px; border-radius: 10px 10px 16px 16px; background: #111827; border: 1px solid #374151; color: #F9FAFB; font: 600 .78rem/1 Inter, sans-serif; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.tk-langs span:first-child { background: #F97316; border-color: #F97316; color: #2a1204; }

/* ============ 6. law and releases ============ */
.tk-moves { padding: var(--tk-sec) 0; background: var(--porcelain); border-top: 1px solid var(--line); }
.tk-moves__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 2fr); gap: var(--s-6) var(--s-7); align-items: stretch; }
.tk-moves__main { display: grid; gap: var(--s-5); align-content: space-between; }
/* the countdown card, same as the home page */
.tk-moves .next { position: relative; padding: var(--s-6); border-radius: 18px 18px 48px 48px; background: var(--obsidian); color: var(--paper); overflow: hidden; }
.tk-moves .next::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; background: rgba(255,112,89,.14);
  -webkit-mask: var(--u-glyph) center/contain no-repeat; mask: var(--u-glyph) center/contain no-repeat; pointer-events: none; }
.tk-moves .next > * { position: relative; z-index: 1; }
.tk-moves .next__k { margin: 0 0 10px; font: 600 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.tk-moves .next__count { margin: 0; font: 700 clamp(3rem, 2rem + 3vw, 4.5rem)/.95 var(--display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.tk-moves .next__count u { text-decoration: none; color: var(--coral); font-size: .38em; letter-spacing: -0.01em; }
.tk-moves .next__date { margin: 8px 0 18px; font-size: .82rem; color: var(--paper-3); }
.tk-moves .next__t { font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.25; color: var(--paper); }
.tk-moves .next__what { margin: 8px 0 0; font-size: .88rem; line-height: 1.55; color: var(--paper-2); }
.tk-moves .next__ojuu { display: flex; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 8px 8px 14px 14px; background: rgba(246,243,238,.07); font-size: .84rem; line-height: 1.5; color: var(--paper); }
.tk-moves .next__ojuu .ug { flex: none; width: .8em; height: .8em; margin-top: .35em; }
.tk-moves .next__src { display: inline-block; margin-top: 14px; font-size: .8rem; color: var(--paper-2); }
/* the one recent rule reads across: what changed on the left, what TempClock does on the right */
.tk-moves .reg__item { padding: var(--s-4) 0; }
.tk-moves .reg__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 6px var(--s-6); align-items: start; }
.tk-moves .reg__body > * { grid-column: 1; }
.tk-moves .reg__body > .reg__ojuu { grid-column: 2; grid-row: 1 / span 2; margin-top: 0 !important; }
.tk-moves__log .log { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-6); }
.tk-moves .log__item p { -webkit-line-clamp: 2 !important; }
.tk-moves__h { font: 600 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-3); }
.tk-moves .log__item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: var(--s-3) 0; }
.tk-moves .log__item > div { flex: 1 1 100%; }
.tk-moves .log__date { font-size: .82rem; }
.tk-moves .log__ver { display: none; }
.tk-moves .log__t { font-size: 1rem; letter-spacing: -0.01em; }
.tk-moves .log__item p, .tk-moves .reg__body > p:not(.reg__ojuu) { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tk-moves .reg__ojuu { font-size: .84rem; }
.reg__ojuu .ug { flex: none; width: .8em; height: .8em; margin-top: .35em; }

/* ============ 7. FAQ ============ */
.tk-faq { padding: var(--tk-sec) 0; background: var(--white); }
/* head on the left, the five answers on the right: no empty half-width heading */
.tk-faq .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--s-5) var(--s-8); align-items: start; }
.tk-faq .section-head--split { grid-template-columns: 1fr; gap: 18px; margin-bottom: 0; align-items: start; }
.tk-faq__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.tk-faq__col { border-top: 1px solid var(--line); }
.tk-faq__col + .tk-faq__col { border-top: 0; }
.tk-q { border-bottom: 1px solid var(--line); }
.tk-q summary { position: relative; display: block; padding: 14px 44px 14px 30px; cursor: pointer; list-style: none; font: 600 1.02rem/1.35 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.tk-q summary::-webkit-details-marker { display: none; }
.tk-q summary::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 12px; background: var(--line-2); -webkit-mask: var(--u-glyph) center/contain no-repeat; mask: var(--u-glyph) center/contain no-repeat; transition: background var(--fast); }
.tk-q summary::after { content: ""; position: absolute; right: 6px; top: 18px; width: 10px; height: 10px; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform var(--med) var(--ease); }
.tk-q[open] summary::before, .tk-q summary:hover::before { background: var(--coral); }
.tk-q[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.tk-q p { margin: 0; padding: 0 44px 20px 30px; color: var(--ink-2); font-size: .94rem; line-height: 1.6; max-width: 62ch; }

/* ============ 8. close ============ */
.close--dark { background: var(--obsidian); color: var(--paper); padding: var(--tk-sec) 0 0; }
.tk-close__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s-7); align-items: end; }
.tk-close__inner { padding-bottom: var(--tk-sec); }
.tk-close .eyebrow { color: var(--coral); }
.tk-close .close__lead { color: var(--paper-2); }
.tk-close__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }
.tk-close__site { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--coral); }
.tk-close__note { margin: var(--s-5) 0 0; font-size: .84rem; color: var(--paper-3); }
.tk-close__note a { color: var(--paper-2); }
.tk-close__cup { position: relative; aspect-ratio: 3 / 2.9; max-width: 390px; justify-self: end; width: 100%; border-radius: 9999px 9999px 0 0; overflow: hidden; }
.tk-close__cup .cup__img { border-radius: 0; }
.tk-close__cup .cup__img img { object-position: 55% 40%; }

/* ============ responsive ============ */
@media (max-width: 1180px) {
  .tk-tab { width: 60%; }
  .tk-tab__body { grid-template-columns: .7fr 1fr; padding: 12px; gap: 10px; }
  .tk-tab__f { display: none !important; }
  .tk-roll { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .tk-roll__proof { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .tk-roll::before { inset: 0 0 30% 36%; }
  .tkp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .tkp__proof { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .tk-moves__grid { grid-template-columns: 1fr; }
  .tk-answers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .tk .section-head--split { grid-template-columns: 1fr; gap: 18px; }
  .tk-hero__grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .tk-hero__fig { max-width: 560px; width: 100%; margin: 0 auto; min-height: 0; }
  .tk-hero.ticks::before { inset: 45% 0 0 0; }
  .tk-gauges { grid-template-columns: 1fr 1fr; }
  .tk-roll { grid-template-columns: 1fr; padding: var(--s-5); }
  .tk-roll::before { inset: 30% 0 20% 0; }
  .tk-roll__steps { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .tk-step::before { display: none; } .tk-step { padding: 0; }
  .tk-tabs { grid-template-columns: repeat(4, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .tk-tabs__t { scroll-snap-align: start; }
  .tkp { grid-template-columns: 1fr; padding: var(--s-5); }
  .tkp::before { inset: 35% 0 25% 0; }
  .tkp__scr { min-height: 0; }
  .tk-legal__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .tk-legal__fig { width: 100%; max-width: 340px; margin: 0 auto; }
  .tk-cup--legal { flex: none; aspect-ratio: 1 / 1.05; min-height: 0; }
  .tk-moves .reg__body { grid-template-columns: 1fr; }
  .tk-moves .reg__body > .reg__ojuu { grid-column: 1; grid-row: auto; margin-top: 8px !important; }
  .tk-faq .wrap { grid-template-columns: 1fr; }
  .tk-close__grid { grid-template-columns: 1fr; }
  .tk-close__cup { max-width: 360px; }
}
@media (max-width: 640px) {
  .tk-brand em { display: none; }
  .tk-hero__fig { padding-bottom: 28%; }
  .tk-hero__fig > .tk-cup { width: 84%; }
  .tk-tab { width: 66%; border-width: 7px; border-radius: 18px; }
  .tk-tab__body { padding: 10px; gap: 8px; }
  .tk-tab__n { font-size: .95rem; } .tk-tab__f { display: none; }
  .tk-chip { right: auto; left: 0; top: 4%; padding: 9px 12px; }
  .tk-chip__n { font-size: 1.5rem; }
  .tk-hero__cap { bottom: -26px; }
  .tk-roll__steps { grid-template-columns: 1fr; }
  .tk-roll__proof { grid-template-columns: 1fr; }
  .tkw { grid-template-columns: 1fr; }
  .tkw__side { display: none; }
  .tkf-btns .tkf-btn { display: none; }
  .tkf-cols { grid-template-columns: 1fr 1fr; }
  .tkf-col:first-child { grid-column: 1 / -1; }
  .tkf-col:first-child li[data-row] { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .tkf-amber b, .tkf-red b { font-size: 2rem; }
  .tkp__proof { grid-template-columns: 1fr; }
  .tkk__body { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
  .tkk__keys span { height: 24px; }
  .tka { padding: 14px; } .tka__head { flex-direction: column; } .tka__score { justify-self: start; grid-auto-flow: column; gap: 6px; align-items: baseline; }
  .tkl__grid { grid-template-columns: 1fr; }
  .tk-answers { grid-template-columns: 1fr; }
  .tk-moves__log .log { grid-template-columns: 1fr; }
}

/* reduced motion: everything rests in its finished state, with no waiting on delays */
@media (prefers-reduced-motion: reduce) { .tk *, .tk *::before, .tk *::after { animation-delay: 0s !important; transition-delay: 0s !important; } }
.rm .tk-hero__fig .tk-tab, .rm .tk-hero__fig .tk-tab__res { opacity: 1 !important; transform: none !important; animation: none !important; }
.rm .tk-chip__a { opacity: 0 !important; animation: none !important; } .rm .tk-chip__b { opacity: 1 !important; animation: none !important; }
.rm .tk-roll [data-roll-pdf] { opacity: 1 !important; transform: none !important; }
