/* ==========================================================================
   index
   ========================================================================== */

:root {
  --navy-950: #0c0f33;
  --navy-900: #141949;
  --navy-800: #1d2363;
  --navy-700: #2a317d;
  --navy-600: #3a42a0;
  --indigo-400: #8a8ff0;

  --orange-600: #e2740a;
  --orange-500: #f28a1a;
  --orange-400: #f7a23b;
  --orange-100: #fff1df;
  --orange-50: #fff8ef;
  --gold: #f6c14b;

  --ink: #141634;
  --ink-2: #393d5e;
  --muted: #676c8a;
  --line: #e7e5ef;
  --line-2: #f0eef5;

  --bg: #ffffff;
  --bg-soft: #faf8f4;
  --bg-tint: #f5f4fb;

  --teal: #17736d;
  --teal-bg: #e5f3f1;
  --green: #138a5c;
  --green-bg: #e4f5ed;
  --red: #dc434b;
  --red-bg: #fdeced;
  --amber: #d98407;
  --amber-bg: #fff3dc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 52, 0.05), 0 2px 8px rgba(20, 22, 52, 0.04);
  --shadow: 0 14px 34px -14px rgba(20, 22, 52, 0.2);
  --shadow-lg: 0 40px 80px -30px rgba(12, 15, 51, 0.45);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1620px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  overflow-x: clip;
  line-height: 1.5;
}

h1, h2, h3, h4, p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * clamp(16px, 4vw, 40px));
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section {
  padding-block: clamp(56px, 6vw, 88px);
  position: relative;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 3.6vw, 52px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lead {
  margin-top: 18px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--muted);
}

.accent {
  color: var(--orange-500);
}

.accent-grad {
  background: linear-gradient(100deg, var(--orange-400), var(--gold) 60%, var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding-inline: 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.btn svg {
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 10px 24px -10px rgba(242, 138, 26, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(242, 138, 26, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--orange-400);
  color: var(--orange-600);
  transform: translateY(-2px);
}

/* ---------- Shared bits ---------- */

.icon-chip {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-100);
  color: var(--orange-600);
  flex-shrink: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding-inline: 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.status.completed { color: var(--green); background: var(--green-bg); border-color: #bfe6d3; }
.status.active { color: var(--teal); background: var(--teal-bg); border-color: #bfdeda; }
.status.pending { color: var(--amber); background: var(--amber-bg); border-color: #f6dca8; }
.status.cancelled { color: var(--red); background: var(--red-bg); border-color: #f6c3c6; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal[data-variant='left'] { transform: translateX(-36px); }
.reveal[data-variant='right'] { transform: translateX(36px); }
.reveal[data-variant='scale'] { transform: scale(0.94); }
.reveal[data-variant='fade'] { transform: none; }

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Chart tooltips ---------- */

.chart-tip {
  position: absolute;
  z-index: 5;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  color: #fff;
  background: var(--navy-950);
  box-shadow: 0 12px 24px -10px rgba(12, 15, 51, 0.55);
  pointer-events: none;
  opacity: 0;
  translate: 0 4px;
  transition: opacity 0.18s ease, translate 0.18s ease;
}

.chart-tip.show {
  opacity: 1;
  translate: 0 0;
}

.chart-tip b {
  font-weight: 800;
}

.chart-tip small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.chart-tip .tip-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 2px;
  vertical-align: 0;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-scrolled,
.nav-open {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(20, 22, 52, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.logo-light {
  color: #fff;
}

.logo-light .logo-text small {
  color: rgba(255, 255, 255, 0.6);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--orange-600);
  background: var(--orange-50);
}

.nav:not(.nav-scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.nav:not(.nav-scrolled) .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  height: 42px;
  padding-inline: 18px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 10px;
  place-items: center;
  color: #fff;
}

.nav-scrolled .nav-toggle,
.nav-open .nav-toggle {
  color: var(--ink);
}

.nav-drawer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 24px;
  border-top: 1px solid var(--line);
  height: calc(100dvh - 76px);
  overflow-y: auto;
}

.nav-drawer[hidden] {
  display: none;
}

.nav-drawer a:not(.btn) {
  padding: 14px 8px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-2);
}

.nav-drawer .btn {
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  padding: 128px 0 clamp(88px, 8vw, 120px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.glow-a {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 40px;
  background: rgba(91, 95, 214, 0.45);
}

.glow-b {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -120px;
  background: rgba(242, 138, 26, 0.18);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(24px, 2.5vw, 40px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(246, 193, 75, 0.1);
  border: 1px solid rgba(246, 193, 75, 0.3);
  animation: rise 0.8s var(--ease) both;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-400);
  box-shadow: 0 0 0 4px rgba(247, 162, 59, 0.2);
  animation: pulse 2s infinite;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
  animation: rise 0.9s 0.08s var(--ease) both;
}

.hero h1 .accent-grad {
  display: inline;
}

.hero-sub {
  margin-top: 22px;
  max-width: 540px;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  animation: rise 0.9s 0.16s var(--ease) both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  animation: rise 0.9s 0.24s var(--ease) both;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 14px 28px;
  margin-top: 40px;
  animation: rise 0.9s 0.32s var(--ease) both;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.hero-trust li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--orange-400);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Orbit visual ---------- */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 820px;
  justify-self: center;
  padding: 0 11% 8% 0;
  animation: fadeScale 1.1s 0.2s var(--ease) both;
}

.orbit {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: inline-size;
}

.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 0.25;
  stroke-dasharray: 1 1.4;
}

.ring-inner {
  stroke: rgba(247, 162, 59, 0.3);
  stroke-dasharray: 0.6 2;
}

.ring-spin,
.ring-spin-rev {
  transform-origin: 50px 50px;
  animation: spin 80s linear infinite;
}

.ring-spin-rev {
  animation-direction: reverse;
  animation-duration: 50s;
}

.spoke {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 0.25;
  transition: stroke 0.5s;
}

.spoke-active {
  stroke: rgba(247, 162, 59, 0.75);
  stroke-width: 0.4;
}

.flow-path {
  fill: none;
  stroke: rgba(247, 162, 59, 0.22);
  stroke-width: 0.35;
}

.flow-dash {
  fill: none;
  stroke: url(#flow-g);
  stroke-width: 0.55;
  stroke-linecap: round;
  stroke-dasharray: 3 9;
  animation: dash 3s linear infinite;
}

.hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2d3487, var(--navy-900) 70%);
  border: 1px solid rgba(247, 162, 59, 0.45);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.03), 0 0 0 22px rgba(255, 255, 255, 0.025), 0 20px 60px -10px rgba(242, 138, 26, 0.45);
}

.hub svg {
  margin-bottom: 6px;
  width: clamp(30px, 9cqw, 48px);
  height: auto;
}

.hub strong {
  font-size: clamp(11px, 3.1cqw, 17px);
  font-weight: 800;
  color: var(--gold);
}

.hub small {
  font-size: clamp(8px, 1.9cqw, 10.5px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: clamp(78px, 24cqw, 128px);
  padding: clamp(7px, 2cqw, 11px) 8px clamp(8px, 2cqw, 12px);
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
  border: 2px solid transparent;
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease);
  animation: float 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.8s);
}

.node-icon {
  display: grid;
  place-items: center;
  width: clamp(24px, 6.4cqw, 34px);
  height: clamp(24px, 6.4cqw, 34px);
  border-radius: 50%;
  color: #fff;
  background: var(--c);
  box-shadow: 0 6px 14px -4px var(--c);
}

.node-icon svg {
  width: 55%;
  height: 55%;
}

.node-label {
  font-size: clamp(9px, 2.25cqw, 12.5px);
  font-weight: 700;
  line-height: 1.2;
}

.node-step {
  position: absolute;
  top: -9px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--gold);
  border: 2px solid var(--navy-900);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.node-active {
  border-color: var(--orange-400);
  box-shadow: 0 0 0 6px rgba(247, 162, 59, 0.2), 0 18px 36px -12px rgba(242, 138, 26, 0.6);
}

.node-active .node-step {
  opacity: 1;
  transform: scale(1);
}

/* Status cards: glass panels tethered to the node they describe. */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 22px 44px -18px rgba(4, 6, 30, 0.75),
    0 0 40px -12px var(--fc-glow);
  animation: float 7s ease-in-out infinite;
}

/* Dashed tether + dot pointing at the related node */
.float-card::before {
  content: '';
  position: absolute;
  width: 0;
  height: 26px;
  border-left: 1.5px dashed var(--fc-glow);
  opacity: 0.8;
}

.float-card::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fc-glow);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fc-glow) 25%, transparent);
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  color: #fff;
}

.fc-icon.green {
  background: linear-gradient(145deg, #3ad19b, #138a5c);
  box-shadow: 0 8px 18px -8px #34c38f;
}

.fc-icon.amber {
  background: linear-gradient(145deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 8px 18px -8px var(--orange-500);
}

.fc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}

.fc-text small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}

.fc-text strong {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.fc-text strong b {
  margin-right: 3px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.fc-meter {
  position: relative;
  height: 4px;
  margin-top: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.fc-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #34c38f, #7ee2bd);
}

.fc-avatars {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.fc-avatars i,
.fc-avatars em {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: -6px;
  border-radius: 50%;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  color: var(--navy-900);
  background: #f3e6d3;
  border: 1.5px solid var(--navy-800);
}

.fc-avatars i:nth-child(2) { background: #d9dbfb; }
.fc-avatars i:nth-child(3) { background: #cfeee4; }

.fc-avatars em {
  width: auto;
  padding-inline: 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(247, 162, 59, 0.35);
}

/* Rooms card sits directly above Room Availability (node centre 80.5% / 25.7%).
   Its vertical tether drops onto the top of that node. */
.fc-rooms {
  --fc-glow: #34c38f;
  left: calc(80.5% - 32px);
  bottom: calc(80.6% + 30px);
}

.fc-rooms::before { left: 32px; top: 100%; }
.fc-rooms::after { left: 29px; top: calc(100% + 24px); }

/* Check-ins card sits directly below Check-In (node centre 66.9% / 85.1%).
   Its vertical tether rises to the bottom of that node. */
.fc-checkins {
  --fc-glow: var(--orange-400);
  left: calc(66.9% - 32px);
  top: calc(91.4% + 30px);
  animation-delay: -3.5s;
}

.fc-checkins::before { left: 32px; bottom: 100%; }
.fc-checkins::after { left: 29px; bottom: calc(100% + 24px); }

.hero-curve {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(30px, 5vw, 80px);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: none; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes dash {
  to { stroke-dashoffset: -24; }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(247, 162, 59, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(247, 162, 59, 0.05); }
}

@media (max-width: 1024px) {
  .hero {
    padding-top: 112px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-ctas,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    justify-self: center;
  }

  .hero-visual {
    max-width: 680px;
    padding: 4% 10% 16% 10%;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-bottom: 72px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    justify-items: start;
    width: fit-content;
    margin-inline: auto;
  }

  .hero-ctas .btn {
    flex: 1 1 100%;
  }

  .float-card {
    gap: 9px;
    padding: 8px 12px 8px 8px;
    border-radius: 13px;
  }

  .fc-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .fc-icon svg {
    width: 15px;
    height: 15px;
  }

  .fc-text small,
  .fc-meter,
  .fc-avatars {
    display: none;
  }

  .fc-text strong {
    font-size: 11.5px;
  }

  .fc-text strong b {
    font-size: 14px;
  }

  .float-card::before,
  .float-card::after {
    display: none;
  }

  .fc-rooms {
    left: auto;
    right: -8%;
    bottom: auto;
    top: -15%;
  }

  .fc-checkins {
    left: auto;
    right: -8%;
    top: auto;
    bottom: -15%;
  }

  .node-step {
    width: 18px;
    height: 18px;
    font-size: 8px;
    top: -7px;
    right: -7px;
  }
}

/* ==========================================================================
   Overview
   ========================================================================== */

.ov-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(32px, 3.6vw, 52px);
}

.ov-head .section-head {
  margin-bottom: 0;
}

.ov-lead {
  margin-top: 0;
  padding-bottom: 6px;
}

.ov-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ov-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.ov-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #f3d3ad;
}

.ov-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line-2);
}

.ov-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.ov-card:hover .ov-visual img {
  transform: scale(1.04);
}

.ov-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.ov-body .icon-chip {
  position: relative;
  z-index: 1;
  margin-top: -44px;
  margin-bottom: 14px;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  width: 48px;
  height: 48px;
}

.ov-body h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ov-body p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.ov-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.ov-tags span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--navy-700);
  background: var(--bg-tint);
  border: 1px solid #e3e2f3;
}

@media (max-width: 1100px) {
  .ov-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ov-head {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ov-lead {
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  .ov-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   mocks
   ========================================================================== */

/* ---------- App window ---------- */

.app-window {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-width: 0;
}

.aw-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--line-2);
  background: #fbfaf8;
}

.aw-dots {
  display: flex;
  gap: 6px;
}

.aw-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f1736a;
}

.aw-dots i:nth-child(2) { background: #f5c04e; }
.aw-dots i:nth-child(3) { background: #5ccf73; }

.aw-crumb {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.aw-crumb span {
  margin-inline: 4px;
  opacity: 0.6;
}

.aw-crumb b {
  color: var(--ink);
  font-weight: 700;
}

.aw-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.aw-actions span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding-inline: 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.aw-actions span:first-child {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.aw-body {
  padding: 18px;
  background: #fdfcfa;
}

/* ---------- Stat row ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.stat-tile {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
  animation: tileIn 0.6s var(--ease) both;
}

.stat-tile:nth-child(2) { animation-delay: 0.06s; }
.stat-tile:nth-child(3) { animation-delay: 0.12s; }
.stat-tile:nth-child(4) { animation-delay: 0.18s; }

.stat-tile small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-tile strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stat-tile.tone-orange strong { color: var(--orange-600); }
.stat-tile.tone-green strong { color: var(--green); }
.stat-tile.tone-red strong { color: var(--red); }

@keyframes tileIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Table ---------- */

.tp-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.tp-filter-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  margin-right: 4px;
}

.tp-filter {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 7px;
  background: #f4f3ef;
  color: var(--muted);
}

.tp-scroll {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.tp {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 12px;
}

.tp th {
  padding: 11px 10px;
  font-weight: 700;
  font-size: 11.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.tp td {
  padding: 10px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
  color: var(--ink-2);
}

.tp tbody tr {
  animation: tileIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i) * 0.06s + 0.1s);
  transition: background 0.2s;
}

.tp tbody tr:hover {
  background: #faf8f3;
}

.tp tr:last-child td {
  border-bottom: 0;
}

.tp th:first-child,
.tp td:first-child {
  width: 30px;
  padding-right: 0;
}

.tp-radio {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
}

.c-link {
  color: var(--teal);
  font-weight: 600;
}

.c-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-bg);
  border: 1px solid #c6e2de;
}

.c-muted { color: var(--muted); }
.c-red { color: var(--red); }

.c-money {
  font-weight: 700;
  color: var(--green);
}

.c-money.orange { color: var(--orange-600); }

.c-stars {
  display: inline-flex;
  gap: 1px;
  color: #f2b01e;
}

.c-stars svg {
  fill: currentColor;
}

.c-action {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
}

.c-action.outline {
  color: var(--teal);
  background: #fff;
  border: 1px solid #b9dbd7;
}

.tp-foot {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- Form ---------- */

.fp {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.fp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 15px;
}

.fp-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--amber);
  background: var(--amber-bg);
  border: 1px solid #f2d398;
}

.fp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.fp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  animation: tileIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i) * 0.05s + 0.1s);
}

.fp-field.wide {
  grid-column: 1 / -1;
}

.fp-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding-inline: 12px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  background: #f6f5f1;
  border: 1px solid #ecebe5;
}

.fp-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}

.fp-btn {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
}

.fp-btn.ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

/* ---------- Calendar heatmap ---------- */

.cal-scroll {
  overflow-x: auto;
}

.cal-table {
  min-width: 720px;
  display: flex;
  flex-direction: column;
}

.cal-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.8fr) 50px repeat(var(--days), minmax(30px, 1fr));
  align-items: center;
  gap: 6px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--line-2);
}

.cal-row:last-child {
  border-bottom: 0;
}

.cal-headrow {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
  padding-block: 4px 10px;
}

.cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}

.cal-day small {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
}

.cal-day b {
  font-size: 13px;
}

.cal-rooms-h,
.cal-rooms {
  text-align: center;
}

.cal-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.cal-name strong {
  font-size: 12.5px;
  color: var(--teal);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-name small {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-rooms {
  font-weight: 800;
  font-size: 13px;
}

.cal-cell {
  display: grid;
  place-items: center;
  height: 26px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  animation: cellIn 0.5s var(--ease) both;
  animation-delay: calc(var(--c) * 0.03s + var(--r) * 0.04s);
}

.cal-cell:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.cal-cell.high { color: var(--teal); background: var(--teal-bg); border-color: #c4e2de; }
.cal-cell.medium { color: #b8670a; background: #fff3df; border-color: #f6d9a8; }
.cal-cell.low { color: var(--red); background: var(--red-bg); border-color: #f6c8cb; }

@keyframes cellIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}

.cal-compact .cal-row {
  padding-block: 5px;
}

.cal-compact .cal-cell {
  height: 22px;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--ink-2);
}

.cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cal-legend i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid;
}

.cal-legend .high { background: var(--teal-bg); border-color: #9fd0c9; }
.cal-legend .medium { background: #fff3df; border-color: #f0c57d; }
.cal-legend .low { background: var(--red-bg); border-color: #f0a9ad; }

/* ---------- Room grid ---------- */

.rg-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.rg-select,
.rg-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding-inline: 12px;
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--ink-2);
  background: #f6f5f1;
  border: 1px solid #ecebe5;
}

.rg-search {
  flex: 1;
  min-width: 140px;
  color: var(--muted);
}

.rg-view {
  display: inline-flex;
  gap: 4px;
}

.rg-view span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding-inline: 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid var(--line);
}

.rg-view .on {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.rg-cells {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 6px;
}

.rg-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  aspect-ratio: 1.1;
  border-radius: 9px;
  border: 1px solid;
  font-size: 11px;
  animation: cellIn 0.45s var(--ease) both;
  animation-delay: calc(var(--i) * 0.012s);
  transition: transform 0.2s var(--ease);
}

.rg-cell:hover {
  transform: translateY(-2px);
}

.rg-cell.available { color: var(--teal); background: var(--teal-bg); border-color: #bfdeda; }
.rg-cell.occupied { color: var(--red); background: #fff; border-color: #f6caca; }
.rg-cell.maintenance { color: var(--amber); background: var(--amber-bg); border-color: #f2d398; }

.rg-compact .rg-cells {
  gap: 4px;
}

.rg-compact .rg-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  font-size: 9.5px;
}

@media (max-width: 560px) {
  .rg-cells {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .rg-cell svg {
    display: none;
  }

  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .aw-actions {
    display: none;
  }
}

/* ---------- Carousel card art ---------- */

.ma {
  width: 78%;
  max-width: 200px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px -12px rgba(20, 22, 52, 0.35);
}

.ma-table div {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-2);
}

.ma-table div:last-child {
  border: 0;
}

.ma-table i {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: #e6e5ee;
}

.ma-table .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--tone);
  background: none;
}

.ma-table .l1 { width: 34%; background: color-mix(in srgb, var(--tone) 45%, white); }
.ma-table .l2 { flex: 1; }
.ma-table .pill { width: 22%; height: 10px; background: color-mix(in srgb, var(--tone) 22%, white); }

.ma-grid,
.ma-cal {
  display: grid;
  gap: 4px;
}

.ma-grid { grid-template-columns: repeat(10, 1fr); }
.ma-cal { grid-template-columns: repeat(8, 1fr); }

.ma-grid i,
.ma-cal i {
  aspect-ratio: 1;
  border-radius: 4px;
  border: 1px solid;
}

.ma-grid .a, .ma-cal .h { background: var(--teal-bg); border-color: #b5dad5; }
.ma-grid .o, .ma-cal .l { background: var(--red-bg); border-color: #f2c0c3; }
.ma-grid .m, .ma-cal .m { background: var(--amber-bg); border-color: #f0cf93; }

.ma-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ma-form i {
  grid-column: 1 / -1;
  height: 14px;
  border-radius: 5px;
  background: #f1f0ec;
  border: 1px solid #e8e7e1;
}

.ma-form i.half {
  grid-column: auto;
}

.ma-form b {
  grid-column: 2;
  height: 14px;
  border-radius: 5px;
  background: var(--tone);
}

@media (max-width: 560px) {
  .cal-table {
    min-width: 0;
    width: max-content;
  }

  .cal-row {
    grid-template-columns: 116px 34px repeat(var(--days), 30px);
    gap: 5px;
  }

  .cal-name strong {
    font-size: 11.5px;
  }

  .cal-name small {
    font-size: 9.5px;
  }
}

/* ==========================================================================
   SettlementPreview
   ========================================================================== */

.st-booking {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.st-booking > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
}

.st-booking > div:first-child {
  grid-column: 1 / -1;
}

.st-booking small {
  font-size: 11px;
  color: var(--muted);
}

.st-booking b {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.st-booking b.green {
  color: var(--green);
}

.st-booking span {
  font-size: 11.5px;
  color: var(--muted);
}

.rc-link {
  color: var(--teal) !important;
}

/* Settlement summary strip */

.st-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  color: #fff;
}

.st-summary > div {
  padding: 8px 12px;
  min-width: 0;
}

.st-summary small {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
}

.st-summary strong {
  display: block;
  margin-top: 2px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.st-op {
  font-size: 22px;
  font-weight: 700;
  color: var(--orange-400);
}

.st-balance {
  border-radius: 12px;
  background: rgba(247, 162, 59, 0.14);
  border: 1px solid rgba(247, 162, 59, 0.4);
}

.st-balance strong {
  color: var(--gold);
}

.st-action {
  margin-top: 14px;
  animation: stIn 0.5s var(--ease) both;
}

.st-ask,
.st-donate,
.st-done,
.st-refund {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.st-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--orange-50);
  border-color: #f6dcb9;
}

.st-ask p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.st-ask p svg {
  color: var(--orange-500);
  flex-shrink: 0;
}

.st-ask b {
  color: var(--orange-600);
}

.st-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding-inline: 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.st-btn:hover {
  transform: translateY(-1px);
}

.st-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 8px 18px -10px rgba(242, 138, 26, 0.9);
}

.st-btn.ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.st-btn.ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.st-btn.teal {
  color: #fff;
  background: var(--teal);
}

.st-btn.soft {
  color: var(--navy-700);
  background: var(--bg-tint);
  border: 1px solid #e3e2f3;
}

.st-btn.wide {
  width: 100%;
  margin-top: 14px;
}

.st-donate-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.st-donate-top small,
.st-label {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.st-donate-top strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--orange-600);
}

.st-donate-top strong.teal {
  color: var(--teal);
}

.st-donate-top span {
  font-size: 11.5px;
  color: var(--muted);
}

.st-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.st-label {
  margin: 14px 0 8px;
}

.st-heads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.st-head-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}

.st-head-opt:hover {
  border-color: #f3c995;
}

.st-head-opt.on {
  border-color: var(--orange-400);
  background: var(--orange-50);
}

.st-head-opt span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.st-head-opt b {
  font-size: 13px;
  color: var(--ink);
}

.st-head-opt small {
  font-size: 11px;
  color: var(--muted);
}

.st-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c9c6d8;
  flex-shrink: 0;
  transition: border 0.2s;
}

.st-head-opt.on .st-radio {
  border: 5px solid var(--orange-500);
}

.st-done {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
}

.st-success.teal {
  color: var(--teal);
}

.st-done-note {
  font-size: 12.5px;
  color: var(--muted);
}

.st-done-note b {
  color: var(--ink);
}

.st-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.st-reset:hover {
  color: var(--orange-600);
}

.rc-paid {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
}

.rc-rows {
  display: grid;
  gap: 9px;
  margin: 14px 0;
}

.rc-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.rc-rows dt {
  color: var(--muted);
}

.rc-rows dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  color: var(--ink);
}

@keyframes stIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes receiptIn {
  from { opacity: 0; transform: translateX(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 760px) {

  .st-booking {
    grid-template-columns: 1fr 1fr;
  }

  .st-summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .st-op {
    display: none;
  }

  .st-heads {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {

  .st-btns .st-btn {
    flex: 1 1 100%;
  }
}

/* ---------- Compact preview used inside the module carousel detail ---------- */

.st-preview .st-ask {
  opacity: 1;
  animation: none;
}

.st-preview .st-summary {
  margin-top: 12px;
}

.st-preview .st-summary strong {
  font-size: clamp(18px, 1.6vw, 22px);
}

.st-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.st-mini-receipt {
  position: relative;
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: receiptIn 0.6s var(--ease) both;
}

.st-mini-receipt::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-400), var(--gold), var(--navy-600));
}

.rc-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.rc-mini-head strong {
  font-size: 14px;
  font-weight: 800;
}

.st-mini-receipt .rc-rows {
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin: 10px 0 0;
}

.st-mini-receipt .rc-rows div:last-child {
  grid-column: 1 / -1;
}

.rc-amt {
  color: var(--orange-600) !important;
}

@media (max-width: 560px) {
  .st-mini-receipt .rc-rows {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Modules
   ========================================================================== */

.modules {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(91, 95, 214, 0.06), transparent 60%),
    var(--bg-soft);
}

/* Marquee: two identical sets drift left by one set's width, then repeat. */

.mod-track-wrap {
  position: relative;
  margin-bottom: 30px;
}

.mod-track {
  overflow: hidden;
  padding: 8px 0 22px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.mod-marquee {
  display: flex;
  width: max-content;
  animation: modMarquee 80s linear infinite;
}

.mod-track:hover .mod-marquee,
.mod-track:focus-within .mod-marquee {
  animation-play-state: paused;
}

.mod-set {
  display: flex;
}

@keyframes modMarquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .mod-marquee {
    animation: none;
  }

  .mod-track {
    overflow-x: auto;
  }

  .mod-set[aria-hidden='true'] {
    display: none;
  }
}

.mod-card {
  flex: 0 0 262px;
  margin-right: 18px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  text-align: left;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.mod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mod-card.is-active {
  border-color: var(--orange-400);
  box-shadow: 0 0 0 3px rgba(247, 162, 59, 0.18), var(--shadow);
}

/* Landscape image area, inset from the card edge like the Jain Connection cards */
.mod-media {
  position: relative;
  display: block;
}

.mod-visual {
  position: relative;
  height: 154px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background:
    radial-gradient(circle at 20% 110%, color-mix(in srgb, var(--tone) 30%, transparent), transparent 60%),
    linear-gradient(150deg, color-mix(in srgb, var(--tone) 14%, white), color-mix(in srgb, var(--tone) 4%, #fbf8f2));
}

.mod-visual.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.mod-card:hover .mod-visual.has-photo img,
.mod-card.is-active .mod-visual.has-photo img {
  transform: scale(1.05);
}

.mod-visual.has-photo .mod-num {
  z-index: 1;
  padding: 2px 7px;
  border-radius: 6px;
  color: #fff;
  opacity: 1;
  background: rgba(12, 15, 51, 0.55);
  backdrop-filter: blur(4px);
}

.mod-building {
  position: absolute;
  right: -20px;
  bottom: -8px;
  width: 170px;
  color: color-mix(in srgb, var(--tone) 30%, transparent);
}

.mod-visual .ma {
  position: relative;
  transition: transform 0.45s var(--ease);
}

.mod-card:hover .mod-visual .ma,
.mod-card.is-active .mod-visual .ma {
  transform: translateY(-4px) rotate(-1.5deg);
}

.mod-num {
  position: absolute;
  top: 9px;
  left: 11px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--tone) 80%, black);
  opacity: 0.6;
}

.mod-icon {
  position: absolute;
  left: 14px;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--tone);
  border: 3px solid #fff;
  box-shadow: 0 6px 14px -6px var(--tone);
}

.mod-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 10px 8px;
}

.mod-body strong {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.mod-body small {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.mod-explore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  transition: color 0.2s, gap 0.2s;
}

.mod-card:hover .mod-explore,
.mod-card.is-active .mod-explore {
  color: var(--orange-600);
  gap: 8px;
}

/* Detail panel */

.mod-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.mod-detail::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-400), var(--gold), var(--navy-600));
}

.md-info {
  animation: detailIn 0.6s var(--ease) both;
}

.md-preview {
  min-width: 0;
  animation: detailIn 0.7s 0.08s var(--ease) both;
}

.md-preview .app-window {
  box-shadow: 0 30px 60px -30px rgba(12, 15, 51, 0.35);
}

.md-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
}

.md-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.md-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: #fff;
  background: var(--tone);
  box-shadow: 0 12px 24px -10px var(--tone);
  flex-shrink: 0;
}

.md-title h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.md-info > p {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.md-features {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.md-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  animation: detailIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i) * 0.06s + 0.15s);
}

.md-features li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--orange-600);
  background: var(--orange-100);
  flex-shrink: 0;
}

/* Features with a supporting line (title + description) */
.md-features li.has-text {
  align-items: flex-start;
}

.md-features li.has-text span {
  margin-top: 1px;
}

.md-features li.has-text b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.md-features li.has-text small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

@keyframes detailIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .mod-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .mod-detail {
    border-radius: 20px;
  }
}

.mod-detail:focus {
  outline: none;
}

.mod-detail:focus-visible {
  outline: 2px solid var(--orange-400);
  outline-offset: 4px;
  border-radius: 28px;
}

/* ==========================================================================
   Workflow
   ========================================================================== */

.workflow {
  overflow: hidden;
}

.wf {
  position: relative;
}

.wf-line {
  position: absolute;
  left: calc(100% / 14);
  right: calc(100% / 14);
  top: 35px;
  height: 4px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #e3e1ec 0 10px, transparent 10px 16px);
}

.wf-line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p) * 100%);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy-700), var(--orange-500), var(--gold));
  box-shadow: 0 0 16px rgba(242, 138, 26, 0.5);
  transition: width 0.15s linear;
}

.wf-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wf-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: 0 0 0 8px #fff;
  transition: color 0.5s, background 0.5s, border-color 0.5s, transform 0.5s var(--ease), box-shadow 0.5s;
}

.wf-node em {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg-tint);
  border: 2px solid #fff;
  transition: background 0.5s, color 0.5s;
}

.wf-step.is-on .wf-node {
  color: #fff;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950));
  border-color: var(--navy-800);
  transform: scale(1.06);
  box-shadow: 0 0 0 8px #fff, 0 16px 30px -12px rgba(29, 35, 99, 0.6);
}

.wf-step.is-on .wf-node em {
  color: var(--navy-950);
  background: var(--gold);
}

.wf-card {
  margin-top: 22px;
  padding: 18px 14px 20px;
  width: 100%;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  opacity: 0.45;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.6s, box-shadow 0.6s;
  flex: 1;
}

.wf-step.is-on .wf-card {
  opacity: 1;
  transform: none;
  border-color: #f2d6b3;
  box-shadow: 0 16px 30px -20px rgba(242, 138, 26, 0.55);
}

.wf-num {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
}

.wf-card h3 {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.wf-card p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .wf-line {
    left: 36px;
    right: auto;
    top: 36px;
    bottom: 36px;
    width: 4px;
    height: auto;
    background: repeating-linear-gradient(180deg, #e3e1ec 0 10px, transparent 10px 16px);
  }

  .wf-line-fill {
    inset: 0 0 auto 0;
    width: 100%;
    height: calc(var(--p) * 100%);
    background: linear-gradient(180deg, var(--navy-700), var(--orange-500), var(--gold));
    transition: height 0.15s linear;
  }

  .wf-steps {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 640px;
  }

  .wf-step {
    flex-direction: row;
    align-items: center;
    gap: 22px;
    text-align: left;
  }

  .wf-node {
    flex-shrink: 0;
  }

  .wf-card {
    margin-top: 0;
    transform: translateX(14px);
  }
}

@media (max-width: 560px) {
  .wf-node {
    width: 60px;
    height: 60px;
  }

  .wf-line {
    left: 29px;
  }

  .wf-step {
    gap: 14px;
  }
}

/* ==========================================================================
   Dashboard
   ========================================================================== */

.dash {
  color: #fff;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-950));
  overflow: hidden;
}

.dash-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(91, 95, 214, 0.35), transparent 70%),
    radial-gradient(500px 300px at 90% 80%, rgba(242, 138, 26, 0.14), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 26px 26px;
  mask-image: linear-gradient(180deg, #000, #000 70%, transparent);
  pointer-events: none;
}

.dash .container {
  position: relative;
}

.dash-head .h2 {
  color: #fff;
}

.dash-head .lead {
  color: rgba(255, 255, 255, 0.68);
}

.dash-head .eyebrow {
  color: var(--gold);
}

.dash-frame {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border-radius: 22px;
  overflow: hidden;
  color: var(--ink);
  background: #fdfcfa;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.04), 0 50px 100px -30px rgba(0, 0, 0, 0.7), 0 0 120px -40px rgba(242, 138, 26, 0.4);
}

.dash-side {
  padding: 18px 12px;
  background: #f7f5f0;
  border-right: 1px solid var(--line);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.dash-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.dash-brand strong {
  font-size: 13px;
}

.dash-brand small {
  font-size: 10.5px;
  color: var(--muted);
}

.dash-side ul {
  display: grid;
  gap: 2px;
}

.dash-side li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-2);
}

.dash-side li.on {
  color: var(--orange-600);
  font-weight: 700;
  background: var(--orange-100);
}

.dash-main {
  padding: 20px;
  min-width: 0;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dash-top strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}

.dash-top small {
  font-size: 11.5px;
  color: var(--muted);
}

.dash-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding-inline: 12px;
  border-radius: 9px;
  font-size: 11.5px;
  color: var(--muted);
  background: #f1f0ec;
}

.dash-bell {
  position: relative;
  color: var(--ink-2);
  display: grid;
}

.dash-bell i {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  color: #fff;
  background: var(--teal);
}

.dash-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--teal);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.kpi {
  position: relative;
  padding: 12px 12px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
  overflow: hidden;
}

.kpi::after {
  content: '';
  position: absolute;
  right: -18px;
  top: -18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--kc-bg);
  opacity: 0.6;
}

.kpi-icon {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--kc);
  background: var(--kc-bg);
}

.kpi small {
  display: block;
  padding-right: 30px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--kc-text, var(--ink));
  font-variant-numeric: tabular-nums;
}

.kpi-indigo { --kc: #4b50c4; --kc-bg: #ecebfd; }
.kpi-teal { --kc: var(--teal); --kc-bg: var(--teal-bg); }
.kpi-red { --kc: var(--red); --kc-bg: var(--red-bg); }
.kpi-green { --kc: var(--green); --kc-bg: var(--green-bg); }
.kpi-amber { --kc: var(--amber); --kc-bg: var(--amber-bg); }
.kpi-orange { --kc: var(--orange-600); --kc-bg: var(--orange-100); --kc-text: var(--orange-600); }

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.dash-card {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
}

.dc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.dc-head strong {
  font-size: 13.5px;
  font-weight: 800;
}

.dc-head small {
  font-size: 11px;
  color: var(--muted);
}

.dc-donut {
  display: flex;
  align-items: center;
  gap: 18px;
}

.donut-wrap {
  position: relative;
  width: 118px;
  flex-shrink: 0;
}

.donut {
  display: block;
  width: 100%;
  transform: rotate(-90deg);
}

.donut-track {
  fill: none;
  stroke: #f1f0ec;
  stroke-width: 12;
}

.donut-seg {
  fill: none;
  stroke-width: 12;
  stroke-linecap: butt;
  stroke-dasharray: 0 var(--C);
  cursor: pointer;
  transition:
    stroke-dasharray 0.7s var(--ease) calc(var(--i) * 0.22s + 0.35s),
    stroke-width 0.2s var(--ease),
    opacity 0.2s;
}

.donut.go .donut-seg {
  stroke-dasharray: var(--len) var(--C);
}

.donut.has-hover .donut-seg {
  opacity: 0.35;
}

.donut.has-hover .donut-seg.on {
  opacity: 1;
  stroke-width: 15;
}

.donut-center {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.donut-center strong {
  font-size: 22px;
  font-weight: 800;
}

.donut-center small {
  font-size: 10.5px;
  color: var(--muted);
}

.dc-legend {
  display: grid;
  gap: 9px;
  flex: 1;
}

.dc-legend li {
  cursor: default;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
}

.dc-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.dc-legend b {
  margin-left: auto;
}

.dc-legend li.dim {
  opacity: 0.4;
}

.dc-legend li.on {
  font-weight: 700;
}

.donut-center strong,
.donut-center small {
  animation: tileIn 0.25s var(--ease);
}

.dc-keys {
  display: flex;
  gap: 10px;
  font-size: 10.5px;
  color: var(--muted);
}

.dc-keys span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dc-keys i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.dc-keys .in,
.bar.in { background: linear-gradient(180deg, #3a42a0, #1d2363); }
.dc-keys .out,
.bar.out { background: linear-gradient(180deg, var(--orange-400), var(--orange-600)); }

.bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  height: 128px;
}

.bar-col {
  position: relative;
  outline: none;
  cursor: default;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bar-pair {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.bar {
  width: 38%;
  max-width: 12px;
  height: 0;
  border-radius: 4px 4px 2px 2px;
  transition: height 0.9s var(--ease);
  transition-delay: calc(var(--i) * 0.07s);
}

.bars.go .bar {
  height: var(--h);
}

.bar {
  transition: height 0.8s var(--ease) calc(var(--i) * 0.07s + 0.5s), opacity 0.2s, filter 0.2s;
}

.bars:hover .bar-col:not(:hover) .bar,
.bars:focus-within .bar-col:not(:focus-visible) .bar {
  opacity: 0.4;
}

.bar-col:hover .bar,
.bar-col:focus-visible .bar {
  filter: brightness(1.12);
}

.bar-tip {
  left: 50%;
  bottom: calc(100% - 10px);
  transform: translateX(-50%);
}

.bar-col:first-child .bar-tip { left: 0; transform: none; }
.bar-col:last-child .bar-tip { left: auto; right: 0; transform: none; }

.bar-col:hover .bar-tip,
.bar-col:focus-visible .bar-tip {
  opacity: 1;
  translate: 0 0;
}

.bar-col > small {
  font-size: 10px;
  color: var(--muted);
}

.dc-list {
  display: grid;
  gap: 10px;
}

.dc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.dc-av {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  color: var(--teal);
  background: var(--teal-bg);
  flex-shrink: 0;
}

.dc-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}

.dc-who strong {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-who small {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-list b {
  color: var(--green);
}

.dash-note {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1100px) {
  .dash-frame {
    grid-template-columns: 1fr;
  }

  .dash-side {
    display: none;
  }

  .dash-row {
    grid-template-columns: 1fr 1fr;
  }

  .dash-row .dash-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-row {
    grid-template-columns: 1fr;
  }

  .dash-search {
    display: none;
  }

  .dash-main {
    padding: 14px;
  }
}

/* ==========================================================================
   Availability
   ========================================================================== */

.avail {
  background:
    radial-gradient(800px 400px at 0% 100%, rgba(23, 115, 109, 0.07), transparent 60%),
    #fff;
}

.av-head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.av-head .section-head {
  margin-bottom: 0;
}

.av-lead {
  margin-top: 0;
  padding-bottom: 6px;
}

.av-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.av-point {
  display: flex;
  gap: 14px;
  padding: 22px 24px 22px 0;
}

.av-point + .av-point {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.av-point .icon-chip {
  color: var(--teal);
  background: var(--teal-bg);
}

.av-point h3 {
  font-size: 15.5px;
  font-weight: 800;
}

.av-point p {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.av-stage {
  position: relative;
  padding-bottom: 300px;
}

.av-cal-card {
  width: 84%;
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  min-width: 0;
}

.av-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}

.av-cal-head strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}

.av-cal-head small {
  font-size: 12.5px;
  color: var(--muted);
}

.av-month {
  display: flex;
  align-items: center;
  gap: 8px;
}

.av-month span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--line);
}

.av-month b {
  height: 32px;
  display: grid;
  place-items: center;
  padding-inline: 14px;
  border-radius: 9px;
  font-size: 13px;
  border: 1px solid var(--line);
}

.av-read {
  position: absolute;
  left: 0;
  top: calc(100% - 300px + 56px);
  width: min(480px, 50%);
}

.av-read strong {
  font-size: 15px;
  font-weight: 800;
}

.av-read ul {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.av-read li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.av-read b {
  color: var(--ink);
}

.av-read i {
  width: 28px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid;
  flex-shrink: 0;
}

.av-read .high { background: var(--teal-bg); border-color: #9fd0c9; }
.av-read .medium { background: #fff3df; border-color: #f0c57d; }
.av-read .low { background: var(--red-bg); border-color: #f0a9ad; }

.av-grid-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(400px, 40%);
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(12, 15, 51, 0.5);
}

.av-grid-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.av-grid-head strong {
  font-size: 15px;
  font-weight: 800;
}

.av-grid-head small {
  font-size: 11.5px;
  color: var(--muted);
}

.av-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.av-counts span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 9px 10px;
  border-radius: 11px;
  font-size: 17px;
  font-weight: 800;
}

.av-counts small {
  flex-basis: 100%;
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.8;
}

.c-av { color: var(--teal); background: var(--teal-bg); }
.c-oc { color: var(--red); background: var(--red-bg); }
.c-mt { color: var(--amber); background: var(--amber-bg); }

.av-grid-card .rg-cells {
  grid-template-columns: repeat(11, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .av-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .av-stage {
    padding-bottom: 0;
    display: grid;
    gap: 20px;
  }

  .av-cal-card {
    width: 100%;
  }

  .av-read {
    position: relative;
    top: auto;
    width: 100%;
  }

  .av-grid-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .av-points {
    grid-template-columns: 1fr;
  }

  .av-point,
  .av-point + .av-point {
    padding: 18px 0;
    border-left: 0;
  }

  .av-point + .av-point {
    border-top: 1px solid var(--line);
  }

  .av-cal-card {
    padding: 16px;
  }

  .av-month b {
    padding-inline: 8px;
    font-size: 12px;
  }

  .av-grid-card .rg-cells {
    grid-template-columns: repeat(11, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .av-cal-head {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Comparison
   ========================================================================== */

.cmp {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cmp-col {
  padding: clamp(32px, 5vw, 56px);
}

.cmp-without {
  color: #fff;
  background:
    radial-gradient(400px 300px at 0% 0%, rgba(220, 67, 75, 0.18), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}

.cmp-with {
  background:
    radial-gradient(400px 300px at 100% 0%, rgba(242, 138, 26, 0.14), transparent 70%),
    #fff;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 28px 28px 0;
}

.cmp-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cmp-without .cmp-tag {
  color: #ffb3b6;
  background: rgba(220, 67, 75, 0.16);
}

.cmp-with .cmp-tag {
  color: var(--orange-600);
  background: var(--orange-100);
}

.cmp-col h3 {
  margin-top: 16px;
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cmp-col ul {
  display: grid;
  gap: 4px;
  margin-top: 26px;
}

.cmp-col li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  font-size: 15.5px;
  font-weight: 600;
  border-bottom: 1px dashed;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 0.08s + 0.3s);
}

.cmp-col.in li {
  opacity: 1;
  transform: none;
}

.cmp-col li:last-child {
  border-bottom: 0;
}

.cmp-without li {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
}

.cmp-with li {
  color: var(--ink);
  border-color: var(--line);
}

.cmp-col li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cmp-without li span {
  color: #ff8e93;
  background: rgba(220, 67, 75, 0.18);
}

.cmp-with li span {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 6px 12px -6px var(--orange-500);
}

.cmp-vs {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(246, 193, 75, 0.25), 0 16px 30px -10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 860px) {
  .cmp {
    grid-template-columns: 1fr;
  }

  .cmp-with {
    border-left: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 28px 28px;
  }

  .cmp-vs {
    position: relative;
    left: auto;
    top: auto;
    margin: -32px auto;
    width: 56px;
    height: 56px;
  }
}

/* ==========================================================================
   Automation
   ========================================================================== */

.auto {
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fff8ef 60%, #fff);
}

.auto-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 400px at 85% 30%, rgba(246, 193, 75, 0.22), transparent 70%),
    radial-gradient(500px 400px at 10% 80%, rgba(91, 95, 214, 0.08), transparent 70%);
  pointer-events: none;
}

.auto-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.auto-left .section-head {
  margin-bottom: 32px;
}

.approve {
  max-width: 460px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.ap-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.ap-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  background: var(--teal);
  flex-shrink: 0;
}

.ap-head div {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.ap-head strong {
  display: block;
  font-size: 14px;
}

.ap-head small {
  font-size: 11.5px;
  color: var(--muted);
}

.ap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-bg);
  white-space: nowrap;
}

.ap-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.6s infinite;
}

@keyframes blink {
  50% { opacity: 0.25; }
}

.ap-rows {
  display: grid;
  gap: 10px;
  margin: 14px 0 16px;
}

.ap-rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
}

.ap-rows dt {
  color: var(--muted);
}

.ap-rows dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.ap-rows dd.green { color: var(--green); }
.ap-rows dd.red { color: var(--red); }

.ap-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(23, 115, 109, 0.45);
  animation: ring 2.4s infinite;
}

.ap-btn.ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  animation: none;
}

@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(23, 115, 109, 0.45); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(23, 115, 109, 0); }
}

.auto-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.auto-cell:nth-child(even) {
  transform: translateY(36px);
}

.auto-cell:nth-child(even).reveal:not(.in) {
  transform: translateY(64px);
}

.auto-card {
  position: relative;
  height: 100%;
  padding: 28px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.auto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #f3d3ad;
}

.auto-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 13px;
  font-weight: 800;
  color: #e3e1ec;
}

.auto-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950));
  box-shadow: 0 12px 24px -12px var(--navy-800);
}

.auto-cell:nth-child(4) .auto-icon {
  background: linear-gradient(145deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 12px 24px -12px var(--orange-500);
}

.auto-card h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 800;
}

.auto-card p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .auto-inner {
    grid-template-columns: 1fr;
  }

  .auto-cards {
    padding-bottom: 36px;
  }
}

@media (max-width: 560px) {
  .auto-cards {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .auto-cell:nth-child(even),
  .auto-cell:nth-child(even).reveal:not(.in) {
    transform: none;
  }

  .auto-cell:nth-child(even).reveal:not(.in) {
    transform: translateY(28px);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: clamp(48px, 5vw, 64px);
}

/* Columns are sized to their content and the leftover width is shared
   equally, so the visible gap between every section is identical. */
.ft-top {
  --ft-gap: clamp(32px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 340px) repeat(4, max-content);
  justify-content: space-between;
  column-gap: var(--ft-gap);
  padding-bottom: 56px;
}

.ft-links {
  display: contents;
}

.ft-brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.ft-col h4 {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--orange-400);
}

.ft-col ul {
  display: grid;
  gap: 12px;
}

.ft-col a {
  font-size: 14px;
  transition: color 0.2s;
}

.ft-col a:hover {
  color: #fff;
}

.ft-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13.5px;
}

.ft-mail svg {
  flex-shrink: 0;
  color: var(--orange-400);
}

.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.ft-powered:hover b {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ft-bottom b {
  color: var(--orange-400);
}

.ft-top-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s, border-color 0.2s;
}

.ft-top-btn:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
}

@media (max-width: 1024px) {
  .ft-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ft-links {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    gap: var(--ft-gap);
  }

  .ft-brand p {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .ft-mail {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .ft-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 32px 24px;
  }
}

@media (max-width: 560px) {
  .ft-bottom {
    justify-content: center;
    text-align: center;
  }
}

