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

html,
body {
  margin: 0;
  padding: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  background: #ffffff;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: none;
}

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

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

input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ----- Page shell: fixed 1440 desktop canvas, centered + clipped, exactly
   mirroring lib/theme/layout.dart's kPageWidth approach. Below the compact
   breakpoint a fluid single-column layout takes over instead. ----- */
.page {
  width: 100%;
  overflow-x: clip;
}

.desktop-canvas {
  position: relative;
  width: var(--page-width);
  margin: 0 auto;
}

.compact-flow {
  display: none;
}

@media (max-width: 1023px) {
  .desktop-canvas {
    display: none;
  }
  .compact-flow {
    display: block;
  }
}

.abs {
  position: absolute;
}

.section-canvas {
  position: relative;
  width: var(--page-width);
  overflow: visible;
}

/* Scroll reveal (mirrors widgets/scroll_reveal.dart) */
.reveal {
  opacity: 0;
  transform: translate(var(--rx, 0), var(--ry, 28px));
  transition: opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal.in {
  opacity: 1;
  transform: translate(0, 0);
}

/* Opacity-only variant: for content (like the service badges) where an
   animated transform on the wrapper risks a compositing artifact in some
   renderers because its children use border-radius pill shapes. */
.reveal--fade {
  opacity: 0;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal--fade.in {
  opacity: 1;
}

/* Scroll-linked reveal (mirrors widgets/scroll_linked_reveal.dart) */
.reveal-linked {
  opacity: 0;
  transform: translate(var(--rx, 0), var(--ry, 60px));
  transition: opacity 0.15s linear, transform 0.15s linear;
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-linked {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
