/* ============================================================
   BiteScout — page components
   ============================================================ */

/* ============================================================
   HERO — signature: the proximity radius
   ============================================================ */
.hero {
  position: relative;
  padding: 56px 32px 96px;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  margin-bottom: 24px;
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--flame-deep);
}
.hero-copy > p {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--ink-2);
  max-width: 500px;
  line-height: 1.62;
  margin-bottom: 34px;
}

.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.hero-note strong { color: var(--ink-2); font-weight: 600; }

/* --- The map stage: a suburb, drawn as a radius --- */
/* min-width:0 stops the big display type in the left column from
   squeezing this one down to nothing on wide screens. */
.hero > * { min-width: 0; }

.mapstage {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  margin-left: auto;
}
.mapstage-art {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* Spot chips orbiting the radius */
.spot-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  animation: bob 7s ease-in-out infinite;
}
.spot-chip:nth-child(odd) { animation-delay: -2.4s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.spot-chip-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}
.spot-chip-body { line-height: 1.25; }
.spot-chip-body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.spot-chip-body span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.chip-a { top: 27%;  left: -6%; }
.chip-b { top: 63.5%; left: 46%; }
.chip-c { top: 15%; right: -7%; }

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 40px 20px 72px;
  }
  .mapstage { margin: 0 auto; max-width: 420px; }
  .chip-a { left: -3%; }
  .chip-c { right: -3%; }
}
@media (max-width: 520px) {
  .spot-chip { padding: 6px 10px 6px 7px; gap: 8px; border-radius: 12px; }
  .spot-chip-mark { width: 26px; height: 26px; font-size: 13px; border-radius: 8px; }
  .spot-chip-body strong { font-size: 11.5px; }
  .spot-chip-body span { font-size: 9px; }
  /* nudged clear of the 5 KM / 10 KM ring labels */
  .chip-a { left: -2%; top: 19%; }
  .chip-b { left: 40%; top: 64%; }
  .chip-c { right: -2%; top: 7%; }
}

/* ============================================================
   Split path cards (Food lover / Business owner)
   ============================================================ */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.path {
  position: relative;
  padding: 40px 36px 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .35s, border-color .35s, box-shadow .35s;
  display: flex;
  flex-direction: column;
}
.path:hover {
  transform: translateY(-5px);
  border-color: var(--flame-line);
  box-shadow: var(--shadow-md);
}
.path-mark {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 25px;
  margin-bottom: 22px;
}
.mark-flame { background: var(--flame-wash); }
.mark-pist  { background: var(--pistachio-wash); }

.path h3 {
  font-size: 27px;
  margin-bottom: 10px;
}
.path > p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-bottom: 22px;
  line-height: 1.65;
}
.path ul {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}
.path li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.path li:last-child { border-bottom: none; }
.path li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--flame);
  flex-shrink: 0;
  margin-top: 8px;
}
.path.pist li::before { background: var(--pistachio); }

.path-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--flame-deep);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: gap .25s;
}
.path-link:hover { gap: 12px; }
.path.pist .path-link { color: var(--pistachio); }

@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
  .path { padding: 32px 26px 28px; }
}

/* ============================================================
   Steps (how it works)
   ============================================================ */
.track-switch {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--paper-3);
  border-radius: 999px;
  margin: 0 auto 52px;
}
.track-btn {
  padding: 12px 26px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .25s, color .25s, box-shadow .25s;
}
.track-btn.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.track { display: none; }
.track.active { display: block; animation: fadeUp .45s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.steps { position: relative; }
.step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: var(--flame);
  opacity: 0.35;
}
.track-owner .step-num { color: var(--pistachio); }

.step-body h3 {
  font-size: 25px;
  margin-bottom: 10px;
}
.step-body p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.68;
  max-width: 640px;
}
.step-tip {
  margin-top: 14px;
  padding: 13px 17px;
  background: var(--paper-2);
  border-left: 2px solid var(--flame);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.track-owner .step-tip { border-left-color: var(--pistachio); }
.step-tip strong { color: var(--ink); font-weight: 600; }

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .step-num { font-size: 34px; }
  .track-switch { display: flex; width: 100%; }
  .track-btn { flex: 1; padding: 12px 14px; font-size: 14px; }
}

/* ============================================================
   Feature grid
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.tile {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: var(--flame-line);
  box-shadow: var(--shadow-md);
}
.tile-mark {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--flame-wash);
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 18px;
}
.tile h3 { font-size: 21px; margin-bottom: 9px; }
.tile p { font-size: 14.8px; color: var(--ink-2); line-height: 1.65; }

.band-ink .tile {
  background: rgba(251,246,239,0.05);
  border-color: rgba(251,246,239,0.12);
}
.band-ink .tile:hover { border-color: var(--flame-line); background: rgba(251,246,239,0.08); }
.band-ink .tile p { color: rgba(251,246,239,0.68); }
.band-ink .tile-mark { background: rgba(255,107,53,0.16); }

/* ============================================================
   Alternating detail rows
   ============================================================ */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: none; }
.row.flip .row-copy { order: 2; }
.row h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.row h2 em { font-style: italic; font-weight: 400; color: var(--flame-deep); }
.row p { color: var(--ink-2); font-size: 16.5px; line-height: 1.68; margin-bottom: 22px; }
.row ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.row li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 15.5px; color: var(--ink-2);
}
.row li::before {
  content: '→';
  color: var(--flame);
  flex-shrink: 0;
  font-weight: 600;
}
.row-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.row-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 880px) {
  .row { grid-template-columns: 1fr; gap: 34px; padding: 52px 0; }
  .row.flip .row-copy { order: 0; }
}

/* ============================================================
   Line icons
   ============================================================ */
.ico { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.tile-mark { color: var(--flame-deep); }
.band-ink .tile-mark { color: var(--flame); }
.path-mark .ico { width: 26px; height: 26px; }
.path-mark.mark-flame { color: var(--flame-deep); }
.path-mark.mark-pist { color: var(--pistachio); }

.help-card-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--flame-wash);
  color: var(--flame-deep);
  display: grid; place-items: center;
  margin-bottom: 15px;
}
.help-card-mark .ico { width: 21px; height: 21px; }

.track-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.track-btn .ico { width: 18px; height: 18px; color: var(--ink-4); }
.track-btn.active .ico { color: var(--flame-deep); }

/* ============================================================
   Pricing
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan.best {
  border-color: var(--flame);
  box-shadow: 0 0 0 3px var(--flame-wash), var(--shadow-md);
}
.plan-flag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 15px;
  background: var(--flame);
  color: #fff;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.plan.best .plan-name { color: var(--flame-deep); }
.plan-cost {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.plan-cost sup {
  font-size: 24px;
  color: var(--ink-3);
  top: -0.1em;
}
.plan-cost small {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
}
.plan-sub {
  font-size: 14px;
  color: var(--ink-3);
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  min-height: 62px;
}
.plan-save {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 11px;
  background: var(--pistachio-wash);
  color: var(--pistachio);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.plan ul { list-style: none; flex-grow: 1; margin-bottom: 28px; }
.plan li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.8px;
  color: var(--ink-2);
  padding: 7px 0;
}
.plan li::before {
  content: '✓';
  color: var(--flame);
  font-weight: 700;
  flex-shrink: 0;
}
.plan li.off { color: var(--ink-4); }
.plan li.off::before { content: '·'; color: var(--ink-4); }
.plan .btn { width: 100%; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s;
}
.faq-q:hover { color: var(--flame-deep); }
.faq-mark {
  width: 26px; height: 26px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 300;
  transition: transform .3s, background .3s, color .3s, border-color .3s;
}
.faq-item.open .faq-mark {
  transform: rotate(45deg);
  background: var(--flame);
  border-color: var(--flame);
  color: #fff;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.6,0,.2,1); }
.faq-item.open .faq-a { max-height: 520px; }
.faq-a-in {
  padding-bottom: 24px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 680px;
}

/* ============================================================
   Closing CTA
   ============================================================ */
.close-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.close-cta::before {
  content: '';
  position: absolute;
  top: -55%; left: 50%;
  transform: translateX(-50%);
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--flame-wash), transparent 66%);
  pointer-events: none;
}
.close-cta > * { position: relative; }
.close-cta h2 { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 16px; }
.close-cta h2 em { font-style: italic; font-weight: 400; color: var(--flame-deep); }
.close-cta p { font-size: 17px; color: var(--ink-2); margin-bottom: 32px; }
@media (max-width: 640px) { .close-cta { padding: 52px 24px; } }

/* ============================================================
   Support extras
   ============================================================ */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.help-card {
  padding: 30px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.help-card:hover { transform: translateY(-4px); border-color: var(--flame-line); box-shadow: var(--shadow-md); }
.help-card-mark { font-size: 25px; margin-bottom: 15px; }
.help-card h3 { font-size: 20px; margin-bottom: 8px; }
.help-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; flex-grow: 1; }
.help-card span {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--flame-deep);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.contact-box {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.contact-box h3 { font-size: 20px; margin-bottom: 9px; }
.contact-box p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; line-height: 1.6; }
.contact-box a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--flame-deep);
  word-break: break-word;
}

/* ============================================================
   Business enquiry form
   ============================================================ */
.enquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.enquiry h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.enquiry h2 em { font-style: italic; font-weight: 400; color: var(--flame-deep); }
.enquiry p { color: var(--ink-2); font-size: 16px; line-height: 1.65; margin-bottom: 18px; }
.form-stack { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field textarea {
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--flame);
  box-shadow: 0 0 0 3px var(--flame-wash);
}
.field textarea { resize: vertical; min-height: 96px; }
@media (max-width: 880px) {
  .enquiry { grid-template-columns: 1fr; gap: 36px; padding: 34px 24px; }
}

/* Focus visibility across the board */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
}
/* FAQ on the dark band (Insider page) */
.band-ink .faq-item { border-bottom-color: rgba(251,246,239,0.14); }
.band-ink .faq-q { color: var(--paper); }
.band-ink .faq-q:hover { color: var(--flame); }
.band-ink .faq-mark {
  border-color: rgba(251,246,239,0.28);
  color: var(--paper);
}
.band-ink .faq-item.open .faq-mark {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--ink);
}
.band-ink .faq-a-in { color: rgba(251,246,239,0.68); }