/* ==========================================================================
   Unifii: Unifii Assure (HSEQ planner) product page
   Dark theme. Brand: Poppins, teal #177e89, orange #fba600.
   ========================================================================== */

:root {
  --bg: #111a23;
  --bg-2: #182430;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.11);
  --line-2: rgba(255, 255, 255, 0.2);
  --text: #eef3f5;
  --text-2: #b4c0c8;
  --text-3: #7d8b95;

  --brand: #177e89;
  --teal: #2bb3c0;      /* brightened brand teal for dark backgrounds */
  --teal-2: #8bbec4;
  --orange: #fba600;
  --orange-2: #ffc04d;
  --green: #35c07a;
  --red: #ff6b5b;
  --status-blue: #3a8ee6;  /* planner "scheduled" chip colour, brightened for dark */

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --nav-h: 4.5rem;     /* matches the main site header (--appBarHeight) */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 10px 30px -10px rgba(0, 0, 0, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.hp {
  margin: 0;
  overflow-anchor: none;
  background: linear-gradient(180deg, #1a2733 0, var(--bg) 70vh) no-repeat, var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }
h1 em, h2 em, blockquote em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-2) 60%, #fff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Fluid container shared with the main site: content = min(1200px, viewport - 2 gutters) */
:root { --gutter: 1.25rem; }
@media (min-width: 768px) { :root { --gutter: 2rem; } }
@media (min-width: 1200px) { :root { --gutter: 2.5rem; } }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 1rem; z-index: 100; background: var(--orange); color: #111; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { left: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-2);
}
.eyebrow--plain { text-transform: none; letter-spacing: .02em; font-size: .9rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-2); font-weight: 300; line-height: 1.65; }
.lead a { color: var(--teal-2); border-bottom: 1px solid rgba(139,190,196,.4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: calc(.8rem + 1px) 1.35rem calc(.8rem - 1px); border-radius: 999px; /* +1/-1: same Poppins nudge as the main site's themed .uf-button */
  font-weight: 500; font-size: .95rem; line-height: 1;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.btn--lg { padding: calc(1.05rem + 1px) 1.7rem calc(1.05rem - 1px); font-size: 1.05rem; }
.btn--primary { background: var(--orange); color: #14110a; box-shadow: 0 10px 30px -8px rgba(251, 166, 0, .5); }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(251, 166, 0, .65); background: var(--orange-2); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--teal); background: rgba(43,179,192,.08); transform: translateY(-2px); }
.btn .ico { width: 18px; height: 18px; fill: currentColor; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
button { cursor: pointer; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.bg__glow--a { width: 65vw; height: 65vw; top: -28vw; right: -15vw; background: radial-gradient(circle, rgba(43,179,192,.55), transparent 65%); }
.bg__glow--b { width: 50vw; height: 50vw; top: 40vh; left: -22vw; background: radial-gradient(circle, rgba(251,166,0,.2), transparent 65%); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--orange)); transition: width .1s linear; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(17, 26, 35, .74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 2rem; height: calc(var(--nav-h) - 1px); /* 1px bottom border makes up the rest, as on the main header */ }
.nav__logo { display: inline-flex; }
.logo { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; font-size: .875rem; font-weight: 500; line-height: 1.5rem; color: var(--text-2); }
.nav__links a { position: relative; display: inline-flex; align-items: center; padding: .35rem 0; white-space: nowrap; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; gap: .5rem; }
.nav__cta .btn { padding: calc(.65rem + 1px) 1.1rem calc(.65rem - 1px); font-size: .88rem; }
.nav__burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav__burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav__mobile { display: none; }
@media (max-width: 1400px) {
  .nav__inner { gap: 1.25rem; }
  .nav__links { gap: 1.1rem; font-size: .82rem; }
}
@media (max-width: 1200px) {
  .nav__cta .btn--ghost { display: none; }
}
@media (max-width: 1024px) {
  :root { --nav-h: 3.75rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open { background: rgba(17,26,35,.97); border-color: var(--line); }
  .nav__mobile { display: grid; gap: .25rem; padding: 0 1.25rem; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .4s var(--ease), padding .3s, visibility 0s .4s; }
  .nav.is-open .nav__mobile { max-height: 600px; padding: .5rem 1.25rem 1.25rem; visibility: visible; transition-delay: 0s; }
  .nav__mobile a:not(.btn) { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__mobile .btn { margin-top: .6rem; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vh, 6rem) 0 clamp(4rem, 10vh, 7rem); min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; overflow: hidden; }
.hero__orbit { position: absolute; right: -8vw; top: -10vh; width: min(70vw, 900px); aspect-ratio: 1; opacity: .5; pointer-events: none; will-change: transform; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.5rem; margin-left: -22px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); animation: bob 2.4s var(--ease) infinite; transition: color .2s, border-color .2s; }
.hero__scroll svg { width: 18px; height: 18px; fill: currentColor; transform: rotate(90deg); }
.hero__scroll:hover { color: #fff; border-color: var(--teal); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.orbit { display: block; width: 100%; height: auto; animation: spin 90s linear infinite; }
.orbit--slow { animation-duration: 140s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.hero__copy h1 { margin: 1.1rem 0 1.3rem; max-width: 12ch; }
.hero__copy .hero__subheading { max-width: 28ch; margin-bottom: .65rem; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.35; }
.hero__copy .lead { max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.8rem; font-size: .88rem; color: var(--text-2); }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.tick { width: 16px; height: 16px; fill: var(--teal); flex: 0 0 auto; }

/* ---------- Hero: layered product imagery ---------- */
/* bleed the stack into the free space right of the wrap, leaving room for the phone overhang */
.hero__visual { position: relative; margin-right: calc(-1 * clamp(0px, max(var(--gutter), (100vw - var(--wrap)) / 2) - 1.5rem, 8rem)); }
.stack { position: relative; aspect-ratio: 16 / 12.5; perspective: 1600px; }
.stack__glow { position: absolute; inset: 8% -6% -4% -6%; border-radius: 40%; background: radial-gradient(ellipse at 50% 55%, rgba(43,179,192,.28), transparent 65%); filter: blur(30px); pointer-events: none; }
.layer { position: absolute; margin: 0; will-change: transform; transition: transform .6s var(--ease), opacity .9s var(--ease); }
.layer .ui { width: 100%; }
/* stagger the layers in once the hero reveals */
.reveal .layer { opacity: 0; transform: translateY(30px); }
.reveal.in .layer { opacity: 1; transform: none; }
.reveal.in .layer--desktop { transition-delay: .05s; }
.reveal.in .layer--phone { transition-delay: .3s; }
.reveal.in .layer--widget-a { transition-delay: .55s; }

/* Layer 1: desktop in a browser frame, slight 3D tilt */
.layer--desktop { left: 0; top: 4%; width: 86%; transform-style: preserve-3d; }
.reveal.in .layer--desktop { transform: rotateY(-7deg) rotateX(3deg); }
.browser { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1d2a37; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 16px 16px 0 0; }
.browser span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.browser b { margin-left: auto; margin-right: auto; font-weight: 400; font-size: .68rem; color: var(--text-2); letter-spacing: .03em; background: rgba(255,255,255,.05); padding: 3px 12px; border-radius: 6px; }
.layer--desktop .ui { border: 1px solid var(--line-2); border-top: 0; border-radius: 0 0 16px 16px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06); }

/* Layer 2: phone in a device frame */
.layer--phone { right: -3%; bottom: -4%; width: 31%; }
.phone-frame { position: relative; padding: 4%; background: #0f171f; border: 1px solid rgba(255,255,255,.28); border-radius: 12% / 6%; box-shadow: 0 40px 80px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.6) inset; }
.phone-frame .ui { aspect-ratio: 1400 / 3046; border-radius: 9% / 4.5%; }

/* Layers 3: floating card image */
.layer--widget { width: 42%; }
.layer--widget .ui { border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); }
.ui--chart { aspect-ratio: 732 / 300; }
.layer--widget-a { left: -7%; bottom: 4%; }

@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero__scroll { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy h1 { max-width: none; }
  .hero__visual { margin: 2.5rem 0 0; }
  .stack { aspect-ratio: 16 / 13; }
  .layer--widget-a { left: 0; bottom: 6%; }
  .hero__orbit { right: -30vw; top: -20vh; width: 120vw; opacity: .3; }
}
@media (max-width: 560px) {
  .stack { aspect-ratio: 16 / 14; }
  .layer--desktop { width: 92%; }
  .layer--phone { width: 30%; right: -2%; }
  .layer--widget { width: 52%; }
}

/* ---------- App mocks: HTML recreations of the Unifii app UI ----------
   Open Sans, lozenge colours and app bar match @unifii/library. Sizes are in cqw so each mock scales with its frame. */
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
.ui { container-type: inline-size; position: relative; overflow: hidden; background: #fff; color: #454545; font-family: "Open Sans", system-ui, sans-serif; font-weight: 400; line-height: 1.35; text-align: left; letter-spacing: 0; display: flex; flex-direction: column; }
.ui * { box-sizing: border-box; }
.ui__bar { display: flex; align-items: center; flex: 0 0 auto; background: #fff; border-bottom: 1px solid #e7e7e7; color: #161616; }
.ui__bar span { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui__menu { position: relative; flex: 0 0 auto; background: #454545; box-shadow: 0 calc(var(--u) * 0.6) 0 #454545, 0 calc(var(--u) * -0.6) 0 #454545; }
.ui__back, .ui__cog { flex: 0 0 auto; fill: #454545; }
.ui__back { transform: rotate(180deg); }
.ui__body { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.lz { display: inline-block; border-radius: 0.25em; background: #454545; color: #fff; font-weight: 600; font-style: normal; line-height: 1.5; padding: 0 .5em; white-space: nowrap; }
.lz--info { background: #325786; } .lz--warn { background: #fba600; } .lz--err { background: #af1211; }
.lz--ok { background: #017e3c; } .lz--late { background: #017e3c; box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #af1211; } .lz--hold { background: #d0d0d0; color: #161616; }

/* Planner (desktop) */
.ui--planner { --u: 1.6cqw; }
.ui--planner .ui__bar { gap: calc(var(--u) * 1.4); padding: calc(var(--u) * 1.1) calc(var(--u) * 1.6); font-size: calc(var(--u) * 1.5); }
.ui--planner .ui__menu { width: calc(var(--u) * 1.7); height: calc(var(--u) * .2); }
.ui--planner .ui__back, .ui--planner .ui__cog { width: calc(var(--u) * 1.8); height: calc(var(--u) * 1.8); }
.ui--planner .ui__cog { margin-left: auto; }
.ui--planner .ui__body { background: #f4f4f4; padding: calc(var(--u) * 1.4) calc(var(--u) * 1.6); }
.ui__table { width: 100%; border-collapse: collapse; background: #fff; font-size: var(--u); table-layout: fixed; }
.ui__table th { background: #3b7e8c; color: #fff; font-weight: 600; text-align: center; padding: calc(var(--u) * .7) calc(var(--u) * .3); white-space: nowrap; }
.ui__table th.ui__task, .ui__table th.ui__hier { text-align: left; padding-left: calc(var(--u) * .9); }
.ui__table col, .ui__table th, .ui__table td { width: calc((100% - 52%) / 6); }
.ui__table .ui__task { width: 36%; } .ui__table .ui__hier { width: 16%; }
.ui__table td { padding: calc(var(--u) * .9) calc(var(--u) * .3); text-align: center; border-bottom: 1px solid #e7e7e7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui__table tbody tr:nth-child(even) td { background: #f7f7f7; }
.ui__table td.ui__task, .ui__table td.ui__hier { text-align: left; padding-left: calc(var(--u) * .9); color: #454545; }
.ui__table td .lz { font-size: calc(var(--u) * .9); padding: 0 .35em; }

/* Phone task register */
.ui--phone { --u: 1cqw; }
.ui--phone .ui__bar { gap: calc(var(--u) * 3.6); padding: calc(var(--u) * 4.4) calc(var(--u) * 4.6) calc(var(--u) * 4.2); font-size: calc(var(--u) * 4.8); font-weight: 600; }
.ui--phone .ui__menu { width: calc(var(--u) * 5); height: calc(var(--u) * .55); box-shadow: 0 calc(var(--u) * 2.3) 0 #454545, 0 calc(var(--u) * -2.3) 0 #454545; }
.ui--phone .ui__cog { width: calc(var(--u) * 6); height: calc(var(--u) * 6); }
.ui--phone .ui__body { padding: calc(var(--u) * 7) calc(var(--u) * 5.2) 0; }
.ui__activity { display: grid; justify-items: start; gap: calc(var(--u) * 2.4); padding: calc(var(--u) * 7) 0 calc(var(--u) * 6); border-top: 2px solid #3b7e8c; font-size: calc(var(--u) * 4.1); line-height: 1.3; }
.ui__activity:first-child { border-top: 0; padding-top: 0; }
.ui__activity > b:first-child { font-size: calc(var(--u) * 5); line-height: 1.45; color: #454545; margin-bottom: calc(var(--u) * .4); }
.ui__activity .lz { font-size: calc(var(--u) * 3.7); line-height: 1; padding: calc(var(--u) * 2.2) calc(var(--u) * 2.8); border-radius: calc(var(--u) * .9); }
.ui__activity .lz--warn { color: #161616; }
.ui__fab::after { width: calc(var(--u) * .18); height: calc(var(--u) * 1.6); }

/* Completion chart card */
.ui--chart { --u: 2.99cqw; }
.ui__chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin: calc(var(--u) * 1.2) calc(var(--u) * 1.4) calc(var(--u) * 1); font-size: var(--u); }
.ui__chart-head b { font-weight: 600; color: #161616; font-size: calc(var(--u) * 1.15); }
.ui__key { display: flex; align-items: center; gap: .45em; font-size: calc(var(--u) * .85); color: #737373; white-space: nowrap; }
.ui__key i { width: .8em; height: .8em; border-radius: 2px; margin-left: .6em; }
.ui__key i:first-child { margin-left: 0; }
.ui__key .is-ok { background: #017e3c; } .ui__key .is-late { background: #af1211; } .ui__key .is-out { background: #d0d0d0; }
.ui__bars { flex: 1 1 auto; margin: 0 calc(var(--u) * 1.4) calc(var(--u) * .8); display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: calc(var(--u) * .9); align-items: stretch; min-height: 0; }
.ui__bars i { position: relative; display: flex; flex-direction: column-reverse; min-height: 0; border-bottom: 1px solid #d0d0d0; padding-bottom: calc(var(--u) * 1.5); }
.ui__bars span { display: block; width: 100%; }
.ui__bars span:nth-child(1) { height: calc(var(--ok) * 94% * var(--grow)); background: #017e3c; }
.ui__bars span:nth-child(2) { height: calc(var(--late) * 94% * var(--grow)); background: #af1211; }
.ui__bars span:nth-child(3) { height: calc(var(--out) * 94% * var(--grow)); background: #d0d0d0; border-radius: 2px 2px 0 0; }
/* bars grow in left to right once the hero has revealed; browsers without @property just show them full height */
@property --grow { syntax: "<number>"; inherits: true; initial-value: 1; }
.reveal .ui__bars i { --grow: 0; }
.reveal.in .ui__bars i { --grow: 1; transition: --grow 1s var(--ease); transition-delay: calc(.9s + var(--n, 0) * 90ms); }
.ui__bars i:nth-child(2) { --n: 1; } .ui__bars i:nth-child(3) { --n: 2; } .ui__bars i:nth-child(4) { --n: 3; } .ui__bars i:nth-child(5) { --n: 4; }
.ui__bars i:nth-child(6) { --n: 5; } .ui__bars i:nth-child(7) { --n: 6; } .ui__bars i:nth-child(8) { --n: 7; } .ui__bars i:nth-child(9) { --n: 8; }
.ui__bars small { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: calc(var(--u) * .8); color: #737373; }

/* Week view card */
.ui--week { --u: 3.16cqw; background: #fff; }
.ui__days { display: grid; grid-template-columns: repeat(3, 1fr); background: #f4f4f4; border-bottom: 1px solid #e7e7e7; }
.ui__days div { text-align: center; padding: calc(var(--u) * .7) 0 calc(var(--u) * .5); display: grid; gap: calc(var(--u) * .2); justify-items: center; border-left: 1px solid #e7e7e7; }
.ui__days div:first-child { border-left: 0; }
.ui__days small { font-size: calc(var(--u) * .8); color: #737373; text-transform: uppercase; }
.ui__days b { font-weight: 400; font-size: calc(var(--u) * 1.05); width: calc(var(--u) * 2.2); height: calc(var(--u) * 2.2); line-height: calc(var(--u) * 2.2); border-radius: 50%; color: #161616; }
.ui__days .is-today { background: #eef6f6; }
.ui__days .is-today b { background: #3b7e8c; color: #fff; }
.ui__week { display: grid; grid-template-columns: repeat(3, 1fr); flex: 1 1 auto; }
.ui__week > .ui__event { margin: calc(var(--u) * .5) calc(var(--u) * .4); }
.ui__event { display: grid; gap: calc(var(--u) * .2); padding: calc(var(--u) * .5) calc(var(--u) * .55); border-radius: 3px; font-size: calc(var(--u) * .78); line-height: 1.3; color: #fff; align-content: start; }
.ui__event b { font-weight: 600; margin-bottom: calc(var(--u) * .15); }
.ui__event span { opacity: .92; }
.ui__event em { font-style: normal; font-weight: 600; margin-top: calc(var(--u) * .15); }
.ui__event--warn { background: #fba600; color: #161616; }
.ui__event--ok { background: #017e3c; }
.ui__event--hold { background: #d0d0d0; color: #161616; }

/* How it works panels */
/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.stats__grid { display: grid; grid-template-columns: 1.18fr 1fr 1.18fr 1fr; }
.stat { padding: 2.2rem 1.6rem; border-left: 1px solid var(--line); display: grid; gap: .3rem; }
.stat:first-child { border-left: 0; }
.stat b { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; color: #fff; line-height: 1; display: flex; align-items: baseline; gap: .4rem; }
.stat b small { font-size: .85rem; font-weight: 500; color: var(--teal); letter-spacing: .04em; }
.stat:first-child b small { white-space: nowrap; }
.stat > span { font-size: .88rem; color: var(--text-2); }
@media (min-width: 901px) { .stat { padding-inline: 1.3rem; } .stat > span { font-size: .85rem; } }
@media (max-width: 900px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat { border-top: 1px solid var(--line); } .stat:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 480px) { .stats__grid { grid-template-columns: 1fr; } .stat { border-left: 0 !important; border-top: 1px solid var(--line) !important; } .stat:first-child { border-top: 0 !important; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; }
/* Back-to-back sections share one gap rather than stacking both paddings. */
.section + .section { padding-top: 0; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.1rem; }
.section__head h2 { max-width: 20ch; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; display: grid; gap: .9rem; align-content: start; position: relative; overflow: hidden;
}
.card p { color: var(--text-2); font-size: .98rem; }
/* Mirrors the main site card-icon tile on dark cards (theme.less): white tile so the line-art icon reads clearly */
.card__icon { display: grid; place-items: start; }
.card__icon svg { width: 36px; height: 36px; fill: #fff; }
.card__tag { display: inline-block; width: max-content; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 500; }
.card--wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg, transparent, rgba(23,126,137,.06) 40%, transparent); }
.how__layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.how__steps { display: grid; gap: clamp(2rem, 5vh, 3.5rem); }
.step { position: relative; padding-left: 4.2rem; opacity: .72; transition: opacity .5s var(--ease), transform .5s var(--ease); transform: translateX(-6px); cursor: pointer; border-radius: var(--radius-sm); }
.step:hover { opacity: .9; }
.step:hover h3 { color: var(--teal-2); }
.step:hover .step__num { border-color: var(--teal); box-shadow: 0 0 0 6px rgba(43,179,192,.12); }
.step__hit { position: absolute; inset: 0; background: transparent; border: 0; padding: 0; margin: 0; border-radius: inherit; cursor: pointer; z-index: 1; }
.step__hit:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }
.step:has(.step__hit:focus-visible) { opacity: 1; }
.step h3 { transition: color .3s; }
.step.is-active, .step.is-active:hover { opacity: 1; transform: none; }
.step__num { position: absolute; left: 0; top: .1rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 600; color: var(--teal); border: 1px solid rgba(43,179,192,.35); background: rgba(43,179,192,.08); transition: background .4s, color .4s, box-shadow .4s; }
.step.is-active .step__num { background: var(--teal); color: #071417; box-shadow: 0 0 0 8px rgba(43,179,192,.12); }
.step h3 { font-size: 1.45rem; margin-bottom: .7rem; }
.step p { color: var(--text-2); }
.how__visual { position: sticky; top: calc(var(--nav-h) + 4vh); }
.how__panel { position: relative; aspect-ratio: 4 / 3; max-height: 480px; }
.panel {
  position: absolute; inset: 0; margin: 0; padding: 0; overflow: hidden;
  background: #131d27; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none;
}
.panel--art { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(43,179,192,.16), transparent 55%), #131d27; }
.panel--bare { background: none; border: 0; box-shadow: none; }
.panel--bare .capture { padding: 18px 20px; background: #1a2733; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.panel__art { --s: 2.2; position: relative; display: grid; place-items: center; width: 240px; height: 130px; transform: scale(var(--s)); }
.panel__art--planner { --s: 1.12; width: 100%; height: auto; padding: 0 14%; }
.panel__art--planner .planner { max-width: none; gap: 10px; }
.panel__art--planner .planner__days span { font-size: .8rem; }
.panel__art--planner .planner__grid i { height: 62px; border-radius: 12px; }
.panel__art--planner .planner__grid b { left: 9px; right: 9px; bottom: 9px; height: 11px; }
.panel__art--planner .planner__legend { font-size: .82rem; gap: 1.2rem; margin-top: .4rem; }
.panel__art--planner .planner__legend span::before { width: 10px; height: 10px; }
.panel__art--assign { --s: 1.8; width: auto; height: auto; }
.panel__art--board { --s: 1.8; width: auto; height: auto; }
.panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
/* short screens: the card wraps its content instead of stretching to the frame */

@media (max-width: 900px) {
  .how__layout { grid-template-columns: 1fr; }
  /* the image sits above the steps and swaps when a step is tapped; nothing sticks over the text */
  .how__visual { position: static; order: -1; }
  /* the frame wraps whatever the active screen needs instead of holding a fixed shape */
  .how__panel { aspect-ratio: auto; height: auto; max-height: none; }
  .panel.is-active { position: relative; }
  .panel--art.is-active { height: 300px; }
  .panel--art .panel__art { --s: 1.5; }
  .panel--art .panel__art--planner { --s: .8; }
  .how__steps { padding: 1.5rem 0 0; gap: 1rem; }
  .step { opacity: 1; transform: none; padding: 1rem 1rem 1rem 4.4rem; border: 1px solid transparent; }
  .step:hover { opacity: 1; }
  .step__num { left: .8rem; top: 1rem; }
  .step.is-active { background: var(--surface); border-color: var(--line); }
  .step h3 { font-size: 1.2rem; }
}

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); gap: 1.2rem; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  display: flex; flex-direction: column; gap: .6rem; position: relative; overflow: hidden;
}
.tile__art + h3 { margin-top: auto; }
.tile p { color: var(--text-2); font-size: .95rem; }
.tile__art { flex: 0 0 auto; height: 130px; margin-bottom: .6rem; position: relative; display: grid; place-items: center; }

.planner { width: 100%; max-width: 520px; display: grid; gap: 6px; }
.planner__days, .planner__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.planner__days span { font-size: .58rem; letter-spacing: .08em; color: var(--text-3); text-align: center; }
.planner__grid i { height: 38px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); position: relative; }
.planner__grid b { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 7px; border-radius: 4px; background: var(--status-blue); animation: chipLife 9s calc(var(--i) * -1.1s) infinite; }
.planner__grid b.is-late { animation-name: chipLate; }
@keyframes chipLife { 0%, 34% { background: var(--status-blue); } 40%, 60% { background: var(--orange); } 66%, 92% { background: var(--green); } 100% { background: var(--status-blue); } }
@keyframes chipLate { 0%, 34% { background: var(--status-blue); } 40%, 58% { background: var(--orange); } 64%, 92% { background: var(--red); box-shadow: 0 0 0 3px rgba(255,107,91,.22); } 100% { background: var(--status-blue); } }
.planner__legend { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .62rem; color: var(--text-3); }
.planner__legend span { display: inline-flex; align-items: center; gap: .35rem; }
.planner__legend span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; }
.planner__legend .is-scheduled::before { background: var(--status-blue); }
.planner__legend .is-due::before { background: var(--orange); }
.planner__legend .is-overdue::before { background: var(--red); }
.planner__legend .is-done::before { background: var(--green); }

.assign { width: 260px; background: #1a2733; border: 1px solid var(--line-2); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.assign__top { display: flex; align-items: center; gap: .6rem; }
.assign__avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, var(--teal), #17636c); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .72rem; flex: none; }
.assign__who { display: grid; gap: 1px; }
.assign__who b { color: #fff; font-size: .82rem; }
.assign__who span { color: var(--text-3); font-size: .68rem; }
.assign__due { margin-left: auto; background: rgba(226,165,58,.16); color: var(--orange); border: 1px solid rgba(226,165,58,.4); font-size: .65rem; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; white-space: nowrap; }
.assign__title { color: #fff; font-size: .85rem; font-weight: 600; margin: .9rem 0 .7rem; }
.assign__chips { display: flex; gap: 6px; }
.assign__chip { display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); border-radius: 8px; padding: .3rem .5rem; font-size: .66rem; color: var(--text-2); }
.assign__chip svg { width: 12px; height: 12px; fill: var(--teal-2); }

.capture { display: flex; align-items: center; gap: 22px; position: relative; }
.cam-phone { width: 58px; height: 100px; border-radius: 13px; background: #0f171f; border: 1px solid var(--line-2); position: relative; flex: 0 0 auto; }
.cam-phone__screen { position: absolute; inset: 7px 6px 20px; border-radius: 6px; overflow: hidden; display: grid; place-items: center;
  background:
    linear-gradient(#fff, #fff) 4px 4px / 8px 1.5px no-repeat, linear-gradient(#fff, #fff) 4px 4px / 1.5px 8px no-repeat,
    linear-gradient(#fff, #fff) calc(100% - 4px) 4px / 8px 1.5px no-repeat, linear-gradient(#fff, #fff) calc(100% - 4px) 4px / 1.5px 8px no-repeat,
    linear-gradient(#fff, #fff) 4px calc(100% - 4px) / 8px 1.5px no-repeat, linear-gradient(#fff, #fff) 4px calc(100% - 4px) / 1.5px 8px no-repeat,
    linear-gradient(#fff, #fff) calc(100% - 4px) calc(100% - 4px) / 8px 1.5px no-repeat, linear-gradient(#fff, #fff) calc(100% - 4px) calc(100% - 4px) / 1.5px 8px no-repeat,
    linear-gradient(160deg, #16414a, #0f2a30); }
.cam-phone__icon { width: 18px; height: 18px; fill: rgba(255,255,255,.55); }
.cam-phone__flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 4s infinite; }
.cam-phone__shutter { position: absolute; left: 50%; bottom: 5px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #0f171f, 0 0 0 3px rgba(255,255,255,.6); transform: translateX(-50%); animation: shutter 4s infinite; }
.cam-shot { position: absolute; left: 6px; top: 7px; width: 46px; height: 73px; border-radius: 6px; background: linear-gradient(160deg, #2bb3c0, #16414a); border: 1px solid rgba(255,255,255,.5); opacity: 0; animation: shot 4s infinite var(--ease); pointer-events: none; }
.evidence { width: 108px; border-radius: 10px; background: #1a2733; border: 1px solid var(--line-2); padding: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); }
.evidence small { grid-column: 1 / -1; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.evidence__thumb { aspect-ratio: 1; border-radius: 5px; background: linear-gradient(160deg, #2bb3c0, #16414a); opacity: .85; }
.evidence__thumb--new { position: relative; background: var(--surface-2); border: 1px dashed var(--line-2); opacity: 1; animation: slotFill 4s infinite; }
.evidence__thumb--new svg { position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; fill: #fff; opacity: 0; animation: tickPop 4s infinite; }
@keyframes flash { 0%, 16%, 21%, 100% { opacity: 0; } 18% { opacity: .95; } }
@keyframes shutter { 0%, 14%, 20%, 100% { transform: translateX(-50%) scale(1); } 17% { transform: translateX(-50%) scale(.72); } }
@keyframes shot { 0%, 18% { opacity: 0; transform: none; } 22% { opacity: 1; transform: none; } 52% { opacity: 1; transform: translate(138px, 14px) scale(.56, .36); } 56%, 100% { opacity: 0; transform: translate(138px, 14px) scale(.56, .36); } }
@keyframes slotFill { 0%, 52% { background: var(--surface-2); border-color: var(--line-2); } 56%, 86% { background: var(--green); border-color: var(--green); } 92%, 100% { background: var(--surface-2); border-color: var(--line-2); } }
@keyframes tickPop { 0%, 54% { opacity: 0; transform: scale(.4); } 60%, 86% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.4); } }

.mini-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: end; height: 100px; width: 100%; max-width: 200px; }
.mini-bars i { height: calc(var(--v) * 100%); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, rgba(43,179,192,.9), rgba(43,179,192,.2)); animation: breathe 4s ease-in-out infinite; animation-delay: calc(var(--v) * 1s); }
@keyframes breathe { 50% { filter: brightness(1.3); transform: scaleY(1.04); } }
.mini-kpi { position: absolute; right: 6%; top: 0; background: rgba(24,36,48,.92); border: 1px solid var(--line-2); border-radius: 12px; padding: .5rem .8rem; display: grid; }
.mini-kpi small { font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.mini-kpi b { font-size: 1.3rem; color: var(--orange); }

.board { width: 270px; background: #1a2733; border: 1px solid var(--line-2); border-radius: 14px; padding: .9rem 1rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.board__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.board__head b { color: #fff; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.board__live { display: flex; align-items: center; gap: 5px; color: var(--green); font-size: .62rem; font-weight: 700; }
.board__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.board__row { display: flex; align-items: center; gap: 9px; padding: .45rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.board__row:first-of-type { border-top: none; }
.board__status { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.board__status.is-good { background: var(--green); }
.board__status.is-due { background: var(--orange); }
.board__status.is-bad { background: var(--red); }
.board__site { color: var(--text-2); font-size: .74rem; flex: 1; }
.board__count { color: #fff; font-size: .74rem; font-weight: 700; }

.nodes { position: relative; width: 180px; height: 100px; }
.nodes i, .nodes b { position: absolute; border-radius: 50%; }
.nodes b { width: 20px; height: 20px; left: 80px; top: 40px; background: var(--teal); box-shadow: 0 0 0 8px rgba(43,179,192,.15); }
.nodes i { width: 10px; height: 10px; background: var(--teal-2); opacity: .8; }
.nodes i:nth-child(1) { left: 10px; top: 10px; } .nodes i:nth-child(2) { left: 160px; top: 20px; } .nodes i:nth-child(3) { left: 30px; top: 80px; } .nodes i:nth-child(4) { left: 150px; top: 80px; } .nodes i:nth-child(5) { left: 90px; top: 0; }
.nodes::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to bottom right, transparent calc(50% - .5px), rgba(43,179,192,.35) 50%, transparent calc(50% + .5px)),
  linear-gradient(to bottom left, transparent calc(50% - .5px), rgba(43,179,192,.35) 50%, transparent calc(50% + .5px)); opacity: .8; }

/* platform: Assure sitting on the Operations Cloud base */
.platform { position: relative; width: 100%; max-width: 440px; height: 118px; }
.platform__base { position: absolute; left: 0; right: 0; bottom: 14px; height: 48px; border-radius: 14px; border: 1px solid rgba(43,179,192,.4); background: linear-gradient(180deg, rgba(43,179,192,.16), rgba(43,179,192,.04)); display: flex; align-items: center; justify-content: center; gap: 16px; }
.platform__base i { width: 38px; height: 22px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2); }
.platform__base i.is-on { background: rgba(43,179,192,.55); border-color: var(--teal); }
.platform__tile { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); display: flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 12px; background: #1a2733; border: 1px solid var(--teal); box-shadow: 0 18px 40px -14px rgba(43,179,192,.6); font-size: .8rem; font-weight: 600; color: #fff; white-space: nowrap; }
.platform__tile::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px rgba(43,179,192,.55); }
.platform__label { position: absolute; left: 0; right: 0; bottom: -8px; text-align: center; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
/* security: shield with a lock badge and a radar ring for enterprise scale */
.secure { position: relative; display: grid; place-items: center; width: 110px; height: 110px; }
.secure__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(43,179,192,.35); }
.secure__ring::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; border: 1px dashed rgba(43,179,192,.22); }
.secure__shield { position: relative; z-index: 1; width: 48px; height: 48px; fill: var(--teal); filter: drop-shadow(0 8px 20px rgba(43,179,192,.45)); }
.secure__lock { position: absolute; z-index: 2; right: 20px; bottom: 20px; width: 20px; height: 16px; border-radius: 4px; background: #1a2733; border: 1px solid var(--line-2); box-shadow: 0 8px 16px -8px rgba(0,0,0,.7); }
.secure__lock::before { content: ""; position: absolute; left: 4px; top: -9px; width: 12px; height: 12px; border: 2px solid var(--teal-2); border-bottom: 0; border-radius: 8px 8px 0 0; }
.secure__lock::after { content: ""; position: absolute; left: 8px; top: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }
/* devices: laptop, tablet and phone outlines */
.devices { position: relative; width: 200px; height: 96px; }
.devices i { position: absolute; border: 2px solid var(--teal-2); border-radius: 8px; background: #1a2733; }
.devices__laptop { left: 0; bottom: 8px; width: 120px; height: 76px; border-radius: 8px 8px 3px 3px; }
.devices__laptop::after { content: ""; position: absolute; left: -12px; right: -12px; bottom: -10px; height: 8px; border-radius: 0 0 6px 6px; background: var(--teal-2); }
.devices__tablet { left: 112px; bottom: 6px; width: 54px; height: 72px; }
.devices__phone { left: 160px; bottom: 6px; width: 34px; height: 60px; border-radius: 9px; }
.devices__tablet::before, .devices__phone::before { content: ""; position: absolute; left: 50%; bottom: 4px; width: 10px; height: 2px; border-radius: 1px; background: var(--teal-2); transform: translateX(-50%); }
/* integrations: Unifii and "your systems" as two interlocking puzzle pieces */
.puzzle { width: 200px; height: 122px; overflow: visible; }
.puzzle__unifii { fill: url(#puzzleTeal); stroke: #39c9d6; stroke-width: 2; filter: drop-shadow(0 0 14px rgba(43,179,192,.45)); }
.puzzle__systems { fill: #1d2b38; stroke: var(--line-2); stroke-width: 2; }
.puzzle__dot { fill: #0d1620; }
.puzzle__core { fill: #7fe3ec; filter: drop-shadow(0 0 6px rgba(127,227,236,.9)); }
.puzzle text { font-family: inherit; font-weight: 700; fill: #fff; font-size: 13px; }
.puzzle__label { fill: var(--text-2); font-weight: 600; font-size: 11px; }
/* insight: a small chart with an AI summary chip */
.tile__art--insight .mini-bars--sm { height: 80px; max-width: 150px; }
.insight__ai { position: absolute; right: 8%; top: 4px; display: flex; align-items: center; gap: .4rem; padding: .35rem .6rem; border-radius: 999px; background: rgba(24,36,48,.95); border: 1px solid var(--line-2); font-size: .68rem; color: var(--text-2); }
.insight__sparkle { width: 16px; height: 16px; fill: var(--teal); filter: drop-shadow(0 0 5px rgba(43,179,192,.55)); flex: none; }
.insight__ai b { padding: .1rem .4rem; border-radius: 6px; background: rgba(43,179,192,.22); color: var(--teal-2); font-size: .62rem; }
/* growth: ascending bars show configured today, room to expand tomorrow */
.growth { display: flex; align-items: flex-end; gap: 12px; height: 96px; }
.growth i { position: relative; display: block; width: 26px; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--surface-2); border: 1px solid var(--line-2); }
.growth i.is-on { background: rgba(43,179,192,.35); border-color: var(--teal); }
.growth i.is-next { background: transparent; border-style: dashed; border-color: var(--teal-2); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Split sections ---------- */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split__grid--rev .split__copy { order: 0; }
.split__copy { display: grid; gap: 1.2rem; align-content: center; justify-items: start; }
.split__copy h2 { max-width: 18ch; }
.split__media { position: relative; }
@media (max-width: 900px) { .split__grid { grid-template-columns: 1fr; } .split__grid--rev .split__media { order: -1; } .split__media .photo { margin-inline: auto; } }
/* Mirrors uf-toast from @unifii/library: solid level colour, white icon and small text, close action */
.photo { margin: 0; border-radius: var(--radius); border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); aspect-ratio: 4 / 5; max-height: 600px; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(17,26,35,.55)); pointer-events: none; }
.outcome-list { display: grid; gap: .3rem; margin-top: .4rem; }
.outcome-list li { display: grid; gap: .15rem; padding: 1rem 0 1rem 1.6rem; border-left: 2px solid var(--line-2); position: relative; }
.outcome-list li::before { content: ""; position: absolute; left: -6px; top: calc(1rem + .5lh - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(43,179,192,.18); }
.outcome-list b { font-weight: 500; color: #fff; }
.outcome-list span { color: var(--text-2); font-size: .95rem; }

/* ---------- Marquee keyframe (shared by the industries ticker) ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Industries ticker ---------- */
.ticker { margin-top: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; display: grid; grid-template-columns: 100%; gap: .8rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__label { text-align: center; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: .4rem; }
.ticker__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ticker__track--rev { animation-direction: reverse; animation-duration: 54s; }
.ticker__set { display: flex; gap: .7rem; padding-right: .7rem; }
.ticker__set span, .ticker__set a { white-space: nowrap; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .92rem; color: var(--text-2); text-decoration: none; }
.ticker__set a { transition: border-color .15s ease, color .15s ease; }
.ticker__set a:hover, .ticker__set a:focus-visible { border-color: var(--teal-2); color: var(--teal-2); }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- Safety leader quotes and client logos ---------- */
.quote { padding-block: clamp(3.5rem, 7vw, 6rem); overflow-x: clip; }
.quote__head { display: grid; gap: .75rem; margin-bottom: 2rem; }
.quote__head h2 { max-width: none; }
.quote__head > p:last-child { color: var(--text-2); font-size: .9rem; }
.quote__head a, .client-logos__label a { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }
.quote__head a:hover, .client-logos__label a:hover { color: #fff; }
.quote__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.quote__card { margin: 0; min-height: 190px; padding: 1.75rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.quote__card p { color: #fff; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; font-weight: 500; }
.quote__card footer { color: var(--text-2); font-size: .78rem; line-height: 1.5; }
.client-logos { margin-top: clamp(3rem, 5vw, 4.5rem); }
.client-logos:first-child { margin-top: 0; }
.client-logos__label { color: var(--text-2); font-size: .88rem; text-align: center; margin-bottom: 1.3rem; }
.client-logos__viewport { position: relative; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); padding: 2rem 0; background: rgba(255,255,255,.018); border-top: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.client-logos__track { display: flex; width: max-content; animation: marquee 120s linear infinite; }
.client-logos__set { display: flex; gap: 4.8rem; padding-right: 4.8rem; }
.client-logos__set img { flex: none; width: 144px; height: 72px; object-fit: contain; filter: grayscale(1) brightness(0) invert(.82); opacity: .82; }
.client-logos__set img[src$="client-bcf.svg"],
.client-logos__set img[src$="client-kumul.svg"],
.client-logos__set img[src$="client-leaseplan.svg"] { filter: grayscale(1) invert(1) brightness(1.35); opacity: 1; }
.client-logos__set img[src$="client-supercheap-mono.svg"] { filter: none; opacity: 1; }
.client-logos__set img[src$="client-bcf.svg"],
.client-logos__set img[src$="client-supercheap-mono.svg"],
.client-logos__set img[src$="client-leaseplan.svg"] { transform: scale(1.18); }
.client-logos__set img[src$="client-kumul.svg"] { transform: scale(1.45); }
.client-logos__viewport:hover .client-logos__track { animation-play-state: paused; }
@media (max-width: 900px) { .quote__grid { grid-template-columns: 1fr; } .quote__card { min-height: 0; } }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(23,126,137,.35), transparent 70%); border-top: 1px solid var(--line); }
.cta__orbit { position: absolute; left: 50%; top: 50%; width: min(120vw, 1100px); aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .5; pointer-events: none; }
.cta__inner { position: relative; display: grid; gap: 1.2rem; justify-items: center; max-width: 780px; }
.cta__inner h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.cta__inner .hero__actions { justify-content: center; margin-top: 1rem; }
.cta__stores { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.4rem; }
.cta__stores img { display: block; height: 40px; width: auto; }
.cta__stores a { transition: transform .25s var(--ease); }
.cta__stores a:hover { transform: translateY(-2px); }

/* ---------- Footer (mirrors Styles/footer.less on the main site) ---------- */
.site-footer { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 9rem; padding: 2rem 0; background: #1a2530; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.7); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -10%; bottom: -60%; width: 50%; padding-top: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(23,126,137,.3), transparent 65%); pointer-events: none; }
.footer-container { position: relative; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-container .grow { flex: 1 1 auto; display: flex; flex-direction: column; gap: .75rem; }
.footer-container .copyright p { margin: 0; color: rgba(255,255,255,.6); font-size: .75rem; line-height: 1.25rem; }
.footer-container .menu-list { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; }
.footer-container .menu-list a { display: inline-flex; align-items: center; color: rgba(255,255,255,.8); transition: color .2s ease; }
.footer-container .menu-list a:hover { color: #fff; }
.footer-container .menu-list img { max-height: 1.75rem; width: auto; }
.footer-container .footer__item { font-size: .875rem; }
.footer-container .spacer { color: rgba(255,255,255,.25); }
.footer-container .footer--logo { display: flex; flex-direction: column; align-items: flex-end; }
.footer-container .footer__logo { display: inline-block; height: 4rem; width: auto; vertical-align: top; }
@media only screen and (max-width: 768px) { .footer-container { flex-direction: column; align-items: flex-start; } .footer-container .footer--logo { align-items: flex-start; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); will-change: opacity, transform; }
.reveal[data-delay="1"] { --rd: 1; } .reveal[data-delay="2"] { --rd: 2; } .reveal[data-delay="3"] { --rd: 3; } .reveal[data-delay="4"] { --rd: 4; } .reveal[data-delay="5"] { --rd: 5; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Touch: every tap target at least 44px tall ---------- */
@media (pointer: coarse) {
  .nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
  .nav__mobile a { min-height: 44px; display: flex; align-items: center; }
  .quote__head a, .client-logos__label a { display: inline-block; padding-block: .5rem; }
  .footer-container .menu-list a { min-height: 44px; min-width: 44px; justify-content: center; }
  .btn { min-height: 44px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .step { opacity: 1; }
  .client-logos__viewport { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .client-logos__track, .client-logos__set:first-child { width: 100%; flex-wrap: wrap; justify-content: center; }
  .client-logos__set:first-child { gap: 1.5rem; padding: 0 1rem; }
  .client-logos__set[aria-hidden="true"] { display: none; }
}
