:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --bg-strong: #eef2f5;
  --surface: #ffffff;
  --surface-soft: #fbfcfd;
  --ink: #0f172a;
  --muted: #64748b;
  --muted-strong: #475569;
  --border: #dfe7ed;
  --teal: #0b9ea5;
  --teal-deep: #087f86;
  --cyan: #25c8df;
  --blue: #2f80ed;
  --green: #10b981;
  --amber: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 24px 80px rgba(15, 23, 42, .12);
  --shadow-soft: 0 14px 48px rgba(15, 23, 42, .08);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(247, 248, 250, 1) 48%),
    var(--bg);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 72%);
}

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

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

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

.skip-link {
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 231, 237, .72);
  background: rgba(247, 248, 250, .86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 38px;
  height: 38px;
}

.brand-word {
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.nav-cta {
  border-radius: var(--radius);
  padding: 10px 12px;
}

.nav-links a:hover,
.nav-cta:hover {
  background: rgba(11, 158, 165, .08);
  color: var(--teal-deep);
}

.nav-cta {
  border: 1px solid rgba(11, 158, 165, .22);
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 800;
}

.hero-section {
  width: min(var(--max), calc(100% - 40px));
  min-height: min(690px, calc(100svh - 150px));
  margin: 0 auto 18px;
  padding: 42px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 34px;
}

.hero-section > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 600px;
  color: var(--muted-strong);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.45;
}

.hero-actions,
.link-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  padding: 13px 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
}

.button-primary {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
}

.button-primary:hover {
  background: #162236;
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(11, 158, 165, .36);
  color: var(--teal-deep);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-pill {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(223, 231, 237, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  padding: 8px 11px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

.store-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.phone-icon {
  border: 2px solid var(--ink);
  border-radius: 5px;
}

.phone-icon::before {
  content: "";
  width: 5px;
  height: 2px;
  margin-top: auto;
  margin-bottom: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.play-icon {
  position: relative;
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--teal);
}

.hero-visual {
  position: relative;
  margin-right: 0;
}

.hero-visual picture {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1041px) {
  .hero-visual picture {
    height: min(62vh, 620px);
    min-height: 500px;
  }

  .hero-visual img {
    height: 100%;
    min-height: 0;
  }
}

.proof-band,
.section,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  box-shadow: var(--shadow-soft);
}

.proof-band div {
  min-height: 118px;
  background: rgba(255, 255, 255, .84);
  padding: 24px;
}

.proof-band strong,
.proof-band span {
  display: block;
}

.proof-band strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.proof-band span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 94px 0 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(280px, .58fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p,
.split-copy p,
.link-panel p {
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 260px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  padding: 24px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, .05);
}

.feature-card-large {
  grid-column: span 2;
}

.feature-card h3,
.workflow-list h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.12;
}

.feature-card p,
.workflow-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mini-map {
  position: relative;
  height: 164px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(223, 231, 237, .9);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 48%, rgba(47, 128, 237, .09) 48% 52%, transparent 52%),
    linear-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .05) 1px, transparent 1px),
    #f8fafc;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.route-line {
  position: absolute;
  left: 18%;
  top: 38%;
  width: 58%;
  height: 44%;
  border-left: 4px solid var(--teal);
  border-bottom: 4px solid var(--teal);
  border-radius: 0 0 0 54px;
  transform: rotate(-10deg);
}

.zone {
  position: absolute;
  width: 116px;
  height: 116px;
  border: 2px solid rgba(11, 158, 165, .45);
  border-radius: 999px;
  background: rgba(11, 158, 165, .12);
}

.zone-home {
  right: 15%;
  top: 18%;
}

.pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(47, 128, 237, .28);
}

.pin-one {
  left: 18%;
  top: 28%;
  background: var(--teal);
}

.pin-two {
  right: 23%;
  top: 38%;
}

.pin-three {
  left: 46%;
  bottom: 18%;
  background: var(--amber);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: block;
  margin-bottom: 26px;
  border-radius: var(--radius);
  background: rgba(11, 158, 165, .1);
  position: relative;
}

.shield-icon::before {
  content: "";
  position: absolute;
  inset: 12px 14px 10px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  clip-path: polygon(50% 0, 88% 16%, 80% 70%, 50% 100%, 20% 70%, 12% 16%);
}

.lock-icon::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 23px;
  width: 20px;
  height: 16px;
  border-radius: 4px;
  background: var(--teal);
}

.lock-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 16px;
  height: 18px;
  border: 4px solid var(--teal);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.route-icon::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 13px;
  width: 27px;
  height: 27px;
  border-left: 4px solid var(--teal);
  border-bottom: 4px solid var(--teal);
  border-radius: 0 0 0 18px;
}

.route-icon::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--amber);
}

.family-section {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(340px, .72fr);
  gap: 44px;
  align-items: start;
}

.workflow-list {
  display: grid;
  gap: 10px;
}

.workflow-list article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  padding: 22px;
}

.workflow-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal-deep);
  font-weight: 900;
  font-size: 13px;
}

.link-section {
  padding-bottom: 72px;
}

.link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  border: 1px solid rgba(11, 158, 165, .24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(238, 248, 249, .88)),
    var(--surface);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.link-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
}

.link-panel .button {
  width: 100%;
}

.link-actions {
  min-width: 210px;
  margin-top: 0;
}

.link-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
}

.site-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-brand {
  color: var(--muted);
}

.footer-brand .brand-word {
  color: var(--ink);
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--teal-deep);
}

@media (max-width: 1040px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  .hero-visual {
    margin-right: 0;
  }

  .hero-visual img {
    min-height: 360px;
    object-position: 62% center;
  }

  .section-head,
  .family-section,
  .link-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav-shell,
  .hero-section,
  .proof-band,
  .section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

  .brand-word {
    font-size: 22px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-section {
    padding: 34px 0 28px;
    gap: 24px;
  }

  .hero-lede {
    max-width: 31ch;
    font-size: 17px;
  }

  .hero-actions,
  .button,
  .link-actions {
    width: 100%;
  }

  .store-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-pill {
    justify-content: center;
  }

  .hero-visual img {
    min-height: 320px;
    object-position: 67% center;
  }

  .proof-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    min-height: auto;
  }

  .section {
    padding-top: 66px;
  }

  .feature-card-large {
    grid-column: auto;
  }

  .feature-card {
    min-height: auto;
  }

  .link-panel {
    padding: 24px;
  }

  .site-footer {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
