/* Antonio Pereira Web — dependency-free responsive visual system */

:root {
  color-scheme: light;
  --ink: #0b1220;
  --ink-soft: #4b5668;
  --ink-muted: #6c7686;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --surface-blue: #eef5ff;
  --line: #dfe4eb;
  --line-strong: #cbd3de;
  --blue: #0b57d0;
  --blue-dark: #073d91;
  --red: #d93025;
  --yellow: #f9ab00;
  --green: #137a49;
  --green-bright: #25d366;
  --focus: #075cca;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter,
    "Segoe UI", sans-serif;
  --text-xs: 0.78rem;
  --text-sm: clamp(0.9rem, 0.86rem + 0.14vw, 0.98rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --text-lg: clamp(1.16rem, 1.02rem + 0.55vw, 1.46rem);
  --text-xl: clamp(2rem, 1.55rem + 2vw, 3.55rem);
  --text-hero: clamp(2.65rem, 1.7rem + 4.1vw, 5.45rem);
  --space-1: 0.35rem;
  --space-2: 0.65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 7rem;
  --radius-sm: 0.8rem;
  --radius-md: 1.3rem;
  --radius-lg: 2rem;
  --radius-xl: 2.75rem;
  --shadow-sm: 0 1px 2px rgb(12 23 38 / 5%), 0 8px 24px rgb(12 23 38 / 6%);
  --shadow-md: 0 2px 4px rgb(12 23 38 / 5%), 0 20px 50px rgb(12 23 38 / 10%);
  --shadow-lg: 0 28px 80px rgb(8 20 38 / 16%);
  --container: 72rem;
  --container-copy: 49rem;
  --touch-target: 2.75rem;
  --transition: 180ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #c9ddff;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: var(--space-4);
  font-size: var(--text-hero);
  letter-spacing: -0.058em;
}

h2 {
  max-width: 13ch;
  margin-bottom: var(--space-5);
  font-size: var(--text-xl);
}

h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
}

p:last-child {
  margin-bottom: 0;
}

.site-body {
  min-width: 0;
  padding-bottom: 6.5rem;
  background:
    radial-gradient(circle at 93% 10%, rgb(11 87 208 / 8%), transparent 24rem),
    radial-gradient(circle at 3% 42%, rgb(249 171 0 / 5%), transparent 22rem),
    var(--surface);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--space-3);
  left: var(--space-3);
  min-height: var(--touch-target);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(203 211 222 / 70%);
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 8px 30px rgb(12 23 38 / 3%);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header--compact {
  border-bottom-color: rgb(203 211 222 / 92%);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 14px 36px rgb(12 23 38 / 8%);
}

.site-header__inner,
.site-main > section,
.site-footer {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  transition: min-height var(--transition), padding var(--transition);
}

.site-brand {
  display: inline-flex;
  min-height: var(--touch-target);
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-brand::before {
  width: 1.65rem;
  height: 1.65rem;
  border: 5px solid #fff;
  border-radius: 50%;
  background: conic-gradient(
    from 38deg,
    var(--blue) 0 25%,
    var(--red) 25% 50%,
    var(--yellow) 50% 75%,
    var(--green) 75% 100%
  );
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__link {
  display: inline-flex;
  min-height: var(--touch-target);
  align-items: center;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: var(--text-xs);
  font-weight: 680;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition);
}

.site-nav__link:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  padding-inline: 1rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 720;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

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

.button--primary {
  background: var(--blue);
  box-shadow: 0 8px 24px rgb(11 87 208 / 22%);
  color: #fff;
}

.button--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 30px rgb(11 87 208 / 28%);
}

.button--secondary {
  border-color: var(--line-strong);
  background: rgb(255 255 255 / 72%);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

[data-reveal].reveal-ready {
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 320ms cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-main > section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 8rem);
  scroll-margin-top: 7rem;
}

.hero {
  display: grid;
  min-height: calc(100svh - 4.5rem);
  align-items: center;
  gap: var(--space-6);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-4);
  color: var(--blue-dark);
  font-size: var(--text-xs);
  font-weight: 780;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.6rem;
  height: 0.6rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0.35rem rgb(19 122 73 / 10%);
  content: "";
}

.hero__summary {
  max-width: 42rem;
  margin-bottom: var(--space-5);
  color: var(--ink-soft);
  font-size: var(--text-lg);
  letter-spacing: -0.015em;
  line-height: 1.55;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__visual {
  position: relative;
  min-width: 0;
  min-height: 34rem;
  contain: paint;
  isolation: isolate;
}

.hero__visual::before {
  position: absolute;
  z-index: -2;
  inset: 8% -4% 12%;
  border-radius: 50%;
  background: rgb(11 87 208 / 14%);
  filter: blur(65px);
  content: "";
}

.visibility-map {
  position: absolute;
  inset: 0 0 7.5rem;
  overflow: hidden;
  border: 1px solid rgb(203 211 222 / 90%);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(28deg, transparent 0 42%, rgb(255 255 255 / 88%) 42.4% 47%, transparent 47.4%),
    linear-gradient(112deg, transparent 0 54%, rgb(255 255 255 / 80%) 54.4% 59%, transparent 59.4%),
    linear-gradient(145deg, #eaf2e5 0 20%, #f2f4ee 20% 38%, #e6eef6 38% 57%, #f4efe5 57% 76%, #e8f1e4 76% 100%);
  box-shadow: var(--shadow-lg);
}

.visibility-map::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.6%, rgb(11 87 208 / 14%) 49.6% 50.4%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, rgb(11 87 208 / 14%) 49.6% 50.4%, transparent 50.4%);
  background-size: 4.2rem 4.2rem;
  content: "";
  opacity: 0.4;
}

.visibility-map::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgb(255 255 255 / 40%), transparent 40% 68%, rgb(11 87 208 / 8%));
  content: "";
  pointer-events: none;
}

.visibility-map__road {
  position: absolute;
  z-index: 1;
  display: block;
  height: 0.75rem;
  border: 1px solid rgb(249 171 0 / 25%);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 0.22rem rgb(255 255 255 / 45%);
  transform-origin: center;
}

.visibility-map__road--one {
  top: 25%;
  left: -12%;
  width: 88%;
  transform: rotate(17deg);
}

.visibility-map__road--two {
  top: 58%;
  left: 18%;
  width: 98%;
  transform: rotate(-29deg);
}

.visibility-map__road--three {
  top: 3%;
  left: 55%;
  width: 70%;
  transform: rotate(75deg);
}

.visibility-map__area {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 42% 58% 60% 40%;
}

.visibility-map__area--one {
  top: 7%;
  left: 8%;
  width: 31%;
  height: 25%;
  background: rgb(19 122 73 / 12%);
  transform: rotate(-8deg);
}

.visibility-map__area--two {
  right: 6%;
  bottom: 8%;
  width: 27%;
  height: 21%;
  background: rgb(11 87 208 / 10%);
  transform: rotate(16deg);
}

.visibility-map__pin {
  position: absolute;
  z-index: 3;
  width: 1.05rem;
  height: 1.05rem;
  border: 0.2rem solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  box-shadow: 0 5px 12px rgb(11 18 32 / 24%);
  transform: rotate(-45deg);
  animation: map-pin-float 3.6s ease-in-out infinite;
}

.visibility-map__pin--one {
  top: 24%;
  left: 24%;
}

.visibility-map__pin--two {
  top: 39%;
  right: 19%;
  background: var(--yellow);
  animation-delay: -1.4s;
}

.visibility-map__pin--three {
  bottom: 17%;
  left: 29%;
  background: var(--green);
  animation-delay: -2.5s;
}

.visibility-map__signal {
  position: absolute;
  z-index: 2;
  top: 49%;
  left: 52%;
  width: 1rem;
  height: 1rem;
  border: 0.25rem solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgb(11 87 208 / 28%);
  animation: map-signal 2.8s ease-out infinite;
}

.visibility-map__profile {
  position: absolute;
  z-index: 4;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  max-width: calc(100% - 2.4rem);
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.visibility-map__initials {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.visibility-map__profile-copy,
.visibility-map__profile-copy strong,
.visibility-map__profile-copy span {
  display: block;
}

.visibility-map__profile-copy {
  min-width: 0;
  color: var(--ink);
  font-size: 0.69rem;
  line-height: 1.35;
}

.visibility-map__profile-copy strong {
  font-size: 0.76rem;
  letter-spacing: -0.015em;
}

.visibility-map__profile-copy span {
  overflow: hidden;
  color: var(--ink-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-visual-card {
  position: absolute;
  z-index: 5;
  right: 1rem;
  bottom: 0;
  left: 1rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: var(--radius-lg);
  background: rgb(11 18 32 / 94%);
  box-shadow: var(--shadow-lg);
  color: #dce4ef;
  backdrop-filter: blur(22px);
}

.hero-visual-card__label {
  margin-bottom: 0.95rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-visual-card__list {
  display: grid;
  margin-bottom: 0;
  padding: 0;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.45;
  list-style: none;
}

.hero-visual-card__list li {
  position: relative;
  padding-left: 1.45rem;
}

.hero-visual-card__list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 0.68rem;
  height: 0.68rem;
  border: 2px solid #07180e;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 2px rgb(37 211 102 / 18%);
  content: "";
}

.site-main > .trust-strip {
  width: min(calc(100% - 2rem), var(--container));
  padding-block: 0;
}

.trust-strip p {
  position: relative;
  margin: 0;
  padding: 1.3rem 1.4rem 1.3rem 1.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 76%);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: var(--text-sm);
  font-weight: 620;
  text-align: center;
}

.trust-strip p::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.35rem;
  background: linear-gradient(to bottom, var(--blue) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75%);
  content: "";
}

.problem {
  display: grid;
  gap: var(--space-4);
}

.problem h2 {
  margin-bottom: 0;
}

.problem p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.services,
.pricing {
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
}

.card-grid {
  display: grid;
  gap: var(--space-3);
}

.service-card,
.industry-card,
.pricing-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.industry-card:hover,
.pricing-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card::before,
.industry-card::before {
  display: block;
  width: 0.78rem;
  height: 0.78rem;
  margin-bottom: var(--space-5);
  border: 0.2rem solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0.22rem rgb(11 87 208 / 12%);
  content: "";
}

.service-card:nth-child(2)::before,
.industry-card:nth-child(2)::before {
  background: var(--red);
  box-shadow: 0 0 0 0.22rem rgb(217 48 37 / 11%);
}

.service-card:nth-child(3)::before,
.industry-card:nth-child(3)::before {
  background: var(--yellow);
  box-shadow: 0 0 0 0.22rem rgb(249 171 0 / 14%);
}

.service-card:nth-child(4)::before,
.industry-card:nth-child(4)::before {
  background: var(--green);
  box-shadow: 0 0 0 0.22rem rgb(19 122 73 / 12%);
}

.service-card p,
.industry-card p,
.pricing-card > p:last-child {
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

.industry-card {
  background: linear-gradient(145deg, #fff, #f8fafc);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: var(--space-3);
  counter-reset: process;
  list-style: none;
}

.process-step {
  position: relative;
  padding: 1.6rem 1.5rem 1.6rem 4.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  counter-increment: process;
}

.process-step::before {
  position: absolute;
  top: 1.5rem;
  left: 1.35rem;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0.35rem var(--surface-blue);
  color: #fff;
  content: counter(process, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 800;
}

.process-step p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

.pricing-card {
  display: flex;
  min-height: 19rem;
  flex-direction: column;
  justify-content: center;
}

.pricing-card__price {
  margin-bottom: var(--space-4);
  color: var(--blue-dark);
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2.1rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.pricing-card--featured {
  border-color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgb(11 87 208 / 42%), transparent 48%),
    var(--ink);
  color: #d7dfeb;
}

.pricing-card--featured::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0.35rem rgb(37 211 102 / 12%);
  content: "";
}

.pricing-card--featured h3,
.pricing-card--featured .pricing-card__price {
  color: #fff;
}

.pricing-card--featured > p:last-child {
  color: #c5cfdd;
}

.results {
  display: grid;
  gap: var(--space-5);
}

.results h2 {
  margin-bottom: 0;
}

.results-stack {
  display: grid;
  padding: clamp(1.6rem, 5vw, 3rem);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #fff, #f4f7fb);
  box-shadow: var(--shadow-md);
}

.results-stack p {
  position: relative;
  margin: 0;
  padding: 1.2rem 0 1.2rem 2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.results-stack p:last-child {
  border-bottom: 0;
}

.results-stack p::before {
  position: absolute;
  top: 1.8rem;
  left: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.results-stack p:nth-child(2)::before {
  background: var(--yellow);
}

.results-stack p:nth-child(3)::before {
  background: var(--green);
}

.faq {
  max-width: var(--container-copy);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  padding: 1.15rem 3.25rem 1.15rem 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.015em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  right: 0.25rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--blue);
  content: "+";
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transition: transform var(--transition), background-color var(--transition);
}

.faq-item[open] summary::after {
  background: var(--surface-blue);
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 42rem;
  padding: 0 2rem 1.6rem 0;
  color: var(--ink-soft);
}

.contact {
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding-inline: clamp(1.5rem, 6vw, 5rem);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 94% 15%, rgb(11 87 208 / 55%), transparent 35%),
    radial-gradient(circle at 0 100%, rgb(19 122 73 / 25%), transparent 35%),
    var(--ink);
  box-shadow: var(--shadow-lg);
  color: #c9d2de;
}

.contact::before {
  position: absolute;
  top: -5rem;
  right: -4rem;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgb(255 255 255 / 4%), 0 0 0 5rem rgb(255 255 255 / 3%);
  content: "";
}

.contact h2 {
  position: relative;
  max-width: 12ch;
  color: #fff;
}

.contact > p {
  position: relative;
  max-width: 42rem;
  margin-bottom: var(--space-5);
}

.contact .button--primary {
  background: #fff;
  box-shadow: none;
  color: var(--ink);
}

.contact .button--primary:hover {
  background: var(--surface-blue);
}

.contact .button--secondary {
  border-color: rgb(255 255 255 / 28%);
  background: rgb(255 255 255 / 7%);
  color: #fff;
}

.site-footer {
  display: grid;
  padding-block: var(--space-5) var(--space-6);
  border-top: 1px solid var(--line);
  gap: var(--space-2);
  color: var(--ink-muted);
  font-size: var(--text-xs);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  display: inline-flex;
  min-height: var(--touch-target);
  align-items: center;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  margin: 0;
  padding: 0;
  gap: var(--space-4);
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
}

.mobile-audit-cta {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 1rem;
  display: inline-flex;
  min-height: 3.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 14px 42px rgb(11 18 32 / 32%);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 760;
  text-align: center;
  text-decoration: none;
}

.mobile-audit-cta::before {
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.65rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0.25rem rgb(37 211 102 / 15%);
  content: "";
}

/* Legal pages */
.legal-body {
  min-height: 100vh;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 100% 0, rgb(11 87 208 / 10%), transparent 30rem),
    var(--surface-soft);
}

.legal-main {
  width: min(100%, 52rem);
  margin: clamp(1rem, 6vw, 5rem) auto;
  padding: clamp(1.5rem, 6vw, 4.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.legal-main::before {
  display: block;
  width: 2.2rem;
  height: 0.35rem;
  margin-bottom: var(--space-5);
  border-radius: 999px;
  background: linear-gradient(to right, var(--blue) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75%);
  content: "";
}

.legal-main h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

.legal-main > p:first-of-type {
  margin-bottom: var(--space-6);
  color: var(--ink-soft);
  font-size: var(--text-lg);
}

.legal-main section {
  padding-block: var(--space-4);
  border-top: 1px solid var(--line);
}

.legal-main section h2 {
  max-width: none;
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  letter-spacing: -0.025em;
}

.legal-main section p {
  margin-bottom: 0.8rem;
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

.legal-main section ul {
  margin-bottom: 0.8rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

.legal-main section li + li {
  margin-top: 0.65rem;
}

.legal-main section > :last-child {
  margin-bottom: 0;
}

.legal-main a {
  display: inline-flex;
  min-height: var(--touch-target);
  align-items: center;
  color: var(--blue-dark);
  font-weight: 650;
  overflow-wrap: anywhere;
}

@keyframes map-pin-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.35rem;
  }
}

@keyframes map-signal {
  0% {
    box-shadow: 0 0 0 0 rgb(11 87 208 / 32%);
  }
  70%,
  100% {
    box-shadow: 0 0 0 3.2rem rgb(11 87 208 / 0%);
  }
}

@media (max-width: 759px) {
  .site-body--js [data-nav] {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgb(255 255 255 / 94%);
    box-shadow: var(--shadow-sm);
    gap: 0.35rem;
  }

  .site-body--js [data-nav] .site-nav__link {
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
  }

  .site-body--js [data-nav] .site-nav__link:hover {
    background: var(--surface-soft);
  }

  .site-nav {
    order: 3;
    width: 100%;
    padding-bottom: 0.5rem;
    overflow-x: auto;
    gap: 0.25rem;
    scrollbar-color: var(--line-strong) transparent;
    scrollbar-width: thin;
  }

  .site-nav::-webkit-scrollbar {
    height: 0.25rem;
  }

  .site-nav::-webkit-scrollbar-track {
    background: transparent;
  }

  .site-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--line-strong);
  }

  .site-nav__link {
    flex: 0 0 auto;
    padding-inline: 0.8rem;
  }

  .site-header__inner {
    flex-wrap: wrap;
    padding-top: 0.35rem;
  }

  .site-header__inner > .button {
    display: none;
  }

  .site-header__inner > .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header--compact .site-header__inner {
    min-height: 4.15rem;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero__actions .button {
    width: 100%;
  }

  .contact__actions .button {
    width: 100%;
    word-break: break-word;
  }
}

@media (min-width: 760px) {
  .site-body {
    padding-bottom: 0;
  }

  .menu-toggle {
    display: none !important;
  }

  .site-header__inner {
    min-height: 5rem;
    flex-wrap: wrap;
    padding-block: 0.35rem;
  }

  .site-header--compact .site-header__inner {
    min-height: 4.55rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 0.1rem;
  }

  .site-nav__link {
    padding-inline: 0.45rem;
  }

  .site-header__inner > .button {
    min-height: var(--touch-target);
    padding-inline: 0.85rem;
    font-size: 0.72rem;
  }

  .mobile-audit-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: clamp(6rem, 10vw, 8.5rem);
  }

  .hero__visual {
    min-height: 38rem;
  }

  .hero-visual-card {
    right: 1.5rem;
    left: 12%;
  }

  .problem {
    grid-template-columns: minmax(15rem, 0.95fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

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

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-step {
    min-height: 18rem;
    padding: 5.4rem 1.6rem 1.8rem;
  }

  .process-step::before {
    top: 1.7rem;
    left: 1.65rem;
  }

  .process-step:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 2.9rem;
    left: calc(100% - 0.4rem);
    width: calc(var(--space-3) + 0.8rem);
    height: 1px;
    background: var(--line-strong);
    content: "";
  }

  .results {
    grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
    align-items: start;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .site-header__inner,
  .site-main > section,
  .site-footer {
    width: min(calc(100% - 4rem), var(--container));
  }

  .site-header__inner {
    flex-wrap: nowrap;
    padding-block: 0;
  }

  .site-header--compact .site-header__inner {
    min-height: 4.6rem;
  }

  .site-brand {
    font-size: 0.95rem;
  }

  .site-nav {
    order: initial;
    width: auto;
    gap: 0.2rem;
  }

  .site-nav__link {
    padding-inline: 0.6rem;
  }

  .site-header__inner > .button {
    padding-inline: 1.05rem;
    font-size: 0.76rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(22rem, 0.82fr);
    min-height: calc(100svh - 5rem);
    gap: clamp(3rem, 7vw, 7rem);
  }

  .hero__visual {
    min-height: 36rem;
  }

  .visibility-map {
    inset: 0 0 6.5rem;
  }

  .hero-visual-card {
    right: 1.25rem;
    left: 17%;
  }

  .services .card-grid,
  .industries .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-card,
  .industry-card {
    min-height: 19rem;
  }

  .pricing .card-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .pricing-card--featured {
    transform: translateY(-0.55rem);
  }

  .pricing-card--featured:hover {
    transform: translateY(-0.8rem);
  }
}

@media (min-width: 1200px) {
  .site-nav__link {
    padding-inline: 0.75rem;
  }

  .site-header__inner > .button {
    padding-inline: 1.25rem;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
