@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap");

:root {
  --bg: oklch(98% 0.006 200);
  --surface: oklch(100% 0 0);
  --surface-2: oklch(96% 0.01 205);
  --fg: oklch(22% 0.024 230);
  --muted: oklch(50% 0.02 230);
  --faint: oklch(68% 0.016 230);
  --border: oklch(90% 0.01 220);
  --border-strong: oklch(83% 0.014 220);
  --accent: oklch(54% 0.12 180);
  --accent-dark: oklch(42% 0.11 180);
  --accent-soft: oklch(94% 0.045 180);
  --warm: oklch(69% 0.15 58);
  --warm-dark: oklch(58% 0.16 52);
  --blue: oklch(58% 0.13 248);
  --display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --maxw: 1180px;
  --shadow: 0 16px 48px rgba(16, 30, 54, 0.14);
  --shadow-sm: 0 1px 2px rgba(16, 30, 54, 0.06), 0 2px 8px rgba(16, 30, 54, 0.04);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in oklab, var(--accent-soft) 60%, transparent), transparent 34rem),
    var(--bg);
  color: var(--fg);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in oklab, var(--accent) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--accent) 7%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 70%);
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--fg);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

p {
  margin: 0;
}

code {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--accent-dark);
  font-size: 0.92em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 34px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  gap: 3px;
  margin-left: auto;
}

.nav a {
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  background: var(--surface-2);
  color: var(--fg);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary,
.btn-small {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--fg);
}

.btn-secondary:hover,
.btn-small:hover {
  background: var(--surface-2);
}

.btn-small {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 14px;
}

.hero {
  padding: clamp(54px, 8vw, 108px) 0 clamp(44px, 7vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

h1 {
  max-width: 10ch;
  font-size: clamp(50px, 8vw, 88px);
}

.lede {
  max-width: 56ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
}

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

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.signal-list div {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.signal-list dt {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
}

.signal-list dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-shell {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-topbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding: 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.product-topbar strong {
  margin-left: 8px;
  color: var(--fg);
}

.traffic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.traffic-dot:first-child {
  background: var(--warm);
}

.traffic-dot:nth-child(2) {
  background: var(--accent);
}

.product-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  min-height: 430px;
}

.map-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    repeating-linear-gradient(0deg, transparent 0 42px, color-mix(in oklab, var(--accent) 12%, transparent) 42px 44px),
    repeating-linear-gradient(90deg, transparent 0 42px, color-mix(in oklab, var(--accent) 12%, transparent) 42px 44px),
    oklch(95% 0.023 190);
}

.map-panel::before,
.map-panel::after {
  content: "";
  position: absolute;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border);
}

.map-panel::before {
  top: 26%;
  left: -5%;
  width: 110%;
  height: 20px;
  rotate: -11deg;
}

.map-panel::after {
  top: -5%;
  left: 52%;
  width: 22px;
  height: 110%;
  rotate: 8deg;
}

.zone {
  position: absolute;
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  border-radius: 22px;
  background: color-mix(in oklab, var(--accent-soft) 62%, transparent);
}

.zone-a {
  top: 15%;
  left: 12%;
  width: 32%;
  height: 28%;
}

.zone-b {
  right: 11%;
  bottom: 13%;
  width: 38%;
  height: 32%;
  border-color: color-mix(in oklab, var(--warm) 45%, transparent);
  background: color-mix(in oklab, oklch(95% 0.055 70) 70%, transparent);
}

.map-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 3px;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(16, 30, 54, 0.22);
  transform: translate(-50%, -100%) rotate(45deg);
}

.map-pin::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.map-pin.warm {
  background: var(--warm-dark);
}

.map-pin.blue {
  background: var(--blue);
}

.preview-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--border);
  padding: 22px;
  background: color-mix(in oklab, var(--surface) 84%, var(--surface-2));
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.pill.live {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.pill.live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.preview-panel h2 {
  font-size: 34px;
}

.preview-panel p {
  color: var(--muted);
  font-size: 14px;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.mini-list div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 3px 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 11px;
}

.mini-list small {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
}

.mini-pin {
  grid-row: span 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

.mini-pin.warm {
  background: var(--warm-dark);
}

.mini-pin.blue {
  background: var(--blue);
}

.section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.section-tight {
  padding-top: clamp(34px, 5vw, 66px);
}

.split {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(26px, 5vw, 56px);
}

.split h2,
.role-copy h2,
.shopper-grid h2,
.section-heading h2,
.signup-grid h2 {
  max-width: 12ch;
  font-size: clamp(34px, 5vw, 54px);
}

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

.feature-card,
.steps article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.feature-card h3,
.steps h3,
.listing-card h3 {
  margin-top: 18px;
  font-size: 21px;
}

.feature-card p,
.steps p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.icon,
.steps strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--display);
  font-weight: 800;
}

.band {
  background:
    linear-gradient(120deg, color-mix(in oklab, var(--accent-soft) 70%, var(--surface)), var(--surface));
  border-block: 1px solid var(--border);
}

.role-layout,
.shopper-grid,
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.role-copy p,
.section-copy,
.signup-grid p {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.listing-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.listing-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 10px;
  min-height: 210px;
  padding: 14px;
  background: var(--surface-2);
}

.listing-photos span {
  display: grid;
  place-items: end start;
  border-radius: 8px;
  padding: 14px;
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.32), transparent),
    linear-gradient(140deg, oklch(72% 0.08 180), oklch(54% 0.11 178));
}

.listing-photos span:nth-child(2) {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.32), transparent),
    linear-gradient(140deg, oklch(76% 0.13 58), oklch(60% 0.14 50));
}

.listing-photos span:nth-child(3) {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.32), transparent),
    linear-gradient(140deg, oklch(69% 0.09 248), oklch(54% 0.12 248));
}

.listing-body {
  padding: 22px;
}

.listing-body p {
  margin-top: 10px;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  border-radius: 999px;
  background: var(--surface-2);
  padding: 7px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.shopper-tools {
  display: grid;
  gap: 12px;
}

.tool-row {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px 16px;
  color: var(--fg);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.tool-row span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cta-section {
  background: oklch(24% 0.025 230);
  color: #fff;
}

.cta-section h2,
.cta-section p,
.cta-section .eyebrow {
  color: #fff;
}

.cta-section p {
  color: oklch(86% 0.016 220);
}

.form-frame {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-frame iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
}

.form-placeholder {
  display: grid;
  min-height: 430px;
  align-content: center;
  gap: 14px;
  padding: 28px;
  color: var(--fg);
}

.form-placeholder h3 {
  font-size: 30px;
}

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

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer a:not(.brand) {
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .role-layout,
  .shopper-grid,
  .signup-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 11ch;
  }

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

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

  .product-body {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .header-inner {
    min-height: 62px;
  }

  .header-inner .btn {
    margin-left: auto;
  }

  .hero {
    padding-top: 42px;
  }

  .signal-list,
  .listing-photos {
    grid-template-columns: 1fr;
  }

  .product-body {
    min-height: 0;
  }

  .map-panel {
    min-height: 320px;
  }

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

@media (max-width: 460px) {
  .btn {
    width: 100%;
  }

  .header-inner .btn {
    width: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .product-topbar strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
