:root {
  /* Coolors palette — https://coolors.co/03045e-023e8a-0077b6-0096c7-00b4d8-48cae4-90e0ef-ade8f4-caf0f8 */
  --c-950: #03045e;
  --c-900: #023e8a;
  --c-800: #0077b6;
  --c-700: #0096c7;
  --c-600: #00b4d8;
  --c-500: #48cae4;
  --c-400: #90e0ef;
  --c-300: #ade8f4;
  --c-200: #caf0f8;

  --brand: var(--c-700);
  --brand-hover: var(--c-800);
  --brand-deep: var(--c-900);
  --cyan: var(--c-600);
  --cyan-bright: var(--c-500);
  --pop-teal: var(--c-500);

  --navy-950: var(--c-950);
  --navy-900: var(--c-900);
  --navy-800: var(--c-800);

  --surface: #ffffff;
  --surface-2: var(--c-200);
  --surface-3: var(--c-300);

  --text: var(--c-950);
  --text-muted: rgba(3, 4, 94, 0.72);
  --text-soft: rgba(3, 4, 94, 0.56);

  --stroke: rgba(3, 4, 94, 0.1);
  --stroke-strong: rgba(0, 119, 182, 0.35);

  /* Header office line — fallback colour when motion is reduced */
  --office-tel: var(--c-800);
  --office-tel-hover: var(--c-950);

  --warn-bg: linear-gradient(135deg, #fff8f6 0%, var(--c-200) 100%);
  --ok-bg: linear-gradient(135deg, var(--c-300) 0%, var(--c-200) 48%, #ffffff 100%);

  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 24px 48px rgba(3, 4, 94, 0.12);
  --shadow-card: 0 12px 32px rgba(0, 119, 182, 0.18);

  --font: "Nunito Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--surface-2);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

main {
  position: relative;
  z-index: 1;
}

main a {
  color: var(--c-800);
  font-weight: 600;
}

main a:hover {
  color: var(--c-900);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 150, 199, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 55%, black 10%, transparent 65%);
  opacity: 0.55;
  z-index: 0;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.narrow {
  width: min(720px, 92vw);
}

/* ——— Header (light bar) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(3, 4, 94, 0.08);
  box-shadow: 0 4px 20px rgba(3, 4, 94, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo:hover {
  opacity: 0.92;
}

.logo-img {
  display: block;
  height: clamp(30px, 4.5vw, 40px);
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(3, 4, 94, 0.14);
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-950);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav a:hover {
  background: rgba(0, 119, 182, 0.08);
  border-color: rgba(0, 119, 182, 0.32);
  color: var(--c-900);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(3, 4, 94, 0.07);
}

.nav a:focus-visible {
  outline: 2px solid var(--c-600);
  outline-offset: 3px;
}

.header-office-tel {
  font-weight: 800;
  color: var(--office-tel);
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .header-office-tel {
    animation: header-office-tel-rainbow 12s ease-in-out infinite;
  }
}

.header-office-tel:hover {
  animation: none;
  color: var(--office-tel-hover);
  text-shadow: none;
  text-decoration: none;
}

.header-office-tel:focus-visible {
  outline: 2px solid var(--c-700);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav .header-office-tel {
  font-weight: 800;
  color: var(--office-tel);
}

.nav .header-office-tel:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--office-tel-hover);
  text-shadow: none;
}

@keyframes header-office-tel-rainbow {
  0%,
  100% {
    color: #0077b6;
    text-shadow: 0 0 12px rgba(0, 119, 182, 0.42);
  }

  16.666% {
    color: #15803d;
    text-shadow: 0 0 12px rgba(21, 128, 61, 0.42);
  }

  33.333% {
    color: #ea580c;
    text-shadow: 0 0 12px rgba(234, 88, 12, 0.42);
  }

  50% {
    color: #dc2626;
    text-shadow: 0 0 12px rgba(220, 38, 38, 0.42);
  }

  66.666% {
    color: #7c3aed;
    text-shadow: 0 0 12px rgba(124, 58, 237, 0.42);
  }

  83.333% {
    color: #ca8a04;
    text-shadow: 0 0 12px rgba(202, 138, 4, 0.45);
  }
}

.nav a.header-office-tel--in-nav {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 768px) {
  .nav a.header-office-tel--in-nav {
    display: inline-flex;
    margin-left: 0.15rem;
  }
}

.header-office-tel--mobile {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header-office-tel--mobile {
    display: none;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.88rem 1.45rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(115deg, var(--c-800) 0%, var(--c-700) 40%, var(--c-600) 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 119, 182, 0.38), 0 4px 16px rgba(0, 180, 216, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(115deg, var(--c-900) 0%, var(--c-800) 45%, var(--c-700) 100%);
  box-shadow: 0 18px 42px rgba(2, 62, 138, 0.35);
}

/* Default ghost (light sections) */
.btn-ghost {
  border-color: var(--stroke-strong);
  background: var(--surface);
  color: var(--brand-deep);
}

.btn-ghost:hover {
  border-color: var(--brand);
  background: var(--surface-2);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(3.5rem, 9vw, 5.5rem);
  color: #f8fafc;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 100% 85% at 15% -15%, rgba(0, 150, 199, 0.52), transparent 52%),
    radial-gradient(ellipse 75% 55% at 92% 18%, rgba(0, 180, 216, 0.38), transparent 50%),
    radial-gradient(ellipse 60% 50% at 68% 88%, rgba(72, 202, 228, 0.32), transparent 54%),
    radial-gradient(ellipse 45% 40% at 8% 92%, rgba(2, 62, 138, 0.45), transparent 48%),
    linear-gradient(165deg, var(--c-950) 0%, var(--c-900) 36%, var(--c-800) 68%, var(--c-900) 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: hero-pulse 18s ease-in-out infinite alternate;
  }
}

@keyframes hero-pulse {
  0% {
    filter: saturate(1) brightness(1);
  }
  100% {
    filter: saturate(1.12) brightness(1.05);
  }
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-400);
  margin: 0 0 1rem;
}

.headline-accent {
  display: block;
  margin-top: 0.15em;
  background: linear-gradient(100deg, var(--c-400) 0%, #f8fafc 44%, var(--c-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 640px) {
  .headline-accent {
    display: inline;
    margin-top: 0;
  }
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #f8fafc;
  font-weight: 800;
}

.hero .lead {
  font-size: 1.08rem;
  color: rgba(226, 232, 240, 0.9);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.trust-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero .trust-strip li {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 252, 0.95);
}

.hero-visual {
  position: relative;
  min-height: clamp(320px, 40vw, 420px);
}

.hero .glass-card {
  position: absolute;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  max-width: 260px;
  width: min(248px, 88%);
}

.hero .glass-card strong {
  display: block;
  font-size: 1rem;
  margin: 0.35rem 0 0.25rem;
  color: #fff;
}

.hero .glass-card p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.85);
}

.stack-b {
  bottom: 10%;
  right: 5%;
  left: auto;
  margin-inline: 0;
  z-index: 1;
  animation: float-b 8s ease-in-out infinite, pulse-glass 3.4s ease-in-out infinite;
}

.stack-c {
  top: 6%;
  left: 5%;
  right: auto;
  margin-inline: 0;
  z-index: 2;
  animation: float-c 9.5s ease-in-out infinite, pulse-glass 4s ease-in-out infinite;
  animation-delay: -2.5s, -1.1s;
}

@media (max-width: 959px) {
  .hero-visual {
    min-height: clamp(400px, 52vw, 500px);
  }

  .hero .glass-card {
    width: min(268px, 94%);
    left: 0;
    right: 0;
    margin-inline: auto;
  }

  .stack-c {
    top: 2%;
    bottom: auto;
  }

  .stack-b {
    bottom: 4%;
    top: auto;
  }
}

.hero .pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 150, 199, 0.42);
  color: var(--c-200);
}

.orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.7;
  z-index: -1;
}

.orbit-1 {
  width: 240px;
  height: 240px;
  background: rgba(72, 202, 228, 0.42);
  top: 38%;
  left: 32%;
}

.orbit-2 {
  width: 200px;
  height: 200px;
  background: rgba(0, 180, 216, 0.38);
  bottom: 8%;
  left: 10%;
}

@keyframes float-b {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(6px, -14px) rotate(0.35deg) scale(1.025);
  }
}

@keyframes float-c {
  0%,
  100% {
    transform: translate(0, 4px) scale(1);
  }
  50% {
    transform: translate(-5px, -16px) scale(1.03);
  }
}

@keyframes pulse-glass {
  0%,
  100% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.07);
  }
  50% {
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.33), 0 0 52px rgba(72, 202, 228, 0.22);
    border-color: rgba(255, 255, 255, 0.32);
    background-color: rgba(255, 255, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack-b,
  .stack-c {
    animation: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— HR packages — transparent pricing hero + three tiers ——— */
.pkg-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 42%, var(--c-200) 100%);
  border-bottom: 1px solid rgba(0, 119, 182, 0.1);
}

.pkg-section-glow {
  pointer-events: none;
  position: absolute;
  inset: -40% -20% auto -20%;
  height: min(85vw, 52rem);
  background:
    radial-gradient(ellipse 55% 45% at 50% 35%, rgba(0, 119, 182, 0.14), transparent 68%),
    radial-gradient(ellipse 40% 35% at 18% 55%, rgba(0, 180, 216, 0.12), transparent 62%),
    radial-gradient(ellipse 38% 32% at 82% 50%, rgba(2, 62, 138, 0.1), transparent 58%);
}

.pkg-section-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.pkg-section-head {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  padding-inline: 0.35rem;
}

.pkg-section-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-800);
}

.pkg-section-heading {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}

.pkg-section-lead {
  margin: 0 auto 1.35rem;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 38rem;
}

.pkg-section-head .pkg-billing-wrap {
  margin: 0;
  justify-content: center;
}

.pkg-billing-toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: linear-gradient(94deg, var(--c-700) 0%, var(--c-800) 42%, var(--c-900) 100%);
  border: none;
  gap: 4px;
  box-shadow: 0 12px 36px rgba(2, 62, 138, 0.28);
}

.pkg-billing-btn {
  appearance: none;
  margin: 0;
  padding: 0.52rem 1.35rem;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pkg-billing-btn:hover:not(.is-selected) {
  color: #fff;
}

.pkg-billing-btn.is-selected {
  background: #fff;
  color: var(--c-900);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
}

.pkg-billing-btn.is-selected:hover {
  color: var(--c-900);
  filter: none;
}

.pkg-billing-btn.is-selected .pkg-billing-badge {
  color: #059669;
}

.pkg-billing-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

.pkg-billing-btn:not(.is-selected) .pkg-billing-badge {
  color: #d9f99d;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  max-width: 72rem;
  margin-inline: auto;
}

.pkg-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 1.65rem 1.45rem 1.55rem;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.03),
    0 22px 48px rgba(0, 119, 182, 0.08),
    0 2px 4px rgba(3, 4, 94, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.22);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.pkg-tier-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--c-400) 0%, var(--c-800) 45%, var(--c-600) 100%);
  box-shadow: 0 10px 28px rgba(0, 119, 182, 0.22);
}

.pkg-tier-icon-glyph {
  width: 1.38rem;
  height: 1.38rem;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
}

.pkg-tier-icon--ta {
  background: linear-gradient(145deg, var(--c-500) 0%, var(--c-800) 52%, var(--c-900) 100%);
}

.pkg-tier-icon--claims {
  background: linear-gradient(145deg, var(--c-700) 0%, var(--c-900) 50%, var(--c-600) 100%);
  border-radius: 14px;
}

.pkg-tier-icon--leave {
  background: linear-gradient(145deg, var(--c-500) 0%, var(--c-700) 50%, var(--c-900) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.pkg-sub {
  margin: 0 0 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.45;
}

.pkg-card--featured {
  background: linear-gradient(152deg, var(--c-800) 0%, var(--c-900) 42%, var(--c-950) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 28px 56px rgba(2, 62, 138, 0.35),
    0 12px 28px rgba(0, 119, 182, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.pkg-card--featured .pkg-sub {
  color: rgba(248, 250, 252, 0.82);
}

.pkg-title {
  margin: 0 0 0.35rem;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-950);
}

.pkg-card--featured .pkg-title,
.pkg-card--featured .pkg-price {
  color: #fff;
}

.pkg-card--featured .pkg-price-detail {
  color: rgba(248, 250, 252, 0.82);
}

.pkg-card--featured .pkg-price-unit {
  color: rgba(248, 250, 252, 0.62);
}

.pkg-price {
  margin: 0 0 0.15rem;
  font-size: clamp(1.23rem, 3.45vw, 1.83rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.08;
}

.pkg-price-detail {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.4;
}

.pkg-qty {
  margin: 0 0 1rem;
  text-align: center;
}

.pkg-qty-label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.pkg-card--featured .pkg-qty-label {
  color: rgba(248, 250, 252, 0.78);
}

.pkg-qty-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 10px;
  border: 1px solid rgba(3, 4, 94, 0.12);
  background: rgba(2, 62, 138, 0.04);
  overflow: hidden;
  max-width: 13rem;
  margin-inline: auto;
}

.pkg-qty-btn {
  flex: 0 0 2.6rem;
  height: 2.35rem;
  border: none;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-900);
  background: var(--surface);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.pkg-qty-btn:hover {
  background: rgba(0, 119, 182, 0.1);
  color: var(--c-800);
}

.pkg-qty-btn:focus-visible {
  outline: 2px solid var(--c-600);
  outline-offset: -2px;
  z-index: 1;
}

.pkg-qty-input {
  flex: 1;
  min-width: 0;
  height: 2.35rem;
  border: none;
  border-left: 1px solid rgba(3, 4, 94, 0.1);
  border-right: 1px solid rgba(3, 4, 94, 0.1);
  margin: 0;
  padding: 0 0.35rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  color: var(--c-950);
  background: var(--surface);
  /* Firefox hides spinners via appearance */
  appearance: textfield;
}

.pkg-qty-input::-webkit-outer-spin-button,
.pkg-qty-input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.pkg-qty-hint {
  margin: 0.45rem 0 0;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-muted);
}

.pkg-card--featured .pkg-qty-hint {
  color: rgba(226, 232, 240, 0.72);
}

.pkg-card--featured .pkg-qty-control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.pkg-card--featured .pkg-qty-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.pkg-card--featured .pkg-qty-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.pkg-card--featured .pkg-qty-input {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.pkg-price-prefix {
  display: inline;
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: baseline;
  margin-right: 0.2em;
  color: var(--text-muted);
}

.pkg-price-unit {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: -0.02em;
}

.pkg-price--custom .pkg-price-prefix {
  font-size: 1em;
  font-weight: 800;
  color: #0f172a;
}

.pkg-price--custom .pkg-price-unit {
  font-size: 0.42em;
  display: block;
  margin-top: 0.2em;
  font-weight: 600;
}

.pkg-includes {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  text-align: left;
}

.pkg-card--featured .pkg-includes {
  color: rgba(255, 255, 255, 0.94);
}

.pkg-cta {
  display: block;
  margin: 0.35rem 0 0;
  padding: 0.88rem 1rem;
  border-radius: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background: linear-gradient(92deg, var(--c-900) 0%, var(--c-800) 45%, var(--c-700) 100%);
  box-shadow: 0 14px 32px rgba(2, 62, 138, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pkg-card--featured .pkg-cta {
  background: #fff;
  color: var(--c-900);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.pkg-card--featured .pkg-cta:hover {
  filter: brightness(1.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.pkg-cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 18px 42px rgba(0, 119, 182, 0.32);
}

.pkg-feat {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
  text-align: left;
  flex: 1;
}

.pkg-feat li {
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.42rem 0 0.42rem 1.45rem;
  border-bottom: 1px solid rgba(3, 4, 94, 0.06);
  line-height: 1.45;
}

.pkg-feat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: var(--c-800);
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.25);
}

.pkg-feat li::after {
  content: "";
  position: absolute;
  left: 0.24rem;
  top: 50%;
  width: 0.26rem;
  height: 0.45rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(0.05rem, -60%) rotate(45deg);
}

.pkg-card--featured .pkg-feat li {
  color: rgba(226, 232, 240, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.pkg-card--featured .pkg-feat li::before {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.pkg-card--featured .pkg-feat li::after {
  border-color: #fff;
}

.pkg-feat li:last-child {
  border-bottom: none;
}

.pkg-foot {
  margin: 0 auto;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--text-soft);
  text-align: center;
  max-width: 52rem;
  padding-inline: 0.5rem;
}

@media (max-width: 960px) {
  .pkg-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 26rem;
  }

  .pkg-card--featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .pkg-grid {
    max-width: none;
  }

  .pkg-card--featured .pkg-title {
    padding-right: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pkg-cta {
    transition: none;
  }

  .pkg-card--featured {
    transform: none;
  }
}

/* ——— Mobile module showcase (official TimeTec imagery) ——— */
.mobile-showcase {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
  background-color: var(--surface);
  border-bottom: 1px solid rgba(3, 4, 94, 0.06);
}

.mobile-showcase-inner {
  display: flex;
  flex-direction: column;
}

.mobile-showcase-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.mobile-showcase-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-800);
}

.mobile-showcase-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.9vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-950);
}

.mobile-showcase-lead {
  margin: 0 auto;
  max-width: 46rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.mobile-phone-row {
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  padding: 0.5rem 0 1rem;
  margin-inline: calc(-1 * max(0px, (100vw - min(1120px, 92vw)) / 2));
  padding-inline: max(4vw, 1rem);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(0, 119, 182, 0.45) #ffffff;
}

.mobile-phone-row::-webkit-scrollbar {
  height: 8px;
}

.mobile-phone-row::-webkit-scrollbar-thumb {
  background: rgba(0, 119, 182, 0.35);
  border-radius: 999px;
}

.phone-showcase {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: min(240px, 82vw);
}

.phone-showcase-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.phone-showcase-link:focus-visible .phone-shot {
  outline: 2px solid var(--c-600);
  outline-offset: 4px;
}

.phone-showcase-link:hover .phone-shot {
  transform: translateY(-6px);
}

.phone-shot {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: visible;
  background-color: var(--surface);
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-shot img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

.phone-showcase-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  max-width: 13rem;
}

.phone-showcase-caption strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-950);
}

.phone-showcase-caption span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.35;
}

@media (min-width: 1100px) {
  .mobile-phone-row {
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: visible;
    padding-inline: 0;
    margin-inline: 0;
  }

  .phone-showcase {
    width: min(260px, 30%);
  }
}

/* ——— T&A scrolling packages (marquee) ——— */
.ta-packages {
  position: relative;
  z-index: 1;
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(2.75rem, 6vw, 4rem);
  background: linear-gradient(180deg, var(--c-950) 0%, var(--c-900) 42%, var(--c-800) 100%);
  border-top: 1px solid rgba(0, 119, 182, 0.22);
  border-bottom: 1px solid rgba(0, 119, 182, 0.18);
  box-shadow: inset 0 1px 0 rgba(173, 232, 244, 0.08);
}

.ta-packages-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-500);
}

.ta-packages-lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.02rem;
  color: rgba(173, 232, 244, 0.82);
  line-height: 1.55;
}

.ta-packages-intro {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.ta-packages-intro h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.ta-marquee-shell {
  position: relative;
  margin-inline: calc(-1 * max(0px, (100vw - min(1120px, 92vw)) / 2));
  padding-inline: max(4vw, 1rem);
}

.ta-marquee-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 8vw, 100px);
  z-index: 2;
  pointer-events: none;
}

.ta-marquee-edge--start {
  left: 0;
  background: linear-gradient(90deg, var(--c-900) 0%, transparent 100%);
}

.ta-marquee-edge--end {
  right: 0;
  background: linear-gradient(270deg, var(--c-900) 0%, transparent 100%);
}

.ta-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.ta-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-block: 0.35rem;
  animation: ta-marquee-scroll 52s linear infinite;
}

.ta-marquee:hover .ta-marquee-track {
  animation-play-state: paused;
}

@keyframes ta-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ta-pack {
  flex: 0 0 auto;
  width: min(280px, 78vw);
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(72, 202, 228, 0.18);
  background: linear-gradient(
    155deg,
    rgba(2, 62, 138, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(3, 4, 94, 0.55) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 15, 45, 0.35), inset 0 1px 0 rgba(173, 232, 244, 0.12);
}

.ta-pack-icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.55rem;
  filter: drop-shadow(0 4px 12px rgba(0, 119, 182, 0.35));
}

.ta-pack-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.ta-pack-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(173, 232, 244, 0.88);
}

@media (prefers-reduced-motion: reduce) {
  .ta-marquee-track {
    animation: none;
    flex-wrap: nowrap;
    width: max-content;
    padding-bottom: 0.25rem;
  }

  .ta-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-color: rgba(0, 119, 182, 0.45) rgba(3, 4, 94, 0.4);
  }

  .ta-marquee-shell .ta-marquee-edge {
    opacity: 0;
  }

  .ta-pack {
    scroll-snap-align: start;
  }

  .ta-marquee-track .ta-pack:nth-child(n + 11) {
    display: none;
  }
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  position: relative;
  z-index: 1;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--text);
  font-weight: 800;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.85rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--pop-teal));
}

.section-head p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-head-light h2 {
  color: var(--text);
}

.section-head-light h2::after {
  background: linear-gradient(90deg, var(--brand-deep), var(--cyan));
}

.section-head-light p {
  color: var(--text-muted);
}

/* ——— Features: light grey band + elevated cards ——— */
.features {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 42%, #eceff4 100%);
  border-block: 1px solid var(--stroke);
}

.features .feature-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

@media (min-width: 900px) {
  .features .feature-grid {
    gap: 1.35rem;
  }
}

.feature-card {
  position: relative;
  padding: 1.45rem 1.35rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(3, 4, 94, 0.09);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 52%, #f1f5f9 100%);
  box-shadow:
    0 4px 20px rgba(3, 4, 94, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -40% -60% auto auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 119, 182, 0.14) 0%, rgba(0, 119, 182, 0.04) 45%, transparent 68%);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 15% -60% 15%;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, rgba(2, 62, 138, 0.04) 50%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 119, 182, 0.22);
  box-shadow:
    0 22px 44px rgba(3, 4, 94, 0.1),
    0 0 0 1px rgba(0, 119, 182, 0.06),
    0 0 36px rgba(0, 119, 182, 0.08);
}

.feature-card:hover::before {
  opacity: 0.85;
  transform: translate(-12px, -8px) scale(1.08);
}

.feature-card:hover::after {
  opacity: 1;
}

.fc-icon-wrap {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  color: #fff;
  box-shadow: 0 8px 22px rgba(3, 4, 94, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.fc-icon-wrap::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: inherit;
  filter: blur(14px);
  opacity: 0.35;
  z-index: -1;
}

.fc-icon {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
}

.feature-card:nth-child(8n + 1) .fc-icon-wrap {
  background: linear-gradient(145deg, var(--c-950) 0%, var(--c-700) 100%);
}

.feature-card:nth-child(8n + 2) .fc-icon-wrap {
  background: linear-gradient(145deg, var(--c-900) 0%, var(--c-600) 100%);
}

.feature-card:nth-child(8n + 3) .fc-icon-wrap {
  background: linear-gradient(145deg, var(--c-900) 0%, var(--c-800) 100%);
}

.feature-card:nth-child(8n + 4) .fc-icon-wrap {
  background: linear-gradient(145deg, var(--c-800) 0%, var(--c-700) 100%);
}

.feature-card:nth-child(8n + 5) .fc-icon-wrap {
  background: linear-gradient(145deg, var(--c-950) 0%, var(--c-600) 100%);
}

.feature-card:nth-child(8n + 6) .fc-icon-wrap {
  background: linear-gradient(145deg, var(--c-800) 0%, var(--c-500) 100%);
}

.feature-card:nth-child(8n + 7) .fc-icon-wrap {
  background: linear-gradient(145deg, var(--c-900) 0%, var(--c-500) 100%);
}

.feature-card:nth-child(8n + 8) .fc-icon-wrap {
  background: linear-gradient(145deg, var(--c-700) 0%, var(--c-400) 100%);
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.58;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card:hover {
    transform: none;
  }
}

.solutions {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--c-950) 0%, var(--c-900) 42%, var(--c-800) 100%);
  border-block: 1px solid rgba(0, 119, 182, 0.2);
  box-shadow: inset 0 1px 0 rgba(173, 232, 244, 0.08);
}

.solutions .section-head h2 {
  color: #f8fafc;
}

.solutions .section-head h2 .solutions-heading-accent {
  color: #fb923c;
}

.solutions .section-head h2::after {
  background: linear-gradient(90deg, var(--c-400), var(--c-600), var(--brand), var(--c-500));
  box-shadow: 0 0 22px rgba(0, 180, 216, 0.35);
}

.solutions .section-head p {
  color: rgba(173, 232, 244, 0.82);
  max-width: 46rem;
}

.dual-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dual-row {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 780px) {
  .dual-row {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 0.65rem 0.85rem;
  }

  .dual-arrow {
    align-self: center;
  }
}

.dual-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.25rem;
}

.dual-arrow-icon {
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  color: #fff;
  animation: dual-arrow-flash 1.2s ease-in-out infinite;
}

@keyframes dual-arrow-flash {
  0%,
  100% {
    opacity: 0.55;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
  }

  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 10px rgba(255, 255, 255, 1)) drop-shadow(0 0 22px rgba(255, 255, 255, 0.55));
  }
}

@media (max-width: 779px) {
  .dual-arrow {
    min-height: auto;
    padding: 0.15rem 0 0.35rem;
    transform: rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dual-arrow-icon {
    animation: none;
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.65));
  }
}

.dual-cell {
  padding: 1.35rem 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.dual-problem {
  background: linear-gradient(155deg, #ea580c 0%, #c2410c 52%, #9a3412 100%);
  border-color: rgba(254, 215, 170, 0.55);
  box-shadow:
    0 14px 36px rgba(154, 52, 18, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dual-fix {
  background: linear-gradient(155deg, #047857 0%, #065f46 48%, #064e3b 100%);
  border-color: rgba(16, 185, 129, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(167, 243, 208, 0.12);
}

.dual-cell h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.08rem;
  color: #f1f5f9;
  font-weight: 800;
}

.dual-cell p {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
}

.tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solutions .tag-warn {
  color: #fff7ed;
}

.solutions .tag-ok {
  color: rgba(236, 253, 245, 0.98);
}

/* ——— Lead ——— */
.lead-section {
  padding-bottom: clamp(4rem, 10vw, 6rem);
  background: linear-gradient(180deg, #f1f5f9 0%, #e8ecf1 52%, #e2e8f0 100%);
  border-block: 1px solid rgba(148, 163, 184, 0.28);
}

.lead-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .lead-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
  }
}

.lead-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
  font-weight: 800;
}

.lead-copy > p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

.lead-bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
}

.lead-bullets li {
  margin-bottom: 0.45rem;
}

.lead-bullets li::marker {
  color: var(--pop-teal);
}

.lead-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(165deg, var(--c-900) 0%, var(--c-950) 42%, #0f172a 100%);
  box-shadow:
    0 28px 56px rgba(2, 62, 138, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(1.5rem, 3vw, 2rem);
  padding-top: calc(1.25rem + 6px);
}

.lead-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--c-400), var(--c-600), var(--brand), var(--c-500));
}

.lead-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.lead-panel .lead-form label {
  color: rgba(248, 250, 252, 0.9);
}

.lead-panel .req-mark {
  color: #fecdd3;
  font-weight: 800;
  margin-left: 0.12em;
}

.optional {
  font-weight: 500;
  opacity: 0.7;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lead-panel .lead-form input,
.lead-panel .lead-form select,
.lead-panel .lead-form textarea {
  border-color: rgba(148, 163, 184, 0.55);
  background: #fff;
  color: var(--text);
}

.lead-panel .lead-form input::placeholder,
.lead-panel .lead-form textarea::placeholder {
  color: var(--text-soft);
}

.lead-panel .lead-form select {
  color-scheme: light;
}

.lead-panel .lead-form select option {
  background: #fff;
  color: var(--c-950);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--cyan-bright);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.22);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row.two {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.lead-panel .lead-form input:focus,
.lead-panel .lead-form select:focus,
.lead-panel .lead-form textarea:focus {
  border-color: var(--c-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.28);
}

.lead-panel .lead-form .btn-primary {
  animation: lead-btn-flash 1.35s ease-in-out infinite;
}

.lead-panel .lead-form .btn-primary:hover {
  animation-play-state: paused;
}

.lead-panel .lead-form .btn-primary:disabled {
  animation: none;
  opacity: 0.88;
}

@keyframes lead-btn-flash {
  0%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 14px 36px rgba(0, 119, 182, 0.38),
      0 4px 16px rgba(0, 180, 216, 0.22),
      0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    filter: brightness(1.14);
    box-shadow:
      0 16px 40px rgba(0, 119, 182, 0.48),
      0 6px 22px rgba(0, 180, 216, 0.38),
      0 0 28px rgba(255, 255, 255, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-panel .lead-form .btn-primary {
    animation: none;
  }
}

.form-footnote {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.lead-panel .form-footnote {
  color: rgba(226, 232, 240, 0.68);
}

.lead-panel .form-footnote a {
  color: var(--c-400);
}

.lead-panel .form-footnote a:hover {
  color: var(--c-300);
}

.lead-form-error {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.lead-success {
  text-align: center;
  padding: 2rem 1rem;
}

.lead-panel .lead-success h3 {
  color: #f8fafc;
}

.lead-panel .lead-success p {
  color: rgba(226, 232, 240, 0.86);
}

.lead-panel .lead-success code {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--c-300);
}

.lead-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
}

.lead-panel .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lead-success h3 {
  margin: 0.75rem 0 0.35rem;
  color: var(--text);
}

.lead-success p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.success-icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 201, 183, 0.2), rgba(125, 202, 57, 0.2));
  color: #047857;
  font-size: 1.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ——— FAQ ——— */
.faq {
  background: var(--surface);
  border-top: 1px solid var(--stroke);
}

.faq .section-head h2::after {
  margin-bottom: 0;
}

.faq details {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  background: var(--surface-2);
  margin-bottom: 0.65rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details:hover {
  border-color: rgba(0, 150, 199, 0.15);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  color: var(--text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

code {
  font-size: 0.85em;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(0, 150, 199, 0.08);
  border: 1px solid rgba(0, 150, 199, 0.12);
  color: var(--brand-deep);
}
