/* =========================================================
   GoToFix website - shared styles
   Brand: Ink #0F1B3D · Resolved #2EE6A8 · Deep Green #079669 · Mist #F6F7FB
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0F1B3D;
  --ink-2: #16244D;
  --ink-3: #1D2D5C;
  --ink-4: #2A3B70;
  --mint: #2EE6A8;
  --green: #079669;
  --green-text: #067A55;   /* AA on white for small text */
  --green-deep: #05613F;
  --mist: #F6F7FB;
  --white: #FFFFFF;
  --line: #E3E6EF;
  --line-2: #EEF0F6;
  --text: #0F1B3D;
  --muted: #4A5578;
  --on-ink: #FFFFFF;
  --on-ink-muted: #C9D0E3;
  --on-ink-faint: #AEB7CF;
  --amber: #F5A524;
  --red: #E5484D;
  --blue: #1F6FD6;

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 24px;

  --container: 1200px;
  --gutter: 24px;
  --section-y: 112px;
  --header-h: 72px;

  --shadow-lift: 0 18px 40px -18px rgba(15, 27, 61, .35);
  --shadow-panel: 0 30px 60px -40px rgba(15, 27, 61, .45);
  --shadow-float: 0 40px 80px -30px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--green-text); }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1240px; }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--mint { background: var(--mint); color: var(--ink); }
.section--tight { padding-block: 88px; }
.section--flush-top { padding-top: 0; }
.stack { display: flex; flex-direction: column; gap: var(--stack, 16px); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, 14px); align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: var(--grid-gap, 20px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head__text { max-width: 680px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- 4. Type ---------- */
.h1, .h2, .h3, .display { font-family: var(--font-display); letter-spacing: -0.02em; }
.display { font-size: clamp(2.5rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.05; }
.h1 { font-size: clamp(2.25rem, 4.6vw, 3.625rem); font-weight: 800; line-height: 1.06; }
.h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.section--ink .lead, .hero .lead { color: var(--on-ink-muted); }
.muted { color: var(--muted); }
.eyebrow { font-size: 0.9375rem; font-weight: 700; color: var(--green-text); }
.section--ink .eyebrow, .hero .eyebrow { color: var(--mint); }
.mint { color: var(--mint); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.small { font-size: 0.875rem; }
.xsmall { font-size: 0.75rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; border-radius: 10px; }
.btn--primary { background: var(--mint); color: var(--ink); }
.btn--primary:hover { color: var(--ink); box-shadow: 0 10px 24px -10px rgba(46, 230, 168, .7); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { color: var(--white); box-shadow: 0 10px 24px -12px rgba(15, 27, 61, .7); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { color: var(--ink); background: rgba(15, 27, 61, .05); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Icons ---------- */
.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; width: 20px; height: 20px; flex: none; }
.ic--sm { width: 16px; height: 16px; }
.ic--lg { width: 24px; height: 24px; }
.icon-tile {
  width: 48px; height: 48px; border-radius: var(--r); background: var(--ink); color: var(--mint);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.icon-tile .ic { width: 24px; height: 24px; }

/* ---------- 7. Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.2; }
.chip--neutral { background: #EEF0F6; color: #3A4566; }
.chip--blue { background: #DCE6FF; color: #1E3A8A; }
.chip--green { background: #D3FBEA; color: var(--green-deep); }
.chip--amber { background: #FFE9C7; color: #7A4300; }
.chip--red { background: #FFE0DC; color: #9B1C1C; }
.chip--violet { background: #EDE7FF; color: #4B2EA8; }
.chip--d-amber { background: #4A3A1A; color: #FFD48A; }
.chip--d-blue { background: #22356E; color: #BFD0FF; }
.chip--d-violet { background: #33296B; color: #D6CCFF; }
.chip--d-green { background: var(--mint); color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); display: inline-block; flex: none; }
.pulse { animation: pulse 1.8s infinite; }

/* ---------- 8. Header & nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 27, 61, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 28px; flex: 1; font-size: 0.9375rem; font-weight: 500; }
.nav__links a, .nav__secondary { color: #E4E8F3; text-decoration: none; padding: 8px 0; transition: color .2s ease; }
.nav__links a:hover, .nav__secondary:hover, .nav__links a[aria-current="page"] { color: var(--mint); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: var(--white); align-items: center; justify-content: center; margin-left: auto;
}
.nav__toggle .ic { width: 22px; height: 22px; }
.nav__toggle .ic-close { display: none; }
.nav__toggle[aria-expanded="true"] .ic-open { display: none; }
.nav__toggle[aria-expanded="true"] .ic-close { display: block; }
.mobile-menu { display: none; }

/* "Organization Management" menu: the overview, then its six modules */
.nav__links { align-items: center; }
.nav__menu { position: relative; }
.nav__menu-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: none;
  color: #E4E8F3; font: inherit; cursor: pointer; transition: color .2s ease;
}
.nav__menu-btn:hover, .nav__menu-btn[aria-expanded="true"], .nav__menu-btn.is-current { color: var(--mint); }
.nav__chev { transition: transform .2s var(--ease); }
.nav__menu-btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); z-index: 60;
  width: min(640px, calc(100vw - 48px)); padding: 10px; border-radius: var(--r-lg);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-float); animation: fadeUp .2s var(--ease) both;
}
.nav__panel[hidden] { display: none; }
.nav__panel a { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.nav__panel a:hover, .nav__panel a:focus-visible, .nav__panel a[aria-current="page"] { background: #EEF0F6; }
.nav__panel a strong { font-size: 0.9375rem; }
.nav__panel a span { font-size: 0.8125rem; color: var(--muted); font-weight: 400; }
.nav__panel-head { background: #F4F6FA; margin-bottom: 6px; }
.nav__panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }

/* ---------- 9. Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.hero__inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 96px 112px; }
.hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__media { flex: 1 1 520px; min-width: 0; }
.hero--module .hero__inner { flex-direction: column; align-items: stretch; gap: 48px; padding-block: 72px 0; }
.hero--module .hero__copy { max-width: 780px; gap: 20px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.875rem; color: var(--on-ink-faint); }
.hero__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__ticks .ic { color: var(--mint); width: 18px; height: 18px; }
.breadcrumb { font-size: 0.875rem; color: var(--on-ink-faint); }
.breadcrumb a { color: var(--on-ink-faint); }
.breadcrumb [aria-current] { color: var(--mint); font-weight: 600; }
.rotator { display: inline-grid; color: var(--mint); vertical-align: bottom; overflow: hidden; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.rotator > span.is-active { opacity: 1; transform: none; }
.float-ticket { position: absolute; pointer-events: none; animation: float 7s ease-in-out infinite; }
.load-in { animation: fadeUp .7s var(--ease) both; }
.load-in--2 { animation-delay: .15s; }

/* ---------- 10. Tour player (hero video) ---------- */
.tour { display: flex; flex-direction: column; gap: 14px; }
.tour__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  background: #0B1530; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-float);
  color: var(--white); text-align: left; padding: 0; transition: transform .25s var(--ease);
}
.tour__frame:hover { transform: translateY(-4px); }
.tour__chapter {
  position: absolute; inset: 0; display: flex; align-items: flex-start; gap: 4%; padding: 7% 6% 15%;
  opacity: 0; transition: opacity .5s ease;
}
.tour__chapter.is-active { opacity: 1; }
.tour__copy { flex: 1 1 46%; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tour__step { font-size: 0.8125rem; font-weight: 700; color: var(--mint); }
.tour__head { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.15; }
.tour__card {
  flex: 1 1 54%; min-width: 0; background: var(--white); color: var(--ink); border-radius: var(--r);
  padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
  transform: translateY(10px); transition: transform .5s var(--ease);
}
.tour__chapter.is-active .tour__card { transform: none; }
.tour__card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.6875rem; color: var(--muted); }
.tour__card-ui { font-size: 0.875rem; font-weight: 700; }
/* The film itself, muted and looping; shown once it plays. Until then (or if it's missing) the
   animated chapters above stand in for it. */
.tour__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; pointer-events: none; }
.tour__frame.has-video .tour__video { display: block; }
.tour__frame.has-video .tour__chapter, .tour__frame.has-video .tour__bar { display: none; }
.tour__bar { position: absolute; inset: auto 0 0 0; padding: 12px 16px 14px; background: linear-gradient(transparent, rgba(11, 21, 48, .95)); display: flex; flex-direction: column; gap: 8px; }
.tour__segs { display: flex; gap: 6px; }
.tour__seg { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.tour__seg i { display: block; height: 100%; width: 100%; background: var(--mint); border-radius: 4px; transform: scaleX(0); transform-origin: left; }
.tour__seg.is-done i { transform: scaleX(1); }
.tour__seg.is-active i { animation: progress var(--chapter-ms, 2400ms) linear both; }
.tour__meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--on-ink-muted); }
.tour__note { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--on-ink-faint); }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(6, 12, 30, .82); backdrop-filter: blur(6px); }
.modal.is-open { display: flex; animation: fadeIn .25s ease both; }
.modal__dialog { position: relative; width: min(1100px, 100%); }
.modal__video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: #000; display: block; }
.modal__fallback { aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: var(--ink-2); color: var(--on-ink-muted); display: none; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.modal.has-error .modal__video { display: none; }
.modal.has-error .modal__fallback { display: flex; }
.modal__close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); display: flex; align-items: center; justify-content: center; }

/* ---------- 11. Marquee ---------- */
.marquee { background: var(--mint); overflow: hidden; padding-block: 18px; }
.marquee__track { display: flex; width: max-content; gap: 48px; animation: marquee 28s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; color: var(--ink); white-space: nowrap; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track svg { width: 26px; height: 26px; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- 12. Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card--mist { background: var(--mist); border-color: transparent; }
.card--ink { background: var(--ink); color: var(--on-ink); border-color: transparent; }
.card--pad-lg { padding: 32px; border-radius: var(--r-xl); }
.card p { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.card--ink p { color: var(--on-ink-muted); }
.lift { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
a.card { text-decoration: none; color: inherit; }
.check-list { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { color: var(--green-text); width: 22px; height: 22px; margin-top: 1px; }
.section--ink .check-list .ic, .card--ink .check-list .ic { color: var(--mint); }

/* ---------- 13. Device frames ---------- */
/* Browser and phone side by side; wrapping here left an empty row above tall mocks. */
.devices { display: flex; flex-wrap: nowrap; align-items: flex-end; }
.browser { flex: 1 1 760px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -20px 80px -30px rgba(46, 230, 168, .35); }
.browser--card { border-radius: var(--r-lg); box-shadow: var(--shadow-panel); border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #E9ECF4; }
.browser__dot { width: 11px; height: 11px; border-radius: 50%; }
.browser__dot:nth-child(1) { background: #F87171; }
.browser__dot:nth-child(2) { background: #FBBF24; }
.browser__dot:nth-child(3) { background: #34D399; }
.browser__url { margin-left: 14px; flex: 1; max-width: 420px; background: var(--white); border-radius: 8px; padding: 6px 12px; font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.phone-wrap { flex: 0 0 286px; margin: 0 0 -40px -70px; position: relative; z-index: 2; animation: float 6s ease-in-out infinite; }
.phone { width: 286px; height: 590px; border-radius: 44px; background: #0A132E; padding: 11px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); }
.phone__screen { width: 100%; height: 100%; border-radius: 34px; background: var(--mist); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.phone__head { padding: 26px 16px 14px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; gap: 8px; }
.phone__body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.phone__card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 0.75rem; }
.phone .mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; text-align: center; }
.phone .mini-stats span { background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 8px 4px; font-size: 0.625rem; color: var(--on-ink-faint); }
.phone .mini-stats strong { display: block; font-size: 1rem; color: var(--white); }

/* ---------- 14. App mock UI ---------- */
.app { display: flex; min-height: 560px; }
.app__side { width: 196px; flex: none; background: var(--ink); color: var(--on-ink-muted); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 0.8125rem; }
.app__brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 16px; color: var(--white); font-weight: 700; font-size: 0.875rem; }
.app__group { font-size: 0.625rem; font-weight: 700; color: #8792B0; padding: 10px 10px 6px; }
.app__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; }
.app__item.is-active { background: rgba(46, 230, 168, .14); color: var(--mint); font-weight: 600; }
.app__count { margin-left: auto; font-size: 0.6875rem; font-weight: 700; background: var(--mint); color: var(--ink); border-radius: 999px; padding: 1px 7px; }
.app__main { flex: 1; min-width: 0; background: var(--mist); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.app__main--split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; min-height: 520px; position: relative; }
.app__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.app__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.kpi__label { font-size: 0.6875rem; color: var(--muted); font-weight: 600; }
.kpi__value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.kpi__sub { font-size: 0.6875rem; font-weight: 600; }
.table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.table--scroll { overflow-x: auto; }
.trow { display: grid; grid-template-columns: var(--cols); gap: 12px; padding: 14px 20px; align-items: center; border-top: 1px solid var(--line-2); font-size: 0.875rem; }
.trow--head { background: var(--mist); border-top: 0; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.trow > * { min-width: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8125rem; flex: none; }
.avatar--round { border-radius: 50%; }
.av-1 { background: var(--ink); color: var(--mint); }
.av-2 { background: #D3FBEA; color: var(--green-deep); }
.av-3 { background: #DCE6FF; color: #1E3A8A; }
.av-4 { background: #FFE9C7; color: #7A4300; }
.bar { height: 14px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 4px; background: var(--ink); transform-origin: left; animation: grow 1.1s var(--ease) both; }

/* ---------- 15. Segmented control & tabs ---------- */
.seg { display: inline-flex; background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg--light { background: var(--white); }
.seg button { border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: 0.9375rem; padding: 10px 18px; border-radius: 9px; min-height: 44px; transition: background-color .2s ease, color .2s ease; }
.seg--sm button { font-size: 0.75rem; padding: 7px 12px; min-height: 32px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1.5px solid #C9CEDC; background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.9375rem; padding: 10px 16px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card--ink .pill { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .22); }
.card--ink .pill[aria-pressed="true"] { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.pill .pill__check { display: none; }
.pill[aria-pressed="true"] .pill__check { display: block; }

/* ---------- 16. Home: modules explorer ---------- */
.explorer { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.explorer__tabs { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.explorer__panel { flex: 999 1 560px; min-width: 0; }
.mtab {
  position: relative; overflow: hidden; text-align: left; display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); color: var(--ink); min-height: 64px;
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.mtab:hover { transform: translateX(4px); }
.mtab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.mtab__num { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; opacity: .7; }
.mtab__name { display: block; font-size: 1.0625rem; font-weight: 700; }
.mtab__tag { display: block; font-size: 0.875rem; opacity: .8; }
.mtab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--mint); transform: scaleX(0); transform-origin: left; }
.explorer.is-playing .mtab[aria-selected="true"] .mtab__bar { animation: progress 7.2s linear both; }
.mpanel { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: var(--shadow-panel); height: 100%; }
.mpanel[hidden] { display: none; }
.mpanel.is-entering { animation: enter .5s var(--ease) both; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: #F0FDF7; color: var(--green-deep); border: 1px solid #BDF5DD; }
.feature-tag .ic { width: 16px; height: 16px; }

/* ---------- 17. Steps ---------- */
.steps { position: relative; }
.steps__track { position: absolute; left: 16%; right: 16%; top: 36px; height: 2px; background: repeating-linear-gradient(90deg, #BDF5DD 0 10px, transparent 10px 18px); }
.steps__dot { position: absolute; top: -7px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(46, 230, 168, .25); animation: flow 4s ease-in-out infinite alternate; }
.step-num { width: 72px; height: 72px; border-radius: var(--r-lg); background: var(--ink); color: var(--mint); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; }
.step-num--mint { background: var(--mint); color: var(--ink); }

/* ---------- 18. White-label playground ---------- */
.wl-field { display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.wl-field label { font-size: 0.875rem; font-weight: 600; color: #E4E8F3; }
.input { font-size: 1rem; padding: 13px 14px; border: 1.5px solid #C9CEDC; border-radius: 12px; min-height: 48px; background: var(--white); color: var(--ink); width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(46, 230, 168, .25); outline: none; }
.input--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: var(--white); min-height: 52px; font-size: 1.0625rem; }
textarea.input { resize: vertical; min-height: 96px; }
.swatches { display: flex; gap: 12px; }
.swatch { width: 48px; height: 48px; border-radius: var(--r); border: 3px solid transparent; transition: transform .2s var(--ease), border-color .2s ease; }
.swatch[aria-pressed="true"] { border-color: var(--white); transform: scale(1.08); }
.portal { background: var(--white); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-float); --brand: #2EE6A8; --brand-fg: #0F1B3D; }
.portal__head { background: var(--brand); color: var(--brand-fg); padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; transition: background-color .4s ease, color .4s ease; }
.portal__logo { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-fg); color: var(--brand); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; transition: background-color .4s ease, color .4s ease; }
.portal__search { background: var(--white); color: var(--muted); border-radius: 12px; padding: 14px 16px; font-size: 0.9375rem; display: flex; align-items: center; gap: 10px; }
.portal__body { padding: 24px 32px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.portal__tile { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.portal__btn { grid-column: 1 / -1; text-align: center; font-weight: 700; padding: 14px; border-radius: 12px; background: var(--brand); color: var(--brand-fg); transition: background-color .4s ease, color .4s ease; }

/* ---------- 19. Roadmap ---------- */
.roadmap__col { background: var(--mist); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.roadmap__head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.roadmap__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; font-weight: 600; }
.roadmap__item--next { border-style: dashed; border-color: #C9CEDC; }

/* ---------- 20. FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 1.0625rem; font-weight: 700; cursor: pointer; min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { width: 32px; height: 32px; border-radius: 10px; background: #F0F2F8; display: flex; align-items: center; justify-content: center; flex: none; transition: transform .3s var(--ease), background-color .3s ease; }
.faq details[open] .faq__icon { background: var(--mint); transform: rotate(45deg); }
.faq details > p { padding: 0 22px 22px; color: var(--muted); animation: fadeUp .4s var(--ease) both; }

/* ---------- 21. CTA band & footer ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .container { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 900px; }
.cta-band p { max-width: 600px; font-size: 1.1875rem; }
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 64px 0 40px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer__brand { flex: 1 1 260px; max-width: 320px; display: flex; flex-direction: column; gap: 14px; }
.footer__brand img { height: 32px; width: auto; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 0.9375rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 { font-size: 0.9375rem; color: var(--white); font-weight: 700; }
.footer__col a { color: var(--on-ink-muted); text-decoration: none; }
.footer__col a:hover { color: var(--mint); }
.footer__bottom { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: var(--on-ink-faint); }
.mobile-cta { display: none; }

/* ---------- 22. Module-page widgets ---------- */
.lifecycle { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-float); }
.lifecycle__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin: 0 0 18px; overflow: hidden; }
.lifecycle__bar i { display: block; height: 100%; background: var(--mint); border-radius: 4px; transition: width .6s var(--ease); }
.lifecycle__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lifecycle__col { border-radius: 16px; padding: 14px; min-height: 210px; display: flex; flex-direction: column; gap: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .4s ease, border-color .4s ease; }
.lifecycle__col.is-here { background: rgba(46, 230, 168, .1); border-color: rgba(46, 230, 168, .5); }
.lifecycle__ghost { background: var(--ink-3); border-radius: 10px; padding: 10px 12px; font-size: 0.8125rem; color: var(--on-ink-muted); }
.lifecycle__ticket { background: var(--white); color: var(--ink); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); animation: pop .55s var(--ease) both; }
.flowline { position: relative; height: 2px; background: var(--line); }
.flowline i { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); animation: flowX 2.6s linear infinite; }
.sla-time { font-family: var(--font-display); font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.meter { height: 10px; border-radius: 10px; background: var(--line-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 10px; background: var(--mint); transition: width 1s linear, background-color .4s ease; }
.rule-step { display: flex; align-items: center; gap: 12px; border-radius: var(--r); padding: 14px 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .35s ease, border-color .35s ease, transform .35s var(--ease); }
.rule-step b { font-size: 0.75rem; letter-spacing: .04em; min-width: 52px; color: var(--mint); }
.rule-step.is-past { background: rgba(255, 255, 255, .06); border-color: rgba(46, 230, 168, .3); }
.rule-step.is-on { background: rgba(46, 230, 168, .14); border-color: var(--mint); transform: translateX(8px); }
.map-wrap { position: relative; }
.map-toast { position: absolute; left: 24px; top: 24px; background: var(--ink); color: var(--white); border-radius: var(--r); padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); animation: mapShow 7s ease infinite; }
.map-flag { position: absolute; right: 18px; bottom: 18px; background: var(--white); border: 1px solid #FFC9C2; border-radius: 12px; padding: 10px 12px; font-size: 0.75rem; max-width: 220px; box-shadow: 0 16px 30px -20px rgba(15, 27, 61, .5); }
.walker { animation: walk 7s cubic-bezier(.45, .05, .3, 1) infinite; }
.route { stroke-dasharray: 320; animation: route 7s cubic-bezier(.45, .05, .3, 1) infinite; }
.chat { background: #E9F7F0; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 210px; color: var(--ink); }
.chat__meta { align-self: center; font-size: 0.6875rem; color: var(--muted); background: var(--white); padding: 3px 10px; border-radius: 999px; }
.bubble { align-self: flex-end; max-width: 86%; background: var(--white); border-radius: 14px 14px 4px 14px; padding: 12px 14px; font-size: 0.875rem; line-height: 1.55; box-shadow: 0 6px 16px -10px rgba(15, 27, 61, .5); animation: fadeUp .4s var(--ease) both; }
.bubble mark { background: #D3FBEA; color: var(--green-deep); font-weight: 700; padding: 0 4px; border-radius: 4px; }
.bubble__time { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 0.6875rem; color: var(--muted); margin-top: 4px; }
.ticks path { animation: ticks 3s ease infinite; }
.typing { align-self: flex-start; background: var(--white); border-radius: 14px 14px 14px 4px; padding: 10px 14px; display: flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dots 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
.banner { border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.875rem; font-weight: 600; animation: fadeUp .4s var(--ease) both; }
.banner--ok { background: #D3FBEA; color: var(--green-deep); }
.banner--warn { background: #FFE9C7; color: #7A4300; }
.banner button { background: none; border: 0; font-weight: 700; text-decoration: underline; color: inherit; min-height: 44px; }
.qr { background: var(--white); border-radius: 6px; }
.qr-scan { position: relative; width: 170px; height: 170px; background: var(--white); border-radius: var(--r); padding: 12px; overflow: hidden; flex: none; }
.qr-scan::after { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 3px; background: var(--mint); box-shadow: 0 0 14px 4px rgba(46, 230, 168, .7); border-radius: 3px; animation: scan 2.6s ease-in-out infinite; }
.timeline { position: relative; display: flex; flex-direction: column; gap: 10px; padding-left: 16px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 4px; width: 2px; background: #BDF5DD; }
.timeline > div { position: relative; }
.timeline > div::before { content: ""; position: absolute; left: -16px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); border: 2px solid var(--white); }
.orbit { transform-origin: 160px 160px; animation: spin 10s linear infinite; }
.donut circle { animation: donut 1.4s var(--ease) both; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; font-size: 0.75rem; }
.calendar__dow { font-weight: 700; color: var(--muted); }
.calendar__day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 600; border: 0; padding: 0; position: relative; font-size: 0.75rem; }
.calendar__day:disabled { cursor: not-allowed; }
.calendar__day.is-today { outline: 2px solid var(--mint); }
.calendar__day .tdot { position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--green); }
.d-present { background: #D3FBEA; color: var(--green-deep); }
.d-visit { background: #DCE6FF; color: #1E3A8A; }
.d-leave { background: #FFE9C7; color: #7A4300; }
.d-holiday { background: #EDE7FF; color: #4B2EA8; }
.d-weekend { background: var(--mist); color: #8792B0; }
.d-future { background: var(--white); color: var(--muted); border: 1px solid var(--line-2) !important; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.75rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.checkrow { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 12px 14px; color: var(--white); text-align: left; min-height: 52px; width: 100%; }
.checkrow--light { background: var(--white); border-color: var(--line); color: var(--ink); }
.checkbox { width: 22px; height: 22px; border-radius: 7px; flex: none; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255, 255, 255, .4); transition: background-color .2s ease, border-color .2s ease; }
.checkrow--light .checkbox { border-color: #C9CEDC; }
.checkbox svg { width: 18px; height: 18px; display: none; }
[aria-pressed="true"] > .checkbox { background: var(--mint); border-color: var(--mint); }
[aria-pressed="true"] > .checkbox svg { display: block; }
[aria-pressed="true"] > .checkbox path { stroke-dasharray: 60; animation: draw .5s ease-out both; }
[aria-pressed="true"] .checkrow__text { text-decoration: line-through; opacity: .7; }
.progress { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.progress--light { background: var(--line); }
.progress i { display: block; height: 100%; background: var(--mint); border-radius: 8px; transition: width .4s ease; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-radius: 10px; padding: 10px 12px; font-size: 0.8125rem; font-weight: 600; min-height: 44px; width: 100%; text-align: left; transition: background-color .2s ease, transform .2s var(--ease); }
.slot--free { background: var(--white); color: var(--green-deep); border: 1.5px dashed #79DDB8; }
.slot--free:hover { transform: translateX(3px); }
.slot--busy { background: var(--line-2); color: #8792B0; border: 0; text-decoration: line-through; cursor: not-allowed; }
.slot--sel { background: var(--ink); color: var(--white); border: 0; }
.board-mover { position: absolute; left: 28px; top: 56px; width: calc((100% - 88px) / 3); pointer-events: none; }
.board-mover > div { animation: move 7s cubic-bezier(.6, 0, .3, 1) infinite; }
.toast { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: 0 16px 30px -16px rgba(15, 27, 61, .5); display: flex; gap: 10px; font-size: 0.75rem; animation: toast 9s ease infinite; opacity: 0; }
.bell { transform-origin: 50% 10%; animation: bell 3s ease infinite; }
.ring circle.ring__fill { transition: stroke-dashoffset .8s ease; animation: ringFill 1.6s var(--ease) both; }
.edge { stroke-dasharray: 300; animation: edge 1.4s ease-out both; }
.pop-in { animation: popIn .5s var(--ease) both; transform-box: fill-box; transform-origin: center; }
.check-draw path { stroke-dasharray: 60; animation: draw .8s .2s ease-out both; }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; }
.waitlist .input { flex: 1 1 280px; max-width: 380px; border: 2px solid var(--ink); min-height: 52px; }
.success { display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: var(--r); font-weight: 700; animation: fadeUp .4s var(--ease) both; }
.success svg { width: 26px; height: 26px; }

/* Pricing */
.billing { position: relative; display: inline-flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 5px; border: 1px solid rgba(255, 255, 255, .12); }
.billing__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--mint); transition: transform .35s var(--ease); }
.billing[data-annual="true"] .billing__pill { transform: translateX(100%); }
.billing button { position: relative; border: 0; background: transparent; font-weight: 700; font-size: 0.9375rem; padding: 12px 26px; border-radius: 999px; min-width: 150px; min-height: 44px; color: var(--white); transition: color .3s ease; }
.billing button[aria-pressed="true"] { color: var(--ink); }
.tiers { margin-top: -130px; align-items: stretch; }
.tier { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 20px; background: var(--white); border: 1px solid var(--line); }
.tier--featured { background: var(--ink); color: var(--white); border: 2px solid var(--mint); box-shadow: 0 30px 60px -30px rgba(15, 27, 61, .6); }
.tier__flag { position: absolute; top: 20px; right: 20px; font-size: 0.75rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--ink); }
.tier__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.tier__muted { color: var(--muted); font-size: 0.9375rem; }
.tier--featured .tier__muted { color: var(--on-ink-muted); }
.tier--featured .check-list .ic { color: var(--mint); }
.shine { position: relative; overflow: hidden; }
.shine::after { content: ""; position: absolute; top: 0; left: 0; width: 30%; height: 100%; background: rgba(255, 255, 255, .25); animation: shine 3.6s ease-in-out infinite; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-top: 1px solid var(--line-2); }
.compare thead th { background: var(--mist); border-top: 0; }
.compare .is-featured { background: #F4FDF9; font-weight: 600; }
.compare thead .is-featured { background: #E9FCF4; }
.compare td { color: var(--muted); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; min-height: calc(100vh - var(--header-h)); }
.contact__aside { flex: 1 1 480px; min-width: 0; background: var(--ink); color: var(--white); position: relative; overflow: hidden; padding: 80px 56px; display: flex; flex-direction: column; gap: 36px; }
.contact__main { flex: 1 1 560px; min-width: 0; background: var(--mist); padding: 80px 56px; }
.form-card { max-width: 580px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; display: flex; flex-direction: column; gap: 22px; box-shadow: var(--shadow-panel); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 0.875rem; font-weight: 600; }
.field__error { font-size: 0.8125rem; color: #B42318; display: none; }
.field.is-invalid .input { border-color: #B42318; }
.field.is-invalid .field__error { display: block; }
.vstep { display: flex; gap: 18px; }
.vstep__rail { display: flex; flex-direction: column; align-items: center; }
.vstep__num { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.vstep__line { flex: 1; width: 2px; background: rgba(46, 230, 168, .3); min-height: 28px; }
.vstep__body { padding-bottom: 24px; }
.vstep__body span { display: block; font-size: 0.9375rem; color: var(--on-ink-muted); }

/* ---------- 23. Keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 168, .55); } 70% { box-shadow: 0 0 0 12px rgba(46, 230, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 168, 0); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes enter { from { opacity: 0; transform: translateY(-10px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes flow { from { left: 0%; } to { left: 100%; } }
@keyframes flowX { 0% { left: 0%; opacity: 0; } 10%, 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(-10px) scale(.92); } 60% { transform: translateY(2px) scale(1.02); } 100% { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes walk { 0% { transform: translate(-190px, 110px); } 45%, 100% { transform: translate(0, 0); } }
@keyframes route { 0% { stroke-dashoffset: 320; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes mapShow { 0%, 44% { opacity: 0; transform: translateY(8px); } 52%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ticks { 0%, 40% { fill: #8792B0; } 60%, 100% { fill: #1F6FD6; } }
@keyframes dots { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(150px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes donut { from { stroke-dasharray: 0 400; } }
@keyframes move { 0%, 12% { transform: translateX(0); } 30%, 45% { transform: translateX(calc(100% + 16px)); } 63%, 88% { transform: translateX(calc(200% + 32px)); } 100% { transform: translateX(0); opacity: 0; } }
@keyframes toast { 0% { opacity: 0; transform: translateY(-16px); } 8%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes bell { 0%, 60%, 100% { transform: rotate(0); } 65% { transform: rotate(14deg); } 70% { transform: rotate(-12deg); } 75% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }
@keyframes ringFill { from { stroke-dashoffset: 440; } }
@keyframes edge { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }
@keyframes shine { 0% { transform: translateX(-120%) skewX(-20deg); } 60%, 100% { transform: translateX(380%) skewX(-20deg); } }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1080px) {
  :root { --section-y: 88px; }
  .nav__links { display: none; }
  .nav__actions .nav__secondary { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { margin-left: 0; }
  .mobile-menu { display: block; border-top: 1px solid rgba(255, 255, 255, .08); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu nav { display: flex; flex-direction: column; padding: 8px 0 20px; animation: fadeUp .25s var(--ease) both; }
  .mobile-menu a { color: var(--white); text-decoration: none; font-size: 1.125rem; font-weight: 600; padding: 12px 0; display: flex; justify-content: space-between; align-items: center; }
  .mobile-menu__group { margin-top: 8px; padding: 12px 0 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-faint); }
  .mobile-menu a.mobile-menu__sub { font-size: 1rem; font-weight: 500; padding: 9px 0 9px 14px; border-left: 2px solid rgba(255, 255, 255, .12); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .devices { flex-wrap: wrap; }
  .phone-wrap { margin: 32px auto -40px; }
  .app__side { display: none; }
}
@media (max-width: 760px) {
  :root { --section-y: 64px; --gutter: 20px; --header-h: 64px; }
  .nav__logo img { height: 28px; }
  .nav__actions .btn { display: none; }
  .hero__inner { padding-block: 40px 56px; gap: 36px; }
  .hero--module .hero__inner { padding-top: 40px; }
  .hero__copy .cluster .btn { flex: 1 1 100%; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { margin-bottom: 32px; }
  .steps__track { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browser { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .app__main { padding: 14px; }
  .app__main--split { grid-template-columns: minmax(0, 1fr); }
  .app__main--split .toast { display: none; }
  [data-register] { grid-template-columns: minmax(0, 1fr) !important; }
  [data-asset-list] .trow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto !important; }
  [data-asset-list] .trow > :nth-child(3) { display: none; }
  .mpanel { padding: 22px; }
  .portal__body { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .portal__head { padding: 24px 20px; }
  .tiers { margin-top: -110px; }
  .lifecycle__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lifecycle__col { min-height: 150px; }
  .contact__aside, .contact__main { padding: 48px 20px; }
  .form-card { padding: 22px; }
  .tour__chapter { padding: 5% 5% 18%; }
  .tour__card { display: none; }
  .mobile-cta {
    display: flex; position: sticky; bottom: 0; z-index: 40; padding: 12px 16px;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); gap: 10px;
  }
  .mobile-cta .btn { flex: 1 1 0; min-width: 0; min-height: 48px; font-size: 0.9375rem; padding-inline: 12px; white-space: normal; text-align: center; }
  .board-mover { display: none; }
  .map-flag { position: static; margin-top: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .toast, .map-toast { opacity: 1; }
  /* The modules strip always runs (hover pauses it), like the hero film. */
  .marquee__track { animation-duration: 28s !important; animation-iteration-count: infinite !important; }
}
