/* shoople.site: home page and legal pages. (Shared-link pages use style.css.) */
:root {
  --brand: #c2410c;
  --brand-dark: #9a3412;
  --tint: #ffedd5;
  --tint-soft: #fff7ed;
  --ink: #111111;
  --ink-soft: #1c1917;
  --muted: #6b6b6b;
  --line: #ece6df;
  --bg: #ffffff;
  --warm: #fbf8f4;
  --green: #166534;
  --green-tint: #dcfce7;
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
}
.i {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.logo i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--brand);
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a {
  text-decoration: none;
  color: #44403c;
}
.nav-links a:hover {
  color: var(--brand);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn-brand {
  background: var(--brand);
  color: #fff;
}
.btn-brand:hover {
  background: var(--brand-dark);
}
.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 20px 8px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
}
.store:hover {
  background: #2b2b2b;
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store small {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  letter-spacing: 0.02em;
}
.store b {
  font-size: 18px;
  font-weight: 700;
}
.store.soon {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1.5px solid #e2dbd2;
  cursor: default;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero: a big photo of real people, one line, one button (Strava-style). */
/* Hero: the headline on a dark panel, then a collage of shoppers sharing their finds. */
.hero {
  padding: 72px 0 56px;
  color: #fff;
  background: var(--ink-soft);
}
.hero-photo {
  margin-top: 44px;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.hero h1 {
  font-size: clamp(46px, 5.4vw, 72px);
  font-weight: 800;
}
.hero h1 span {
  display: block;
  color: #fdba74;
}
.hero {
  text-align: center;
}
.hero h1 {
  max-width: 12em;
  margin: 0 auto;
}
.hero .lead {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  margin: 18px 0 30px;
  color: #f5ede6;
}
.hero .stores {
  justify-content: center;
}
.invite-note {
  margin: 14px 0 0;
  font-size: 15px;
  opacity: 0.85;
}
.hero-photo {
  position: relative;
}
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chip {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.chip .i {
  width: 18px;
  height: 18px;
  color: var(--brand);
}
.chip b {
  color: var(--green);
}
.chip.c1 {
  top: -18px;
  left: 8%;
  transform: rotate(-3deg);
}
.chip.c2 {
  top: 34%;
  right: -4px;
  transform: rotate(2deg);
}
.chip.c3 {
  bottom: 14%;
  left: -4px;
  transform: rotate(-2deg);
}

/* The three steps */
.pillars {
  background: var(--ink-soft);
  color: #fff;
}
.pillars .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 34px 28px;
  text-decoration: none;
  color: inherit;
  border-left: 1px solid #2f2a27;
}
.pillar:first-child {
  border-left: 0;
  padding-left: 0;
}
.pillar .badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}
.pillar .badge .i {
  stroke: #fff;
}
.pillar b {
  font-family: var(--display);
  font-size: 26px;
  display: block;
  line-height: 1.1;
}
.pillar p {
  margin: 4px 0 0;
  color: #d6d3d1;
  font-size: 16px;
}

/* Feature blocks: photo + phone, alternating */
.feature {
  padding: 110px 0;
}
.feature + .feature {
  padding-top: 0;
}
.feature .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.feature.flip .media {
  order: 2;
}
.feature h2 {
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 800;
  margin-bottom: 18px;
}
.feature p.lead {
  font-size: 19px;
  color: #3f3a36;
  margin: 0 0 22px;
  max-width: 30em;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #2f2b28;
}
.ticks .i {
  width: 22px;
  height: 22px;
  color: var(--brand);
  margin-top: 2px;
  stroke-width: 2.4;
}
.media {
  position: relative;
  margin-right: 60px;
}
.feature.flip .media {
  margin-right: 0;
  margin-left: 60px;
}
.media .photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
}
.media .phone {
  position: absolute;
  right: -60px;
  bottom: -40px;
}
.feature.flip .media .phone {
  right: auto;
  left: -60px;
}

/* Phone mock-ups (HTML, so they stay sharp and light) */
.phone {
  width: 250px;
  border-radius: 34px;
  background: #fff;
  border: 9px solid var(--ink-soft);
  box-shadow: 0 30px 60px -18px rgba(28, 25, 23, 0.45), 0 8px 18px rgba(28, 25, 23, 0.12);
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink);
}
.shot-frame {
  background: #fff;
}
/* A real screenshot from the app inside the phone frame. */
.shot {
  display: block;
  width: 100%;
  height: auto;
}
/* Profitable shops */
.shops {
  background: var(--warm);
  padding: 110px 0;
}
.shops .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.shops .photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  align-items: end;
}
.shops .photos > img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}
.shops .photos > img:first-child {
  aspect-ratio: 4 / 3;
}
.shops .photos > img:last-child {
  aspect-ratio: 4 / 5;
}
.shops .photos .phone {
  width: 100%;
  max-width: 230px;
  justify-self: center;
}
.shops h2 {
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 800;
  margin-bottom: 18px;
}
.shops p.lead {
  font-size: 19px;
  color: #3f3a36;
  margin: 0 0 22px;
}
.soon-tag {
  display: inline-block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--tint);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.shops .btn {
  margin-top: 28px;
}

/* Banner: the market from above */
/* Where Shoople is live: a dotted world map with a brand dot per place. The map is equirectangular,
   180°W–180°E and 78°N–56°S (see scripts/world-map.py), so a place's position comes from its lat/lon. */
.where {
  padding: 110px 0;
  background: var(--warm);
}
.where .head {
  max-width: 640px;
  margin-bottom: 36px;
}
.where h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
}
.where .lead a {
  color: var(--brand);
  font-weight: 700;
}
.where .map {
  position: relative;
}
.where .map img {
  display: block;
  width: 100%;
  height: auto;
}
.where .places {
  list-style: none;
  margin: 0;
  padding: 0;
}
.where .places li {
  position: absolute;
  left: calc((var(--lon) + 180) / 360 * 100%);
  top: calc((78 - var(--lat)) / 134 * 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(-7px, -50%);
}
.where .dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px #fff;
}
.where .dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand);
  animation: where-pulse 2s ease-out infinite;
}
@keyframes where-pulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .where .dot::after {
    animation: none;
  }
}
.where .label {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.promise {
  padding: 110px 0;
}
.promise .head {
  max-width: 640px;
  margin-bottom: 44px;
}
.promise h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.promise-card {
  background: var(--warm);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--line);
}
.promise-card .badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.promise-card h3 {
  font-size: 26px;
  margin: 18px 0 12px;
}

/* CTA + footer */
.cta {
  text-align: center;
  background: var(--brand);
  color: #fff;
  padding: 96px 0;
}
.cta h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  max-width: 16em;
  margin: 0 auto 36px;
}
.cta p {
  font-size: 20px;
  color: #ffedd5;
  margin: 14px auto 32px;
  max-width: 30em;
}
.cta .stores {
  justify-content: center;
}
.cta .store.soon {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
footer {
  background: var(--ink-soft);
  color: #d6d3d1;
  padding: 48px 0 40px;
  font-size: 15px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
}
footer .logo {
  color: #fff;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
footer a {
  color: #d6d3d1;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}
footer .fine {
  width: 100%;
  color: #a8a29e;
  font-size: 13px;
  border-top: 1px solid #2f2a27;
  padding-top: 20px;
  margin: 0;
}

/* Legal pages */
.doc {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 80px;
}
.doc h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 8px;
}
.doc .updated {
  color: var(--muted);
  margin: 0 0 32px;
}
.doc h2 {
  font-size: 24px;
  margin: 36px 0 10px;
}
.doc p,
.doc li {
  color: #2f2b28;
}
.doc ul,
.doc ol {
  padding-left: 22px;
}
.doc li {
  margin: 6px 0;
}
.doc .box {
  background: var(--tint-soft);
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
}

/* Small screens */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
  .hero {
    padding: 40px 0 32px;
  }
  .hero-photo {
    margin-top: 28px;
  }
  .hero-photo img {
    border-radius: 14px;
  }
  .chip {
    font-size: 13px;
    padding: 8px 12px;
  }
  .chip .i {
    width: 15px;
    height: 15px;
  }
  .chip.c1 {
    left: 24px;
  }
  .chip.c2 {
    right: 8px;
  }
  .chip.c3 {
    left: 8px;
  }
  .pillars .wrap {
    grid-template-columns: 1fr;
  }
  .pillar,
  .pillar:first-child {
    border-left: 0;
    border-top: 1px solid #2f2a27;
    padding: 24px 0;
  }
  .pillar:first-child {
    border-top: 0;
  }
  .feature,
  .shops,
  .promise {
    padding: 64px 0;
  }
  .feature + .feature {
    padding-top: 24px;
  }
  .feature .wrap,
  .shops .wrap,
  .promise-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .feature.flip .media {
    order: 0;
    margin-left: 0;
    margin-right: 60px;
  }
  .media .phone,
  .feature.flip .media .phone {
    left: auto;
    right: -56px;
    bottom: -30px;
    width: 200px;
  }
}
@media (max-width: 480px) {
  .store {
    flex: 1 1 100%;
  }
  .media,
  .feature.flip .media {
    margin-right: 48px;
  }
  .media .phone,
  .feature.flip .media .phone {
    width: 170px;
    right: -44px;
    border-width: 7px;
    border-radius: 26px;
    font-size: 11px;
  }
}

/* Contact form (contact.html) */
.contact { display: flex; flex-direction: column; gap: 18px; margin: 8px 0 28px; }
.contact fieldset { border: 0; padding: 0; margin: 0; }
.contact legend, .contact .field > span { font-weight: 600; margin-bottom: 8px; display: block; }
.contact small { color: var(--muted); font-weight: 400; }
.contact .topics { display: flex; flex-wrap: wrap; gap: 8px; }
.contact .topics label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 15px; }
.contact .topics label:has(input:checked) { background: var(--tint); border-color: var(--brand); color: var(--brand-dark); font-weight: 600; }
.contact .topics input { accent-color: var(--brand); margin: 0; }
.contact input:not([type='radio']), .contact textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid #d6cfc7; border-radius: 12px; padding: 12px 14px;
}
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.contact textarea { resize: vertical; min-height: 160px; }
.contact .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact .status { color: #b91c1c; margin: 0; min-height: 1em; }
.contact .status:empty { display: none; }
.contact button { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.contact button:disabled { opacity: 0.6; cursor: default; }
.btn-ghost { background: var(--bg); color: var(--ink); border: 1px solid #d6cfc7; font: inherit; font-weight: 700; }
.btn-ghost:hover { background: var(--warm); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
#contact-done-title:focus { outline: none; }
