/* =========================================================
   SafeServe — Landing Page Styles
   ========================================================= */

:root {
  --g-50: #effaf3;
  --g-100: #d9f3e2;
  --g-200: #b4e6c7;
  --g-300: #7fd3a2;
  --g-400: #45b97a;
  --g-500: #1f9d5c;
  --g-600: #148049;
  --g-700: #11663c;
  --g-800: #0f5132;
  --g-900: #0b3b25;

  --navy-900: #0b1726;
  --navy-800: #102033;
  --navy-700: #1b2d44;
  --ink: #0f1c2d;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e5ebf0;
  --line-2: #eef2f5;
  --surface: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f6f9f8;

  --amber: #f59e0b;
  --amber-bg: #fff7e6;
  --red: #e5484d;
  --red-bg: #fdecec;
  --blue: #3b82f6;
  --blue-bg: #eaf2fe;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 45, .06), 0 1px 3px rgba(15, 28, 45, .05);
  --shadow: 0 4px 12px rgba(15, 28, 45, .06), 0 12px 32px rgba(15, 28, 45, .06);
  --shadow-lg: 0 24px 60px rgba(15, 40, 30, .14), 0 8px 20px rgba(15, 28, 45, .06);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--g-300); outline-offset: 2px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font: 600 15px/1 var(--font);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--g-500), var(--g-600));
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px rgba(20, 128, 73, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 10px 24px rgba(20, 128, 73, .34); }
.btn-outline { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--g-300); color: var(--g-700); transform: translateY(-1px); }
.btn-ghost { color: var(--ink-2); background: transparent; }
.btn-ghost:hover { color: var(--g-700); background: var(--g-50); }
.btn-white { color: var(--g-800); background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-white:hover { transform: translateY(-1px); background: var(--g-50); }
.btn-glass { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.btn-glass:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--g-600);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-safe { color: var(--g-600); background: var(--g-50); }
.pill-watch { color: #b76e00; background: var(--amber-bg); }
.pill-alert { color: #c93035; background: var(--red-bg); }
.pill-info { color: #2563eb; background: var(--blue-bg); }
.pill.no-dot::before { display: none; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--g-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2, .h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 14px 0 16px; }
.section-head p, .lead { font-size: 18px; color: var(--muted); }
.text-green { color: var(--g-600); }

/* Scroll reveal (progressive enhancement, no JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 32%;
    }
    @keyframes reveal {
      from { opacity: 0; transform: translateY(28px); }
      to { opacity: 1; transform: none; }
    }
  }
}

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229, 235, 240, .8);
}
.nav-inner { display: flex; align-items: center; height: 72px; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--g-400), var(--g-700));
  box-shadow: 0 6px 14px rgba(20, 128, 73, .3);
}
.logo-mark .icon { width: 20px; height: 20px; }
.logo span b { color: var(--g-600); font-weight: 800; }

.nav-menu { display: flex; align-items: center; flex: 1; gap: 32px; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--g-700); background: var(--g-50); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--g-500);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; }
.nav-burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  place-items: center; cursor: pointer;
}
.nav-burger .icon-close { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(69, 185, 122, .16), transparent 60%),
    radial-gradient(700px 400px at 0% 0%, rgba(69, 185, 122, .10), transparent 60%),
    linear-gradient(180deg, #f5fbf7 0%, #fff 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(15, 81, 50, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 81, 50, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--g-100);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--g-700);
}
.badge-dot {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--g-50); color: var(--g-600);
}
.badge-dot .icon { width: 14px; height: 14px; }

.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 22px 0 22px;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--g-500), var(--g-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); max-width: 480px; }
.hero-note .icon { color: var(--g-500); width: 18px; height: 18px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.hero-checks li { display: flex; align-items: center; gap: 6px; }
.hero-checks .icon { width: 16px; height: 16px; color: var(--g-500); stroke-width: 2.5; }

/* ---------- Dashboard mockup ---------- */
.hero-visual { position: relative; padding: 24px 0 64px 24px; }
.mock {
  position: relative;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 12px;
  color: var(--ink-2);
}
.mock-bar {
  display: flex; align-items: center; gap: 14px;
  height: 38px; padding: 0 14px;
  background: #f8fafb; border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8ee; }
.dots i:nth-child(1) { background: #ff8f87; }
.dots i:nth-child(2) { background: #ffd166; }
.dots i:nth-child(3) { background: #6fd39a; }
.mock-url {
  flex: 1; max-width: 280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line);
  font-size: 11px; color: var(--muted);
}
.mock-url .icon { width: 11px; height: 11px; color: var(--g-500); }

.mock-body { display: grid; grid-template-columns: 58px 1fr; }
.mock-side {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 0; border-right: 1px solid var(--line-2); background: #fbfcfc;
}
.mock-side .logo-mark { width: 30px; height: 30px; border-radius: 9px; margin-bottom: 8px; }
.mock-side .logo-mark .icon { width: 16px; height: 16px; }
.side-i {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #94a3b8;
}
.side-i .icon { width: 17px; height: 17px; }
.side-i.on { color: var(--g-600); background: var(--g-50); }

.mock-main { padding: 16px 18px 18px; min-width: 0; background: linear-gradient(180deg, #fcfdfd, #f7faf9); }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mock-top small { display: block; color: var(--muted); font-size: 11px; }
.mock-top strong { font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.mock-top-r { display: flex; align-items: center; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 11px; color: var(--ink-2);
}
.chip .icon { width: 13px; height: 13px; }
.avatar {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #cfe9da, #9bd5b3); color: var(--g-800); font-weight: 700; font-size: 11px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}
.m-score { grid-column: span 3; }
.m-tasks { grid-column: span 4; }
.m-activity { grid-column: span 5; }
.m-temps { grid-column: span 6; }
.m-ca { grid-column: span 6; }
.m-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px; box-shadow: 0 1px 2px rgba(15,28,45,.03);
  min-width: 0;
}
.m-title { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.m-title a { color: var(--g-600); font-weight: 600; font-size: 10.5px; }

/* score ring */
.m-score { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.ring {
  --p: 94;
  --size: 86px;
  --thick: 9px;
  --c: var(--g-500);
  position: relative; width: var(--size); height: var(--size); border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #e7efea 0);
  display: grid; place-items: center;
}
.ring::before { content: ""; position: absolute; inset: var(--thick); border-radius: 50%; background: #fff; }
.ring > span { white-space: nowrap; position: relative; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.ring > span small { font-size: 12px; }
.m-score .delta { margin-top: 8px; font-size: 10.5px; color: var(--g-600); font-weight: 700; }
.m-score .delta span { color: var(--muted); font-weight: 500; }

/* tasks */
.m-tasks .big { display: flex; align-items: baseline; gap: 6px; }
.m-tasks .big b { font-size: 26px; color: var(--ink); letter-spacing: -.03em; font-weight: 800; }
.m-tasks .big span { font-size: 11px; color: var(--muted); }
.stack { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; margin: 10px 0 10px; }
.stack i { display: block; height: 100%; border-radius: 99px; }
.legend-list li { display: flex; align-items: center; justify-content: space-between; padding: 3px 0; font-size: 11px; }
.legend-list li span { display: flex; align-items: center; gap: 6px; }
.legend-list li b { color: var(--ink); }
.sw { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.sw-g { background: var(--g-500); } .sw-a { background: var(--amber); } .sw-r { background: var(--red); } .sw-b { background: var(--blue); }

/* temps */
.t-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line-2); }
.t-row:first-of-type { border-top: 0; padding-top: 0; }
.t-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--g-50); color: var(--g-600); }
.t-ic.cold { background: var(--blue-bg); color: var(--blue); }
.t-ic.hot { background: #fff1e6; color: #ea7a1a; }
.t-ic .icon { width: 13px; height: 13px; }
.t-name { flex: 1; min-width: 0; font-size: 11px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-val { font-weight: 700; color: var(--ink); font-size: 11.5px; }
.m-card .pill { font-size: 9.5px; padding: 2px 7px; }
.m-card .pill::before { width: 5px; height: 5px; }

/* corrective actions + activity */
.ca-item, .act-item { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-top: 1px dashed var(--line-2); }
.ca-item:first-of-type, .act-item:first-of-type { border-top: 0; padding-top: 0; }
.ca-item p, .act-item p { font-size: 11px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.ca-item small, .act-item small { display: block; font-size: 10px; color: var(--muted); font-weight: 500; }
.ca-flag { width: 4px; align-self: stretch; border-radius: 4px; background: var(--amber); }
.ca-flag.r { background: var(--red); } .ca-flag.g { background: var(--g-500); }
.act-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--g-50); color: var(--g-600); flex-shrink: 0; }
.act-dot .icon { width: 12px; height: 12px; stroke-width: 2.5; }
.act-dot.b { background: var(--blue-bg); color: var(--blue); }
.act-dot.a { background: var(--amber-bg); color: #c77c00; }

/* branch performance */
.m-branches { grid-column: 1 / -1; }
.br-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.br-item .br-top { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 6px; }
.br-item .br-top span { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-item .br-top b { color: var(--ink); }
.bar { height: 6px; border-radius: 99px; background: #edf2ef; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--g-400), var(--g-600)); }
.bar i.a { background: linear-gradient(90deg, #fbbf24, var(--amber)); }

/* floating cards */
.float {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  min-width: 200px;
  backdrop-filter: blur(8px);
}
.float-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.float-head .t-ic { width: 32px; height: 32px; border-radius: 10px; }
.float-head .t-ic .icon { width: 17px; height: 17px; }
.float-head strong { font-size: 13.5px; display: block; line-height: 1.2; }
.float-head small { font-size: 11px; color: var(--muted); }
.float-val { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.float-val small { display: block; font-size: 11px; color: var(--muted); }
.float-val b { font-size: 24px; letter-spacing: -.03em; line-height: 1.1; }
.float-1 { left: -12px; bottom: 0; }
.float-2 { right: -24px; bottom: 22px; }
.float .spark { width: 64px; height: 26px; }

@media (prefers-reduced-motion: no-preference) {
  .float-1 { animation: floaty 6s ease-in-out infinite; }
  .float-2 { animation: floaty 7s ease-in-out -2s infinite; }
  @keyframes floaty { 50% { transform: translateY(-8px); } }
  .live::before { animation: pulse 1.8s ease-out infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,157,92,.5); } 100% { box-shadow: 0 0 0 7px rgba(31,157,92,0); } }
}

/* =========================================================
   Stats strip
   ========================================================= */
.stats { padding: 0 0 20px; margin-top: -24px; position: relative; z-index: 2; }
.stats-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.stat { display: flex; align-items: center; gap: 14px; padding: 26px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--g-50), var(--g-100)); color: var(--g-600); flex-shrink: 0;
}
.stat-ic .icon { width: 22px; height: 22px; }
.stat b { display: block; font-size: 17px; letter-spacing: -.01em; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* =========================================================
   Problem
   ========================================================= */
.problem-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.problem-intro { position: sticky; top: 120px; }
.problem-intro .lead { margin-bottom: 28px; }
.compare { display: grid; gap: 10px; margin-top: 8px; }
.compare-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 15px; font-weight: 500; }
.compare-row .icon { width: 18px; height: 18px; }
.compare-row.bad { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.compare-row.bad .icon { color: var(--red); }
.compare-row.good { background: var(--g-50); border: 1px solid var(--g-100); color: var(--g-800); font-weight: 600; }
.compare-row.good .icon { color: var(--g-600); }

.problem-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #f3d4d5; }
.p-ic {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--red-bg); color: var(--red); margin-bottom: 16px;
}
.p-ic.a { background: var(--amber-bg); color: #d98a00; }
.p-card h3 { font-size: 17px; margin-bottom: 6px; }
.p-card p { font-size: 14.5px; color: var(--muted); }
.p-card.dark {
  background: linear-gradient(145deg, var(--navy-800), var(--g-900));
  border-color: transparent; color: #cfe3d8;
}
.p-card.dark h3 { color: #fff; }
.p-card.dark p { color: #a9c6b7; }
.p-card.dark .p-ic { background: rgba(255,255,255,.1); color: var(--g-300); }
.p-card.dark:hover { border-color: transparent; }

/* =========================================================
   Features
   ========================================================= */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.f-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 24px 22px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.f-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px 160px at 0% 0%, rgba(69,185,122,.12), transparent 70%);
}
.f-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--g-200); }
.f-card:hover::before { opacity: 1; }
.f-ic {
  position: relative; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  color: var(--g-600); background: var(--g-50); border: 1px solid var(--g-100);
  transition: background .25s, color .25s;
}
.f-ic .icon { width: 22px; height: 22px; }
.f-card:hover .f-ic { background: var(--g-600); color: #fff; border-color: var(--g-600); }
.f-card h3 { position: relative; font-size: 17px; margin-bottom: 8px; }
.f-card p { position: relative; font-size: 14.5px; color: var(--muted); flex: 1; }
.f-more {
  position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: 13.5px; font-weight: 600; color: var(--g-600);
}
.f-more .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.f-card:hover .f-more .icon { transform: translateX(4px); }

/* =========================================================
   Temperature monitoring
   ========================================================= */
.temp {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(69,185,122,.22), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(59,130,246,.10), transparent 60%),
    linear-gradient(160deg, var(--navy-900), #0c2a22 70%, #0d3a28);
  color: #c6d6ce;
  overflow: hidden;
}
.temp h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); }
.temp .eyebrow { color: var(--g-300); }
.temp .lead { color: #a8bdb3; }
.temp-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: 64px; align-items: center; }
.temp-points { display: grid; gap: 18px; margin: 32px 0 36px; }
.temp-points li { display: flex; gap: 14px; }
.tp-ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: rgba(127, 211, 162, .12); color: var(--g-300); border: 1px solid rgba(127, 211, 162, .2);
}
.tp-ic .icon { width: 19px; height: 19px; }
.temp-points b { display: block; color: #fff; font-size: 15.5px; margin-bottom: 2px; }
.temp-points span { font-size: 14.5px; color: #9fb4aa; }

.temp-visual { position: relative; }
.panel {
  background: #fff; color: var(--ink-2); border-radius: 22px; padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.panel-head h4 { font-size: 16px; }
.panel-head small { font-size: 12.5px; color: var(--muted); }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: #f1f5f4; font-size: 12px; font-weight: 600; }
.seg span { padding: 5px 10px; border-radius: 8px; color: var(--muted); }
.seg span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--font); font-size: 11px; fill: #94a3b8; }
.chart .lbl-safe { fill: var(--g-600); font-weight: 700; font-size: 10.5px; }
.chart .lbl-alert { fill: var(--red); font-weight: 700; font-size: 10.5px; }

.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); margin: 4px 0 14px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 14px; height: 4px; border-radius: 4px; }

.sensors { border-top: 1px solid var(--line-2); padding-top: 6px; }
.sensor {
  display: grid; grid-template-columns: 32px minmax(0, 1.4fr) 80px 72px 74px; align-items: center; gap: 12px;
  padding: 10px 6px; border-radius: 10px; transition: background .2s;
}
.sensor:hover { background: var(--bg-soft); }
.sensor + .sensor { border-top: 1px dashed var(--line-2); }
.sensor .t-ic { width: 32px; height: 32px; border-radius: 10px; }
.sensor .t-ic .icon { width: 16px; height: 16px; }
.sensor strong { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.25; }
.sensor small { font-size: 11.5px; color: var(--muted); }
.sensor .spark { width: 80px; height: 24px; }
.sensor .val { font-weight: 800; color: var(--ink); font-size: 15px; text-align: right; letter-spacing: -.02em; }
.sensor .pill { justify-self: end; }

.alert-toast {
  position: absolute; right: -20px; top: -34px; z-index: 3;
  display: flex; gap: 12px; align-items: flex-start;
  width: 300px; padding: 14px 16px;
  background: #fff; border-radius: 16px; border: 1px solid #f7d0d2;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.alert-toast .a-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--red-bg); color: var(--red); flex-shrink: 0; }
.alert-toast .a-ic .icon { width: 18px; height: 18px; }
.alert-toast strong { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--ink); }
.alert-toast strong small { font-weight: 500; color: var(--muted); font-size: 11px; }
.alert-toast p { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.alert-toast .a-actions { display: flex; gap: 6px; margin-top: 10px; }
.alert-toast .a-actions span { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.a-actions .a1 { background: var(--g-600); color: #fff; }
.a-actions .a2 { background: #f1f5f4; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .alert-toast { animation: floaty 6.5s ease-in-out infinite; }
}

/* =========================================================
   Multi-location
   ========================================================= */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.map-card {
  position: relative; min-height: 460px; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 30% 40%, rgba(69,185,122,.12), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(69,185,122,.10), transparent 40%),
    #f3f8f5;
}
.map-card .map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card .map-svg path, .map-card .map-svg rect { vector-effect: non-scaling-stroke; }
.map-top {
  position: absolute; left: 18px; right: 18px; top: 18px; z-index: 2;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.map-top .chip { height: 34px; font-size: 12.5px; box-shadow: var(--shadow-sm); }
.live { display: inline-flex; align-items: center; gap: 7px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g-500); }

.pin { position: absolute; z-index: 2; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.pin-label {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 11px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: 12px; font-weight: 600; color: var(--ink);
  transition: transform .2s var(--ease);
}
.pin:hover .pin-label { transform: translateY(-3px); }
.pin-label b { color: var(--g-600); }
.pin-label b.a { color: #c77c00; }
.pin-dot {
  width: 16px; height: 16px; margin-top: 8px; border-radius: 50%;
  background: var(--g-500); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(31,157,92,.18), 0 4px 10px rgba(0,0,0,.2);
}
.pin-dot.a { background: var(--amber); box-shadow: 0 0 0 6px rgba(245,158,11,.2), 0 4px 10px rgba(0,0,0,.2); }
.pin-hq .pin-dot { width: 22px; height: 22px; background: var(--navy-800); }

.map-summary {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.map-summary div { padding: 12px 14px; }
.map-summary div + div { border-left: 1px solid var(--line-2); }
.map-summary small { display: block; font-size: 11.5px; color: var(--muted); }
.map-summary b { font-size: 20px; letter-spacing: -.02em; }

.branch-list { display: grid; gap: 14px; }
.branch {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.branch:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--g-200); }
.b-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--g-50); color: var(--g-600); }
.b-ic .icon { width: 20px; height: 20px; }
.branch h4 { font-size: 15.5px; margin-bottom: 4px; }
.b-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--muted); }
.b-meta span { display: inline-flex; align-items: center; gap: 4px; }
.b-meta .icon { width: 13px; height: 13px; }
.b-meta .over { color: var(--red); font-weight: 600; }
.b-score { text-align: right; }
.b-score b { display: block; font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.b-score .bar { width: 72px; margin-top: 6px; }
.loc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; padding: 6px 4px 0; font-size: 15px; color: var(--ink-2); font-weight: 500; }

/* =========================================================
   Workflow
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--g-300) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step-ic {
  position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 24px;
  border-radius: 26px; background: #fff; border: 1px solid var(--g-100); color: var(--g-600);
  box-shadow: 0 10px 30px rgba(20,128,73,.12);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.step-ic .icon { width: 32px; height: 32px; stroke-width: 1.8; }
.step:hover .step-ic { transform: translateY(-4px) rotate(-3deg); background: var(--g-600); color: #fff; }
.step-num {
  position: absolute; top: -10px; right: -10px;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-size: 12px; font-weight: 700; border: 3px solid #fff;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step h3 span { color: var(--g-500); font-weight: 700; margin-right: 6px; }
.step p { color: var(--muted); font-size: 15px; max-width: 240px; margin: 0 auto; }

/* =========================================================
   Audit
   ========================================================= */
.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.audit-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 36px; }
.audit-items li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 600; font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
}
.audit-items li:hover { border-color: var(--g-200); box-shadow: var(--shadow-sm); }
.audit-items .ai-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--g-50); color: var(--g-600); }
.audit-items .ai-ic .icon { width: 17px; height: 17px; }

.report { position: relative; }
.report::before {
  content: ""; position: absolute; inset: 30px -20px -20px 30px; border-radius: 28px; z-index: -1;
  background: linear-gradient(135deg, var(--g-200), var(--g-50));
}
.report-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.rc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.rc-head h4 { font-size: 16px; }
.rc-head small { color: var(--muted); font-size: 12.5px; }
.rc-body { padding: 24px; display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.rc-score { text-align: center; }
.rc-score .ring { --size: 132px; --thick: 12px; margin: 0 auto 10px; }
.rc-score .ring > span { font-size: 32px; }
.rc-score .ring > span small { font-size: 16px; }
.rc-score p { font-size: 13px; font-weight: 700; color: var(--ink); }
.rc-score p span { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.rc-bars li { margin-bottom: 12px; }
.rc-bars li:last-child { margin-bottom: 0; }
.rc-bars .br-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.rc-bars .br-top b { font-weight: 700; }
.rc-bars .bar { height: 8px; }
.rc-failed { margin: 0 24px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.rc-failed h5 { margin: 0 0 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fail-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font-size: 13.5px; }
.fail-row + .fail-row { margin-top: 8px; }
.fail-row .x { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--red-bg); color: var(--red); flex-shrink: 0; }
.fail-row .x .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.fail-row p { flex: 1; font-weight: 600; color: var(--ink); line-height: 1.35; }
.fail-row p small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.rc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; background: #fafcfb; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.verifier { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.verifier .avatar { width: 34px; height: 34px; font-size: 12px; }
.verifier b { display: block; color: var(--ink); }
.verifier span { color: var(--muted); font-size: 12px; }
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--g-600); font-weight: 700; font-size: 13px; }
.verified .icon { width: 17px; height: 17px; }

/* =========================================================
   Roles
   ========================================================= */
.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.role {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--g-200); }
.role-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.role-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--g-400), var(--g-700)); box-shadow: 0 8px 18px rgba(20,128,73,.25); }
.role-ic .icon { width: 24px; height: 24px; }
.role-ic.navy { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); box-shadow: 0 8px 18px rgba(11,23,38,.25); }
.role-ic.teal { background: linear-gradient(135deg, #34c3b0, #0f7f76); box-shadow: 0 8px 18px rgba(15,127,118,.25); }
.role-ic.blue { background: linear-gradient(135deg, #60a5fa, #2563eb); box-shadow: 0 8px 18px rgba(37,99,235,.25); }
.role-level { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.role h3 { font-size: 19px; margin-bottom: 8px; }
.role > p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.perm li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 5px 0; }
.perm .icon { width: 15px; height: 15px; color: var(--g-500); stroke-width: 2.6; }
.perm li.off { color: #a3afbd; }
.perm li.off .icon { color: #c5ced8; }
.roles-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; font-size: 15px; color: var(--muted); text-align: center; }
.roles-note .icon { color: var(--g-600); }

/* =========================================================
   Reports
   ========================================================= */
.reports-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.reports-head > div:first-child { max-width: 620px; }
.reports-head .h2 { margin-bottom: 14px; }
.export {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.export p { font-size: 14px; font-weight: 600; color: var(--ink); }
.export p small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.file-badge { display: grid; place-items: center; width: 42px; height: 48px; border-radius: 8px; font-size: 11px; font-weight: 800; color: #fff; position: relative; }
.file-badge.pdf { background: linear-gradient(160deg, #f16b6f, #d6383d); }
.file-badge.xls { background: linear-gradient(160deg, #3fbf7f, #148049); }
.file-badges { display: flex; gap: 6px; }

.reports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.r-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.r-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--g-200); }
.r-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.r-head h4 { font-size: 15.5px; }
.r-head small { font-size: 12.5px; color: var(--muted); }
.r-kpi { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 14px; }
.r-kpi b { font-size: 28px; letter-spacing: -.03em; }
.r-kpi span { font-size: 12.5px; font-weight: 700; color: var(--g-600); }
.r-kpi span.down { color: var(--g-600); }
.r-kpi span.neg { color: var(--red); }
.r-chart { height: 120px; }

.vbars { display: flex; align-items: flex-end; gap: 8px; height: 100%; padding-bottom: 20px; position: relative; }
.vbars div { flex: 1; position: relative; height: 100%; display: flex; align-items: flex-end; }
.vbars i { display: block; width: 100%; border-radius: 6px 6px 3px 3px; background: var(--g-200); transition: background .2s; }
.vbars i.hi { background: linear-gradient(180deg, var(--g-400), var(--g-600)); }
.vbars i.lo { background: #fcd9a5; }
.vbars div:hover i { background: var(--g-500); }
.vbars span { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); }

.hbars li { display: grid; grid-template-columns: 26px 1fr 38px; align-items: center; gap: 10px; margin-bottom: 11px; font-size: 12.5px; }
.hbars li:last-child { margin-bottom: 0; }
.hbars .av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 10px; font-weight: 700; background: var(--g-50); color: var(--g-700); }
.hbars .bar { height: 8px; }
.hbars b { text-align: right; color: var(--ink); }
.hbars .name { display: grid; gap: 4px; }
.hbars .name span { font-weight: 600; color: var(--ink); line-height: 1; }

.donut-wrap { display: flex; align-items: center; gap: 22px; height: 100%; }
.donut {
  width: 108px; height: 108px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: conic-gradient(var(--g-500) 0 72%, var(--amber) 72% 90%, var(--red) 90% 100%);
  display: grid; place-items: center;
}
.donut::before { content: ""; position: absolute; inset: 16px; background: #fff; border-radius: 50%; }
.donut span { position: relative; text-align: center; font-size: 11px; color: var(--muted); line-height: 1.2; }
.donut span b { display: block; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.donut-wrap .legend-list { flex: 1; }
.donut-wrap .legend-list li { font-size: 12.5px; padding: 4px 0; }

.inc-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; border-top: 1px dashed var(--line-2); }
.inc-list li:first-child { border-top: 0; padding-top: 0; }
.inc-list p { flex: 1; font-weight: 600; color: var(--ink); line-height: 1.3; }
.inc-list p small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }

.r-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.r-foot a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--g-600); }
.r-foot a .icon { width: 14px; height: 14px; }

/* =========================================================
   CTA
   ========================================================= */
.cta-wrap { padding: 40px 0 112px; }
.cta {
  position: relative; overflow: hidden;
  border-radius: 32px; padding: 80px 64px; text-align: center;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(127, 211, 162, .35), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(31, 157, 92, .45), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--g-900) 55%, var(--g-700));
  color: #cfe3d8;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 80%);
}
.cta > * { position: relative; }
.cta-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--g-300); margin-bottom: 24px; }
.cta-ic .icon { width: 30px; height: 30px; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; max-width: 820px; margin: 0 auto 18px; }
.cta p { font-size: 18.5px; max-width: 620px; margin: 0 auto; color: #b7d2c4; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-small { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 14px; color: #9dbcad; }
.cta-small span { display: inline-flex; align-items: center; gap: 6px; }
.cta-small .icon { width: 16px; height: 16px; color: var(--g-300); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy-900); color: #93a4b6; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer .logo { color: #fff; }
.footer .logo span b { color: var(--g-300); }
.footer-about p { margin: 18px 0 22px; font-size: 14.5px; max-width: 300px; line-height: 1.7; }
.footer-contact { display: grid; gap: 10px; font-size: 14px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--g-400); }
.footer h5 { margin: 0 0 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--g-300); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px;
}
.footer-bottom .secure { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .secure .icon { width: 16px; height: 16px; color: var(--g-400); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1160px) {
  .nav-links a { padding: 8px 10px; }
  .nav-menu { gap: 16px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  /* nav collapses */
  .nav-burger { display: grid; }
  .nav-menu {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px 24px 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .nav-menu { display: flex; }
  .nav-toggle:checked ~ .nav-burger .icon-menu { display: none; }
  .nav-toggle:checked ~ .nav-burger .icon-close { display: block; }
  .nav-links { flex-direction: column; margin: 0; }
  .nav-links a { display: block; padding: 12px 12px; font-size: 16px; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--g-50); color: var(--g-700); }
  .nav-actions { flex-direction: column; align-items: stretch; padding-top: 12px; border-top: 1px solid var(--line-2); }
  .nav-actions .btn { width: 100%; height: 48px; }

  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-sub, .hero-note { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-checks, .hero-note { justify-content: center; }
  .hero-visual { max-width: 820px; margin: 0 auto; width: 100%; }

  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .problem-grid, .temp-grid, .audit-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem-intro { position: static; }
  .temp-copy { max-width: 640px; }
  .temp-visual { max-width: 760px; }
  .loc-grid { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .report { max-width: 640px; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head p, .lead { font-size: 16.5px; }
  .container { padding: 0 16px; }

  .hero { padding: 40px 0 72px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { padding: 16px 0 0; }

  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-main { padding: 12px; }
  .mock-grid { grid-template-columns: 1fr 1fr; }
  .m-score, .m-tasks { grid-column: span 1; }
  .m-temps, .m-ca, .m-activity, .m-branches { grid-column: 1 / -1; }
  .br-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-url { display: none; }
  .chip.hide-sm { display: none; }
  .float { position: relative; left: auto; right: auto; top: auto; bottom: auto; min-width: 0; animation: none !important; }
  .floats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .float { padding: 12px; }
  .float .spark { display: none; }
  .float-val b { font-size: 20px; }

  .stats { margin-top: -32px; }
  .stat { padding: 18px 16px; gap: 12px; }
  .stat-ic { width: 40px; height: 40px; border-radius: 12px; }
  .stat b { font-size: 15px; }
  .stat span { font-size: 12.5px; }

  .problem-cards, .features-grid, .roles-grid, .reports-grid { grid-template-columns: 1fr; }
  .audit-items { grid-template-columns: 1fr; }

  .panel { padding: 16px; }
  .sensor { grid-template-columns: 32px minmax(0, 1fr) auto; row-gap: 4px; }
  .sensor .spark { display: none; }
  .sensor .val { grid-column: 3; grid-row: 1; }
  .sensor .pill { grid-column: 2 / 4; justify-self: start; grid-row: 2; }
  .alert-toast { position: relative; right: auto; top: auto; width: auto; margin-bottom: 14px; animation: none; }

  .map-card { min-height: 600px; }
  .map-summary { grid-template-columns: repeat(2, 1fr); }
  .map-summary div:nth-child(3) { border-left: 0; }
  .map-summary div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .pin-label { font-size: 11px; padding: 5px 8px; }
  .branch { grid-template-columns: 40px 1fr auto; padding: 14px; gap: 12px; }
  .b-ic { width: 40px; height: 40px; }

  .steps { grid-template-columns: 1fr; }

  .rc-body { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .rc-failed { margin: 0 20px; }
  .rc-head, .rc-foot { padding-left: 20px; padding-right: 20px; }
  .report::before { inset: 20px -8px -12px 12px; }

  .cta-wrap { padding: 8px 0 80px; }
  .cta { padding: 56px 22px; border-radius: 24px; }
  .cta p { font-size: 16.5px; }
  .cta-btns .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 420px) {
  .stats-card { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .mock-grid { grid-template-columns: 1fr; }
  .m-score, .m-tasks { grid-column: 1 / -1; }
  .m-score { flex-direction: row; gap: 14px; justify-content: flex-start; text-align: left; }
  .floats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* =========================================================
   v2 — Creative layer: photography, collage hero, bento, industries
   ========================================================= */
.hand { font-family: "Caveat", cursive; font-weight: 700; }

/* ---------- Hero collage ---------- */
.hero { padding: 64px 0 48px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.hero h1 .hl { position: relative; display: inline-block; }
.hero h1 .underline { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; color: var(--g-300); }

.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.avatars { display: flex; }
.avatars img, .avatars span {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; object-fit: cover;
  box-shadow: var(--shadow-sm); background: var(--g-100);
}
.avatars > * + * { margin-left: -12px; }
.avatars span { display: grid; place-items: center; background: var(--g-600); color: #fff; }
.avatars span .icon { width: 16px; height: 16px; stroke-width: 3; }
.hero-proof p { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.hero-proof p b { display: block; color: var(--ink); font-size: 14.5px; }

.hero-art { position: relative; height: 600px; }
.arch, .arch-shadow {
  position: absolute; width: 360px; height: 520px;
  border-radius: 190px 190px 30px 30px;
}
.arch-shadow { right: 0; top: 40px; background: linear-gradient(160deg, var(--g-300), var(--g-700)); }
.arch { right: 36px; top: 0; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); background: var(--g-100); }
.arch img, .orb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.orb {
  position: absolute; left: 24px; top: 36px; width: 140px; height: 140px; border-radius: 50%;
  overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); background: var(--g-100);
}
.dots-deco {
  position: absolute; left: 70px; bottom: 150px; width: 130px; height: 96px; opacity: .8;
  background-image: radial-gradient(var(--g-300) 2px, transparent 2.6px); background-size: 16px 16px;
}
.spin-badge { position: absolute; left: 150px; top: 330px; width: 112px; height: 112px; z-index: 3; filter: drop-shadow(0 10px 20px rgba(11,23,38,.3)); }
.spin-badge text { font: 700 9.6px var(--font); fill: #fff; letter-spacing: 1px; }
.spin { transform-origin: 60px 60px; }

.hc {
  position: absolute; z-index: 4; background: rgba(255,255,255,.97);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px 14px;
}
.hc small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.hc-score { left: 0; top: 212px; display: flex; align-items: center; gap: 12px; padding-right: 18px; }
.hc-score b { display: block; font-size: 16px; color: var(--ink); }
.hc-score .up { display: block; font-size: 11.5px; font-weight: 700; color: var(--g-600); }
.hc-temp1 { right: -24px; top: 104px; width: 236px; }
.hc-temp1 .float-val b { font-size: 24px; }
.hc-temp2 { right: 6px; bottom: 40px; display: flex; align-items: center; gap: 10px; }
.hc-temp2 b { display: block; font-size: 18px; letter-spacing: -.02em; }
.hc-temp2 .t-ic { width: 34px; height: 34px; border-radius: 10px; }
.hc-temp2 .t-ic .icon { width: 17px; height: 17px; }
.hc-task { left: 8px; bottom: 0; width: 262px; }
.hc-task-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.hc-task-head b { font-size: 13.5px; }
.hc-task-head span { font-size: 12px; font-weight: 800; color: var(--g-600); background: var(--g-50); padding: 2px 8px; border-radius: 999px; }
.hc-task li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12.5px; font-weight: 600; color: var(--ink); border-top: 1px dashed var(--line-2); }
.hc-task li i, .ml-row i, .ps-list li i {
  display: grid; place-items: center; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #cbd5e1; color: #fff;
}
.hc-task li.done i, .ml-row.done i, .ps-list li.done i { background: var(--g-500); border-color: var(--g-500); }
.hc-task li.done, .ps-list li.done { color: var(--muted); text-decoration: line-through; text-decoration-color: #cbd5e1; }
.hc-task .icon, .ml-row i .icon, .ps-list i .icon { width: 11px; height: 11px; stroke-width: 3.2; }

@media (prefers-reduced-motion: no-preference) {
  .hc-score { animation: floaty 6s ease-in-out infinite; }
  .hc-temp1 { animation: floaty 7s ease-in-out -2s infinite; }
  .hc-temp2 { animation: floaty 6.5s ease-in-out -4s infinite; }
  .hc-task { animation: floaty 8s ease-in-out -1s infinite; }
  .spin { animation: spin 22s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* ---------- Dashboard showcase ---------- */
.showcase { position: relative; padding: 8px 0 0; }
.showcase::before {
  content: ""; position: absolute; left: 0; right: 0; top: 30%; bottom: -60px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--g-50) 40%, transparent);
}
.showcase-label { display: flex; justify-content: center; align-items: flex-start; gap: 6px; color: var(--g-700); margin-bottom: 10px; }
.showcase-label .hand { font-size: 28px; transform: rotate(-2deg); }
.hand-arrow { width: 64px; height: 48px; margin-top: 12px; }
.showcase-frame {
  max-width: 1080px; margin: 0 auto; padding: 14px; border-radius: 30px;
  background: linear-gradient(135deg, rgba(127,211,162,.45), rgba(255,255,255,.6) 45%, rgba(127,211,162,.3));
  border: 1px solid var(--g-100);
  box-shadow: 0 40px 100px rgba(15, 81, 50, .18);
  transform: perspective(2200px) rotateX(9deg);
  transform-origin: 50% 0;
  transition: transform .8s var(--ease);
}
.showcase-frame:hover { transform: perspective(2200px) rotateX(0deg); }
.showcase-frame .mock { font-size: 12.5px; }
.stats { margin-top: 56px; }

/* ---------- Marquee ---------- */
.marquee { padding: 64px 0 0; text-align: center; }
.mq-title { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.mq {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq-track { display: flex; align-items: center; width: max-content; }
.mq-track > * { margin-right: 30px; }
.mq-item { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; color: var(--ink-2); white-space: nowrap; letter-spacing: -.01em; }
.mq-item .icon { width: 24px; height: 24px; color: var(--g-500); }
.mq-sep { color: var(--g-300); font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .mq-track { animation: mq 45s linear infinite; }
  .mq:hover .mq-track { animation-play-state: paused; }
  @keyframes mq { to { transform: translateX(-50%); } }
}

/* ---------- Problem photo ---------- */
.problem-intro { position: static; }
.problem-photo { position: relative; margin-top: 8px; }
.problem-photo > img { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); background: var(--navy-800); }
.paper-note {
  position: absolute; right: -14px; top: -26px; width: 172px; padding: 18px 14px 12px;
  font-family: "Caveat", cursive; font-weight: 700; font-size: 21px; line-height: 1.15; color: #4a3b12;
  background: linear-gradient(180deg, #fff6b8, #ffef9a); border-radius: 3px;
  box-shadow: 0 14px 24px rgba(0,0,0,.16); transform: rotate(5deg);
  transition: transform .3s var(--ease);
}
.paper-note:hover { transform: rotate(0) scale(1.04); }
.paper-note s { text-decoration-color: #c93035; text-decoration-thickness: 2px; }
.paper-note small { display: block; font-size: 16px; color: #8a7a40; margin-top: 4px; }
.pin-tack {
  position: absolute; top: -7px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8f87, #d6383d); box-shadow: 0 3px 5px rgba(0,0,0,.3);
}
.photo-tag {
  position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px;
  width: max-content; max-width: calc(100% - 28px);
  padding: 9px 13px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: #fff;
  background: rgba(11, 23, 38, .75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.photo-tag .icon { width: 16px; height: 16px; color: #ff9fa2; }

/* ---------- Features bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; grid-auto-flow: dense; }
.b-wide { grid-column: span 2; }
.b-check { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; background: linear-gradient(135deg, #fff 30%, var(--g-50)); }
.b-text { position: relative; display: flex; flex-direction: column; }
.b-text p { flex: none; }
.mini-list {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow); font-size: 12.5px; transform: rotate(2.5deg); transition: transform .4s var(--ease);
}
.f-card:hover .mini-list { transform: rotate(0) translateY(-2px); }
.ml-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ml-head b { font-size: 13.5px; }
.ml-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px dashed var(--line-2); font-weight: 600; color: var(--ink); }
.ml-row.done { color: var(--muted); }
.ml-row em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--g-600); }
.icon.cam { margin-left: auto; width: 15px; height: 15px; color: var(--muted); }
.ml-sign { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line-2); color: var(--muted); }
.ml-sign .icon { width: 15px; height: 15px; }
.sig { font-family: "Caveat", cursive; font-size: 24px; font-weight: 700; color: var(--navy-700); line-height: 1; }

.b-temp {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: var(--g-50); border: 1px solid var(--g-100);
}
.b-temp b { font-size: 22px; letter-spacing: -.03em; }
.b-temp svg { width: 100px; height: 28px; }

.b-report .b-bars { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 96px; margin-top: 18px; }
.b-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--g-100); transition: background .3s; }
.b-bars i:last-child { background: linear-gradient(180deg, var(--g-400), var(--g-600)); }
.b-report:hover .b-bars i { background: var(--g-200); }
.b-report:hover .b-bars i:last-child { background: linear-gradient(180deg, var(--g-400), var(--g-600)); }

.b-photo { padding: 0; min-height: 360px; border: 0; color: #fff; background: var(--navy-800); }
.b-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.b-photo:hover > img { transform: scale(1.06); }
.b-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,23,38,.0) 0%, rgba(11,23,38,.45) 40%, rgba(7,36,24,.94) 100%);
}
.b-photo::before { display: none; }
.b-photo-in { position: relative; z-index: 2; margin-top: auto; padding: 26px; display: flex; flex-direction: column; }
.b-photo h3 { color: #fff; font-size: 20px; }
.b-photo p { color: #d3e3da; flex: none; max-width: 420px; }
.b-photo .f-ic { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(6px); }
.b-photo:hover .f-ic { background: var(--g-500); border-color: var(--g-500); }
.b-photo .f-more { color: var(--g-300); }
.cert {
  display: flex; align-items: center; gap: 10px; max-width: 340px; margin-top: 14px; padding: 10px 12px;
  border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.cert > .icon { color: var(--g-300); width: 22px; height: 22px; }
.cert b { display: block; font-size: 13.5px; }
.cert small { font-size: 12px; color: #b9cfc3; }
.cert span { margin-left: auto; font-size: 18px; font-weight: 800; }
.b-branches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.b-branches span {
  padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px);
}
.b-branches b { color: var(--g-300); margin-left: 2px; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 20px; }
.ind {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy-800);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease);
}
.ind:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ind.tall { grid-row: span 2; }
.ind.wide { grid-column: span 2; }
.ind > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ind::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,23,38,0) 25%, rgba(11,23,38,.88) 100%);
}
.ind::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: linear-gradient(180deg, rgba(20,128,73,.1) 0%, rgba(11,59,37,.94) 100%);
}
.ind:hover > img { transform: scale(1.07); }
.ind:hover::before { opacity: 1; }
.ind-tag {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 8px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.92); color: var(--ink);
}
.ind-tag .icon { width: 15px; height: 15px; color: var(--g-600); }
.ind-body { padding: 22px 74px 22px 22px; }
.ind h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.ind.tall h3 { font-size: 28px; }
.ind p { font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.5; }
.ind-go {
  position: absolute; right: 18px; bottom: 22px; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--g-700);
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.ind-go .icon { width: 18px; height: 18px; }
.ind:hover .ind-go { transform: rotate(-45deg); background: var(--g-500); color: #fff; }

/* ---------- Workflow: timeline + phone ---------- */
.wf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.timeline { position: relative; list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 6px; }
.timeline::before {
  content: ""; position: absolute; left: 43px; top: 40px; bottom: 40px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--g-300) 0 6px, transparent 6px 12px);
}
.timeline li { position: relative; display: flex; gap: 20px; padding: 16px; border-radius: 20px; transition: background .25s, box-shadow .25s; }
.timeline li:hover { background: #fff; box-shadow: var(--shadow); }
.tl-ic {
  position: relative; z-index: 1; flex-shrink: 0; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 18px; background: #fff; border: 1px solid var(--g-100);
  color: var(--g-600); box-shadow: 0 8px 20px rgba(20,128,73,.12); transition: background .25s, color .25s, transform .3s var(--ease);
}
.tl-ic .icon { width: 24px; height: 24px; }
.timeline li:hover .tl-ic { background: var(--g-600); color: #fff; transform: rotate(-6deg); }
.tl-num { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--g-500); }
.timeline h3 { font-size: 20px; margin: 2px 0 4px; }
.timeline p { font-size: 15px; color: var(--muted); }
.timeline small {
  display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--g-700); background: var(--g-50); border: 1px solid var(--g-100);
}

.wf-art { position: relative; height: 640px; }
.wf-photo { position: absolute; right: 0; top: 30px; width: 72%; height: 570px; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--g-100); }
.wf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-blob { position: absolute; left: -30px; bottom: -10px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(69,185,122,.35), transparent 70%); }
.phone {
  position: absolute; left: 0; top: 40px; z-index: 2; width: 270px; height: 560px; padding: 10px;
  border-radius: 44px; background: #0b1726; box-shadow: 0 40px 80px rgba(11,23,38,.35), inset 0 0 0 2px #26364b;
}
.phone-notch { position: absolute; top: 10px; left: 50%; z-index: 3; width: 92px; height: 22px; margin-left: -46px; border-radius: 0 0 14px 14px; background: #0b1726; }
.screen { height: 100%; display: flex; flex-direction: column; gap: 9px; padding: 12px; border-radius: 34px; overflow: hidden; background: #f4f8f6; font-size: 12px; }
.ps-status { display: flex; justify-content: space-between; padding: 0 10px; font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.ps-top { padding: 14px; border-radius: 18px; color: #cfe8db; background: linear-gradient(135deg, var(--g-600), var(--g-800)); }
.ps-top small { display: block; font-size: 10.5px; opacity: .9; }
.ps-top b { display: block; margin: 2px 0 10px; font-size: 17px; color: #fff; letter-spacing: -.01em; }
.ps-prog { height: 6px; border-radius: 9px; background: rgba(255,255,255,.22); }
.ps-prog i { display: block; height: 100%; border-radius: 9px; background: #7fd3a2; }
.ps-top span { display: block; margin-top: 6px; font-size: 10.5px; }
.ps-list { display: grid; gap: 6px; }
.ps-list li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 600; color: var(--ink); }
.ps-temp { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--g-200); }
.ps-temp .t-ic { width: 28px; height: 28px; }
.ps-temp small { display: block; font-size: 10.5px; color: var(--muted); }
.ps-temp b { font-size: 15px; color: var(--ink); }
.ps-temp .pill { margin-left: auto; font-size: 10px; }
.ps-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 13px; background: var(--g-600); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 8px 16px rgba(20,128,73,.3); }
.ps-btn .icon { width: 16px; height: 16px; }
.wf-toast {
  position: absolute; right: 22px; bottom: 50px; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg);
}
.wf-toast .act-dot { width: 30px; height: 30px; }
.wf-toast .act-dot .icon { width: 15px; height: 15px; }
.wf-toast b { display: block; font-size: 13.5px; }
.wf-toast small { font-size: 11.5px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .wf-toast { animation: floaty 6s ease-in-out infinite; }
}

/* ---------- CTA photo ---------- */
.cta {
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(127, 211, 162, .35), transparent 60%),
    linear-gradient(120deg, rgba(11,23,38,.95) 0%, rgba(11,59,37,.88) 55%, rgba(17,102,60,.82) 100%),
    var(--cta-img, none) center / cover no-repeat,
    var(--navy-900);
}

/* ---------- v2 responsive ---------- */
@media (max-width: 1160px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch, .arch-shadow { width: 320px; height: 480px; }
  .hc-temp1 { right: -10px; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; width: 100%; margin: 0 auto; }
  .hero-proof { justify-content: center; text-align: left; }
  .showcase-frame { transform: none; }
  .wf-grid { grid-template-columns: 1fr; gap: 40px; }
  .wf-art { max-width: 600px; width: 100%; margin: 0 auto; }
}
@media (max-width: 760px) {
  .hero { padding-bottom: 32px; }
  .hero-art { height: 500px; }
  .arch, .arch-shadow { width: 62%; height: 420px; border-radius: 160px 160px 26px 26px; }
  .arch { right: 5%; }
  .arch-shadow { top: 28px; }
  .orb { width: 96px; height: 96px; left: 0; top: 0; border-width: 4px; }
  .dots-deco, .hc-temp2 { display: none; }
  .hc-score { top: 118px; padding: 10px 14px 10px 10px; }
  .hc-temp1 { top: 236px; right: 0; width: 196px; padding: 10px 12px; }
  .hc-temp1 .float-head { margin-bottom: 6px; }
  .hc-temp1 .float-head small { display: none; }
  .hc-temp1 .float-val b { font-size: 20px; }
  .spin-badge { left: 4%; top: 236px; width: 88px; height: 88px; }
  .hc-task { left: 0; width: 236px; }
  .showcase-label .hand { font-size: 23px; }
  .hand-arrow { display: none; }
  .showcase-frame { padding: 8px; border-radius: 22px; }
  .stats { margin-top: 32px; }
  .marquee { padding-top: 40px; }
  .mq-item { font-size: 17px; }
  .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .b-check { grid-template-columns: 1fr; }
  .mini-list { transform: none; }
  .b-photo { min-height: 380px; }
  .paper-note { right: -4px; top: -30px; width: 150px; font-size: 19px; }
  .problem-photo > img { height: 240px; }
  .ind-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .ind.tall { grid-row: auto; }
  .ind.wide { grid-column: auto; }
  .ind.tall h3 { font-size: 22px; }
  .timeline::before { left: 39px; }
  .timeline li { padding: 14px 12px; gap: 16px; }
  .wf-art { height: 600px; }
  .wf-photo { width: 64%; height: 520px; }
  .phone { width: 250px; height: 540px; top: 30px; }
  .wf-toast { right: 0; bottom: 20px; }
}

/* =========================================================
   ABOUT US
   ========================================================= */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.about-media { position: relative; padding: 0 48px 48px 0; }
.about-img-main { display: block; width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--navy-800); }
.about-img-sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 6px solid var(--bg-soft); box-shadow: var(--shadow-lg); background: var(--navy-800); }
.about-badge { position: absolute; top: 28px; left: -20px; display: flex; align-items: center; gap: 12px; max-width: 240px; padding: 14px 18px; border-radius: var(--radius); background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); }
.about-badge b { font-size: 28px; font-weight: 800; color: var(--g-300); letter-spacing: -.02em; }
.about-badge span { font-size: 13px; line-height: 1.35; color: #c9d6e2; }

.about-p { margin-top: 16px; color: var(--ink-2); }
.about-points { display: grid; gap: 18px; margin-top: 32px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.about-points b { display: block; font-size: 16px; }
.about-points small { font-size: 14.5px; color: var(--muted); }
.ab-ic, .v-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--g-100); color: var(--g-700); }

.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 80px 0 32px; border-radius: var(--radius-lg); background: var(--navy-900); overflow: hidden; }
.about-stats div { padding: 28px 24px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.about-stats div:first-child { border-left: 0; }
.about-stats b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.about-stats span { font-size: 14px; color: #a9c6b7; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value h3 { font-size: 17px; margin: 16px 0 6px; }
.value p { font-size: 14.5px; color: var(--muted); }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 560px; margin: 0 auto; width: 100%; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .about-media { padding: 0 24px 32px 0; }
  .about-img-main { height: 380px; }
  .about-badge { left: 12px; top: 12px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .about-stats div:nth-child(3) { border-left: 0; }
  .about-stats div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .values-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   INNER PAGES (About, Features)
   ========================================================= */
.page-hero { position: relative; padding: 72px 0 88px; text-align: center; background: radial-gradient(ellipse at 50% 0%, var(--g-50), transparent 70%), var(--bg); border-bottom: 1px solid var(--line-2); }
.page-hero .container { max-width: 860px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin: 16px 0 18px; letter-spacing: -.03em; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.page-hero .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.page-hero .hero-ctas { justify-content: center; margin-bottom: 0; }
.crumbs { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--g-700); }
.crumbs .icon { width: 14px; height: 14px; }
.crumbs span { color: var(--ink); font-weight: 600; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 40px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mv-card h3 { font-size: 24px; margin: 20px 0 10px; }
.mv-card p { color: var(--muted); font-size: 16.5px; }
.mv-card.dark { background: var(--navy-900); border-color: transparent; }
.mv-card.dark h3 { color: #fff; }
.mv-card.dark p { color: #a9c6b7; }
.mv-card.dark .v-ic { background: rgba(255,255,255,.1); color: var(--g-300); }

.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--g-200); }
.journey li { position: relative; padding-top: 44px; }
.journey li::before { content: ""; position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--g-500); box-shadow: 0 0 0 5px var(--g-100); }
.journey b { font-size: 14px; font-weight: 700; color: var(--g-600); }
.journey h3 { font-size: 19px; margin: 6px 0 8px; }
.journey p { font-size: 14.5px; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.tm-avatar { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; font-size: 24px; font-weight: 800; background: var(--g-100); color: var(--g-700); }
.tm-avatar.teal { background: #d7f4f1; color: #0f766e; }
.tm-avatar.navy { background: var(--navy-900); color: var(--g-300); }
.tm-avatar.blue { background: var(--blue-bg); color: var(--blue); }
.member h3 { font-size: 18px; }
.m-role { display: block; margin: 4px 0 10px; font-size: 13.5px; font-weight: 600; color: var(--g-600); }
.member p { font-size: 14.5px; color: var(--muted); }

.more-link { margin-top: 40px; text-align: center; }

.feat-rows { display: grid; gap: 112px; }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; scroll-margin-top: 100px; }
.feat-row.rev .feat-media { order: 2; }
.feat-media img { display: block; width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--navy-800); }
.feat-copy .f-ic { margin-bottom: 18px; }
.feat-copy .eyebrow { display: flex; }
.h3x { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 12px 0 14px; }
.feat-list { display: grid; gap: 12px; margin-top: 26px; }
.feat-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.feat-list .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--g-100); color: var(--g-700); stroke-width: 3; }

.values-grid.three { grid-template-columns: repeat(3, 1fr); }

.cmp-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 540px; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line-2); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { font-size: 14px; color: var(--muted); background: var(--bg-soft); }
.cmp thead th.brand { color: var(--g-700); background: var(--g-50); }
.cmp tbody th { font-weight: 600; }
.cmp td .icon { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }
.cmp td.bad { color: var(--muted); }
.cmp td.bad .icon { color: var(--red); }
.cmp td.good { background: #f7fcf9; font-weight: 600; }
.cmp td.good .icon { color: var(--g-600); }

@media (max-width: 1024px) {
  .team-grid, .journey { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .journey::before { display: none; }
  .feat-row { grid-template-columns: 1fr; gap: 36px; }
  .feat-row.rev .feat-media { order: 0; }
  .feat-rows { gap: 80px; }
  .values-grid.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .page-hero { padding: 48px 0 64px; }
  .mv-grid, .team-grid, .journey, .values-grid.three { grid-template-columns: 1fr; }
  .mv-card { padding: 28px; }
  .feat-media img { height: 280px; }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.ct-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.ct-info .h3x { margin-top: 0; }
.ct-cards { display: grid; gap: 14px; margin-top: 28px; }
.ct-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.ct-card .v-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--g-100); color: var(--g-700); }
.ct-card h3 { font-size: 16px; margin-bottom: 4px; }
.ct-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 6px; }
.ct-card a { font-size: 15px; font-weight: 600; color: var(--g-700); }
.ct-card a:hover { text-decoration: underline; }
.ct-hours { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.ct-hours .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--g-600); }

.ct-form { display: grid; gap: 18px; padding: 36px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.ct-form h2 { font-size: 24px; font-weight: 800; }
.ct-sub { margin-top: -10px; font-size: 15px; color: var(--muted); }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: grid; gap: 6px; }
.ct-field span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg-soft); font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.ct-field textarea { resize: vertical; min-height: 120px; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: none; border-color: var(--g-400); background: #fff; box-shadow: 0 0 0 4px var(--g-100); }
.was-validated .ct-field :invalid { border-color: var(--red); background: var(--red-bg); }
.ct-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.ct-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--g-600); }
.was-validated .ct-check input:invalid + span { color: var(--red); }
.ct-form .btn { justify-self: start; }
.ct-status { font-size: 14px; font-weight: 600; }
.ct-status:empty { display: none; }
.ct-status.ok { color: var(--g-700); }
.ct-status.err { color: var(--red); }

.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; color: var(--g-600); transition: transform .25s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); }

@media (max-width: 1024px) {
  .ct-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .ct-form { padding: 24px; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-form .btn { justify-self: stretch; }
}

/* =========================================================
   AUTH PAGES (Login, Sign up, Forgot / Reset password)
   ========================================================= */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-main { display: flex; flex-direction: column; padding: 28px 48px 32px; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.auth-back:hover { color: var(--g-700); }
.auth-back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.auth-box { width: 100%; max-width: 440px; margin: auto; padding: 48px 0; }
.auth-box h1 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.auth-box p.lead { font-size: 16.5px; margin-bottom: 30px; }
.auth-ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px; background: var(--g-100); color: var(--g-700); }
.auth-ic .icon { width: 26px; height: 26px; }
.auth-form { display: grid; gap: 18px; }
.auth-form .ct-field input, .auth-form .ct-field select { background: #fff; }
.auth-form .btn { width: 100%; }
.f-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.f-label a { font-size: 13.5px; font-weight: 600; color: var(--g-700); }
.f-label a:hover { text-decoration: underline; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 64px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--g-700); cursor: pointer; }
.pw-toggle:hover { background: var(--g-50); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 4px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--line); transition: background .2s; }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: var(--red); }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: var(--amber); }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--g-400); }
.pw-meter[data-score="4"] i { background: var(--g-600); }
.pw-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.pw-rules li { display: flex; align-items: center; gap: 6px; }
.pw-rules .icon { width: 14px; height: 14px; stroke-width: 3; color: #c5ced8; }
.pw-rules li.ok { color: var(--g-700); }
.pw-rules li.ok .icon { color: var(--g-600); }
.auth-alt { margin-top: 26px; text-align: center; font-size: 15px; color: var(--muted); }
.auth-alt a { font-weight: 700; color: var(--g-700); }
.auth-alt a:hover { text-decoration: underline; }
.auth-done { text-align: center; }
.auth-done .auth-ic { margin: 0 auto 22px; }
.auth-done p { color: var(--muted); margin-bottom: 26px; }
.auth-done[hidden], .auth-form[hidden], .auth-intro[hidden] { display: none; }
.auth-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.auth-foot nav { display: flex; gap: 18px; }
.auth-foot a:hover { color: var(--g-700); }

.auth-side {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  padding: 56px; color: #cfe3d8;
  background:
    linear-gradient(180deg, rgba(11, 23, 38, .25), rgba(11, 23, 38, .94) 68%),
    var(--auth-img, none) center / cover no-repeat,
    var(--navy-900);
}
.auth-side h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; max-width: 480px; }
.auth-side p { color: #b7d2c4; max-width: 460px; }
.auth-side .hand { font-size: 26px; color: var(--g-300); }
.auth-list { display: grid; gap: 12px; }
.auth-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #e3efe8; }
.auth-list .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(127, 211, 162, .18); color: var(--g-300); stroke-width: 3; }
.auth-quote { padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.auth-quote p { color: #e3efe8; font-size: 15.5px; }
.auth-quote footer { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13.5px; }
.auth-quote footer b { display: block; color: #fff; }
.auth-quote .avatar { width: 36px; height: 36px; }

@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 760px) {
  .auth-main { padding: 20px 16px 24px; }
  .auth-box { padding: 36px 0; }
  .pw-rules { grid-template-columns: 1fr; }
}

/* =========================================================
   PRICING
   ========================================================= */
.bill-toggle { display: inline-flex; padding: 4px; margin-top: 28px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.bill-toggle button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.bill-toggle button[aria-pressed="true"] { background: var(--g-600); color: #fff; }
.bill-toggle .save { font-size: 11.5px; padding: 2px 7px; border-radius: 99px; background: var(--g-100); color: var(--g-700); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.plan.pop { border: 2px solid var(--g-500); box-shadow: var(--shadow-lg); }
.plan-tag { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 99px; background: var(--g-600); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.plan h3 { font-size: 20px; }
.plan > p { margin-top: 6px; font-size: 14.5px; color: var(--muted); min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.price b { font-size: 46px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.price span { font-size: 14px; color: var(--muted); }
.price-note { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan .btn { margin: 24px 0 26px; }
.plan .feat-list { margin-top: 0; gap: 10px; font-size: 14.5px; }
.plan-sep { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.plans-note { margin-top: 32px; text-align: center; color: var(--muted); font-size: 15px; }
.plans-note a { color: var(--g-700); font-weight: 600; }
.cmp td.mid, .cmp th.c { text-align: center; }
.cmp td.mid .icon { margin: 0; color: var(--g-600); }
.cmp td.mid .icon.no { color: #c5ced8; }
@media (max-width: 1024px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan > p { min-height: 0; }
}

/* =========================================================
   HELP CENTER / RESOURCES
   ========================================================= */
.help-search { position: relative; max-width: 620px; margin: 30px auto 0; }
.help-search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.help-search input { width: 100%; height: 58px; padding: 0 20px 0 52px; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); font: inherit; font-size: 16px; color: var(--ink); }
.help-search input:focus { outline: none; border-color: var(--g-400); box-shadow: 0 0 0 4px var(--g-100), var(--shadow); }
.help-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.help-cat { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.help-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--g-200); }
.help-cat h3 { font-size: 17px; margin: 16px 0 6px; }
.help-cat p { font-size: 14.5px; color: var(--muted); flex: 1; }
.help-cat small { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--g-700); }
.articles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 980px; margin: 0 auto; }
.article { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.article:hover { border-color: var(--g-200); box-shadow: var(--shadow-sm); }
.article[hidden] { display: none; }
.article summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; }
.article summary::-webkit-details-marker { display: none; }
.article summary > .icon { flex: none; width: 20px; height: 20px; color: var(--g-600); }
.article b { display: block; font-size: 15px; color: var(--ink); }
.article small { font-size: 13px; color: var(--muted); }
.article .icon-chev { flex: none; margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease); }
.article[open] .icon-chev { transform: rotate(180deg); }
.article p { padding: 0 20px 18px 54px; font-size: 14.5px; color: var(--ink-2); }
.no-results { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 24px; }
.no-results[hidden] { display: none; }
.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doc-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.doc-card h3 { font-size: 16px; margin: 14px 0 10px; }
.doc-card ul { display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.doc-card li { display: flex; gap: 8px; }
.doc-card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--g-400); }
.support-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding: 32px 36px; border-radius: var(--radius-lg); background: var(--navy-900); color: #b7d2c4; }
.support-band h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.support-band .cta-btns { margin: 0; }

.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.res-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.res-card img { display: block; width: 100%; height: 180px; object-fit: cover; background: var(--navy-800); }
.res-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.res-body .pill { align-self: flex-start; }
.res-body h3 { font-size: 17px; margin: 12px 0 6px; }
.res-body p { font-size: 14.5px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.table-note { max-width: 900px; margin: 16px auto 0; font-size: 13.5px; color: var(--muted); text-align: center; }

@media (max-width: 1024px) {
  .help-cats, .res-grid, .docs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .help-cats, .res-grid, .docs-grid, .articles { grid-template-columns: 1fr; }
  .support-band { padding: 24px; }
  .article p { padding-left: 20px; }
}

/* =========================================================
   LEGAL (Privacy, Terms)
   ========================================================= */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1040px; margin: 0 auto; }
.legal-toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: 14px; }
.legal-toc b { margin-bottom: 8px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal-toc a { padding: 6px 10px; border-radius: 8px; color: var(--ink-2); }
.legal-toc a:hover { background: var(--g-50); color: var(--g-700); }
.prose { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 22px; font-weight: 800; margin: 44px 0 12px; scroll-margin-top: 100px; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.prose a { color: var(--g-700); font-weight: 600; }
.prose .updated { display: inline-block; margin-bottom: 8px; padding: 6px 12px; border-radius: 99px; background: var(--g-50); color: var(--g-700); font-size: 13.5px; font-weight: 600; }
@media (max-width: 1024px) {
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; }
  .legal-toc b { width: 100%; }
}

/* =========================================================
   404
   ========================================================= */
.nf { padding: 120px 0; text-align: center; }
.nf-code { font-size: clamp(96px, 18vw, 180px); font-weight: 800; line-height: 1; letter-spacing: -.06em; background: linear-gradient(135deg, var(--g-400), var(--g-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 12px 0; }
.nf .lead { max-width: 520px; margin: 0 auto; }
.nf .hero-ctas { justify-content: center; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 15px; }
.nf-links a { color: var(--g-700); font-weight: 600; }
.nf-links a:hover { text-decoration: underline; }

/* =========================================================
   v3 — Home: colorful animated layer (scoped to body.home)
   ========================================================= */
.home {
  --c-green: #1f9d5c;
  --c-teal: #0ea5a4;
  --c-blue: #3b82f6;
  --c-violet: #8b5cf6;
  --c-pink: #ec4899;
  --c-orange: #f97316;
  --c-amber: #f59e0b;
  --rainbow: linear-gradient(90deg, var(--c-green), var(--c-teal), var(--c-blue), var(--c-violet), var(--c-pink), var(--c-orange), var(--c-amber), var(--c-green));
}

/* Gradient text that slowly shifts hue */
.home .grad-text,
.home .hero h1 .hl {
  background: linear-gradient(90deg, var(--c-green), var(--c-teal), var(--c-blue), var(--c-violet), var(--c-green));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home .hero h1 .underline { color: var(--c-amber); }

/* Scroll progress bar (CSS scroll timeline, progressive) */
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .home .scroll-progress {
    display: block; position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 200;
    background: var(--rainbow); transform-origin: 0 50%; transform: scaleX(0);
    animation: progress linear both; animation-timeline: scroll(root);
  }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* ---------- Hero: aurora blobs + floating confetti ---------- */
.home .hero { isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.aurora i:nth-child(1) { width: 460px; height: 460px; left: -120px; top: -140px; background: #7fd3a2; }
.aurora i:nth-child(2) { width: 380px; height: 380px; right: 4%; top: -80px; background: #93c5fd; opacity: .4; }
.aurora i:nth-child(3) { width: 340px; height: 340px; right: 30%; bottom: -160px; background: #fbcfe8; opacity: .5; }
.aurora i:nth-child(4) { width: 300px; height: 300px; left: 32%; top: 18%; background: #fde68a; opacity: .35; }

.confetti { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.confetti i { position: absolute; width: 12px; height: 12px; border-radius: 4px; opacity: .75; }
.confetti i:nth-child(1) { left: 6%;  top: 18%; background: var(--c-pink); }
.confetti i:nth-child(2) { left: 44%; top: 8%;  background: var(--c-amber); border-radius: 50%; }
.confetti i:nth-child(3) { left: 12%; top: 82%; background: var(--c-blue); }
.confetti i:nth-child(4) { left: 50%; top: 88%; background: var(--c-violet); border-radius: 50%; width: 9px; height: 9px; }
.confetti i:nth-child(5) { right: 4%; top: 12%; background: var(--c-teal); border-radius: 50%; }
.confetti i:nth-child(6) { right: 2%; top: 70%; background: var(--c-orange); }
.confetti i:nth-child(7) { left: 38%; top: 52%; background: var(--c-green); width: 8px; height: 8px; border-radius: 50%; }
.confetti i:nth-child(8) { left: 3%;  top: 52%; background: var(--c-amber); width: 10px; height: 10px; }

/* Badge with a flowing rainbow ring */
.home .hero .badge {
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--rainbow) border-box;
  background-size: 100% 100%, 200% 100%;
}
.home .badge-dot { background: linear-gradient(135deg, var(--c-green), var(--c-teal)); color: #fff; }

/* Primary buttons: moving gradient + shine sweep */
.home .btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(110deg, var(--c-green), var(--c-teal), var(--c-blue), var(--c-green));
  background-size: 300% 100%;
}
.home .btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
}
.home .btn-outline:hover { border-color: var(--c-violet); color: var(--c-violet); }

/* ---------- Stats: each a different color ---------- */
.home .stats-card {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--rainbow) border-box;
  background-size: 100% 100%, 200% 100%;
}
.home .stat { transition: transform .3s var(--ease); }
.home .stat:hover { transform: translateY(-3px); }
.home .stat-ic { color: #fff; box-shadow: 0 8px 18px -6px var(--sc); background: linear-gradient(135deg, var(--sc), var(--sc2)); transition: transform .4s var(--ease); }
.home .stat:hover .stat-ic { transform: rotate(-10deg) scale(1.1); }
.home .stat:nth-child(1) { --sc: var(--c-green);  --sc2: var(--c-teal); }
.home .stat:nth-child(2) { --sc: var(--c-blue);   --sc2: var(--c-violet); }
.home .stat:nth-child(3) { --sc: var(--c-orange); --sc2: var(--c-pink); }
.home .stat:nth-child(4) { --sc: var(--c-violet); --sc2: var(--c-pink); }

/* ---------- Marquee: colorful chips ---------- */
.home .mq-item { padding: 10px 18px; border-radius: 999px; font-size: 18px; background: color-mix(in srgb, var(--mc) 10%, #fff); border: 1px solid color-mix(in srgb, var(--mc) 25%, #fff); color: var(--ink); }
.home .mq-item .icon { color: var(--mc); }
.home .mq-sep { display: none; }
.home .mq-track > * { margin-right: 14px; }
.home .mq-item:nth-of-type(5n+1) { --mc: var(--c-green); }
.home .mq-item:nth-of-type(5n+2) { --mc: var(--c-orange); }
.home .mq-item:nth-of-type(5n+3) { --mc: var(--c-blue); }
.home .mq-item:nth-of-type(5n+4) { --mc: var(--c-pink); }
.home .mq-item:nth-of-type(5n+5) { --mc: var(--c-violet); }

/* ---------- Feature bento: a color per card ---------- */
.home .bento .f-card { --fc: var(--c-green); }
.home .bento .f-card:nth-child(2) { --fc: var(--c-blue); }
.home .bento .f-card:nth-child(3) { --fc: var(--c-violet); }
.home .bento .f-card:nth-child(4) { --fc: var(--c-orange); }
.home .bento .f-card:nth-child(5) { --fc: var(--c-pink); }
.home .bento .f-card:nth-child(6) { --fc: var(--c-amber); }
.home .bento .f-card:nth-child(7) { --fc: var(--c-teal); }
.home .bento .f-card:nth-child(8) { --fc: var(--c-blue); }
.home .bento .f-ic { color: var(--fc); background: color-mix(in srgb, var(--fc) 12%, #fff); border-color: color-mix(in srgb, var(--fc) 25%, #fff); transition: background .25s, color .25s, transform .4s var(--ease); }
.home .bento .f-card:hover .f-ic { color: #fff; background: var(--fc); border-color: var(--fc); transform: rotate(-8deg) scale(1.08); }
.home .bento .f-card:not(.b-photo)::before { background: radial-gradient(420px 180px at 0% 0%, color-mix(in srgb, var(--fc) 18%, transparent), transparent 70%); }
.home .bento .f-card:not(.b-photo)::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--fc), color-mix(in srgb, var(--fc) 40%, #fff));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease);
}
.home .bento .f-card:hover::after { transform: scaleX(1); }
.home .bento .f-card:hover { border-color: color-mix(in srgb, var(--fc) 40%, #fff); box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--fc) 45%, transparent); }
.home .bento .f-card:not(.b-photo) .f-more { color: var(--fc); }
.home .b-bars i:nth-child(odd) { background: linear-gradient(180deg, var(--c-teal), var(--c-blue)); }
.home .b-bars i:nth-child(even) { background: linear-gradient(180deg, var(--c-violet), var(--c-pink)); }

/* ---------- Solutions tags ---------- */
.home .ind:nth-child(6n+1) .ind-tag .icon { color: var(--c-orange); }
.home .ind:nth-child(6n+2) .ind-tag .icon { color: var(--c-amber); }
.home .ind:nth-child(6n+3) .ind-tag .icon { color: var(--c-pink); }
.home .ind:nth-child(6n+4) .ind-tag .icon { color: var(--c-blue); }
.home .ind:nth-child(6n+5) .ind-tag .icon { color: var(--c-violet); }
.home .ind:nth-child(6n+6) .ind-tag .icon { color: var(--c-teal); }

/* ---------- How it works: colored steps ---------- */
.home .timeline::before { background: linear-gradient(180deg, var(--c-green), var(--c-blue), var(--c-violet), var(--c-orange)); width: 3px; border-radius: 3px; }
.home .timeline li:nth-child(1) { --tc: var(--c-green); }
.home .timeline li:nth-child(2) { --tc: var(--c-blue); }
.home .timeline li:nth-child(3) { --tc: var(--c-violet); }
.home .timeline li:nth-child(4) { --tc: var(--c-orange); }
.home .tl-ic { color: #fff; background: var(--tc); border-color: var(--tc); box-shadow: 0 10px 22px -8px var(--tc); }
.home .timeline li:hover .tl-ic { background: var(--tc); transform: rotate(-8deg) scale(1.08); }
.home .tl-num { color: var(--tc); }
.home .timeline small { color: var(--tc); background: color-mix(in srgb, var(--tc) 10%, #fff); border-color: color-mix(in srgb, var(--tc) 25%, #fff); }
.home .timeline li:hover { box-shadow: 0 14px 32px -14px color-mix(in srgb, var(--tc) 55%, transparent); }

/* ---------- CTA: animated multicolor gradient ---------- */
.home .cta {
  background:
    radial-gradient(500px 280px at 10% 0%, rgba(236, 72, 153, .35), transparent 60%),
    radial-gradient(520px 300px at 95% 100%, rgba(59, 130, 246, .45), transparent 60%),
    linear-gradient(120deg, #0b3b25, #11663c, #0e7490, #4c1d95, #11663c);
  background-size: 100% 100%, 100% 100%, 300% 300%;
}
.home .cta-ic { color: #fde68a; }

/* ---------- Motion (only when the visitor allows it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .home .grad-text, .home .hero h1 .hl { animation: hue-slide 8s ease-in-out infinite alternate; }
  .aurora i { animation: drift 18s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation-duration: 22s; animation-delay: -6s; }
  .aurora i:nth-child(3) { animation-duration: 26s; animation-delay: -12s; }
  .aurora i:nth-child(4) { animation-duration: 20s; animation-delay: -3s; }
  .confetti i { animation: bob 7s ease-in-out infinite; }
  .confetti i:nth-child(2n) { animation-duration: 9s; animation-delay: -2s; }
  .confetti i:nth-child(3n) { animation-duration: 11s; animation-delay: -4s; }
  .home .hero .badge, .home .stats-card { animation: border-flow 6s linear infinite; }
  .home .btn-primary { animation: hue-slide 6s ease-in-out infinite alternate; }
  .home .btn-primary::after { animation: shine 3.6s ease-in-out infinite; }
  .home .cta { animation: cta-flow 14s ease-in-out infinite alternate; }
  .home .cta-ic { animation: floaty 4s ease-in-out infinite; }
  .home .tl-ic::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit;
    animation: ring 2.4s ease-out infinite;
  }
  .home .timeline li:nth-child(2) .tl-ic::after { animation-delay: .6s; }
  .home .timeline li:nth-child(3) .tl-ic::after { animation-delay: 1.2s; }
  .home .timeline li:nth-child(4) .tl-ic::after { animation-delay: 1.8s; }

  @keyframes hue-slide { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
  @keyframes border-flow { from { background-position: 0 0, 0% 0; } to { background-position: 0 0, 200% 0; } }
  @keyframes cta-flow { from { background-position: 0 0, 0 0, 0% 50%; } to { background-position: 0 0, 0 0, 100% 50%; } }
  @keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
  @keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.15); } 100% { transform: translate(-40px, 70px) scale(.95); } }
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(160deg); } }
  @keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tc) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
}

@media (max-width: 760px) {
  .aurora i { filter: blur(50px); }
  .confetti i:nth-child(n+5) { display: none; }
  .home .mq-item { font-size: 16px; }
}
