:root {
  color-scheme: light;
  --ink: #151915;
  --muted: #5e675f;
  --cream: #fff4df;
  --paper: #fffaf0;
  --green: #00a86b;
  --green-dark: #006844;
  --teal: #119da4;
  --coral: #ff5f48;
  --yellow: #ffc43d;
  --blue: #3267ff;
  --line: rgba(21, 25, 21, 0.16);
  --shadow: 0 24px 70px rgba(30, 24, 14, 0.16);
  --radius: 18px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background:
    linear-gradient(90deg, rgba(21, 25, 21, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(21, 25, 21, 0.04) 1px, transparent 1px),
    var(--cream);
  background-size: 34px 34px;
}

body {
  margin: 0;
  color: var(--ink);
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

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

button {
  border: 0;
  cursor: pointer;
}

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

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

.site-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 7px 7px 0 rgba(21, 25, 21, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 4px 4px 0 var(--ink);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.nav-links a,
.nav-cta,
.persona-button,
.category-pills button,
.persona-card button,
.wa-preview a {
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: white;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: white;
  background: var(--ink);
}

.nav-links a[aria-current="page"] {
  color: white;
  background: var(--ink);
}

.nav-links a:hover,
.nav-cta:hover,
.persona-button:hover,
.category-pills button:hover,
.persona-card button:hover,
.wa-preview a:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 130px);
  padding: 28px 0;
}

.hero-copy,
.hero-visual,
.shock-copy,
.receipt-lab,
.persona-card,
.problem-card,
.solution-card,
.business-card,
.footer {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(21, 25, 21, 0.14);
}

.hero-copy {
  display: grid;
  gap: 22px;
  align-content: center;
  padding: clamp(26px, 5vw, 70px);
  overflow: hidden;
}

.pill {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

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

h1 {
  max-width: 22ch;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: manual;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.018em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1;
}

.hero-copy p,
.shock-copy p,
.problem-header p,
.persona-card p,
.solution-copy p,
.business-card p,
.footer p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.45;
}

.hero-actions,
.mini-proof,
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.persona-button,
.category-pills button,
.persona-card button {
  padding: 0 18px;
  color: var(--ink);
  background: white;
}

.persona-button.active,
.category-pills button.active {
  background: #d9ffe9;
}

.mini-proof span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  background: #d9ffe9;
}

.hero-visual {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: #95eee0;
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
}

.speech-pop {
  position: absolute;
  right: 5%;
  top: 10%;
  max-width: 210px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 22px 22px 4px 22px;
  color: white;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 900;
  background: var(--coral);
  box-shadow: 5px 5px 0 var(--ink);
  animation: pop-wiggle 2.4s ease-in-out infinite;
}

.fake-stack {
  position: absolute;
  left: 5%;
  bottom: 5%;
  display: grid;
  gap: 10px;
  max-width: 60%;
  pointer-events: none;
}

.fake-app {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 10px;
  align-items: center;
  min-width: 210px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: white;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
}

.fake-app strong,
.fake-app small {
  white-space: nowrap;
}

.fake-app:nth-child(2) {
  transform: rotate(2deg) translateX(20px);
}

.fake-app:nth-child(3) {
  transform: rotate(-1deg) translateX(6px);
}

.fake-logo {
  display: grid;
  grid-row: span 2;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--coral), var(--blue));
}

.fake-app strong,
.fake-app small {
  display: block;
}

.fake-app small {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(52px, 9vw, 120px) 0;
}

.section-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-kicker span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 3px 3px 0 var(--ink);
}

.shock-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 28px;
}

.shock-copy,
.receipt-lab {
  padding: clamp(22px, 4vw, 46px);
}

.shock-copy {
  display: grid;
  gap: 22px;
  align-content: center;
  background: #d9ffe9;
}

.ticker {
  display: flex;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
}

.ticker span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  background: white;
  animation: ticker-slide 7s linear infinite;
}

.receipt-lab {
  display: grid;
  gap: 18px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

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

.receipt {
  display: grid;
  gap: 10px;
  min-height: clamp(180px, 22vw, 240px);
  align-content: center;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: white;
}

.receipt strong {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.9;
}

.receipt small,
.receipt span {
  color: var(--muted);
  font-weight: 800;
}

.app-receipt {
  background: #ffe2dd;
}

.local-receipt {
  background: #e1fff0;
}

.bar-story {
  display: grid;
  gap: 10px;
}

.bar-story span {
  position: relative;
  min-height: 44px;
  padding: 11px 12px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  background: white;
}

.bar-story span::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  content: "";
  background: rgba(0, 168, 107, 0.2);
}

.bar-story span:nth-child(2)::before {
  background: rgba(255, 95, 72, 0.28);
}

.bar-story span:nth-child(3)::before {
  background: rgba(255, 196, 61, 0.42);
}

.bar-story span {
  isolation: isolate;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.persona-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  padding: 22px;
  background: white;
}

.persona-card.active {
  background: #d9ffe9;
}

.persona-card img {
  aspect-ratio: 1 / 0.84;
  border: 2px solid var(--ink);
  border-radius: 16px;
  object-fit: cover;
}

.persona-card div {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 6px 10px 10px;
}

.persona-card button {
  justify-self: start;
  background: var(--yellow);
}

.problem-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

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

.problem-card {
  display: grid;
  gap: 18px;
  min-height: clamp(220px, 18vw, 260px);
  padding: 26px;
  background: white;
  --rot: 0deg;
}

.problem-card:nth-child(2n) {
  --rot: 1deg;
  background: #e8f7ff;
}

.problem-card:nth-child(3n) {
  --rot: -1deg;
  background: #fff2c4;
}

.problem-card:nth-child(6n) {
  --rot: -1deg;
  background: #fff2c4;
}

.problem-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 22px;
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
}

.problem-card p {
  color: var(--muted);
  line-height: 1.42;
}

.solution-card {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(420px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(20px, 2.5vw, 32px);
  background: #d9ffe9;
}

.solution-copy {
  display: grid;
  gap: 20px;
  align-content: center;
  padding: clamp(18px, 4vw, 46px);
}

.steps {
  display: grid;
  gap: 12px;
}

.steps span {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: white;
  font-weight: 800;
}

.steps strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
}

.solution-card img {
  min-height: 460px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  object-fit: cover;
}

.directory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.directory-heading h2 {
  max-width: 13ch;
}

.category-pills {
  justify-content: end;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.business-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(190px, 0.5fr);
  gap: 22px;
  align-items: stretch;
  padding: 20px;
  background: white;
}

.business-card img {
  height: 100%;
  min-height: 180px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  object-fit: cover;
}

.business-card div {
  display: grid;
  gap: 10px;
  align-content: center;
}

.business-card span {
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.wa-preview {
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #e1fff0;
}

.wa-preview small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.wa-preview a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 0 14px;
  color: white;
  background: var(--green-dark);
}

.footer {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: clamp(40px, 6vw, 80px);
  padding: 28px;
}

.footer strong {
  font-size: 1.25rem;
}

.footer span {
  color: var(--green-dark);
  font-weight: 900;
}

.footer p {
  justify-self: end;
  max-width: 680px;
  text-align: right;
}

.ad-section {
  padding: 0;
  margin: clamp(28px, 4vw, 48px) 0 0;
}

.ad-slot {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2vw, 22px);
  border: 2px dashed var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.ad-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ad-content {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(21, 25, 21, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.ad-content[data-ad-state="empty"]::before {
  content: "Aquí va un anuncio. Uno solo. Sin planes mensuales.";
  color: var(--muted);
  font-style: italic;
}

.cafecito {
  display: inline-flex;
  grid-column: 1 / -1;
  justify-self: start;
  align-items: center;
  min-height: 46px;
  margin-top: 6px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cafecito:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.footer-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 4px;
  font-size: 0.86rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.pickup-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff2c4;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Static info pages: /repartidores.html and /recoger.html */
.info-hero {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 40px);
}

.info-hero h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.info-hero p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.5;
  max-width: 60ch;
}

.info-hero-image,
.info-section-image {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 12px;
  margin-top: 18px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.info-section-image {
  margin-top: 22px;
  box-shadow: 5px 5px 0 var(--ink);
}

.info-callout {
  display: block;
  background: #fff4df;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 22px;
  font-size: 0.96rem;
  line-height: 1.55;
  box-shadow: 4px 4px 0 var(--ink);
}

.info-callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  padding: 0 clamp(20px, 3vw, 40px);
  margin-bottom: clamp(40px, 6vw, 80px);
}

.info-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 6px 6px 0 rgba(21, 25, 21, 0.12);
}

.info-card h2 {
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.info-card ul,
.info-card ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.info-card li {
  font-size: 0.96rem;
}

.info-form {
  max-width: 640px;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px);
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(21, 25, 21, 0.14);
  margin: 0 clamp(20px, 3vw, 40px) clamp(40px, 6vw, 80px);
  display: grid;
  gap: 18px;
}

.info-form h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.info-form-note {
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.96rem;
}

.courier-form {
  display: grid;
  gap: 14px;
}

.courier-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.courier-form label.checkbox {
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.courier-form input,
.courier-form textarea {
  font: inherit;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  letter-spacing: 0;
}

.courier-form input:focus,
.courier-form textarea:focus {
  outline: 3px solid rgba(0, 168, 107, 0.35);
  outline-offset: 1px;
}

.courier-form textarea {
  resize: vertical;
  min-height: 80px;
}

.info-submit {
  justify-self: start;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: white;
  font-weight: 800;
  background: var(--green-dark);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.info-submit:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.info-form-fallback {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.info-form-fallback a {
  color: var(--green-dark);
  text-decoration: underline;
}

.info-section {
  max-width: 760px;
  padding: 0 clamp(20px, 3vw, 40px);
  margin: 0 auto clamp(36px, 5vw, 64px);
}

.info-section .section-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-section .kicker-num {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.88rem;
}

.info-section .kicker-num.warn {
  background: var(--yellow);
  color: var(--ink);
}

.info-steps {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.info-steps li {
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
}

.info-steps strong {
  color: var(--green-dark);
  margin-right: 8px;
}

.risk-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.risk-list li {
  padding: 16px 20px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: white;
  line-height: 1.5;
  color: var(--ink);
  font-size: 0.98rem;
}

.risk-list li strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

.risk-list li em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: italic;
  font-size: 0.92rem;
}

.risk-list.plain li {
  background: var(--paper);
  font-size: 0.96rem;
}

/* ───── Business owner dashboard (mi-negocio.html) ───── */
.wa-disclaimer {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted, #666);
  line-height: 1.4;
}

.oauth-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  color: var(--ink, #1a1f1a);
  border: 2px solid var(--ink, #1a1f1a);
}

.oauth-google-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ink, #1a1f1a);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #4285F4 0%, #34A853 25%, #FBBC04 50%, #EA4335 100%);
  color: white;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.2);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted, #666);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: var(--ink, #1a1f1a);
  opacity: 0.18;
}

.card-menu {
  margin-top: 12px;
  border: 1.5px solid var(--ink, #1a1f1a);
  border-radius: 10px;
  background: var(--cream, #f7f5ef);
  font-size: 0.88rem;
}

.card-menu summary {
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  user-select: none;
}

.card-menu summary::after {
  content: " ▾";
  color: var(--muted, #666);
}

.card-menu[open] summary::after {
  content: " ▴";
}

.card-menu-section {
  padding: 4px 12px 10px;
  border-top: 1px solid var(--ink, #1a1f1a);
}

.card-menu-section h4 {
  margin: 8px 0 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.card-menu-section li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.card-menu-item-name {
  flex: 1 1 auto;
  font-weight: 500;
}

.card-menu-item-price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.card-menu-item-desc {
  flex: 1 0 100%;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted, #666);
  line-height: 1.35;
}

.card-report-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  background: transparent;
  border: 1.5px solid var(--ink, #1a1f1a);
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--muted, #666);
  align-self: flex-start;
}

.card-report-btn:hover:not(:disabled) {
  background: #fff4df;
  color: var(--ink, #1a1f1a);
}

.card-report-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.report-dialog {
  max-width: 540px;
  width: calc(100% - 32px);
  border: 2px solid var(--ink, #1a1f1a);
  border-radius: 14px;
  padding: 26px 28px;
  background: var(--cream, #f7f5ef);
  box-shadow: 8px 8px 0 var(--ink, #1a1f1a);
}

.report-dialog::backdrop {
  background: rgba(26, 31, 26, 0.55);
}

.report-dialog h2 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.checkbox-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}

.checkbox-row span {
  font-size: 0.95rem;
  font-weight: 500;
}

.menu-block {
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: white;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 4px 4px 0 var(--ink);
}
.menu-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.menu-block-header h3 {
  margin: 0;
  font-weight: 900;
}
.menu-delete {
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}
.menu-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  gap: 12px;
}
.menu-item:last-child {
  border-bottom: none;
}
.menu-item-info {
  flex: 1;
  min-width: 0;
}
.menu-item-info strong {
  font-weight: 800;
}
.menu-item-price {
  margin-left: 8px;
  color: var(--green-dark);
  font-weight: 900;
}
.menu-item-info p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.menu-item-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.menu-item-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}
.menu-item-delete {
  background: white;
  border: 2px solid var(--coral);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--coral);
}
.menu-item-empty {
  color: var(--muted);
  font-style: italic;
  padding: 8px 0;
}
.menu-add-item-form {
  border-top: 2px dashed var(--ink);
  padding-top: 16px;
  margin-top: 8px;
}

/* ───── Info pages: multi-column layout on desktop ─────
   Mobile stays 1-col (the existing single-column grids).
   Desktop spreads horizontally so the page isn't a long vertical scroll. */
@media (min-width: 900px) {
  .info-hero {
    grid-template-columns: 1.1fr 1fr;
    column-gap: 40px;
    align-items: center;
    max-width: 1100px;
  }
  .info-hero .pill,
  .info-hero h1,
  .info-hero p {
    grid-column: 1;
  }
  .info-hero h1 {
    max-width: 22ch;
  }
  .info-hero-image {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
    align-self: center;
    max-width: 100%;
    aspect-ratio: 3 / 2;
  }

  .info-section {
    max-width: 1000px;
  }

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

  .info-section .risk-list.plain {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 12px;
  }

  .info-section-image {
    max-width: 1000px;
    aspect-ratio: 21 / 9;
  }
}

.info-prose {
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 0 14px 0;
}

.info-prose:last-child {
  margin-bottom: 0;
}

.info-prose a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-subhead {
  margin: 18px 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.info-prose code,
.info-section code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(21, 25, 21, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 0.92em;
}

[data-reveal] {
  transform: translateY(22px) rotate(var(--rot, 0deg));
  opacity: 0;
  transition:
    transform 620ms cubic-bezier(0.2, 0.85, 0.2, 1),
    opacity 620ms ease;
}

[data-reveal].visible {
  transform: translateY(0) rotate(var(--rot, 0deg));
  opacity: 1;
}

.hero [data-reveal] {
  transform: rotate(var(--rot, 0deg));
  opacity: 1;
}

@keyframes pop-wiggle {
  0%,
  100% {
    transform: rotate(2deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-8px);
  }
}

@keyframes ticker-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-90px);
  }
}

@media (max-width: 1120px) {
  .topbar,
  .hero,
  .shock-grid,
  .persona-grid,
  .problem-header,
  .solution-card,
  .directory-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .nav-links {
    justify-content: start;
  }

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

  .business-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .wa-preview {
    grid-column: 1 / -1;
  }

  .category-pills {
    justify-content: start;
  }
}

@media (max-width: 820px) {
  .business-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 16px;
  }

  .topbar {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    border-radius: 18px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-links {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: nowrap;
    justify-content: start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a,
  .nav-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .nav-cta {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .hero-copy {
    padding: 24px;
  }

  h1 {
    font-size: clamp(1.45rem, 5vw, 2rem);
    line-height: 1.15;
  }

  h2 {
    font-size: clamp(1.55rem, 6.5vw, 2.4rem);
    line-height: 1.05;
  }

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

  .fake-stack {
    display: none;
  }

  .speech-pop {
    right: 16px;
    top: 16px;
  }

  .split-receipts,
  .business-card,
  .footer {
    grid-template-columns: 1fr;
  }

  .business-card img {
    height: 220px;
  }

  .solution-card img {
    min-height: 320px;
  }

  .footer p {
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
