/* Free trial page (trial.html, trial-staging.html). Converted once on 2026-10-12 from the design export sense-start-trial-share.html (tokens, base, sections, agents, product, minis, convert; nav.css is left to nav-footer-new.css), scoped to main.start-trial and trimmed to the rules this page can match; maintained by hand from here on. trial.css stays for trial-thankyou.html. */

/* ===== PAGE-LEVEL RULES (html, body, the shared header): START: every other rule is scoped to main.start-trial */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #F4F4F7; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { scroll-padding-top: 96px; }   /* focus and #anchor scrolling stop clear of the fixed overlay header (about 80 px tall) */
/* Light hero (body.hero-light): the overlay header starts with dark text and frosts on scroll as usual (as hr-feature.css). */
body.hero-light .nav.nav--overlay:not(.is-scrolled) { color: var(--text); }
body.hero-light .nav.nav--overlay:not(.is-scrolled) .logo { color: var(--brand); }
body.hero-light .nav.nav--overlay:not(.is-scrolled) .nav-link:hover,
body.hero-light .nav.nav--overlay:not(.is-scrolled) .nav-item.is-open > .nav-link { background: rgba(11, 10, 20, .06); }

/* ===== PAGE-LEVEL RULES: END */

/* css/tokens.css */
/* ==========================================================================
   Sense HR website — design tokens
   Layout/motion language recreated from the Zyntexa reference; colour + type
   are Sense's own (Satoshi display, Inter body, brand #634AFC).
   ========================================================================== */
.start-trial {
  /* Brand */
  --brand: #634AFC;
  --brand-hover: #4931DC;
  --brand-soft: #B8ADFF;
  --brand-10: #EFF1FF;
  --brand-20: #E5E7FF;
  --brand-glow: rgba(99, 74, 252, .35);

  /* Primary button — the ONE definition used by every primary CTA (nav, mobile menu, sections) */
  --btn-primary-bg: #634AFC;
  --btn-primary-bg-hover: #4931DC;
  --btn-primary-fg: #FFFFFF;          /* 5.4:1 on #634AFC — passes WCAG AA */
  --btn-radius: 10px;

  /* Neutrals */
  --ink: #0B0A14;                     /* dark panels */
  --ink-2: #15132A;
  --ink-3: #1C1A35;
  --page: #F4F4F7;                    /* off-white page, like the reference */
  --card: #FFFFFF;
  --text: #0B0A14;
  --text-2: #54536B;
  --text-3: #8B899E;
  --line: rgba(11, 10, 20, .08);
  --line-strong: rgba(11, 10, 20, .14);
  --line-dash: rgba(11, 10, 20, .18);
  --text-inv: #FFFFFF;
  --text-inv-2: rgba(255, 255, 255, .72);
  --text-inv-3: rgba(255, 255, 255, .5);
  --line-inv: rgba(255, 255, 255, .14);
  --live: #22B573;
  --live-bg: #E4FFE9;

  /* Type */
  --font-display: 'Satoshi', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(40px, 5.2vw, 68px);
  --fs-h2: clamp(30px, 3.4vw, 46px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-h4: 19px;
  --fs-lede: clamp(16px, 1.25vw, 18px);
  --fs-body: 16px;
  --fs-small: 14px;
  --ls-display: -0.035em;

  /* Layout */
  --container: 1320px;
  --container-wide: 1470px;
  --gutter: 24px;
  --frame-inset: 20px;
  --section-y: clamp(80px, 9vw, 128px);

  /* Radii (reference: 100 pill · 40 panel · 30/24/20 card · 15 dropdown · 10 small) */
  --r-panel: 40px;
  --r-card-lg: 30px;
  --r-card: 24px;
  --r-md: 16px;
  --r-sm: 12px;

  /* Shadows — soft, wide blurs */
  --shadow-sm: 0 1px 2px rgba(11, 10, 20, .06), 0 0 0 1px rgba(11, 10, 20, .05);
  --shadow-md: 0 24px 56px -12px rgba(11, 10, 20, .15);
  --shadow-lg: 0 57px 70px -20px rgba(11, 10, 20, .12), 0 0 0 1px rgba(11, 10, 20, .04);
  --shadow-float: 0 18px 40px -8px rgba(20, 12, 70, .28), 0 0 0 1px rgba(11, 10, 20, .05);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-reveal: .8s;
  --reveal-y: 40px;
}

@media (max-width: 767px) {
  .start-trial {
    --gutter: 16px;
    --frame-inset: 8px;
    --r-panel: 24px;
    --r-card-lg: 22px;
    --r-card: 20px;
  }
}

/* css/base.css */
/* ==========================================================================
   Base: reset, type, layout primitives, buttons, reveal + odometer motion
   ========================================================================== */
.start-trial *, .start-trial *::before, .start-trial *::after { box-sizing: border-box; }
.start-trial {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 var(--fs-body)/1.62 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.start-trial img, .start-trial picture, .start-trial svg { display: block; max-width: 100%; }
.start-trial img { height: auto; }
.start-trial a { color: inherit; text-decoration: none; }
.start-trial button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.start-trial ul { list-style: none; margin: 0; padding: 0; }
.start-trial p { margin: 0; }
.start-trial h1, .start-trial h2, .start-trial h3, .start-trial h4, .start-trial h5 { margin: 0; text-wrap: balance; font-family: var(--font-display); font-weight: 500; letter-spacing: var(--ls-display); color: inherit; }
.start-trial h1 { font-size: var(--fs-h1); line-height: 1.06; }
.start-trial h2 { font-size: var(--fs-h2); line-height: 1.12; }
.start-trial h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.025em; }
.start-trial h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.015em; }
.start-trial h5 { font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.start-trial b, .start-trial strong { font-weight: 600; }

.start-trial :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.start-trial .on-dark :focus-visible { outline-color: var(--brand-soft); }

.start-trial .container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.start-trial .section { padding-block: var(--section-y); }

/* Eyebrow pill */
.start-trial .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 13px/1 var(--font-body); letter-spacing: .01em;
  padding: 8px 14px; border-radius: 100px;
  background: var(--card); color: var(--brand-hover);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.start-trial .eyebrow.on-dark { background: rgba(255, 255, 255, .08); color: #DCD6FF; box-shadow: inset 0 0 0 1px var(--line-inv); }

/* ---------- Buttons ---------- */
.start-trial .btn {
  --btn-h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 20px;
  border-radius: var(--btn-radius);
  font: 500 15px/1 var(--font-body); white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.start-trial .btn:hover { transform: scale(.97); }            /* standing rule: every button scales to .97 */
.start-trial .btn:active { transform: scale(.95); }
.start-trial .btn-lg { --btn-h: 52px; padding: 0 26px; font-size: 16px; }
.start-trial .btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); box-shadow: 0 8px 24px -8px rgba(99, 74, 252, .6), inset 0 1px 0 rgba(255, 255, 255, .18); }
.start-trial .btn-primary:hover { background: var(--btn-primary-bg-hover); }

.start-trial .cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Scroll reveal (fade-up, staggered by JS via --i) ---------- */
.js .start-trial .reveal { opacity: 0; transform: translate3d(0, var(--reveal-y), 0); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .start-trial .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion: everything final, instantly ---------- */
@media (prefers-reduced-motion: reduce) {
  .start-trial *, .start-trial *::before, .start-trial *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .start-trial .reveal { opacity: 1 !important; transform: none !important; }
  .start-trial .btn:hover, .start-trial .btn:active { transform: none; }
}

/* css/sections.css */
/* ==========================================================================
   Sections (in page order)
   ========================================================================== */

/* ---------- shared heads ---------- */
.start-trial .center-head { max-width: 780px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.start-trial .center-head p { color: var(--text-2); font-size: var(--fs-lede); max-width: 640px; margin-top: 20px; }

/* ==========================================================================
   01 HERO — dark inset frame, centred copy, dashboard + floating cards
   ========================================================================== */

.js .start-trial .hero-anim { opacity: 0; transform: translateY(16px); animation: heroIn .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ==========================================================================
   06 TIME & ATTENDANCE — home-three "We simplify…" layout:
   head + icon list with a progress bar on the left, tall gradient card on the right
   (stacked card of devices on top, product screenshot below). DOM keeps live order.
   ========================================================================== */
.start-trial .ta-frame { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.start-trial .ta-frame.is-active { opacity: 1; transform: none; }
.start-trial .ta-frame:nth-child(1) img { max-width: 80%; max-height: 80%; }
.start-trial .ta-frame:nth-child(2) img { box-shadow: none; border-radius: 0; }
.start-trial .ta-frame img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--r-card); box-shadow: 0 30px 60px -28px rgba(33, 18, 140, .55); }

/* ==========================================================================
   13 FOOTER — full-bleed black (oma-melon layout): brand + copyright left,
   link columns right, oversized fading wordmark at the bottom
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .js .start-trial .hero-anim { opacity: 1; transform: none; }
}

/* css/agents.css */
/* ==========================================================================
   Agent pages — AMI hub page (sense-agent-ami.html)
   Builds on tokens/base/nav/sections from the home page; only page-specific
   patterns live here.
   ========================================================================== */

/* ---------- 05 MEET AMI IN PERSON — pay-co "Network of passionate users" layout ----------
   striped lavender card · centred copy · product shot cropped by the card's bottom edge
   inside the home page's glass frame · form bar under the copy */
.start-trial .ami-meet-wrap { position: relative; }
.start-trial .ami-meet { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-panel); padding: clamp(56px, 7vw, 96px) var(--gutter) 0;
  background: linear-gradient(180deg, #F7F6FF 0%, #EFEDFF 55%, #E4E0FF 100%); box-shadow: inset 0 0 0 1px rgba(99, 74, 252, .08); text-align: center; }
.start-trial .ami-meet::before { /* vertical column stripes, fading in towards the bottom (reference texture, in Sense purple) */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(99, 74, 252, .09) 0 72px, transparent 72px 89px) center top;
  -webkit-mask-image: linear-gradient(180deg, transparent 5%, #000 95%); mask-image: linear-gradient(180deg, transparent 5%, #000 95%); }
.start-trial .ami-meet::after { /* purple haze rising from the lower corners */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(38% 60% at 0% 100%, rgba(99, 74, 252, .38), transparent 70%), radial-gradient(38% 60% at 100% 100%, rgba(99, 74, 252, .38), transparent 70%); }
.start-trial .ami-meet-copy { max-width: 720px; margin: 0 auto; }
.start-trial .ami-meet-copy h2 { color: var(--text); }
.start-trial .ami-meet-copy p { margin: 18px auto 0; color: var(--text-2); font-size: var(--fs-lede); max-width: 620px; }
.start-trial .ami-meet-shot { position: relative; max-width: 1080px; margin: clamp(40px, 5vw, 64px) auto 0; height: clamp(240px, 33vw, 470px); overflow: hidden; }

/* form bar: Name · Email · button, directly under the copy */
@media (max-width: 767px) {
  .start-trial .ami-meet-shot { height: 220px; }
}

/* ---------- 06 FAQ — single rounded container with square toggles ---------- */
.start-trial .ami-faq { max-width: 1070px; margin: 56px auto 0; border-radius: var(--r-card-lg); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; }
.start-trial .ami-faq-item + .ami-faq-item { border-top: 1px solid var(--line); }
.start-trial .ami-faq-q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 40px; cursor: pointer; font: 500 clamp(17px, 1.4vw, 20px)/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--text); transition: background-color .2s; }
.start-trial .ami-faq-q::-webkit-details-marker { display: none; }
.start-trial .ami-faq-q:hover { background: var(--page); }
.start-trial .ami-faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; border-radius: 12px; }
.start-trial .ami-faq-ic { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background-color .3s; }
.start-trial .ami-faq-ic svg { width: 14px; height: 14px; }
.start-trial .ami-faq-ic svg { transition: transform .35s var(--ease-out); }
.start-trial .ami-faq-item[open] .ami-faq-ic { background: var(--brand); }
.start-trial .ami-faq-item[open] .ami-faq-ic svg { transform: rotate(45deg); }
.start-trial .ami-faq-a { padding: 0 104px 26px 40px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
@supports (interpolate-size: allow-keywords) {
  .start-trial .ami-faq { interpolate-size: allow-keywords; }
  .start-trial .ami-faq-item::details-content { height: 0; overflow: hidden; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .start-trial .ami-faq-item[open]::details-content { height: auto; }
}
@media (max-width: 767px) { .start-trial .ami-faq { margin-top: 40px; } .start-trial .ami-faq-q { padding: 20px; } .start-trial .ami-faq-a { padding: 0 20px 20px; font-size: 15px; } }

/* css/product.css */
/* ==========================================================================
   HR product pages (sense-hr-*.html). HR overview first: tools/product/gen_hr_overview.py
   Builds on the home hero (.hero), stats strip (.stats), AMI Meet card + FAQ (agents.css).
   ========================================================================== */

/* 04a stacking panels — pay-co "Digital wallets → Next-gen technology": panels stick below the nav and pile up;
   the one underneath shrinks + dims as the next slides over it (js/product.js sets --p per card) */
.start-trial .pd-stack { position: relative; margin-top: clamp(48px, 5vw, 72px); }
.start-trial .pd-stack-card { --p: 0; position: sticky; top: calc(96px + var(--i) * 22px); margin-bottom: 36px; }
.start-trial .pd-stack-card:last-child { margin-bottom: 0; }
.start-trial .pd-stack-inner { position: relative; overflow: hidden; isolation: isolate; min-height: 560px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); align-items: center;
  padding: clamp(32px, 4vw, 60px); border-radius: var(--r-panel); transform-origin: 50% 0; transform: scale(calc(1 - var(--p) * .05)); box-shadow: 0 -20px 60px -30px rgba(11, 10, 20, .35); }
.start-trial .pd-stack-inner::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #0B0A14; opacity: calc(var(--p) * .28); border-radius: inherit; }   /* dims as it's covered */
.start-trial .pd-stack-copy { position: relative; z-index: 1; max-width: 500px; }
.start-trial .pd-stack-copy h3 { margin-top: 18px; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.start-trial .pd-stack-copy p { margin-top: 18px; font-size: 17px; line-height: 1.65; }
.start-trial .pd-stack-visual { position: relative; z-index: 1; }
.start-trial .pd-stack-visual .pd-frame { aspect-ratio: 1.2; }
.start-trial .pd-stack-card .pd-stack-visual .pd-frame:has(> .mi) { background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }   /* Cards-image-bg.png */
.start-trial .pd-stack-card .pd-stack-visual .pd-frame:has(> .mi)::before { display: none; }
/* themes */
.start-trial .pd-stack-card.is-purple .pd-stack-inner { background: radial-gradient(90% 70% at 85% 110%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(160deg, #7A63FF 0%, #634AFC 45%, #4A31E6 100%); color: #fff; }
.start-trial .pd-stack-card.is-dark .pd-stack-inner { background: radial-gradient(70% 80% at 100% 0%, rgba(99, 74, 252, .38), transparent 60%), #0B0A14; color: #fff; }
.start-trial .pd-stack-card.is-light .pd-stack-inner { background: #fff; color: var(--text); box-shadow: var(--shadow-sm), 0 -20px 60px -30px rgba(11, 10, 20, .25); }
.start-trial .pd-stack-card.is-purple p, .start-trial .pd-stack-card.is-dark p { color: rgba(255, 255, 255, .78); }
.start-trial .pd-stack-card.is-light p { color: var(--text-2); }

.start-trial .pd-stack-card.is-purple .pd-frame { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.start-trial .pd-stack-card.is-purple .pd-frame::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 56px, transparent 56px 70px); }
.start-trial .pd-stack-card.is-dark .pd-frame { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.start-trial .pd-stack-card.is-dark .pd-frame::before { background: repeating-linear-gradient(90deg, rgba(184, 173, 255, .07) 0 56px, transparent 56px 70px); }
@media (max-width: 900px) {   /* panels taller than the screen can't stick: plain stacked cards */
  .start-trial .pd-stack-card { position: relative; top: auto; margin-bottom: 20px; }
  .start-trial .pd-stack-inner { grid-template-columns: 1fr; min-height: 0; transform: none; }
  .start-trial .pd-stack-inner::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .start-trial .pd-stack-inner { transform: none; } .start-trial .pd-stack-inner::after { display: none; } }

/* 04a spotlight rows — text + bullets | framed visual, alternating */
.start-trial .pd-frame { position: relative; aspect-ratio: 1.18; padding: clamp(18px, 2.6vw, 36px); border-radius: var(--r-card-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #EEEBFF 0%, #E4DFFF 100%); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.start-trial .pd-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(99, 74, 252, .07) 0 56px, transparent 56px 70px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); }
.start-trial .pd-frame picture { display: block; width: 100%; height: 100%; }
.start-trial .pd-frame img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(49, 30, 160, .18)); }

/* css/minis.css */
/* ==========================================================================
   Animated product mini-UIs (tools/product/minis.py · js/minis.js), rebuilt from the exported designs.
   States are toggled by classes; with reduced motion / no JS they show the designed end state.
   ========================================================================== */
.start-trial .mi { position: relative; font-family: var(--font-body); color: #2C2853; text-align: left; background: #fff; box-shadow: 0 40px 70px -30px rgba(33, 18, 140, .45), 0 0 0 1px rgba(11, 10, 20, .04); }
.start-trial .mi svg { display: block; }
.start-trial .pd-frame .mi { margin: auto; }
.start-trial .pd-frame .mi img { filter: none; }   /* not the frame's product-screenshot image rules */

/* cursor (moved by js/minis.js) */
.start-trial .mi-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; pointer-events: none; opacity: 0;
  transform: translate(var(--cx, 60%), var(--cy, 110%)); transition: transform .9s cubic-bezier(.5, 0, .2, 1), opacity .3s; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
.start-trial .mi.is-cursor .mi-cursor { opacity: 1; }
.start-trial .mi-cursor.is-press svg { transform: scale(.82); transition: transform .12s; }
.start-trial .mi-cursor svg { width: 22px; height: 22px; transition: transform .2s; transform-origin: 20% 15%; }

/* toast */
.start-trial .mi-toast { position: absolute; left: 50%; bottom: 18px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 12px; background: #fff; white-space: nowrap;
  font: 500 12.5px/1 var(--font-body); color: var(--text); box-shadow: 0 16px 34px -12px rgba(33, 18, 140, .45), 0 0 0 1px rgba(11, 10, 20, .05);
  opacity: 0; transform: translate(-50%, 10px) scale(.96); transition: opacity .35s, transform .45s var(--ease-out); }
.start-trial .mi-toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.start-trial .mi-toast-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #E5FDF0; color: #007C66; }
.start-trial .mi-toast-ic svg { width: 12px; height: 12px; }

/* ---------- Employee records (230×338 export, shown ~1.3×) ---------- */
.start-trial .mi-er { width: min(300px, 100%); padding: 20px 20px 10px; border-radius: 16px; }
.start-trial .mi-er-top { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 14px; }
.start-trial .mi-er-status { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: #E5FDF0; color: #007C66; font: 500 12px/1 var(--font-body); }
.start-trial .mi-er-status i { width: 6px; height: 6px; border-radius: 50%; background: #1BCAA7; box-shadow: 0 0 0 0 rgba(27, 202, 167, .6); animation: miPulse 1.8s ease-out infinite; }
@keyframes miPulse { to { box-shadow: 0 0 0 7px rgba(27, 202, 167, 0); } }
.start-trial .mi-er-av { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: #D7F3FD; margin-bottom: 8px; }
.start-trial .mi-er-av img { width: 100%; height: 100%; object-fit: cover; }
.start-trial .mi-er-name { font: 500 19px/1.2 var(--font-body); color: #2C2853; }
.start-trial .mi-er-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 1.35; color: #2C2853; }
.start-trial .mi-er-meta svg { width: 14px; height: 14px; color: #A3A2B1; }
.start-trial .mi-er-rows { list-style: none; margin: 0; padding: 0; }
.start-trial .mi-er-row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid #F5F5F5; font-size: 14px; transition: background-color .35s; border-radius: 8px; }
.start-trial .mi-er-k { font-weight: 600; color: #46516A; }
.start-trial .mi-er-v { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #5F6C87; }
.start-trial .mi-er-val { display: inline-block; transition: transform .35s var(--ease-out), opacity .35s; }
.start-trial .mi-er-val.is-flip { transform: translateY(-8px); opacity: 0; }
.start-trial .mi-er-row.is-hot { background: #F8F9FF; box-shadow: inset 0 0 0 1px rgba(99, 74, 252, .18); }
.start-trial .mi-er-upd { position: absolute; right: calc(100% + 8px); top: 50%; margin-top: -8.5px; white-space: nowrap; padding: 3px 6px; border-radius: 6px; background: #E5FDF0; color: #007C66; font: 500 10.5px/1 var(--font-body); opacity: 0; transform: scale(.8) translateX(6px); transition: opacity .3s, transform .3s var(--ease-out); }
.start-trial .mi-er-row.is-updated .mi-er-upd { opacity: 1; transform: none; }
.start-trial .mi-er-rtw .mi-tick { width: 14px; height: 14px; color: #007C66; }
.start-trial .mi-er-rtw .mi-tick path { stroke-dasharray: 16; stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease-out); }
.start-trial .mi-er.is-pre .mi-er-rtw .mi-tick path { stroke-dashoffset: 16; }
.start-trial .mi-er.is-pre .mi-er-row { opacity: 0; transform: translateY(8px); }
.start-trial .mi-er .mi-er-row { transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), background-color .35s; }

/* ---------- AMI assistant (291×329 export) ---------- */
.start-trial .mi-ami-dots { display: none; gap: 5px; padding: 12px 14px; align-self: flex-start; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #E4E7F0; }
.start-trial .mi-ami-dots i { width: 6px; height: 6px; border-radius: 50%; background: #A3A2B1; animation: miDot 1s ease-in-out infinite; }
.start-trial .mi-ami-dots i:nth-child(2) { animation-delay: .15s; } .start-trial .mi-ami-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes miDot { 50% { transform: translateY(-4px); background: #894AFF; } }
.start-trial .mi-caret::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: #894AFF; animation: miBlink .8s steps(1) infinite; }
@keyframes miBlink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .start-trial .mi-er-status i { animation: none; }
}

/* frames holding a mini-UI size to it (the fixed aspect ratio would crop the taller widgets) */
.start-trial .pd-frame:has(> .mi) { aspect-ratio: auto; padding: clamp(24px, 3vw, 40px); }

/* translucent glass border on the card animations — same treatment as the hero product window */
.start-trial .pd-stack-visual .mi { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); }
.start-trial .pd-stack-visual .mi-er { border-radius: 24px; }
/* transparent stages (.mi-b: a card floating in a see-through mini) — the glass border moves onto the card so it hugs the asset, not the frame */
.start-trial .pd-stack-visual .mi-b { border: 0; overflow: visible; }   /* visible: the card's shadow isn't cropped by the stage */
.start-trial .pd-stack-visual :is(.b28-card, .tl-card, .tc-card) { border: 8px solid rgba(255, 255, 255, .16); border-radius: 24px; background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 26px 44px -24px rgba(0, 0, 0, .6); }   /* shorter drop than the full-frame minis, so it stays inside the frame's padding */

/* ---------- inside the home T&A frames: undo the screenshot rules, centre, glass border ---------- */
.start-trial .ta-frame:has(> .mi) { display: grid; place-items: center; }
.start-trial .ta-frame .mi img { position: static; inset: auto; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; }

/* ---------- Counsel (Counsel.svg) ---------- */

.start-trial .pd-stack-inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
@media (max-width: 900px) { .start-trial .pd-stack-inner { grid-template-columns: minmax(0, 1fr); } }

/* ===== every animation panel: 16px visible corners (user, 1 Oct). Where a panel has the 8px glass border, the outer
   radius is 24px so the white panel inside it reads as 16px. ===== */
.start-trial .mi { border-radius: 16px !important; }
.start-trial .pd-stack-visual .mi { border-radius: 24px !important; }

/* ==========================================================================
   Holidays & Events (page 6) — rebuilt from Holiday events.svg, Track holidays.svg, approval workflow.svg, Heatmaps.svg,
   Calendar integrations.svg, Deeper insights.svg, self-service.svg, custom holidays.svg
   ========================================================================== */
/* planner event colours (shared by the calendar + upcoming widget) */
.start-trial .mi-ul .is-hol { --bg: #FFF7D8; --fg: #965509; }
.start-trial .mi-ul .is-visit { --bg: #E3F2FF; --fg: #0179BD; }
.start-trial .mi-ul .is-train { --bg: #E5FDF0; --fg: #007C66; }
.start-trial .mi-ul .is-mat { --bg: #FFF2F2; --fg: #BA1A1A; }

/* ---------- Track holidays and entitlements: upcoming widget + team outstanding (Track holidays.svg 604×356) ---------- */
.start-trial .mi-ul { width: min(540px, 100%); display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); align-items: center; padding: 0; background: none !important; box-shadow: none !important; border: 0 !important; }
.start-trial .mi-ul-card { position: relative; z-index: 1; overflow: hidden; border-radius: 16px; background: #FDFCFF; box-shadow: 0 0 0 1px #E8E8E8, 0 34px 60px -30px rgba(20, 12, 90, .55); }
.start-trial .mi-ul-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; background: #EFF1FF; box-shadow: inset 0 -1px 0 #EBEEFF; }
.start-trial .mi-ul-logo { width: 18px; height: 18px; color: #634AFC; }
.start-trial .mi-ul-head b { font: 600 16px/1 var(--font-body); color: #4931DC; }
.start-trial .mi-ul-seg { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #CFD3FF; }
.start-trial .mi-ul-seg span { padding: 6px 11px; border-radius: 6px; font: 500 12.5px/1 var(--font-body); color: #5C5980; transition: background-color .3s, color .3s; }
.start-trial .mi-ul-seg .is-on { background: #E6E7FF; color: #4931DC; }
.start-trial .mi-ul-lists { display: grid; }
.start-trial .mi-ul-list { grid-area: 1 / 1; list-style: none; margin: 0; padding: 0; transition: opacity .35s, transform .5s var(--ease-out); }
.start-trial .mi-ul-list:not(.is-on) { opacity: 0; transform: translateX(16px); pointer-events: none; }
.start-trial .mi-ul-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; box-shadow: inset 0 -1px 0 #EBEEFF; transition: opacity .4s, transform .5s var(--ease-out); }
.start-trial .mi-ul-row:nth-child(2) { transition-delay: .08s; } .start-trial .mi-ul-row:nth-child(3) { transition-delay: .16s; }
.start-trial .mi-ul.is-pre .mi-ul-row { opacity: 0; transform: translateY(8px); }
.start-trial .mi-ul-ic { position: relative; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--fg); }
.start-trial .mi-ul-ic > svg { width: 17px; height: 17px; }
.start-trial .mi-ul-ic.is-av { background: none; }
.start-trial .mi-ul-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; } .start-trial .mi-ul-av img { width: 100%; height: 100%; object-fit: cover; }
.start-trial .mi-ul-badge { position: absolute; right: -4px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--fg); box-shadow: 0 0 0 2px #FDFCFF; }
.start-trial .mi-ul-badge svg { width: 10px; height: 10px; }
.start-trial .mi-ul-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.start-trial .mi-ul-txt b { font: 500 14px/1.3 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.start-trial .mi-ul-txt span { font-size: 12.5px; line-height: 1.35; color: #6B6D80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.start-trial .mi-ul-foot { padding: 14px; text-align: center; font: 500 13.5px/1 var(--font-body); color: #4931DC; }
.start-trial .mi-ul-stat { position: relative; z-index: 2; margin-left: -22px; padding: 16px 16px 18px; border-radius: 14px; background: #fff; text-align: center;
  box-shadow: 0 0 0 1px #DBDBDB, 0 34px 54px -24px rgba(20, 12, 90, .55); animation: miUlFloat 4s ease-in-out infinite alternate; }
@keyframes miUlFloat { from { translate: 0 -6px; } to { translate: 0 6px; } }
.start-trial .mi-ul-stat > b { display: block; text-align: left; font: 600 13.5px/1.3 var(--font-body); color: #2C2853; }
.start-trial .mi-ul-pc { display: block; margin-top: 16px; font: 600 36px/1 var(--font-body); color: #2C2853; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.start-trial .mi .mi-ul-stat p { margin-top: 8px; font-size: 12px; line-height: 1.45; color: #6B6D80; }
@media (max-width: 1180px) {   /* narrow panel column: the stat card sits under the list as a compact row */
  .start-trial .mi-ul { grid-template-columns: minmax(0, 1fr); width: min(380px, 100%); }
  .start-trial .mi-ul-stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; margin: 12px 0 0; padding: 14px 16px; text-align: left; animation: none; }
  .start-trial .mi-ul-pc { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 30px; }
  .start-trial .mi .mi-ul-stat p { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .start-trial .mi-ul-stat { animation: none; } }

@media (max-width: 600px) {   /* phones: thinner frame around the Holidays & Events panels, more room for the UI */
  .start-trial .pd-frame:has(> .mi-ul) { padding: 14px; }
}

/* Track holidays panel: the widget is shorter than the other panels' UIs — give its frame the same presence (user, 2 Oct) */
.start-trial .pd-stack-visual .pd-frame:has(> .mi-ul) { display: grid; place-items: center; min-height: 530px; }
@media (max-width: 1100px) { .start-trial .pd-stack-visual .pd-frame:has(> .mi-ul) { min-height: 500px; } }
@media (max-width: 600px) { .start-trial .pd-stack-visual .pd-frame:has(> .mi-ul) { min-height: 480px; } }

/* ==========================================================================
   Reporting (page 8) — Tell powerful.svg, Infographics.svg, Can you just tell me.svg, Ai report writer.svg, Take action.svg,
   report hr.svg, Report assist.svg; hero = ami_absence(report=True)
   ========================================================================== */

/* shared: typed text over a hidden full-length copy (no reflow while typing), answers revealed word by word */
.start-trial .mi-tm-ghost { visibility: hidden; }
.start-trial .mi-tm-typed { position: absolute; inset: 9px 12px; }

/* ==========================================================================
   Reporting quick-benefit cards — animations on the card stage (Flow Suite feature-card style). Fixed stage height; nothing reflows.
   ========================================================================== */
.start-trial .mi-b { position: relative; width: 100%; height: 100%; padding: 16px; background: none !important; box-shadow: none !important; container-type: inline-size; overflow: hidden; }

/* ==========================================================================
   Sense Automate — Workflow Builder value cards (tools/product/minis.py au_*). Same stage as the reporting cards (.mi-b);
   Automate green marks live / connected states, Sense purple marks what the cursor clicks.
   ========================================================================== */
.start-trial .mi-au3 { display: flex; flex-direction: column; justify-content: center; }

/* 3 · Support from specialists */
.start-trial .au3-head { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #F0F1F6; }
.start-trial .au3-av { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #3A3A46; color: #fff; font: 600 11px/1 var(--font-body); }   /* dark grey (user, 6 Oct) */
.start-trial .au3-av i { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #1BCAA7; box-shadow: 0 0 0 2px #fff; }
.start-trial .au3-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.start-trial .au3-id b { font: 600 13px/1.1 var(--font-body); color: #2C2853; }
.start-trial .au3-id span { font-size: 11px; line-height: 1.1; color: #6B6D80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.start-trial .au3-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 6px; background: #E2FBF2; color: #007A5C; font: 500 10.5px/1 var(--font-body); }
.start-trial .au3-live i { width: 6px; height: 6px; border-radius: 50%; background: #00CD9C; animation: miPulse 1.8s ease-out infinite; }
.start-trial .au3-msg { position: relative; display: flex; }
.start-trial .au3-msg p { position: relative; margin: 0; padding: 8px 11px; font-size: 12px; line-height: 1.4; }
.start-trial .au3-msg.is-me { justify-content: flex-end; }
.start-trial .au3-msg.is-me p { max-width: 82%; border-radius: 12px 12px 3px 12px; background: #634AFC; color: #fff; }
.start-trial .au3-msg.is-me .mi-tm-typed { inset: 8px 11px; }
.start-trial .au3-msg.is-me p { transition: opacity .3s; } .start-trial .mi-au3.is-pre .au3-msg.is-me p { opacity: 0; }   /* the question bubble appears as typing starts */
.start-trial .au3-msg.is-bot { margin-top: 8px; }
.start-trial .au3-msg.is-bot p { max-width: 90%; border-radius: 12px 12px 12px 3px; background: #F4F5F9; color: #2C2853; transition: opacity .25s; }
.start-trial .mi-au3 [data-ans] i { font-style: normal; opacity: 0; transition: opacity .25s; } .start-trial .mi-au3 [data-ans] i.is-on { opacity: 1; }
.start-trial .mi-au3 .mi-ami-dots { position: absolute; left: 0; top: 0; padding: 9px 11px; background: #F4F5F9; box-shadow: none; }
.start-trial .mi-au3.is-thinking .mi-ami-dots { display: flex; } .start-trial .mi-au3.is-thinking .au3-msg.is-bot p, .start-trial .mi-au3.is-asking .au3-msg.is-bot p { opacity: 0; }
.start-trial .au3-step { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 8px 10px; border-radius: 11px; background: #F3FFFA; box-shadow: inset 0 0 0 1px rgba(0, 205, 156, .35);
  transition: opacity .35s, transform .5s cubic-bezier(.34, 1.4, .64, 1); }
.start-trial .mi-au3:not(.is-step) .au3-step { opacity: 0; transform: translateY(8px) scale(.96); }
.start-trial .au3-sic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: #FFF4D6; color: #B07A00; }
.start-trial .au3-sic svg { width: 15px; height: 15px; }
.start-trial .au3-st { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.start-trial .au3-st b { font: 500 12px/1.2 var(--font-body); color: #2C2853; }
.start-trial .au3-st span { font-size: 11px; line-height: 1.2; color: #6B6D80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.start-trial .au3-ok { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #00CD9C; color: #fff; }
.start-trial .au3-ok svg { width: 11px; height: 11px; }
@container (max-width: 300px) { .start-trial .au3-msg p { font-size: 11.5px; } .start-trial .au3-live { display: none; } }

/* ==========================================================================
   Recruitment: ATS Workflows page (minis.py workflow_journey … applicant_hired) — new graphics, no UI supplied (user, 6 Oct):
   the ATS features style — stage colours, white cards on #FBFBFB, magenta for Sense actions, mint for sent / done
   ========================================================================== */
.start-trial .pl-swap { display: grid; } .start-trial .pl-swap > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; transition: opacity .3s; } .start-trial .pl-swap > .is-on { opacity: 0; } .start-trial .pl-swap svg { width: 11px; height: 11px; }

/* ATS Pipeline Notifications (b15): moved to Interview, the email goes out, its merge tags fill in */
@keyframes plStagePop { 45% { transform: scale(1.1); } }

/* ==========================================================================
   Recruitment: Pre-boarding (tools/product/minis.py) — new graphics in the ATS style; Aisha Malik is the new starter throughout.
   The hero and three feature panels reuse the onboarding page's minis (new_starters, welcome_lounge, ats_to_hr, automate_flow).
   ========================================================================== */
@keyframes pbRing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }

/* bento · Contracts & Documents (animated): the Document Agent sends three documents, chases the missing signature, all three signed.
   This happens inside Sense HR, so Sense HR purple (user, 7 Oct) */
.start-trial .mi-b28 { display: grid; place-items: center; }
.start-trial .b28-card { width: min(400px, 100%); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px #EFEEF3, 0 24px 44px -26px rgba(60, 20, 80, .45); }
.start-trial .b28-head { display: flex; align-items: center; gap: 10px; padding: 13px 14px; background: #F5F3FF; border-bottom: 1px solid #E9E5FF; }
.start-trial .b28-ic { flex-shrink: 0; width: 32px; height: 32px; padding: 8px; border-radius: 9px; background: #634AFC; color: #fff; } .start-trial .b28-ic svg { width: 100%; height: 100%; }
.start-trial .b28-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .start-trial .b28-who b { font: 600 13.5px/1.2 var(--font-body); color: #393940; } .start-trial .b28-who span { font-size: 11px; color: #6B6D80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.start-trial .b28-n { padding: 5px 9px; border-radius: 7px; background: #fff; color: #6B6D80; font: 600 11px/1 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .3s, color .3s; }
.start-trial .mi-b28.is-done .b28-n { background: #E3FDF0; color: #007C66; animation: plStagePop .5s var(--ease-out); }
.start-trial .b28-rows { list-style: none; margin: 0; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 7px; }
.start-trial .b28-r { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3; transition: opacity .35s, transform .45s var(--ease-out), box-shadow .3s; }
.start-trial .b28-r:not(.is-in) { opacity: 0; transform: translateY(6px); }
.start-trial .b28-di { flex-shrink: 0; width: 28px; height: 28px; padding: 7px; border-radius: 8px; background: #F0EFFF; color: #634AFC; } .start-trial .b28-di svg { width: 100%; height: 100%; }
.start-trial .b28-dt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .start-trial .b28-dt b { font: 500 12.5px/1.2 var(--font-body); color: #393940; } .start-trial .b28-dt span { font-size: 10.5px; color: #8A8DA0; }
.start-trial .b28-st > span { padding: 5px 9px; border-radius: 7px; font: 600 11px/1 var(--font-body); white-space: nowrap; } .start-trial .b28-st > .is-off { background: #F0EFFF; color: #4931DC; } .start-trial .b28-st > .is-on { background: #E3FDF0; color: #007C66; }
.start-trial .b28-r.is-signed .b28-st > .is-off { opacity: 0; } .start-trial .b28-r.is-signed .b28-st > .is-on { opacity: 1; animation: plStagePop .5s var(--ease-out); }
.start-trial .b28-chase { display: flex; align-items: center; gap: 7px; margin: 0 12px 12px; padding: 8px 10px; border-radius: 9px; background: #FFF4E0; color: #9A5B00; font: 500 11px/1.2 var(--font-body); transition: opacity .35s, transform .45s var(--ease-out); }
.start-trial .b28-chase svg { flex-shrink: 0; width: 13px; height: 13px; } .start-trial .mi-b28.is-chase .b28-chase svg { animation: pbRing .9s ease-in-out; }
.start-trial .mi-b28:not(.is-chase) .b28-chase { opacity: 0; transform: translateY(6px); }

/* ==========================================================================
   Recruitment: ATS overview (tools/product/minis.py) — Publish vacancies.svg, ai sceening.svg, and new graphics in the same style.
   Inside-Sense-HR screens in Sense HR purple; the onboarding workflow in Automate green.
   ========================================================================== */

/* ---------- Start trial — "Go live when you're ready" (trial_go_live) ---------- */
.start-trial .mi-tl { display: grid; place-items: center; }
.start-trial .tl-card { width: min(380px, 100%); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px #EFEEF3, 0 24px 44px -26px rgba(60, 20, 80, .45); }
.start-trial .tl-head { display: flex; align-items: center; gap: 10px; padding: 13px 14px; background: #F5F3FF; border-bottom: 1px solid #E9E5FF; }
.start-trial .tl-hic { flex-shrink: 0; width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: #634AFC; color: #fff; }
.start-trial .tl-hic svg, .start-trial .tl-ic svg { width: 100%; height: 100%; }
.start-trial .tl-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.start-trial .tl-who b { font: 600 13.5px/1.2 var(--font-body); color: #393940; }
.start-trial .tl-who span { font-size: 11px; color: #6B6D80; }
.start-trial .tl-st { display: grid; }
.start-trial .tl-st > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 100px; font: 600 11px/1 var(--font-body); white-space: nowrap; transition: opacity .3s; }
.start-trial .tl-st > .is-off { background: #fff; color: #6B6D80; }
.start-trial .tl-st > .is-on { background: #E3FDF0; color: #007C66; opacity: 0; }
.start-trial .tl-st > .is-on i { width: 6px; height: 6px; border-radius: 50%; background: #1BCAA7; animation: miPulse 1.8s ease-out infinite; }
.start-trial .mi-tl.is-live .tl-st > .is-off { opacity: 0; }
.start-trial .mi-tl.is-live .tl-st > .is-on { opacity: 1; animation: plStagePop .5s var(--ease-out); }
.start-trial .tl-steps { list-style: none; margin: 0; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }
.start-trial .tl-s { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3; transition: box-shadow .3s, background-color .3s, opacity .3s; }
.start-trial .tl-s:not(.is-done):not(.is-cur) { opacity: .55; }
.start-trial .tl-s.is-cur { background: #FBFAFF; box-shadow: inset 0 0 0 1.5px #634AFC; }
.start-trial .tl-ic { position: relative; flex-shrink: 0; width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: #F0EFFF; color: #634AFC; transition: background-color .3s, color .3s; }
.start-trial .tl-ok { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: #1BCAA7; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease-out); }
.start-trial .tl-ok svg { width: 14px; height: 14px; }
.start-trial .tl-s.is-done .tl-ok { opacity: 1; transform: none; }
.start-trial .tl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.start-trial .tl-t b { font: 600 12.5px/1.2 var(--font-body); color: #393940; }
.start-trial .tl-t > span { font-size: 10.5px; color: #8A8DA0; font-variant-numeric: tabular-nums; }
.start-trial .tl-t i { font-style: normal; }
.start-trial .tl-btn { flex-shrink: 0; padding: 6px 10px; border-radius: 7px; background: #634AFC; color: #fff; font: 600 11px/1 var(--font-body); white-space: nowrap; transition: opacity .3s, transform .15s; }
.start-trial .tl-btn.is-press { transform: scale(.94); }
.start-trial .tl-s.is-done .tl-btn { opacity: 0; }
.start-trial .tl-bar { display: block; height: 4px; margin-top: 3px; border-radius: 4px; background: #EFEEF3; overflow: hidden; }
.start-trial .tl-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #634AFC; transform-origin: left; transform: scaleX(1); }
.start-trial .mi-tl.is-clearing .tl-bar i { transition: transform 1.4s cubic-bezier(.4, 0, .2, 1); }
.start-trial .mi-tl.is-pre .tl-bar i { transform: scaleX(0); }
.start-trial .tl-foot { display: flex; align-items: baseline; gap: 6px; padding: 10px 14px 13px; border-top: 1px solid #F1F0F4; font-size: 11px; color: #6B6D80; }
.start-trial .tl-foot b { font: 600 12px/1 var(--font-body); color: #393940; }
.start-trial .tl-foot em { margin-left: auto; padding: 4px 8px; border-radius: 7px; background: #F0EFFF; color: #4931DC; font: 600 11px/1 var(--font-body); font-style: normal; }

/* ---------- Start trial — "14 days, no card, no call" (trial_countdown) ---------- */
.start-trial .mi-tc { display: grid; place-items: center; }
.start-trial .tc-card { width: min(360px, 100%); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px #EFEEF3, 0 24px 44px -26px rgba(60, 20, 80, .45); }
.start-trial .tc-head { display: flex; align-items: center; gap: 10px; padding: 13px 14px; background: #F5F3FF; border-bottom: 1px solid #E9E5FF; }
.start-trial .tc-hic { flex-shrink: 0; width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: #634AFC; color: #fff; }
.start-trial .tc-hic svg, .start-trial .tc-ri svg { width: 100%; height: 100%; }
.start-trial .tc-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.start-trial .tc-who b { font: 600 13.5px/1.2 var(--font-body); color: #393940; }
.start-trial .tc-who span { font-size: 11px; color: #6B6D80; font-variant-numeric: tabular-nums; }
.start-trial .tc-who i { font-style: normal; }
.start-trial .tc-st { display: grid; }
.start-trial .tc-st > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 9px; border-radius: 100px; font: 600 11px/1 var(--font-body); white-space: nowrap; transition: opacity .3s; }
.start-trial .tc-st > .is-off { background: #E3FDF0; color: #007C66; }
.start-trial .tc-st > .is-off i { width: 6px; height: 6px; border-radius: 50%; background: #1BCAA7; animation: miPulse 1.8s ease-out infinite; }
.start-trial .tc-st > .is-on { background: #fff; color: #6B6D80; opacity: 0; }
.start-trial .mi-tc.is-end .tc-st > .is-off { opacity: 0; }
.start-trial .mi-tc.is-end .tc-st > .is-on { opacity: 1; }
.start-trial .tc-days { list-style: none; margin: 0; padding: 14px 14px 6px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.start-trial .tc-days li { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; background: #F5F4F8; color: #A3A2B5; font: 600 11px/1 var(--font-body); font-variant-numeric: tabular-nums; transition: background-color .25s, color .25s, box-shadow .25s; }
.start-trial .tc-days li.is-on { background: #634AFC; color: #fff; }
.start-trial .tc-days li.is-cur { background: #fff; color: #634AFC; box-shadow: inset 0 0 0 1.5px #634AFC, 0 0 0 4px rgba(99, 74, 252, .14); }
.start-trial .mi-tc.is-end .tc-days li.is-on { background: #DCD6FF; color: #4931DC; }
.start-trial .tc-rows { list-style: none; margin: 0; padding: 6px 14px 4px; }
.start-trial .tc-rows li { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 12px; }
.start-trial .tc-rows li + li { border-top: 1px solid #F5F4F7; }
.start-trial .tc-ri { flex-shrink: 0; width: 26px; height: 26px; padding: 6px; border-radius: 7px; background: #F0EFFF; color: #634AFC; }
.start-trial .tc-rows b { font: 500 12.5px/1.2 var(--font-body); color: #393940; }
.start-trial .tc-rows em { margin-left: auto; padding: 4px 8px; border-radius: 7px; background: #F5F4F8; color: #6B6D80; font: 600 11px/1 var(--font-body); font-style: normal; }
.start-trial .tc-end { display: flex; align-items: center; gap: 7px; margin: 6px 12px 12px; padding: 9px 11px; border-radius: 9px; background: #E3FDF0; color: #007C66; font: 600 11.5px/1.25 var(--font-body);
  transition: opacity .35s, transform .45s var(--ease-out); }
.start-trial .tc-end svg { width: 13px; height: 13px; flex-shrink: 0; }
.start-trial .mi-tc:not(.is-end) .tc-end { opacity: 0; transform: translateY(6px); }

/* css/convert.css */
/* ==========================================================================
   Conversion pages (body.dm-page) — Book a demo (sense-book-demo.html, gen_book_demo.py) and Start trial (sense-start-trial.html, gen_trial.py);
   shared markup in tools/product/convert.py
   01 hero: the live trial page's layout (dark copy panel on ring.webp + form card) and its field styling, in our tokens
   02 Book a demo only — "Want an in-person demo?": dotted Europe map, UK HQ pinned, Romania lit but unlabelled + contact cards
   03 CTA: Core HR's "Get started" card (.ami-meet, css/agents.css), one button
   04 FAQ: shared .ami-faq (css/agents.css)
   Start trial's stacking cards are the shared .pd-stack (css/product.css) with minis (css/minis.css).
   ========================================================================== */
.start-trial {
  --dm-sunken: #F4F4FA;
  --dm-error: #C53030;
  --dm-error-bg: #FDECEC;
  --dm-dot: #C9C6DC;
}
.start-trial [hidden] { display: none !important; }   /* .dm-form / .dm-form-heading set display: flex, which would beat the attribute */

/* ---------- 01 HERO ---------- */
.start-trial .dm-hero { padding: calc(var(--frame-inset) + 104px) 0 clamp(64px, 7vw, 104px); }
.start-trial .dm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 1.8vw, 24px); align-items: stretch; }

/* dark copy panel — trial's .tr-panel-dark, navy to match ring.webp */
.start-trial .dm-panel { --pad-x: clamp(28px, 4vw, 56px); position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; border-radius: var(--r-card-lg);
  padding: clamp(40px, 4.4vw, 64px) var(--pad-x); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; background: #0B0E32; }
.start-trial .dm-panel-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; max-width: 560px; }
/* ring.webp hangs off the bottom of the copy, so its glowing band always sits just under the headline + intro, whatever the line count.
   130% of the panel width, centred on the panel (100cqw = panel content width); top and bottom edges faded into the navy. */
.start-trial .dm-ring { position: absolute; z-index: -1; top: 100%; pointer-events: none;
  left: calc(-1 * var(--pad-x) - .15 * (100cqw + 2 * var(--pad-x))); width: calc(1.3 * (100cqw + 2 * var(--pad-x))); aspect-ratio: 16 / 9; transform: translateY(-62%);
  background: url("/assets/images/pages/trial/ring.webp") 50% 50% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 82%, transparent 100%); }
.start-trial .dm-panel h1 { color: #fff; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.04em; }
.start-trial .dm-lede { margin-top: 22px; max-width: 520px; color: rgba(255, 255, 255, .85); font-size: var(--fs-lede); line-height: 1.62; }   /* a touch brighter than --text-inv-2: it sits on the ring's glow */

.start-trial .dm-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.start-trial .dm-point { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-inv);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.start-trial .dm-point-ic { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: rgba(184, 173, 255, .14); color: var(--brand-soft); }
.start-trial .dm-point-ic svg { width: 17px; height: 17px; }
.start-trial .dm-point-ic.is-num { font: 700 13px/1 var(--font-body); font-variant-numeric: tabular-nums; }   /* Start trial: the four set-up steps */
.start-trial .dm-point b { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; color: #fff; }
.start-trial .dm-point b + span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--text-inv-2); }

/* form card — trial's .tr-form-panel on a white card (our page is off-white, so the sunken fields need a white surface) */
.start-trial .dm-form-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-card-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.start-trial .dm-form-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.start-trial .dm-form-heading h2 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -0.03em; }
.start-trial .dm-form-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--live-bg); color: #096931; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.start-trial .dm-form-badge svg { width: 15px; height: 15px; flex-shrink: 0; }

.start-trial .dm-alert { display: none; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--dm-error-bg); color: #8A2323; box-shadow: inset 0 0 0 1px rgba(197, 48, 48, .25); font-size: 13.5px; line-height: 1.5; }
.start-trial .dm-alert.show { display: flex; }
.start-trial .dm-alert svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }

.start-trial .dm-form { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.start-trial .dm-field { min-width: 0; }
.start-trial .dm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.start-trial .dm-field label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--text); }
.start-trial .dm-optional { font-weight: 400; color: var(--text-3); }
.start-trial .dm-input, .start-trial .dm-select { display: block; width: 100%; margin: 0; padding: 12px 14px; border: 1.5px solid transparent; border-radius: 12px; background: var(--dm-sunken);
  font: 400 14.5px/1.4 var(--font-body); color: var(--text); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.start-trial .dm-input::placeholder { color: var(--text-3); }
.start-trial .dm-select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M15.8337 6.66669L10.0003 12.5L4.16699 6.66669' stroke='%2354536B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; }
.start-trial .dm-select.is-empty { color: var(--text-3); }
.start-trial .dm-select option { color: var(--text); }
.start-trial .dm-input:hover, .start-trial .dm-select:hover { border-color: var(--line-strong); }
.start-trial .dm-input:focus, .start-trial .dm-select:focus { outline: none; border-color: var(--brand); background-color: #fff; box-shadow: 0 0 0 3px rgba(99, 74, 252, .14); }
.start-trial .dm-field.invalid .dm-input, .start-trial .dm-field.invalid .dm-select { border-color: var(--dm-error); background-color: #fff; }
.start-trial .dm-field-help { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
@media (max-width: 400px) { .start-trial .dm-field-help { font-size: 12px; } }   /* keeps the trial's phone help on one line on small phones */
.start-trial .dm-field-error { display: none; margin-top: 6px; font-size: 12.5px; color: var(--dm-error); }
.start-trial .dm-field.invalid .dm-field-error { display: block; }

/* consent checkbox (Start trial) — trial's .tr-consent */
.start-trial .dm-check { display: flex; align-items: flex-start; gap: 10px; }
.start-trial .dm-check input { flex-shrink: 0; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--brand); cursor: pointer; }
.start-trial .dm-check label { display: inline; margin: 0; font-size: 12.5px; font-weight: 400; line-height: 1.6; color: var(--text-2); }
.start-trial .dm-check a { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 2px; }
.start-trial .dm-check.invalid label { color: var(--dm-error); }
.start-trial .dm-check.invalid input { outline: 2px solid var(--dm-error); outline-offset: 1px; border-radius: 3px; }

.start-trial .dm-submit-group { margin-top: 4px; }
.start-trial .dm-submit { width: 100%; }
.start-trial .dm-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.start-trial .dm-spinner { display: none; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: dmSpin .7s linear infinite; }
.start-trial .dm-submit.is-loading .dm-spinner { display: inline-block; }
@keyframes dmSpin { to { transform: rotate(360deg); } }
.start-trial .dm-submit-caption { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--text-3); }

.start-trial .dm-form-wrap { flex: 1; display: flex; flex-direction: column; }

/* info box — trial's "What happens after 14 days" */
.start-trial .dm-info-box { display: flex; align-items: center; gap: 20px; padding: 16px 22px 16px 16px; border-radius: var(--r-md); background: var(--brand-10); box-shadow: inset 0 0 0 1px #DCE0FF; }
.start-trial .dm-info-box-icon { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #DEE2FF; font-size: 28px; line-height: 1; }
.start-trial .dm-info-box b { display: block; font-size: 15.5px; font-weight: 600; color: var(--text); }
.start-trial .dm-info-box p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--text-2); }

@media (max-width: 1024px) {
  .start-trial .dm-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .start-trial .dm-panel { gap: 40px; }
}
@media (max-width: 767px) {
  .start-trial .dm-hero { padding-top: calc(var(--frame-inset) + 88px); }
  .start-trial .dm-points, .start-trial .dm-field-row { grid-template-columns: minmax(0, 1fr); }
  .start-trial .dm-point { align-items: center; padding: 12px; }
  .start-trial .dm-point b + span { display: none; }   /* titles only on phones, so the form is one short scroll away */
  .start-trial .dm-panel { padding: 36px 24px 28px; }
  .start-trial .dm-form-card { padding: 28px 20px; }
  .start-trial .dm-info-box { align-items: flex-start; }
  .start-trial .dm-info-box-icon { width: 48px; height: 48px; font-size: 22px; }
}

/* ---------- 03 CTA — Core HR's "Get started" card; the second half of the heading picks up the brand colour ---------- */
.start-trial .dm-cta { padding-top: calc(var(--section-y) * .4); }   /* follows the map section's own bottom padding */
.start-trial .dm-cta .ami-meet-copy h2 span { color: var(--brand); }
.start-trial .dm-meet-cta { justify-content: center; margin-top: 28px; }
/* Start trial: the badge-in-hand cut-out (hand_badge.png) rises from the card's bottom edge, the wrist cropped by it */
.start-trial .dm-meet-img { display: flex; justify-content: center; height: auto; margin-top: clamp(28px, 4vw, 48px); }
.start-trial .dm-meet-img picture { display: block; width: min(380px, 72%); }
.start-trial .dm-meet-img img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(33, 18, 140, .28)); }
/* split CTA (Start trial): title + paragraph + button on the left, the badge on the right, rising from the card's bottom edge */
.start-trial .dm-cta.is-split .ami-meet { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; column-gap: clamp(24px, 4vw, 64px);
  padding: 0 clamp(32px, 5vw, 80px); text-align: left; }
.start-trial .dm-cta.is-split .ami-meet-copy { align-self: center; max-width: 560px; margin: 0; padding-block: clamp(56px, 6vw, 88px); }
.start-trial .dm-cta.is-split .ami-meet-copy p { margin-left: 0; }
.start-trial .dm-cta.is-split .dm-meet-cta { justify-content: flex-start; }
.start-trial .dm-cta.is-split .dm-meet-img { max-width: none; margin: clamp(32px, 4vw, 48px) 0 0; }
.start-trial .dm-cta.is-split .dm-meet-img picture { width: min(400px, 100%); }
@media (max-width: 860px) {   /* stacked: copy, then the badge */
  .start-trial .dm-cta.is-split .ami-meet { grid-template-columns: minmax(0, 1fr); padding: 0 var(--gutter); }
  .start-trial .dm-cta.is-split .ami-meet-copy { padding: clamp(48px, 9vw, 64px) 8px 0; }
  .start-trial .dm-cta.is-split .dm-meet-img picture { width: min(340px, 78%); }
}

/* ---------- Start trial: benefit stacking panels (.pd-stack, css/product.css) ---------- */
/* Automate's "Support from specialists" chat (au_expert) was drawn on a white tile; on the dark stacking frame it gets its own white surface inside the glass border */
/* background-color + background-clip both !important: .mi-b's `background: none !important` shorthand would otherwise reset the clip and paint white under the glass border */
.start-trial .pd-stack-visual .mi-b.mi-au3 { width: min(420px, 100%); height: auto; padding: 18px; background-color: #fff !important; background-clip: padding-box !important;
  border: 8px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 26px 44px -24px rgba(0, 0, 0, .6) !important; }
/* Upcoming (two cards, no outline on the Holidays page): each card gets the glass border, so every animation on this page wears it, hugging the asset */
.start-trial .pd-stack-visual :is(.mi-ul-card, .mi-ul-stat) { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 26px 44px -24px rgba(0, 0, 0, .6); }
.start-trial .pd-stack-visual .mi-ul-card { border-radius: 24px; }
.start-trial .pd-stack-visual .mi-ul-stat { border-radius: 22px; }
@media (max-width: 600px) {   /* phones: the card animations get the full panel width — slimmer panel/frame padding, no glass border around the transparent ones */
  .start-trial .pd-stack-inner { padding: 28px 18px 18px; }
  .start-trial .pd-stack-visual .pd-frame:has(> .mi) { padding: 12px; }
  .start-trial .pd-stack-visual .mi-b { border-width: 0; padding: 0; }
  .start-trial .pd-stack-visual .mi-b.mi-au3 { padding: 14px; border-width: 5px; }
  .start-trial .pd-stack-visual :is(.b28-card, .tl-card, .tc-card, .mi-ul-card) { border-width: 5px; border-radius: 21px; }
  .start-trial .pd-stack-visual .mi-ul-stat { border-width: 5px; border-radius: 19px; }
}

/* ---------- 04 FAQ ---------- */
.start-trial .ami-faq-a p + p { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .start-trial .dm-spinner { animation: none; }
}

/* The sign-up form's live behaviour (trial-signup.js), which the export's mock form didn't have: the rate-limit message shows in a
   warning tone (.warn) and the alert has a Dismiss button, as on the old trial page (trial.css). */
.start-trial .dm-alert.warn { background: #FEF3E2; color: #7C4A12; box-shadow: inset 0 0 0 1px rgba(180, 83, 9, .25); }
.start-trial .dm-alert-close { margin-left: auto; flex-shrink: 0; padding: 0; border: 0; background: none; color: inherit; line-height: 0; cursor: pointer; opacity: .6; }
.start-trial .dm-alert-close:hover { opacity: 1; }
.start-trial .dm-alert-close svg { width: 14px; height: 14px; margin-top: 2px; }

/* Keyboard focus ring (checks run 1; WCAG 2.4.7, 1.4.11): in the clocks-and-badges card's split layout the purple haze rises behind
   "Book a demo", where the brand-purple ring measured 2.5:1 at its bottom edge. The darker brand purple keeps it above 3:1. */
.start-trial .dm-cta :focus-visible { outline-color: var(--brand-hover); }

/* Focus on a flagged field (review; WCAG 2.4.7): the error styles outrank the focus styles, so focus would barely show where a
   keyboard user lands after a failed submit. An unticked consent box keeps its red outline unless focused; a flagged input or
   select keeps its red border and gets the brand ring outside it (its own :focus has no outline, only a 14% glow); the Dismiss
   button's 60% opacity would also fade its ring to about 2.4:1 on the error tint. */
.start-trial .dm-check.invalid input:focus-visible { outline-color: var(--brand); outline-offset: 3px; }
.start-trial .dm-field.invalid :is(.dm-input, .dm-select):focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.start-trial .dm-alert-close:focus-visible { opacity: 1; }

@supports (zoom: 1) {
  /* trial */
  @media (max-width: 309.98px) { .start-trial .mi[data-mini="ul"] { zoom: 0.75; } }   /* worst -54.7 px at 300 (UL.mi-ul-list.is-on), was 1 */
  @media (min-width: 310px) and (max-width: 319.98px) { .start-trial .mi[data-mini="ul"] { zoom: 0.8; } }   /* worst -44.7 px at 310 (UL.mi-ul-list.is-on), was 1 */
  @media (min-width: 320px) and (max-width: 329.98px) { .start-trial .mi[data-mini="ul"] { zoom: 0.85; } }   /* worst -34.7 px at 320 (UL.mi-ul-list.is-on), was 1 */
  @media (min-width: 330px) and (max-width: 349.98px) { .start-trial .mi[data-mini="ul"] { zoom: 0.9; } }   /* worst -24.7 px at 330 (UL.mi-ul-list.is-on), was 1 */
  @media (min-width: 350px) and (max-width: 358.98px) { .start-trial .mi[data-mini="ul"] { zoom: 0.95; } }   /* worst -4.7 px at 350 (UL.mi-ul-list.is-on), was 1 */
  @media (max-width: 309.98px) { .start-trial .mi[data-mini="er"] { zoom: 0.9; } }   /* worst -19.9 px at 300 (DIV.mi.mi-er), was 1 */
  @media (min-width: 310px) and (max-width: 319.98px) { .start-trial .mi[data-mini="er"] { zoom: 0.95; } }   /* worst -9.9 px at 310 (DIV.mi.mi-er), was 1 */
}
