:root {
  color-scheme: light;
  --surface: #faf7f2;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --muted: #4b5563;
  --soft: #e5e7eb;
  --green: #16a34a;
  --green-bright: #72d350;
  --yellow: #fff000;
  --blue: #3b82f6;
  --red: #e5484d;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--soft) 75%, transparent);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgb(26 26 26 / 14%);
}

.button.secondary {
  border-color: var(--soft);
  background: var(--paper);
  color: var(--ink);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store-actions.centered {
  justify-content: center;
}

.store-button {
  min-width: 172px;
  min-height: 58px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.store-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgb(26 26 26 / 14%);
}

.store-button span {
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0.75;
}

.store-button strong {
  font-size: 1.12rem;
  line-height: 1.1;
}

.store-button.disabled {
  border: 1px solid var(--soft);
  background: var(--paper);
  color: var(--ink);
  opacity: 0.68;
}

.store-button.disabled:hover {
  transform: none;
  box-shadow: none;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: 56px 0 70px;
  overflow: hidden;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family:
    ui-rounded, "SF Pro Rounded", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4.4rem, 14vw, 10rem);
}

.lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.35;
}

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

.hero-art {
  position: relative;
  min-height: 470px;
  isolation: isolate;
}

.phone-preview {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  width: min(74vw, 300px);
  aspect-ratio: 9 / 18.5;
  padding: 18px;
  border: 10px solid var(--ink);
  border-radius: 42px;
  background: var(--paper);
  box-shadow: 0 34px 80px rgb(26 26 26 / 20%);
  overflow: hidden;
}

.phone-status {
  width: 82px;
  height: 20px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--ink);
}

.phone-map {
  position: relative;
  height: 58%;
  border-radius: 24px;
  background:
    linear-gradient(
      120deg,
      transparent 44%,
      rgb(255 255 255 / 64%) 45% 52%,
      transparent 53%
    ),
    linear-gradient(45deg, #e8f5e9, #dbeafe);
  overflow: hidden;
}

.map-line {
  position: absolute;
  height: 9px;
  border-radius: 999px;
  background: rgb(255 255 255 / 76%);
  transform: rotate(-24deg);
}

.line-a {
  top: 28%;
  left: -18%;
  width: 128%;
}

.line-b {
  right: -30%;
  bottom: 28%;
  width: 110%;
  transform: rotate(32deg);
}

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid var(--paper);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgb(26 26 26 / 16%);
}

.pin-green {
  top: 27%;
  left: 28%;
  background: var(--green);
}

.pin-blue {
  right: 23%;
  top: 46%;
  background: var(--blue);
}

.pin-yellow {
  left: 48%;
  bottom: 21%;
  background: var(--yellow);
}

.phone-panel {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.phone-panel img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.phone-panel strong,
.phone-panel span {
  display: block;
}

.phone-panel strong {
  font-size: 1.02rem;
}

.phone-panel span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.app-orbit {
  position: absolute;
  inset: 4% 0 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 24%, var(--yellow), transparent 24%),
    radial-gradient(circle at 72% 34%, var(--green-bright), transparent 22%),
    radial-gradient(circle at 62% 78%, var(--blue), transparent 18%),
    linear-gradient(135deg, #ffffff 0%, #f2f8ef 55%, #fff9bf 100%);
  box-shadow: inset 0 0 0 1px rgb(26 26 26 / 5%);
  transform: rotate(-7deg);
}

.app-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(66vw, 330px);
  border-radius: 58px;
  box-shadow: 0 34px 80px rgb(26 26 26 / 22%);
  transform: translate(-50%, -50%) rotate(6deg);
}

.marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px 18px 18px 4px;
  background: var(--paper);
  box-shadow: 0 16px 30px rgb(26 26 26 / 14%);
  transform: rotate(-45deg);
}

.marker span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
  transform: rotate(45deg);
}

.marker.one {
  top: 13%;
  right: 8%;
}

.marker.two {
  bottom: 13%;
  left: 5%;
}

.section {
  padding: 86px 0;
  border-top: 1px solid var(--soft);
}

.section-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

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

.narrow {
  max-width: 860px;
  text-align: center;
}

.intro-section h2,
.final-cta h2 {
  margin: 0 auto;
  max-width: 820px;
}

.intro-section p:not(.eyebrow),
.final-cta p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: 1.1rem;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--soft);
  font-weight: 900;
  font-size: 0.82rem;
}

.feature h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
}

.plain-copy p {
  margin: 0;
  font-size: 1.08rem;
}

.plain-copy p + p {
  margin-top: 18px;
}

.final-cta {
  background: var(--paper);
}

.legal-page {
  padding: 54px 0 86px;
}

.legal-layout {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-title {
  margin-bottom: 14px;
}

.legal-title h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

.updated {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 650;
}

.legal-content {
  display: grid;
  gap: 32px;
  max-width: 780px;
}

.legal-content section {
  padding-top: 2px;
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.legal-content h3 {
  margin: 20px 0 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.legal-content li + li {
  margin-top: 8px;
}

.note {
  padding: 18px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: var(--paper);
}

.legal-copyright {
  padding-top: 14px;
  border-top: 1px solid var(--soft);
  font-weight: 700;
}

.callback-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 70%), transparent 42%),
    linear-gradient(160deg, #faf7f2 0%, #eef8eb 54%, #fff9bf 100%);
}

.callback-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.callback-panel {
  width: min(100%, 520px);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid color-mix(in srgb, var(--soft) 85%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  box-shadow: 0 28px 70px rgb(26 26 26 / 14%);
  overflow: hidden;
  text-align: center;
}

.callback-panel img {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 16px;
}

.callback-panel .eyebrow {
  margin-bottom: 12px;
}

.callback-panel h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 2.8rem);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.callback-copy,
.callback-help {
  margin: 18px auto 0;
  color: var(--muted);
}

.callback-copy {
  max-width: 390px;
  font-size: 1.08rem;
}

.callback-button {
  margin-top: 28px;
}

.callback-help {
  max-width: 410px;
  font-size: 0.96rem;
}

.callback-stores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 172px), 172px));
  justify-content: center;
  margin-top: 24px;
}

.callback-stores .store-button {
  width: 100%;
  min-width: 0;
}

.site-footer {
  border-top: 1px solid var(--soft);
  padding: 28px 0;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.88rem;
  }

  .nav-links .hide-small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 58px;
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .phone-preview {
    min-height: 320px;
    order: -1;
  }

  .phone-preview {
    min-height: 420px;
  }

  .phone-shell {
    width: min(72vw, 250px);
    border-width: 8px;
    border-radius: 36px;
    padding: 14px;
  }

  .app-icon {
    width: min(70vw, 230px);
    border-radius: 40px;
  }

  .section {
    padding: 62px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .callback-page {
    padding: 24px 12px;
  }

  .callback-panel {
    padding: 28px 18px;
  }

  .callback-copy,
  .callback-help {
    font-size: 0.98rem;
  }
}
