/* =================================================================
   industry.css — page styles for /businesses/* (retail, food, etc.)
   Scoped under .industry-page so it cannot bleed elsewhere.
   ================================================================= */

.industry-page {
  --rt-ink:   #0e0f12;
  --rt-muted: #6a7283;
  --rt-soft:  #494e5b;
  --rt-card:  #f3f4f6;
  --rt-bd:    #ececef;
  --rt-rad:   24px;
  --rt-rad-sm: 14px;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.rt-hero {
  position: relative;
  padding: 168px 24px 96px;
  text-align: center;
  background: linear-gradient(180deg, #fdf3f0 0%, #fdf6f3 60%, #ffffff 100%);
  overflow: hidden;
}
.rt-hero-inner {
  max-width: 1168px;
  margin: 0 auto;
}
.rt-hero h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--rt-ink);
  margin: 0 0 18px;
}
.rt-hero .rt-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: #36414f;
  max-width: 540px;
  margin: 0 auto 32px;
}
.rt-cta-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 56px;
}
.rt-cta-row .btn-primary,
.rt-cta-row .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease;
}
.rt-cta-row .btn-primary { background: var(--rt-ink); color: #fff; }
.rt-cta-row .btn-primary:hover { transform: translateY(-1px); background: #1d1f25; }
.rt-cta-row .btn-secondary {
  background: #fff; color: var(--rt-ink);
  border: 1px solid var(--rt-bd);
}
.rt-cta-row .btn-secondary:hover { background: #f7f7f8; }

.rt-hero-media {
  max-width: 1168px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1168 / 709;
  background: #f0eae6;
  box-shadow: 0 24px 56px rgba(20, 22, 33, 0.06);
}
.rt-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Hero partner bar ──────────────────────────────────────────── */
.rt-partner-bar {
  margin-top: 56px;
  text-align: center;
}
.rt-partner-bar .lbl {
  font-size: 13px;
  color: #555c6b;
  margin-bottom: 18px;
}
.rt-partner-bar .logos {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: center;
}
.rt-partner-bar .logos img { height: 28px; width: auto; display: block; }
.rt-partner-bar .partner-claude img { height: 30px; }

/* ── Solution / feature section ─────────────────────────────────── */
.rt-solution {
  padding: 120px 24px 96px;
  max-width: 1168px;
  margin: 0 auto;
}
.rt-section-head { text-align: center; margin-bottom: 56px; }
.rt-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--rt-muted);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.rt-h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--rt-ink);
  margin: 0;
}

.rt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.rt-feat {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rt-feat-media {
  position: relative;
  border-radius: var(--rt-rad);
  overflow: hidden;
  aspect-ratio: 574 / 573;
  background: var(--rt-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rt-feat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Themed gradient placeholders for cards without a hero illustration yet */
.rt-feat-media.placeholder {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(108,92,231,0.08), transparent 60%),
    radial-gradient(120% 90% at 0% 100%, rgba(255,107,154,0.08), transparent 60%),
    var(--rt-card);
}
.rt-feat-media .ph-icon {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--rt-bd);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6c5ce7;
  box-shadow: 0 12px 28px rgba(20,22,33,0.05);
}
.rt-feat-media .ph-icon svg { width: 44px; height: 44px; }

.rt-feat-body {
  padding: 0 4px;
}
.rt-feat-body h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--rt-ink);
  margin: 0 0 8px;
}
.rt-feat-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--rt-soft);
  margin: 0;
  max-width: 520px;
}

/* ── Pricing teaser ─────────────────────────────────────────────── */
.rt-pricing {
  padding: 96px 24px 96px;
  max-width: 1168px;
  margin: 0 auto;
}
.rt-pricing .rt-h2 .grad {
  background-image: var(--grad-text-d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rt-pricing .billing-toggle {
  display: flex;
  width: max-content;
  margin: 0 auto 32px;
}
.rt-section-head--pricing { margin-bottom: 40px; }
.rt-sub-lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: #36414f;
  max-width: 540px;
  margin: 14px auto 0;
}
/* The pricing cards inherit from site.css .plans / .plan / .feats etc. */
.rt-pricing .plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1168px;
  margin: 0 auto;
}
.rt-pricing .book-demo-row { text-align: center; margin-top: 32px; }
.rt-pricing .book-demo-row a {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--rt-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease;
}
.rt-pricing .book-demo-row a:hover { background: #e7e9ed; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .rt-hero { padding: 132px 20px 64px; }
  .rt-hero-media { border-radius: 20px; }
  .rt-partner-bar { margin-top: 40px; }
  .rt-partner-bar .logos { gap: 32px; }
  .rt-partner-bar .logos img { height: 22px; }
  .rt-solution { padding: 80px 20px 48px; }
  .rt-section-head { margin-bottom: 40px; }
  .rt-grid { grid-template-columns: 1fr; gap: 28px; }
  .rt-feat { gap: 18px; }
  .rt-pricing { padding: 64px 20px 64px; }
  .rt-pricing .plans { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 600px) {
  /* Hero — Figma mobile pattern (1125:15161): bigger headline, stacked CTAs, square photo */
  .rt-hero { padding: 104px 20px 56px; }
  .rt-hero h1 {
    font-size: clamp(40px, 11vw, 52px);
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
  }
  .rt-hero .rt-sub {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 22px;
    max-width: 320px;
  }
  .rt-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 32px;
  }
  .rt-cta-row .btn-primary,
  .rt-cta-row .btn-secondary {
    flex: none;
    width: 100%;
    height: 50px;
    min-width: 0;
  }
  .rt-hero-media {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
  }
  .rt-partner-bar { margin-top: 32px; }
  .rt-partner-bar .lbl { font-size: 12.5px; }
  .rt-partner-bar .logos { gap: 22px; }
  .rt-partner-bar .logos img { height: 20px; }

  /* Solution + Pricing */
  .rt-solution { padding: 64px 20px 32px; }
  .rt-h2 { font-size: 32px; }
  .rt-feat-body h3 { font-size: 19px; }
  .rt-feat-body p { font-size: 14.5px; }
  .rt-pricing { padding: 48px 20px 56px; }
}
