/* unik product page (body.uk). The brand from Melk's Figma (Agência NEXA, node 2202-10): two sands, lime, azure,
   Star of Life blue and twilight, with the strong gradient (lime → azure → twilight) as the brand surface.
   Star blue is the action on light, lime the spark on dark; Geist display and mono, Inter body, as in the system.
   Section eyebrows carry the slogan: Health, Safety, Employees. */
body.uk {
  --uk-crystal: #f8f4ed; --uk-angelic: #f4ede4; --uk-lime: #e3ff00; --uk-azure: #4dd8ff; --uk-star: #057bc1; --uk-twilight: #083645;
  --uk-deep: #041b23; --uk-star-ink: #04639b; --uk-ink: #083645; --uk-text2: #4a6470; --uk-line: rgba(8,54,69,.12);
  --uk-ok: #045a7a; --uk-ok-bg: #dcf5ff; --uk-due: #4a5300; --uk-due-bg: #f3ffa6; --uk-late: #b42318; --uk-late-bg: #fde4e1;
  --uk-strong: radial-gradient(130% 60% at 100% 0%, var(--uk-lime) 0%, rgba(227,255,0,.55) 22%, rgba(227,255,0,0) 52%),
    linear-gradient(185deg, var(--uk-azure) 0%, #2aa9e0 18%, var(--uk-star) 38%, #06567f 56%, var(--uk-twilight) 80%);
  --uk-soft: linear-gradient(100deg, rgba(227,255,0,.32) 0%, rgba(244,237,228,0) 42%, rgba(244,237,228,0) 58%, rgba(77,216,255,.3) 100%);
  --uk-display: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
  --uk-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --uk-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --uk-sec: clamp(72px, 9vw, 128px);
  --uk-ease: cubic-bezier(.4, 0, .2, 1);
  background: var(--uk-crystal); color: var(--uk-ink);
}
.uk-sec { padding-block: var(--uk-sec); }
.uk-dark { background: var(--uk-twilight); color: var(--uk-crystal); position: relative; isolation: isolate; }
.uk-deep-sec { background: var(--uk-deep); color: var(--uk-crystal); position: relative; isolation: isolate; }
.uk-sand2 { background: var(--uk-angelic); }
.uk-softband { background: var(--uk-soft), var(--uk-crystal); }

/* the brand surface: the strong gradient from the Figma, eased in from the left so text stays on twilight */
.uk-silk { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.uk-silk::before { content: ""; position: absolute; inset: 0 0 0 34%; background: var(--uk-strong); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }

/* type: Geist tight, one accent word: star blue on sand, lime on twilight */
.uk-eyebrow { font: 500 12.5px/1.2 var(--uk-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--uk-lime); }
.uk-eyebrow.dark { color: var(--uk-star-ink); }
.uk-h1 { font: 600 clamp(44px, 6vw, 88px)/.96 var(--uk-display); letter-spacing: -0.055em; margin: 0; text-wrap: balance; }
.uk-h2 { font: 500 clamp(34px, 4.4vw, 60px)/1.02 var(--uk-display); letter-spacing: -0.05em; margin: 0; text-wrap: balance; }
.uk-h1 em, .uk-h2 em { font-style: normal; color: var(--uk-star); }
:is(.uk-dark, .uk-deep-sec) :is(.uk-h1, .uk-h2) em { color: var(--uk-lime); }
.uk-p { font: 400 clamp(16px, 1.2vw, 18px)/1.6 var(--uk-body); color: var(--uk-text2); margin: 0; max-width: 58ch; }
:is(.uk-dark, .uk-deep-sec) .uk-p { color: rgba(248,244,237,.76); }
.uk-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 56px); }
@media (min-width: 960px) { .uk-head.split { grid-template-columns: 1.15fr 1fr; align-items: end; column-gap: 48px; } }
.uk-note { margin: 18px 0 0; font: 400 12px/1.4 var(--uk-mono); color: var(--uk-text2); }
.uk .tag-ex { font: 500 10.5px/1 var(--uk-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 100px; background: var(--uk-angelic); color: var(--uk-text2); }

/* buttons: star blue with white text on sand, lime with twilight text on the dark */
.uk-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.uk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 100px; cursor: pointer; text-decoration: none; font: 600 15px/1 var(--uk-body); transition: translate .4s var(--uk-ease), background .3s, box-shadow .3s; }
.uk-btn.primary { background: var(--uk-star); color: #fff; }
.uk-btn.primary:hover { background: var(--uk-star-ink); }
:is(.uk-dark, .uk-deep-sec) .uk-btn.primary { background: var(--uk-lime); color: var(--uk-twilight); }
:is(.uk-dark, .uk-deep-sec) .uk-btn.primary:hover { background: #f0ff5c; }
.uk-btn.line { color: var(--uk-crystal); box-shadow: inset 0 0 0 1.5px rgba(248,244,237,.45); background: transparent; }
.uk-btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--uk-crystal); }
.uk-btn.ghost { min-height: 44px; padding: 0 20px; background: transparent; color: var(--uk-star-ink); box-shadow: inset 0 0 0 1.5px currentColor; justify-self: start; }
.uk-btn:hover { translate: 0 -2px; }

/* ---------- hero ---------- */
.uk-hero { overflow: hidden; padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 112px); }
.uk-hero .crumbs { color: rgba(248,244,237,.6); margin: 0 0 clamp(32px, 5vw, 64px); }
.uk-hero .crumbs a { color: inherit; }
.uk-hero-grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 1040px) { .uk-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.uk-hero-copy { display: grid; gap: 24px; justify-items: start; }
.uk-brand { display: grid; gap: 10px; }
.uk-logo { height: clamp(40px, 4vw, 56px); width: auto; display: block; }
.uk-tagline { font: 500 clamp(15px, 1.2vw, 17px)/1.2 var(--uk-body); letter-spacing: -0.01em; color: var(--uk-crystal); }
.uk .uk-tagline em { font-style: italic; font-weight: 300; color: inherit; }

/* the badge: a printed ID card with a live safety status */
.uk-badge-wrap { display: grid; justify-items: center; perspective: 1400px; }
.uk-badge { position: relative; width: min(100%, 420px); border-radius: 26px; background: #fffdf9; color: var(--uk-ink); padding: 30px 24px 0; overflow: hidden; box-shadow: 0 50px 100px rgba(4,27,35,.45), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-3deg); transition: transform .8s var(--uk-ease); }
.uk-badge:hover { transform: rotate(0deg); }
.uk-badge-slot { position: absolute; top: 12px; left: 50%; width: 56px; height: 8px; margin-left: -28px; border-radius: 8px; background: var(--uk-angelic); box-shadow: inset 0 1px 2px rgba(0,0,0,.15); }
.uk-badge header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.uk-badge header img { height: 22px; width: auto; }
.uk-badge-id { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px dashed var(--uk-line); }
.uk-face { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font: 500 20px/1 var(--uk-display); letter-spacing: -0.03em; background: linear-gradient(140deg, #f6ffc2, #dcf5ff); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--uk-star); }
.uk-badge-id div { display: grid; gap: 3px; min-width: 0; }
.uk-badge-id b { font: 600 18px/1.15 var(--uk-display); letter-spacing: -0.03em; }
.uk-badge-id span { font: 400 13px/1.3 var(--uk-body); color: var(--uk-text2); }
.uk-badge-id code { font: 500 11.5px/1 var(--uk-mono); color: var(--uk-star-ink); margin-top: 3px; }
.uk-qr { width: 58px; height: 58px; }
.uk-checks { list-style: none; margin: 0; padding: 14px 0; display: grid; gap: 4px; }
.uk-checks li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; font: 500 13px/1.25 var(--uk-body); }
.uk-checks li em { font: 500 11.5px/1 var(--uk-mono); font-style: normal; padding: 6px 9px; border-radius: 100px; background: var(--uk-ok-bg); color: var(--uk-ok); white-space: nowrap; }
.uk-checks li.flip em.was { background: var(--uk-late-bg); color: var(--uk-late); }
.uk-status { position: relative; margin: 0 -24px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; background: var(--uk-late-bg); color: var(--uk-late); font: 600 15px/1 var(--uk-display); letter-spacing: -0.02em; transition: background .25s var(--uk-ease), color .25s; }
.uk-status i { width: 14px; height: 14px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(180,35,24,.15); transition: box-shadow .6s; }

/* the was/now swap shared by the badge and the record: no text changes, only visibility */
.uk .now { display: none; }
.uk .is-done .was, .uk .is-done.was { display: none; }
.uk .is-done .now { display: inline; }
.uk-badge.is-done .uk-status { background: var(--uk-lime); color: var(--uk-twilight); }
.uk-badge.is-done .uk-status i { box-shadow: 0 0 0 5px rgba(8,54,69,.12); }

/* ---------- film: a browser window over the sand ---------- */
.uk-film { display: grid; gap: 18px; }
.uk-window { border-radius: 22px; overflow: hidden; background: var(--uk-twilight); box-shadow: 0 40px 90px rgba(8,54,69,.2), 0 0 0 1px rgba(8,54,69,.08); }
.uk-window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; font: 400 12px/1 var(--uk-mono); color: rgba(248,244,237,.55); }
.uk-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(248,244,237,.2); }
.uk-window-bar span { margin-left: 12px; }
.uk-window .film-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--uk-crystal); }
.uk-window .film-cam { width: 100%; height: 100%; will-change: transform; }
.uk-window .film-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.uk .film-play { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--uk-lime); cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(8,54,69,.25); }
.uk .film-play::before { content: ""; width: 0; height: 0; border-left: 12px solid var(--uk-twilight); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.uk .playing .film-play::before { width: 12px; height: 14px; border: 0; margin: 0; background: linear-gradient(90deg, var(--uk-twilight) 0 4px, transparent 4px 8px, var(--uk-twilight) 8px 12px); }
.uk .film-chapters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.uk .film-chapters::-webkit-scrollbar { display: none; }
.uk .film-chapters button { --p: 0; flex: 1 0 auto; position: relative; overflow: hidden; border: 0; cursor: pointer; padding: 14px 18px; border-radius: 100px; background: #fffdf9; color: var(--uk-text2); font: 500 14px/1 var(--uk-body); box-shadow: inset 0 0 0 1px var(--uk-line); transition: background .3s, color .3s; }
.uk .film-chapters button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p) * 100%); background: var(--uk-star); }
.uk .film-chapters button[aria-current="true"] { background: var(--uk-twilight); color: var(--uk-crystal); box-shadow: none; }
.uk .film-chapters button[aria-current="true"]::after { background: var(--uk-lime); }

@media (max-width: 640px) {
  .uk-btn { min-height: 50px; padding: 0 22px; font-size: 14px; }
  .uk-hero .uk-actions { width: 100%; }
  .uk-hero .uk-actions .uk-btn { flex: 1 1 auto; }
  .uk-badge { transform: none; }
  .uk-hero .uk-silk::before, .uk-cta .uk-silk::before { inset: 50% 0 0 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); mask-image: linear-gradient(180deg, transparent, #000 35%); }
  .uk-window { border-radius: 16px; }
}
