:root {
  --primary: #2d6cdf;
  --secondary: #5cc8a1;
  --background: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.58);
  color: #fff;
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-logo {
  height: 38px;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.brand-logo b {
  min-width: 34px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(15, 23, 42, 0.16);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-logo b:last-child {
  border-right: 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
}

.header-action,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action {
  background: #fff;
  color: var(--text);
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 36px rgba(45, 108, 223, 0.26);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(16px);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px max(24px, calc((100vw - 1180px) / 2)) 96px;
  background: #111827;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.38) 48%, rgba(15, 23, 42, 0.1)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.68), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.94;
}

h2 {
  margin: 10px 0 16px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
}

h3 {
  font-size: 22px;
  line-height: 1.12;
}

.hero-content p,
.section-copy p,
.final-cta p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.55;
}

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

.booking-widget {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  width: min(360px, calc(100% - 48px));
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(22px);
  padding: 18px;
}

.booking-widget span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.booking-widget strong {
  font-size: 18px;
}

.booking-widget a {
  width: max-content;
  color: var(--secondary);
  font-weight: 850;
}

.metrics {
  width: min(1180px, calc(100% - 48px));
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  box-shadow: var(--soft-shadow);
}

.metrics div {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: var(--surface);
  padding: 22px;
}

.metrics strong {
  font-size: 34px;
}

.metrics span,
.feature-grid span,
.pricing-grid p,
.steps p,
.trust-list p,
.score-row span,
.nanny-card span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 112px auto;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 48px;
}

.split.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.section-copy p {
  color: var(--muted);
}

.image-panel {
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.trust-list,
.feature-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.trust-list div {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.trust-list div > span {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(45, 108, 223, 0.1);
}

.trust-list p {
  grid-column: 2;
  margin-top: 4px;
}

.center {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.steps,
.pricing-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article,
.pricing-grid article,
.feature-grid article {
  min-height: 214px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  padding: 24px;
}

.steps span,
.pricing-grid span {
  color: var(--primary);
  font-weight: 850;
}

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

.feature-grid article {
  min-height: 148px;
  box-shadow: none;
}

.app-preview {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 52px;
  padding: 56px;
  border-radius: 38px;
  background: #0f172a;
  color: #fff;
  overflow: hidden;
}

.app-preview .section-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.phone-showcase {
  min-height: 540px;
  position: relative;
}

.phone {
  width: min(320px, 82vw);
  min-height: 570px;
  border: 10px solid #05070b;
  border-radius: 42px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.secondary-phone {
  position: absolute;
  right: 0;
  bottom: -8px;
  transform: scale(0.86);
}

.phone-status {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 850;
}

.phone-body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.phone-body h3 {
  font-size: 26px;
}

.search-pill,
.score-row,
.nanny-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--background);
  padding: 14px;
}

.nanny-card {
  display: flex;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--secondary), var(--primary));
  color: #fff;
  font-weight: 900;
}

.score-row {
  display: grid;
  gap: 4px;
}

.route-map {
  height: 240px;
  position: relative;
  border-radius: 22px;
  background:
    linear-gradient(90deg, transparent 31px, rgba(45, 108, 223, 0.1) 32px, transparent 33px),
    linear-gradient(transparent 31px, rgba(45, 108, 223, 0.1) 32px, transparent 33px),
    #eef4ff;
  background-size: 64px 64px;
}

.route-map span,
.route-map i {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.route-map span {
  left: 54px;
  top: 62px;
  background: var(--secondary);
}

.route-map i {
  right: 48px;
  bottom: 58px;
  background: var(--primary);
  box-shadow: 0 0 0 10px rgba(45, 108, 223, 0.12);
}

.pricing-grid article.featured {
  border-color: rgba(92, 200, 161, 0.48);
  background: #ecfdf7;
}

.pricing-grid strong {
  font-size: 27px;
}

.final-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 112px auto 48px;
  padding: 72px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(92, 200, 161, 0.18), rgba(45, 108, 223, 0.16)),
    var(--surface);
  box-shadow: var(--shadow);
}

.final-cta p {
  color: var(--muted);
}

.final-cta .button.secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

@media (max-width: 920px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 112px 20px 140px;
  }

  .hero > img {
    object-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.36)),
      linear-gradient(0deg, rgba(15, 23, 42, 0.75), transparent 48%);
  }

  h1 {
    font-size: 48px;
  }

  .booking-widget {
    right: 20px;
    bottom: 18px;
  }

  .metrics,
  .split,
  .split.reverse,
  .steps,
  .pricing-grid,
  .feature-grid,
  .app-preview {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 20px;
  }

  .section {
    width: calc(100% - 32px);
    margin: 72px auto;
  }

  .app-preview,
  .final-cta {
    padding: 28px;
  }

  .phone-showcase {
    min-height: 680px;
    display: grid;
    justify-items: center;
  }

  .secondary-phone {
    right: auto;
    bottom: -28px;
  }
}

@media (max-width: 560px) {
  .header-action {
    display: none;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-logo b {
    min-width: 30px;
    font-size: 10px;
  }

  .hero-content p,
  .section-copy p,
  .final-cta p {
    font-size: 16px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metrics div {
    min-height: 116px;
    padding: 18px;
  }

  .final-cta {
    width: calc(100% - 32px);
  }
}
