: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;
}

img,
video {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

@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;
  min-height: 100dvh;
  overflow-x: clip;
}

body.nav-drawer-open {
  overflow: hidden;
}

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, 100%);
  max-width: 100%;
  margin-inline: auto;
  position: relative;
  z-index: 1;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
}

.narrow {
  width: min(720px, 100%);
}

/* --- 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: 0.65rem;
  padding-top: max(0.85rem, env(safe-area-inset-top, 0px));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Header CTA: vibrant purple → blue pill (distinct from generic .btn-primary) */
.site-header .header-demo-btn {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.52rem 1.35rem;
  gap: 0.42rem;
  border: none;
  color: #fff;
  background: linear-gradient(90deg, #7c3aed 0%, #6366f1 42%, #2563eb 100%);
  box-shadow:
    0 12px 32px rgba(124, 58, 237, 0.38),
    0 4px 14px rgba(37, 99, 235, 0.28);
}

.site-header .header-demo-btn:hover {
  color: #fff;
  background: linear-gradient(90deg, #6d28d9 0%, #4f46e5 45%, #1d4ed8 100%);
  box-shadow:
    0 16px 38px rgba(109, 40, 217, 0.42),
    0 6px 16px rgba(29, 78, 216, 0.32);
}

.site-header .header-demo-btn:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
}

.header-demo-btn-icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin-top: 0.04em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(3, 4, 94, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(0, 119, 182, 0.08);
  border-color: rgba(0, 119, 182, 0.28);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--c-600);
  outline-offset: 3px;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  width: 22px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--c-950);
  transition:
    transform 0.28s ease,
    opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.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: flex;
  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);
  }
}

@media (max-width: 767px) {
  .site-header::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
    z-index: 44;
  }

  .site-header.nav-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, calc(100vw - 2.25rem));
    width: min(20rem, calc(100dvw - 2.25rem));
    margin: 0;
    padding: calc(4.25rem + env(safe-area-inset-top, 0px)) 1rem 1.25rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    background: #fff;
    border-left: 1px solid rgba(3, 4, 94, 0.12);
    box-shadow: -12px 0 40px rgba(3, 4, 94, 0.18);
    z-index: 46;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s ease,
      visibility 0.32s ease;
  }

  .site-header.nav-open .nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    justify-content: flex-start;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    white-space: normal;
    font-size: 0.92rem;
    min-height: 44px;
  }

  .header-demo-btn {
    min-height: 44px;
    padding-inline: 1rem;
    touch-action: manipulation;
  }
}

@media (min-width: 768px) {
  .site-header::before {
    content: none;
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
  }

  .nav a {
    justify-content: center;
    padding: 0.42rem 0.9rem;
    white-space: nowrap;
    font-size: 0.8rem;
    min-height: 0;
  }

  .header-actions {
    gap: 0.65rem;
  }
}

.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;
}

.header-contact-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.header-contact-cluster--compact {
  flex-shrink: 0;
}

.header-contact-sep {
  color: rgba(3, 4, 94, 0.32);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.header-contact-sep--compact {
  font-size: 0.8rem;
}

@media (max-width: 767px) {
  .nav .header-contact-cluster {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.35rem;
    align-items: stretch;
    margin-top: 0.35rem;
  }

  .nav .header-contact-sep {
    display: none;
  }

  .nav a.header-office-tel--in-nav {
    display: inline-flex;
    margin-top: 0;
    padding: 1rem;
    border-radius: 14px;
    border: 1px dashed rgba(0, 119, 182, 0.38);
    background: rgba(0, 119, 182, 0.06);
    font-size: 1rem;
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
  }
}

@media (min-width: 768px) {
  .nav > .header-contact-cluster {
    margin-left: 0.15rem;
  }

  .nav a.header-office-tel--in-nav {
    display: inline-flex;
    margin-left: 0;
    margin-top: 0;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    width: auto;
    min-height: 0;
    font-size: inherit;
  }
}

.header-office-tel--mobile {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header-office-tel--mobile {
    display: none;
  }
}

@media (max-width: 380px) {
  .header-contact-cluster--compact {
    display: none;
  }
}

/* --- 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;
  touch-action: manipulation;
}

.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;
  background-color: var(--c-950);
}

/* Layered hero art: bg-main (full-bleed gradient + sweep) + smart city on the right */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--c-950);
  background-image:
    url("https://www.i-neighbour.com/templates/layout/img/2023/smartcity.png"),
    url("https://www.i-neighbour.com/templates/layout/img/2023/bg-main.png");
  background-repeat: no-repeat, no-repeat;
  background-position:
    right 2% bottom -2%,
    center bottom;
  background-size:
    auto min(104%, 760px),
    cover;
}

@media (max-width: 959px) {
  .hero::before {
    background-position:
      right 10% bottom -5%,
      58% bottom;
    background-size:
      auto min(118%, 620px),
      220% auto;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      rgba(3, 4, 94, 0.82) 0%,
      rgba(3, 4, 94, 0.45) 34%,
      rgba(15, 23, 42, 0.22) 58%,
      rgba(248, 250, 252, 0.04) 82%,
      transparent 96%
    ),
    radial-gradient(ellipse 95% 80% at 10% -8%, rgba(0, 150, 199, 0.28), transparent 50%),
    radial-gradient(ellipse 55% 45% at 92% 20%, rgba(0, 180, 216, 0.12), transparent 48%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero::after {
    animation: hero-pulse 18s ease-in-out infinite alternate;
  }
}

@keyframes hero-pulse {
  0% {
    filter: saturate(1) brightness(1);
  }

  100% {
    filter: saturate(1.08) brightness(1.04);
  }
}

.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;
}

@media (max-width: 479px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-cta > .btn {
    width: 100%;
    min-height: 48px;
    touch-action: manipulation;
  }
}

@media (max-width: 360px) {
  .site-header .header-demo-btn {
    padding-inline: 0.8rem;
    font-size: 0.71rem;
    letter-spacing: 0.055em;
  }

  .site-header .header-demo-btn-icon {
    width: 0.9em;
    height: 0.9em;
  }
}

.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);
}

@keyframes hero-trust-flash {
  0%,
  100% {
    border-color: rgba(167, 139, 250, 0.92);
    background: rgba(109, 40, 217, 0.22);
    box-shadow:
      0 0 0 1px rgba(167, 139, 250, 0.35),
      0 0 18px rgba(139, 92, 246, 0.45);
  }

  50% {
    border-color: rgba(56, 189, 248, 0.95);
    background: rgba(14, 165, 233, 0.22);
    box-shadow:
      0 0 0 1px rgba(14, 165, 233, 0.4),
      0 0 18px rgba(0, 180, 216, 0.48);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .trust-strip li.trust-strip-flash {
    animation: hero-trust-flash 1.15s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .trust-strip li.trust-strip-flash {
    border-color: rgba(167, 139, 250, 0.65);
    box-shadow: none;
  }
}

.hero-visual {
  position: relative;
  min-height: clamp(360px, 44vw, 500px);
}

/* Three feature cards: vertical stack - top/bottom nudged left vs middle (desktop) */
.hero-visual-cards {
  position: absolute;
  top: 50%;
  right: clamp(0.5rem, 3vw, 1.85rem);
  left: auto;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1rem, 2.2vw, 1.45rem);
  width: min(264px, calc(100% - 1rem));
  pointer-events: none;
}

.hero-visual-cards .glass-card {
  pointer-events: auto;
}

.hero .glass-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(186, 230, 253, 0.45);
  background: rgba(248, 250, 252, 0.94);
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.12),
    0 0 28px rgba(56, 189, 248, 0.32),
    0 0 52px rgba(14, 165, 233, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 260px;
  width: 100%;
  margin: 0;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
}

.hero .glass-card strong {
  display: block;
  font-size: 1rem;
  margin: 0.35rem 0 0.25rem;
  color: #0f172a;
  font-weight: 800;
}

.hero .glass-card p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  color: #1e293b;
}

.stack-b {
  z-index: 1;
  animation: float-b 8s ease-in-out infinite, pulse-glass 3.4s ease-in-out infinite;
}

.stack-c {
  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 (min-width: 960px) {
  .hero-visual-cards .stack-b,
  .hero-visual-cards .stack-c {
    --hero-card-edge-shift: clamp(-1.65rem, -4.5vw, -0.55rem);
  }
}

.stack-ai {
  z-index: 1;
  animation: float-ai 8.7s ease-in-out infinite, pulse-glass 3.6s ease-in-out infinite;
  animation-delay: -3.2s, -0.7s;
}

@media (max-width: 959px) {
  .hero-visual {
    min-height: 0;
    padding-bottom: 0.35rem;
  }

  .hero-visual-cards {
    position: relative;
    inset: auto;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    align-items: stretch;
    margin-inline: auto;
    width: min(300px, 96%);
    padding-block: 0.85rem 0.15rem;
    pointer-events: auto;
  }

  .hero .glass-card {
    max-width: none;
  }
}

.hero .pill {
  align-self: center;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: linear-gradient(115deg, #0369a1 0%, #0284c7 100%);
  color: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.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: translate3d(var(--hero-card-edge-shift, 0px), 0, 0) scale(1);
  }
  50% {
    transform: translate3d(var(--hero-card-edge-shift, 0px), -5px, 0) scale(1.01);
  }
}

@keyframes float-c {
  0%,
  100% {
    transform: translate3d(var(--hero-card-edge-shift, 0px), 4px, 0) scale(1);
  }
  50% {
    transform: translate3d(var(--hero-card-edge-shift, 0px), -6px, 0) scale(1.01);
  }
}

@keyframes float-ai {
  0%,
  100% {
    transform: translate3d(0, 6px, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -5px, 0) scale(1.01);
  }
}

@keyframes pulse-glass {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(14, 165, 233, 0.12),
      0 0 28px rgba(56, 189, 248, 0.32),
      0 0 52px rgba(14, 165, 233, 0.18);
    border-color: rgba(186, 230, 253, 0.45);
    background-color: rgba(248, 250, 252, 0.94);
  }

  50% {
    box-shadow:
      0 0 0 2px rgba(125, 211, 252, 0.4),
      0 0 40px rgba(56, 189, 248, 0.48),
      0 0 72px rgba(14, 165, 233, 0.26);
    border-color: rgba(56, 189, 248, 0.55);
    background-color: rgba(255, 255, 255, 0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack-b,
  .stack-c,
  .stack-ai {
    animation: none;
  }

  @media (min-width: 960px) {
    .hero-visual-cards .stack-b,
    .hero-visual-cards .stack-c {
      transform: translateX(clamp(-1.65rem, -4.5vw, -0.55rem));
    }
  }
}

.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;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  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-grid-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.pkg-grid-layout .pkg-grid {
  flex: 1;
  min-width: 0;
  margin-inline: auto;
}

.pkg-estimate-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.2rem;
  border: 1px solid rgba(0, 119, 182, 0.38);
  box-shadow:
    0 12px 36px rgba(0, 119, 182, 0.14),
    0 4px 16px rgba(2, 62, 138, 0.08);
  text-align: center;
}

.pkg-estimate-kicker-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  margin: 0 0 0.5rem;
}

.pkg-estimate-brand {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--brand-deep);
}

.pkg-estimate-kicker-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-800);
}

.pkg-estimate-primary {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-950);
  line-height: 1.1;
}

.pkg-estimate-subsidy-note {
  margin: 0 0 0.95rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--brand-deep);
  text-wrap: balance;
  background: linear-gradient(
    135deg,
    rgba(0, 119, 182, 0.07) 0%,
    rgba(147, 51, 234, 0.06) 100%
  );
  border: 1px solid rgba(0, 119, 182, 0.22);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes pkg-estimate-subsidy-flash {
    0%,
    100% {
      transform: scale(1);
      filter: brightness(1);
      box-shadow:
        0 4px 14px rgba(0, 119, 182, 0.08),
        0 0 0 0 rgba(147, 51, 234, 0);
      border-color: rgba(0, 119, 182, 0.22);
    }

    50% {
      transform: scale(1.03);
      filter: brightness(1.09);
      box-shadow:
        0 0 0 3px rgba(0, 119, 182, 0.38),
        0 16px 38px rgba(124, 58, 237, 0.28);
      border-color: rgba(0, 119, 182, 0.58);
    }
  }

  .pkg-estimate-subsidy-note--flash {
    animation: pkg-estimate-subsidy-flash 1.65s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  @keyframes pkg-estimate-subsidy-flash-soft {
    0%,
    100% {
      opacity: 1;
      outline: transparent solid 0;
      outline-offset: 0;
    }

    50% {
      opacity: 0.96;
      outline: 2px solid rgba(0, 119, 182, 0.7);
      outline-offset: 3px;
    }
  }

  .pkg-estimate-subsidy-note--flash {
    animation: pkg-estimate-subsidy-flash-soft 2.4s ease-in-out infinite;
  }
}

.pkg-estimate-subline {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-900);
  line-height: 1.25;
}

.pkg-estimate-subtag {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

/* Subsidy popup: shown when #hr-packages enters view (see main.js) */
body.pkg-subsidy-popup-open {
  overflow: hidden;
}

.pkg-subsidy-popup[hidden] {
  display: none !important;
}

.pkg-subsidy-popup:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.pkg-subsidy-popup-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.52);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.pkg-subsidy-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  margin: auto;
  padding: 0.55rem 1.25rem 1.35rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(90deg, #7c3aed 0%, #6366f1 42%, #2563eb 100%);
  box-shadow:
    0 28px 64px rgba(37, 99, 235, 0.35),
    0 14px 32px rgba(124, 58, 237, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-align: center;
}

.pkg-subsidy-popup__head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.15rem;
}

.pkg-subsidy-popup__icon-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease;
}

.pkg-subsidy-popup__icon-close:hover {
  filter: brightness(1.1);
  background: rgba(255, 255, 255, 0.26);
}

.pkg-subsidy-popup__msg {
  margin: 0 0 1.1rem;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: #fff;
}

.pkg-subsidy-popup__close {
  width: 100%;
  max-width: 12rem;
  margin-inline: auto;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  font-weight: 800;
  color: var(--c-950);
  background: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.pkg-subsidy-popup__close:hover {
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: no-preference) {
  .pkg-subsidy-popup:not([hidden]) .pkg-subsidy-popup-dialog {
    animation: pkg-subsidy-popup-in 0.38s cubic-bezier(0.34, 1.46, 0.64, 1) both;
  }

  .pkg-subsidy-popup__msg {
    animation: pkg-subsidy-popup-text-pulse 1.15s ease-in-out infinite;
  }
}

@keyframes pkg-subsidy-popup-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(0.65rem);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pkg-subsidy-popup-text-pulse {
  0%,
  100% {
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.45),
      0 2px 0 rgba(0, 0, 0, 0.06);
    transform: scale(1);
  }

  50% {
    text-shadow:
      0 0 22px rgba(255, 255, 255, 0.75),
      0 0 10px rgba(253, 224, 71, 0.45);
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pkg-subsidy-popup__msg {
    animation: none;
  }

  .pkg-subsidy-popup:not([hidden]) .pkg-subsidy-popup-dialog {
    animation: none;
  }
}

.pkg-opt-in {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  text-align: left;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(0, 119, 182, 0.05);
  border: 1px solid rgba(0, 119, 182, 0.12);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-muted);
}

.pkg-opt-in-input {
  margin: 0.2rem 0 0;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--c-700);
  cursor: pointer;
}

.pkg-opt-in-text {
  flex: 1;
  min-width: 0;
}

.pkg-card--featured .pkg-opt-in {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(248, 250, 252, 0.88);
}

.pkg-card--featured .pkg-opt-in-input {
  accent-color: var(--c-400);
}

@keyframes pkg-opt-in-flash {
  0% {
    border-color: rgba(124, 58, 237, 0.72);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.28);
  }

  33.333% {
    border-color: rgba(234, 179, 8, 0.88);
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.38);
  }

  66.666% {
    border-color: rgba(0, 119, 182, 0.78);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.34);
  }

  100% {
    border-color: rgba(124, 58, 237, 0.72);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.28);
  }
}

@keyframes pkg-opt-in-flash-featured {
  0% {
    border-color: rgba(196, 181, 253, 0.92);
    box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.38);
  }

  33.333% {
    border-color: rgba(253, 224, 71, 0.95);
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.42);
  }

  66.666% {
    border-color: rgba(125, 211, 252, 0.95);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.4);
  }

  100% {
    border-color: rgba(196, 181, 253, 0.92);
    box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.38);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pkg-section.pkg-section--needs-module .pkg-card:not(.pkg-card--featured) .pkg-opt-in {
    animation: pkg-opt-in-flash 2.7s linear infinite;
  }

  .pkg-section.pkg-section--needs-module .pkg-card--featured .pkg-opt-in {
    animation: pkg-opt-in-flash-featured 2.7s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pkg-section.pkg-section--needs-module .pkg-opt-in {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow:
      inset 0 0 0 1px rgba(234, 179, 8, 0.45),
      inset 0 0 0 2px rgba(0, 119, 182, 0.35);
  }

  .pkg-section.pkg-section--needs-module .pkg-card--featured .pkg-opt-in {
    border-color: rgba(196, 181, 253, 0.75);
    box-shadow:
      inset 0 0 0 1px rgba(253, 224, 71, 0.5),
      inset 0 0 0 2px rgba(125, 211, 252, 0.45);
  }
}

@media (min-width: 981px) {
  .pkg-grid-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }

  .pkg-grid-layout .pkg-grid {
    max-width: 72rem;
    width: 100%;
    margin-inline: auto;
  }

  .pkg-estimate-card {
    position: fixed;
    top: 6rem;
    right: max(1rem, env(safe-area-inset-right, 0px));
    width: min(17.75rem, calc(100vw - 2rem));
    width: min(17.75rem, calc(100dvw - 2rem));
    max-width: 280px;
    z-index: 35;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.32s ease,
      visibility 0.32s ease;
  }

  .pkg-estimate-card.pkg-estimate-card--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 980px) {
  .pkg-estimate-card {
    position: relative;
    top: auto;
    right: auto;
    max-height: none;
    overflow: visible;
    order: -1;
    max-width: 26rem;
    margin-inline: auto;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .pkg-grid-layout {
    padding-right: 0;
  }
}

.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;
  min-width: 0;
  overflow-wrap: anywhere;
}

.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--lite {
  background: linear-gradient(145deg, var(--c-500) 0%, var(--c-800) 52%, var(--c-900) 100%);
}

.pkg-tier-icon--professional {
  background: linear-gradient(145deg, var(--c-700) 0%, var(--c-900) 50%, var(--c-600) 100%);
  border-radius: 14px;
}

.pkg-tier-icon--standard {
  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 auto 0.15rem;
  font-size: clamp(1.23rem, 3.45vw, 1.83rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.08;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.12em 0.35em;
  max-width: 100%;
}

.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: flex;
  align-items: center;
  justify-content: center;
  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;
  min-height: 48px;
  touch-action: manipulation;
}

.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;
}

@media (max-width: 480px) {
  .pkg-billing-toggle {
    max-width: 100%;
    width: min(22rem, 100%);
    margin-inline: auto;
  }

  .pkg-billing-btn {
    flex: 1 1 auto;
    min-height: 44px;
    touch-action: manipulation;
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
  }

  .pkg-qty-btn {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }
}

.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;
}

.pkg-foot-hourly-note {
  display: block;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  max-width: 42rem;
  margin-inline: auto;
}

@media (max-width: 960px) {
  .pkg-grid-layout .pkg-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 26rem;
    margin-inline: auto;
  }

  .pkg-card--featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .pkg-grid-layout .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);
  overflow-x: clip;
}

.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: 0;
  max-width: 100%;
  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;
}

/* Single centered device (one app) - no horizontal strip */
.mobile-phone-row--single {
  justify-content: center;
  overflow-x: visible;
  scroll-snap-type: none;
  margin-inline: 0;
  padding-inline: 0;
  padding-bottom: 0.35rem;
}

.mobile-phone-row--single .phone-showcase {
  flex: 0 1 auto;
  width: min(340px, 94vw);
}

.mobile-phone-row--single .phone-showcase-caption {
  max-width: 19rem;
}

@media (min-width: 1100px) {
  .mobile-phone-row--single .phone-showcase {
    width: min(360px, 40vw);
  }
}

/* Horizontal scroll strip (multiple screenshots; ~3 visible, snap between) */
.mobile-phone-row--pair {
  justify-content: center;
  overflow-x: visible;
  margin-inline: 0;
  padding-inline: 0;
  padding-bottom: 0.35rem;
}

.mobile-phone-row--pair .phone-showcase--dual {
  flex: 1 1 auto;
  width: min(1080px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.phone-showcase-link--dual {
  width: 100%;
  max-width: min(1080px, 100%);
}

/* Carousel: prev/next vertically centered + flat buttons with cyan glow */
.phone-strip-stage {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.5vw, 0.85rem);
  width: 100%;
  max-width: min(1180px, 100%);
  margin-inline: auto;
  padding-bottom: 0.35rem;
  isolation: isolate;
}

.phone-strip-nav {
  flex: 0 0 auto;
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  padding: 0;
  touch-action: manipulation;
  border: 1px solid rgba(186, 230, 253, 0.55);
  border-radius: 50%;
  cursor: pointer;
  color: #f0f9ff;
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 52%, #0369a1 100%);
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.28),
    0 4px 16px rgba(3, 105, 161, 0.25),
    0 0 24px rgba(56, 189, 248, 0.7),
    0 0 48px rgba(14, 165, 233, 0.35);
  transform: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.phone-strip-nav:hover {
  border-color: rgba(224, 242, 254, 0.85);
  box-shadow:
    0 0 0 2px rgba(125, 211, 252, 0.45),
    0 6px 20px rgba(3, 105, 161, 0.2),
    0 0 32px rgba(56, 189, 248, 0.9),
    0 0 64px rgba(14, 165, 233, 0.45);
}

.phone-strip-nav:active {
  transform: scale(0.94);
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.35),
    0 0 18px rgba(56, 189, 248, 0.55),
    0 0 36px rgba(14, 165, 233, 0.3);
}

.phone-strip-nav:focus {
  outline: none;
}

.phone-strip-nav:focus-visible {
  outline: 2px solid var(--c-600);
  outline-offset: 4px;
}

.phone-strip-nav-icon {
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(240, 249, 255, 0.5));
}

@media (prefers-reduced-motion: reduce) {
  .phone-strip-nav {
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
  }

  .phone-strip-nav:active {
    transform: none;
  }
}

.phone-shot-strip-viewport {
  --phone-strip-gap: clamp(0.45rem, 1.6vw, 1rem);
  --phone-strip-slot: 0.27; /* ~36% × 0.75 - strip items 25% smaller */
  --phone-strip-min: 132px; /* 176px × 0.75 */
  container-type: inline-size;
  container-name: phonestrip;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  margin-inline: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(0, 119, 182, 0.45) transparent;
  padding-bottom: 0.35rem;
}

.phone-strip-stage:hover .phone-shot {
  transform: translateY(-6px);
}

@media (max-width: 520px) {
  .phone-strip-nav {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  .phone-strip-stage {
    gap: 0.2rem;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-shot-strip-viewport {
    scroll-snap-type: x proximity;
  }
}

.phone-shot-strip-viewport::-webkit-scrollbar {
  height: 8px;
}

.phone-shot-strip-viewport::-webkit-scrollbar-thumb {
  background: rgba(0, 119, 182, 0.35);
  border-radius: 999px;
}

.phone-shot-pair--three-scroll {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: var(--phone-strip-gap);
  padding-inline: 0;
  width: max-content;
  min-width: 100%;
}

/* ~27% of strip width each (25% smaller than prior 36%) - scroll / auto-advance unchanged */
.phone-shot-pair--three-scroll .phone-shot-strip-item {
  flex: 0 0 max(var(--phone-strip-min), calc((100cqi - 2 * var(--phone-strip-gap)) * var(--phone-strip-slot)));
  width: max(var(--phone-strip-min), calc((100cqi - 2 * var(--phone-strip-gap)) * var(--phone-strip-slot)));
  max-width: none;
  margin-inline: 0;
  scroll-snap-align: center;
}

.phone-shot-pair--three-scroll .phone-shot-strip-item.phone-shot--solo-img {
  max-width: none;
}

/* Device frame: bezel + Dynamic Island–style notch (carousel strip only) */
.phone-shot-pair--three-scroll .phone-shot-strip-item.phone-shot--solo-img.phone-shot--framed {
  box-sizing: border-box;
  margin-inline: auto;
  padding: clamp(10px, 2.6cqi, 14px) clamp(10px, 2.6cqi, 14px) clamp(12px, 2.8cqi, 16px);
  padding-top: clamp(22px, 5.8cqi, 30px);
  border-radius: clamp(26px, 9cqi, 40px);
  background: linear-gradient(152deg, #383f4f 0%, #1e293b 28%, #0f172a 52%, #1a2234 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 16px 44px rgba(15, 23, 42, 0.28),
    0 6px 18px rgba(0, 119, 182, 0.1);
}

.phone-shot-pair--three-scroll .phone-shot-strip-item.phone-shot--solo-img.phone-shot--framed::before {
  content: "";
  position: absolute;
  top: clamp(8px, 2.4cqi, 12px);
  left: 50%;
  z-index: 3;
  width: clamp(52px, 30cqi, 78px);
  height: clamp(22px, 7cqi, 28px);
  border-radius: 999px;
  background: #020617;
  transform: translateX(-50%);
  box-shadow:
    inset 0 2px 3px rgba(0, 0, 0, 0.55),
    inset 0 -1px 1px rgba(255, 255, 255, 0.07);
}

.phone-shot-pair--three-scroll .phone-shot-strip-item.phone-shot--solo-img.phone-shot--framed::after {
  content: "";
  position: absolute;
  bottom: clamp(8px, 2.6cqi, 14px);
  left: 50%;
  z-index: 3;
  width: clamp(76px, 32cqi, 118px);
  height: clamp(5px, 1.6cqi, 7px);
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.phone-shot-pair--three-scroll .phone-shot-strip-item.phone-shot--solo-img.phone-shot--framed img {
  position: relative;
  z-index: 1;
  border-radius: clamp(16px, 5.5cqi, 26px);
  border: clamp(3px, 0.95cqi, 5px) solid #020617;
  box-sizing: border-box;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

@supports not (container-type: inline-size) {
  .phone-shot-pair--three-scroll .phone-shot-strip-item {
    flex: 0 0 max(132px, min(240px, 27vw));
    width: max(132px, min(240px, 27vw));
  }

  .phone-shot-pair--three-scroll .phone-shot-strip-item.phone-shot--solo-img.phone-shot--framed {
    padding: 10px 10px 13px;
    padding-top: 26px;
    border-radius: 34px;
  }

  .phone-shot-pair--three-scroll .phone-shot-strip-item.phone-shot--solo-img.phone-shot--framed::before {
    top: 9px;
    width: 58px;
    height: 24px;
    transform: translateX(-50%);
  }

  .phone-shot-pair--three-scroll .phone-shot-strip-item.phone-shot--solo-img.phone-shot--framed img {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-shot-pair--three-scroll .phone-shot-strip-item.phone-shot--solo-img.phone-shot--framed {
    transition: none;
  }
}

.mobile-phone-row--pair .phone-showcase-caption {
  max-width: 34rem;
}

.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;
}

/* Plans strip: show remote phone UI only - no frame / placeholder bezel */
.phone-shot--solo-img {
  background: transparent;
  overflow: visible;
  max-width: min(320px, 92vw);
  margin-inline: auto;
}

.phone-shot--solo-img img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 42px rgba(15, 23, 42, 0.18));
}

.phone-showcase--featured .phone-showcase-caption strong {
  color: var(--brand-deep);
}

.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);
  overflow-x: clip;
}

.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: 0;
  max-width: 100%;
  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 .features-subhead {
  margin-top: 2.85rem;
}

/* Value prop: headline stats - count-up via main.js when #value-prop-stats enters view */
.value-prop-stats {
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  max-width: min(56rem, 100%);
}

.value-prop-stats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 3vw, 1.65rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

@media (max-width: 720px) {
  .value-prop-stats__list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 18rem;
    margin-inline: auto;
  }

  .value-prop-stat--wide-label .value-prop-stat__label {
    max-width: none;
  }
}

.value-prop-stat {
  text-align: center;
  padding: clamp(1.1rem, 2.8vw, 1.35rem) clamp(1rem, 2vw, 1.25rem);
  border-radius: 18px;
  border: 1px solid rgba(0, 119, 182, 0.2);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 4px 22px rgba(0, 119, 182, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.value-prop-stat__figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.06em;
  flex-wrap: wrap;
  margin: 0 0 0.45rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  font-weight: 800;
  color: var(--c-900);
}

.value-prop-stat__num {
  white-space: nowrap;
}

.value-prop-stat__num--long {
  letter-spacing: -0.035em;
}

.value-prop-stat__suffix {
  font-weight: 800;
  color: var(--brand-deep);
  font-size: 0.92em;
}

.value-prop-stat__label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.35;
}

.value-prop-stat--wide-label .value-prop-stat__label {
  max-width: 14rem;
  margin-inline: auto;
}

/* --- 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;
  }
}

.features-diagram {
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  max-width: min(960px, 100%);
}

.features-diagram img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(3, 4, 94, 0.09);
  box-shadow:
    0 12px 36px rgba(3, 4, 94, 0.08),
    0 4px 12px rgba(0, 119, 182, 0.06);
}

.features-diagram.value-prop-smart-city {
  max-width: min(1080px, 100%);
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
}

.features-diagram.value-prop-smart-city img {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 56px rgba(15, 23, 42, 0.14),
    0 8px 24px rgba(0, 119, 182, 0.08);
}

.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));
}

.fc-icon-wrap img.fc-icon {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.fc-icon-wrap img.fc-icon[src$=".svg"] {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
}

.fc-icon.fc-icon--png {
  width: 2.35rem !important;
  height: 2.35rem !important;
  filter: none !important;
}

.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, #ffffff 0%, var(--surface-2) 42%, #e2f4fb 100%);
  border-block: 1px solid rgba(148, 163, 184, 0.24);
}

.solutions .section-head h2 {
  color: var(--text);
}

.solutions .section-head h2 .solutions-heading-accent {
  color: var(--brand-deep);
}

.solutions .section-head h2::after {
  background: linear-gradient(90deg, var(--brand), var(--pop-teal));
  box-shadow: 0 8px 22px rgba(0, 119, 182, 0.2);
}

.solutions .section-head p {
  color: var(--text-muted);
  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: var(--c-700);
  opacity: 0.95;
}

@media (max-width: 779px) {
  .dual-arrow {
    min-height: auto;
    padding: 0.15rem 0 0.35rem;
    transform: rotate(90deg);
  }
}

.dual-cell {
  padding: 1.35rem 1.45rem;
  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);
}

.dual-problem {
  border-left: 4px solid #ea580c;
  background: linear-gradient(165deg, #fffdfb 0%, #fff7ed 38%, #ffffff 100%);
  border-color: rgba(234, 88, 12, 0.2);
  box-shadow:
    0 8px 26px rgba(234, 88, 12, 0.08),
    0 4px 16px rgba(3, 4, 94, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.dual-fix {
  border-left: 4px solid var(--c-700);
  background: linear-gradient(165deg, #f5feff 0%, #ecfeff 40%, #ffffff 100%);
  border-color: rgba(0, 150, 199, 0.22);
  box-shadow:
    0 8px 26px rgba(0, 119, 182, 0.1),
    0 4px 16px rgba(3, 4, 94, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.dual-cell h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.08rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dual-cell p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.solutions .tag {
  display: inline-block;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solutions .dual-problem .tag-warn {
  color: #9a3412;
  background: rgba(254, 215, 170, 0.55);
  border: 1px solid rgba(249, 115, 22, 0.32);
}

.solutions .dual-fix .tag-ok {
  color: var(--c-900);
  background: rgba(0, 180, 216, 0.16);
  border: 1px solid rgba(0, 119, 182, 0.28);
}

/* --- 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 rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  background: linear-gradient(90deg, #7c3aed 0%, #6366f1 42%, #2563eb 100%);
  margin-bottom: 0.65rem;
  box-shadow:
    0 12px 32px rgba(124, 58, 237, 0.28),
    0 4px 14px rgba(37, 99, 235, 0.22);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.faq details:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(90deg, #6d28d9 0%, #4f46e5 45%, #1d4ed8 100%);
  box-shadow:
    0 16px 38px rgba(109, 40, 217, 0.32),
    0 6px 16px rgba(29, 78, 216, 0.28);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  color: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq summary:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
  border-radius: 6px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.65rem 0 0;
  color: rgba(241, 245, 249, 0.95);
  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);
}

.back-to-top {
  position: fixed;
  z-index: 50;
  bottom: max(1.35rem, calc(0.85rem + env(safe-area-inset-bottom, 0px)));
  right: max(1.35rem, calc(0.85rem + env(safe-area-inset-right, 0px)));
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: #f8fafc;
  background: linear-gradient(145deg, var(--c-800) 0%, var(--brand) 48%, var(--c-600) 100%);
  box-shadow: 0 4px 18px rgba(2, 62, 138, 0.35), 0 2px 6px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 8px 26px rgba(2, 62, 138, 0.38), 0 3px 8px rgba(15, 23, 42, 0.2);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(72, 202, 228, 0.95);
  outline-offset: 3px;
}

.back-to-top-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin: auto;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}
