:root {
  color-scheme: light;
  --ink: #241f21;
  --muted: #655d61;
  --line: #ddd5d8;
  --paper: #fffafa;
  --surface: #ffffff;
  --accent: #b71f4b;
  --accent-dark: #801735;
  --gold: #b88a2d;
  --teal: #1f746b;
  --rose-soft: #f8dbe4;
  --champagne: #f4ead6;
  --shadow: 0 22px 70px rgba(68, 34, 45, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }

.site-header {
  align-items: center;
  background: rgba(255, 250, 250, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover { color: var(--accent); }

.cta,
.button {
  background: var(--accent);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 10px 16px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--accent-dark);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

main {
  margin: 0 auto;
  max-width: 1120px;
  padding: 28px clamp(18px, 4vw, 56px) 64px;
}

.home-main {
  margin: 0;
  max-width: none;
  padding: 0;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 22px;
}

.hero {
  padding: clamp(46px, 8vw, 92px) 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 4.7rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 18px;
  max-width: 880px;
}

.hero p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 760px;
}

.home-hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  min-height: min(760px, calc(100dvh - 77px));
  overflow: hidden;
  padding: clamp(36px, 5vw, 70px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 72px);
}

.home-hero-copy h1 {
  font-size: clamp(3rem, 8vw, 6.9rem);
  max-width: 980px;
}

.home-hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  max-width: 720px;
}

.hero-search {
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1.1fr auto;
  margin-top: 32px;
  max-width: 820px;
  padding: 12px;
}

.hero-search label {
  display: grid;
  gap: 6px;
}

.hero-search span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-search select {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 0 12px;
}

.hero-button {
  min-height: 48px;
  white-space: nowrap;
}

.trust-strip {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-strip span {
  background: var(--champagne);
  border-radius: 999px;
  color: #5b4216;
  font-size: 0.9rem;
  font-weight: 750;
  padding: 8px 12px;
}

.hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 560px;
  position: relative;
}

.hero-visual::before {
  background: var(--rose-soft);
  border: 1px solid #efc1d0;
  border-radius: 40px;
  content: "";
  height: min(72vw, 540px);
  position: absolute;
  right: -12%;
  transform: rotate(-7deg);
  width: min(64vw, 440px);
}

.phone-preview {
  background: #2d2529;
  border: 10px solid #171315;
  border-radius: 38px;
  box-shadow: var(--shadow);
  color: #fff;
  max-width: 360px;
  padding: 18px;
  position: relative;
  width: min(100%, 360px);
}

.phone-top,
.profile-line,
.swipe-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.phone-top span,
.profile-line span,
.filter-row span {
  color: #f6d7df;
  font-size: 0.78rem;
  font-weight: 800;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.filter-row span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 9px;
}

.mini-card {
  align-items: center;
  background: #fff;
  border-radius: 14px;
  color: var(--ink);
  display: grid;
  gap: 12px;
  grid-template-columns: 64px 1fr;
  margin-bottom: 12px;
  padding: 12px;
}

.profile-photo {
  aspect-ratio: 1;
  border-radius: 12px;
  position: relative;
}

.profile-photo::after {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px 999px 8px 8px;
  bottom: 10px;
  content: "";
  height: 26px;
  left: 16px;
  position: absolute;
  width: 32px;
}

.profile-photo::before {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  content: "";
  height: 18px;
  left: 23px;
  position: absolute;
  top: 13px;
  width: 18px;
}

.photo-1 { background: #c75270; }
.photo-2 { background: #1f746b; }
.photo-3 { background: #b88a2d; }

.mini-card p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 4px 0 0;
}

.swipe-actions {
  gap: 12px;
  margin-top: 16px;
}

.swipe-actions span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  flex: 1;
  font-weight: 800;
  padding: 10px;
  text-align: center;
}

.swipe-actions span:last-child {
  background: var(--accent);
  border-color: var(--accent);
}

.home-section {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 28px;
  max-width: 760px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.step-grid,
.feature-grid,
.city-grid {
  display: grid;
  gap: 16px;
}

.step-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-grid article,
.feature-grid article,
.audience-section article,
.city-grid a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.step-grid span {
  color: var(--accent);
  font-weight: 900;
}

h3 {
  font-size: 1.05rem;
  letter-spacing: 0;
  margin: 8px 0;
}

.step-grid p,
.feature-grid p,
.audience-section p,
.final-cta p {
  color: var(--muted);
}

.audience-section {
  background: #2b2226;
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.audience-section article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.audience-section p,
.audience-section .eyebrow {
  color: #f7dfe7;
}

.audience-section a {
  color: #fff;
  font-weight: 800;
}

.city-grid {
  grid-template-columns: repeat(6, 1fr);
}

.city-grid a {
  color: var(--accent-dark);
  min-height: 116px;
  text-decoration: none;
}

.city-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  margin-top: 8px;
}

.feature-section {
  background: #fff;
}

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

.safety-band {
  align-items: center;
  background: var(--accent-dark);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
}

.safety-band h2,
.final-cta h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.safety-band p {
  color: #f5dce4;
  max-width: 820px;
}

.final-cta {
  text-align: center;
}

.final-cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.centered {
  justify-content: center;
}

.compact-links {
  padding-top: 0;
}

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

.content-band {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.takeaways {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 24px;
}

.takeaways h2 {
  margin-bottom: 12px;
}

.article-section p {
  color: var(--muted);
  font-size: 1.03rem;
  margin: 0;
  max-width: 820px;
}

h2 {
  font-size: 1.35rem;
  letter-spacing: 0;
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding-left: 22px;
}

.link-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.link-grid a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 700;
  padding: 14px;
  text-decoration: none;
}

.site-footer {
  background: #241f21;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding: 40px clamp(18px, 4vw, 56px);
}

.site-footer h2 {
  font-size: 1rem;
  margin: 0 0 12px;
}

.site-footer a {
  color: #efe5e8;
  display: block;
  margin: 8px 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav { gap: 12px; }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    overflow-wrap: anywhere;
  }

  .home-hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .site-header,
  .home-section,
  .home-hero {
    width: 100%;
  }

  .hero-search {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual::before {
    height: 360px;
    right: 2%;
    width: 280px;
  }

  .step-grid,
  .audience-section,
  .feature-grid,
  .safety-band {
    grid-template-columns: 1fr;
  }

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

  .safety-band {
    align-items: start;
  }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

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