/* ==========================================================================
   Go2 Workers — shared design system
   Customer-facing marketing website. Inlined in <head> by every page via
   a single <link rel="stylesheet" href="styles.css">.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #edf1f4;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --surface-3: #f1f4f7;

  /* text */
  --fg: #1f2a37;
  --fg-soft: #2f3a4a;
  --muted: #5d5d5d;
  --muted-2: #8d9eb2;

  /* lines */
  --border: #e2e7ec;
  --border-2: #ced4da;

  /* brand cyan family */
  --cyan-50: #e6f8fb;
  --cyan-100: #b6eaf2;
  --cyan-300: #6ed8e6;
  --cyan-500: #1eb7cd;
  --cyan-600: #08a8be;
  --cyan-700: #038ea0;

  /* accents (used sparingly) */
  --accent: #3acce1;
  --accent-deep: #08c2df;
  --highlight: #f5d33a;
  --pink: #e70891;
  /* reserved for referral surface */
  --green: #1ea36b;

  /* type */
  --font-sans:
    -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-mono:
    ui-monospace, SFMono-Regular, 'JetBrains Mono', 'IBM Plex Mono', Menlo, Consolas, monospace;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* shadows */
  --shadow-1: 0 1px 0 rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-2: 0 6px 24px rgba(15, 23, 42, 0.06);
  --shadow-3: 0 20px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--cyan-100);
  color: var(--fg);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 760px;
}

.container-prose {
  max-width: 720px;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

p {
  margin: 0 0 1em 0;
  color: var(--fg-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-700);
  font-weight: 700;
  background: var(--cyan-50);
  padding: 6px 10px;
  border-radius: var(--r-pill);
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 60ch;
}

.muted {
  color: var(--muted-2);
}

.mono {
  font-family: var(--font-mono);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--cyan-500);
  color: #fff;
  box-shadow: 0 6px 16px rgba(8, 168, 190, 0.25);
}

.btn-primary:hover {
  background: var(--cyan-600);
}

.btn-secondary {
  background: var(--fg);
  color: #fff;
}

.btn-secondary:hover {
  background: #0e1620;
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-2);
}

.btn-outline:hover {
  border-color: var(--fg);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
}

.btn-ghost:hover {
  background: var(--surface-3);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-1);
}

.card-soft {
  background: var(--surface-2);
  box-shadow: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 0;
}

.nav-brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.nav-brand-logo {
  display: block;
  height: 50px;
  width: auto;
  border-radius: 48%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  color: var(--fg-soft);
  font-weight: 500;
}

.nav-link:hover {
  background: var(--surface-3);
  color: var(--fg);
}

.nav-link.active {
  color: var(--fg);
  background: var(--surface-3);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
}

@media (max-width: 820px) {
  .site-header {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav {
    gap: 12px;
    height: 60px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 20px;
    margin: 0;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-2);
    z-index: 60;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: #ffffff;
  }

  .nav-link {
    background: #ffffff;
    padding: 14px 12px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-cta {
    margin: 12px 0 0 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
  }

  .nav-toggle .bar,
  .nav-toggle .bar::before,
  .nav-toggle .bar::after {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: var(--fg);
    position: relative;
  }

  .nav-toggle .bar::before {
    position: absolute;
    top: -6px;
  }

  .nav-toggle .bar::after {
    position: absolute;
    top: 6px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(80% 60% at 80% 0%, var(--cyan-50) 0%, transparent 60%),
    radial-gradient(50% 40% at 10% 30%, #fff 0%, transparent 60%), var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin-top: 16px;
}

.hero p.lede {
  margin-top: 18px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-meta .tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta .tick::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23038ea0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
  flex: 0 0 auto;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-trust-badges .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-soft);
  box-shadow: var(--shadow-1);
}

.hero-trust-badges .trust-badge svg {
  color: var(--cyan-700);
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .hero-trust-badges {
    justify-content: center;
  }

  .hero-trust-badges .trust-badge {
    background: rgba(255, 255, 255, 0.98);
  }
}

.hero-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.hero-phone {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 32px;
  background: linear-gradient(180deg, #0e1620 0%, #1a2230 100%);
  border: 8px solid #0e1620;
  max-width: 280px;
  margin: 24px auto 0;
  padding: 16px 12px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.hero-phone .notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0a1018;
  border-radius: 999px;
}

.hero-phone .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 22px;
}

.hero-phone .row .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-phone .row .status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-300);
}

.hero-phone h4 {
  font-size: 14px;
  color: #fff;
  margin-top: 14px;
}

.hero-phone .service {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  margin-top: 8px;
  font-size: 12px;
}

.hero-phone .service .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(58, 204, 225, 0.15);
  display: grid;
  place-items: center;
  color: var(--cyan-300);
  flex: 0 0 auto;
}

.hero-phone .service .name {
  font-weight: 600;
  color: #fff;
}

.hero-phone .service .meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-phone .cta {
  margin-top: 14px;
  background: var(--cyan-500);
  color: #fff;
  text-align: center;
  border-radius: var(--r-pill);
  padding: 10px;
  font-weight: 700;
  font-size: 12px;
}

.hero-phone .review {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-phone .stars {
  color: var(--highlight);
  letter-spacing: 1px;
  font-size: 12px;
}

/* ---------- Hero with banner background ---------- */
.hero--banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 96px 0 88px;
  min-height: 560px;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero--banner .container {
  position: relative;
  z-index: 1;
}

.hero-grid--banner {
  grid-template-columns: minmax(0, 560px) 1fr;
}

.hero--banner .hero-copy {
  max-width: 560px;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-banner-img img,
.hero-banner-img video {
  margin-left: 3px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(50% + 40px);
  display: block;
}

/* Mobile fallback: hide video, show optimized static image */
.hero-banner-mobile-img {
  display: none;
}

@media (max-width: 900px) {
  .hero-banner-img video {
    display: none;
  }

  .hero-banner-mobile-img {
    display: block;
    object-position: center center;
  }
}

.hero-banner-img img {
  animation: heroBannerDrift 14s ease-in-out infinite alternate;
  will-change: transform;
}

.hero--banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(237, 241, 244, 1) 0%,
      rgba(237, 241, 244, 0.94) 25%,
      rgba(237, 241, 244, 0.55) 45%,
      rgba(237, 241, 244, 0) 62%);
  z-index: -1;
  pointer-events: none;
}

@keyframes heroBannerDrift {
  from {
    transform: scale(1.02) translateY(0);
  }

  to {
    transform: scale(1.05) translateY(-6px);
  }
}

.hero-pulse {
  position: absolute;
  right: 9%;
  bottom: 22%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #08c2df;
  box-shadow: 0 0 0 0 rgba(8, 194, 223, 0.6);
  animation: heroPulse 2.4s ease-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes heroPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(8, 194, 223, 0.55);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(8, 194, 223, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(8, 194, 223, 0);
  }
}

.btn-cta-yellow {
  background: var(--highlight);
  color: #1f2a37;
  box-shadow: 0 6px 16px rgba(245, 211, 58, 0.35);
}

.btn-cta-yellow:hover {
  background: #e8c62c;
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-img img {
    animation: none;
  }

  /* .hero-banner-img video {
    animation: none;
  } */

  .hero-pulse {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 32px;
  }

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

  .hero-card {
    order: 2;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .hero--banner {
    min-height: 620px;
    padding: 64px 0 56px;
    display: flex;
    align-items: left;
  }

  .hero--banner::before {
    background: linear-gradient(180deg,
        rgba(237, 241, 244, 0.98) 0%,
        rgba(237, 241, 244, 0.96) 25%,
        rgba(237, 241, 244, 0.85) 55%,
        rgba(237, 241, 244, 0.55) 78%,
        rgba(237, 241, 244, 0.18) 95%,
        rgba(237, 241, 244, 0) 100%);
  }

  .hero--banner .hero-copy p,
  .hero--banner .hero-copy .lede,
  .hero--banner .tick {
    text-shadow:
      0 1px 2px rgba(255, 255, 255, 0.9),
      0 0 12px rgba(255, 255, 255, 0.65);
  }

  .hero-grid--banner {
    grid-template-columns: 1fr;
  }

  .hero--banner .hero-copy {
    max-width: none;
  }

  /* .hero-banner-img {
    position: absolute;
    inset: 0;
    height: 100%;
    margin: 0;
    object-position: top right;
  } */

  .hero-banner-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: top center; */
    /* object-position: center calc(50% + 40px); */
    /* 50px para direita, 100px para baixo (a partir do centro) */
    object-position: calc(50% - 200px) calc(50% + 100px);
    display: block;
  }

  .hero-pulse {
    right: 12%;
    bottom: auto;
    top: 38%;
  }
}

/* ---------- Section helpers ---------- */
section {
  padding: 72px 0;
}

section.tight {
  padding: 48px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.section-head p {
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Service cards ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.svc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.svc:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-2);
}

.svc .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cyan-50);
  color: var(--cyan-700);
  display: grid;
  place-items: center;
}

.svc h3 {
  font-size: 1.1rem;
}

.svc p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.svc .price {
  font-weight: 700;
  color: var(--fg);
  font-size: 0.95rem;
}

.svc .price small {
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Service card pricing table (expandable) ---------- */
.svc-pricing {
  margin-top: 2px;
}

.svc-pricing summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-700);
  padding: 2px 0;
  transition: color 0.12s ease;
}

.svc-pricing summary::-webkit-details-marker {
  display: none;
}

.svc-pricing summary::after {
  content: '';
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23038ea0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.15s ease;
}

.svc-pricing[open] summary::after {
  transform: rotate(180deg);
}

.svc-pricing summary:hover {
  color: var(--cyan-600);
}

.pricing-table {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.pricing-table th {
  text-align: left;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-soft);
}

.pricing-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-soft);
}

.pricing-table td.pr {
  text-align: right;
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
  padding-left: 16px;
}

.pricing-note {
  margin: 8px 0 0 0;
  font-size: 0.78rem;
  color: var(--muted-2);
  line-height: 1.45;
}

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

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

/* ---------- Service grid variants ---------- */
/* Wide variant — used when 5+ service cards are shown side-by-side on desktop.
   Uses `.svc-grid.svc-grid--wide` (specificity 0,2,0) instead of just
   `.svc-grid--wide` so cascade ordering doesn't depend on this block sitting
   AFTER `.svc-grid`. Resilient to CSS reorder / merge / autolint.
   Breakpoints: 5-cols desktop → 2-cols @900px → 1-col @600px (em 600px
   viewport cada card fica ~96px — abaixo do readable width para SVG 44px +
   heading + paragraph + "Book" CTA, então colapsa para 1 col). */
.svc-grid.svc-grid--wide {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 900px) {
  .svc-grid.svc-grid--wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .svc-grid.svc-grid--wide {
    grid-template-columns: 1fr;
  }
}

/* Triple variant — used when 3 service cards are shown side-by-side on desktop.
   Goes directly from 3-cols → 1-col (no intermediate 2-col state) because
   3 cards at 2 cols leaves an orphan card asymmetrically. Collapse threshold
   (≤700px) is HIGHER than `.svc-grid--wide` (≤600px) because 3-cols at
   600-700px gives ~177-210px per card — too tight for SVG + heading +
   paragraph + handle content. Per-variant breakpoint reflects content space
   needs, not global visual rhythm. */
.svc-grid.svc-grid--triple {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 700px) {
  .svc-grid.svc-grid--triple {
    grid-template-columns: 1fr;
  }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  position: relative;
  counter-increment: step;
}

.step .num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  color: var(--cyan-700);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--cyan-50);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

.step .num::before {
  content: 'STEP 0'counter(step);
}

.step h3 {
  font-size: 1.05rem;
  margin-top: 6px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 8px 0 0 0;
}

/* Final step — visually distinct (alternate surface) + spans full grid
   width on desktop. On mobile the `.steps` grid collapses to `1fr` so the
   item already takes the full width naturally — `grid-column: 1 / -1` is
   scoped to desktop via `min-width: 901px` to avoid creating implicit
   columns in a 1-col grid (which would break the layout).
   Uses `.step.step--final` (specificity 0,2,0) for cascade-order
   independence — consistent with `.svc-grid.svc-grid--wide` convention. */
.step.step--final {
  background: var(--surface-2);
}

@media (min-width: 901px) {
  .step.step--final {
    grid-column: 1 / -1;
  }
}

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

/* ---------- Trust strip ---------- */
.trust {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: center;
  text-align: center;
}

.trust-stat .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.trust-stat .label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 700px) {
  .trust-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review .stars {
  color: var(--highlight);
  letter-spacing: 2px;
}

.review blockquote {
  margin: 0;
  color: var(--fg-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.review cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
}

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

/* ---------- Service area chips ---------- */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.areas .chip {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--fg-soft);
  font-weight: 500;
}

.areas .chip:hover {
  border-color: var(--cyan-500);
  color: var(--cyan-700);
}

/* ---------- Banner blocks (cyan, pink, yellow) ---------- */
.banner-cyan {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  color: #fff;
  border-radius: var(--r-md);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.banner-cyan h2 {
  color: #fff;
}

.banner-cyan p {
  color: rgba(255, 255, 255, 0.85);
  margin: 8px 0 0 0;
}

.banner-cyan .btn-primary {
  background: #fff;
  color: var(--cyan-700);
}

.banner-cyan .btn-primary:hover {
  background: var(--surface-2);
}

.banner-pink {
  background: var(--pink);
  color: #fff;
  border-radius: var(--r-md);
  padding: 36px;
  text-align: center;
}

.banner-pink h2 {
  color: #fff;
}

.banner-pink p {
  color: rgba(255, 255, 255, 0.9);
  margin: 12px auto 0;
  max-width: 50ch;
}

.banner-pink .btn {
  background: #fff;
  color: var(--pink);
}

.banner-pink .btn:hover {
  background: var(--surface-2);
}

.banner-yellow {
  background: var(--highlight);
  color: #1f2a37;
  border-radius: var(--r-md);
  padding: 36px;
  text-align: center;
}

.banner-yellow h2 {
  color: #1f2a37;
}

.banner-yellow p {
  color: rgba(31, 42, 55, 0.78);
  margin: 12px auto 0;
  max-width: 50ch;
}

/* ---------- App download badges (official Apple + Google Play) ---------- */
.app-stores {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.app-stores>a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.app-stores .app-badge-img {
  display: block;
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  width: auto;
  max-width: 180px;
  min-width: 135px;
  object-fit: contain;
  flex: 0 0 auto;
  vertical-align: middle;
  border-radius: 8px;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.app-stores .app-badge-img:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* ---------- Toast (form success) ---------- */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--fg);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  z-index: 100;
  display: none;
  max-width: 360px;
  align-items: flex-start;
  gap: 12px;
}

.toast .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.toast.show {
  display: flex;
  animation: pop 0.25s ease;
}

@keyframes pop {
  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0e1620;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 24px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand .mark {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}

.footer-brand-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3acce1;
  padding: 8px 12px;
  border-radius: 5px;
  line-height: 0;
}

.footer-brand-logo {
  display: block;
  height: 36px;
  width: auto;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  max-width: 36ch;
  margin: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

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

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

/* ---------- Long-form prose (Terms, Privacy) ---------- */
.prose {
  color: var(--fg-soft);
}

.prose h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 8px;
}

.prose .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 40px 0 10px;
  color: var(--fg);
}

.prose h3 {
  font-size: 1rem;
  margin: 20px 0 6px;
  color: var(--fg);
}

.prose p,
.prose li {
  color: var(--fg-soft);
  line-height: 1.7;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose ul li,
.prose ol li {
  margin-bottom: 6px;
}

.prose .toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0 32px;
}

.prose .toc h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.prose .toc ol {
  margin: 0;
  padding-left: 20px;
}

.prose .toc a {
  color: var(--fg-soft);
}

.prose .toc a:hover {
  color: var(--cyan-700);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: 80px 0 40px;
  background: radial-gradient(60% 60% at 100% 0%, var(--cyan-50) 0%, transparent 60%), var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero p.lede {
  margin-top: 16px;
  max-width: 60ch;
}

.page-hero .crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.page-hero .crumbs a:hover {
  color: var(--cyan-700);
}

/* ---------- Two-column mission layout (about-go2) ---------- */
.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 800px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Two-column contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

/* ---------- Contact primary CTA cards (email + phone) ---------- */
.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cta-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.cta-card:hover {
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.ico--lg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cyan-50);
  color: var(--cyan-700);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

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

  .cta-card {
    gap: 16px;
  }

  .ico--lg {
    width: 42px;
    height: 42px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 8px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: var(--cyan-500);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--fg);
}

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

.faq summary::after {
  content: '';
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq .body {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 10px;
}

/* ---------- Worker benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cyan-50);
  color: var(--cyan-700);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.benefit h3 {
  font-size: 1rem;
}

.benefit p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 4px 0 0 0;
}

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

/* ---------- Misc ---------- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--cyan-50);
  color: var(--cyan-700);
  border-radius: var(--r-pill);
  font-weight: 600;
}

.kbd {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--fg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--fg);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  z-index: 200;
}

.skip-link:focus {
  left: 8px;
}