/* Pebbles-style PAGE LAYOUT (structure > decoration) */

/* —— Hero: LEFT copy + RIGHT visual —— */
.hero-pebbles {
  padding: 48px 0 32px;
  position: relative;
  overflow: hidden;
}

.hero-pebbles .hero-ribbons {
  display: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-pebbles .hero-copy {
  position: relative;
  max-width: none;
  margin: 0;
  text-align: left;
}

.hero-pebbles .hero-brand {
  margin-bottom: 20px;
}

.hero-pebbles h1 {
  font-size: clamp(2.35rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
  text-align: left;
}

.hero-pebbles .hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 34em;
  margin: 0 0 28px;
  text-align: left;
}

.hero-pebbles .hero-ctas {
  justify-content: flex-start;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

/* Stacked product collage on the RIGHT */
.hero-collage {
  position: relative;
  height: clamp(320px, 48vw, 460px);
  width: 100%;
  perspective: 1200px;
}

.collage-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(30, 50, 90, 0.14);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.collage-card .mini-chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 252, 0.9);
}

.collage-card .mini-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  font-style: normal;
}

.collage-card .mini-chrome i:nth-child(1) { background: #ff7b72; }
.collage-card .mini-chrome i:nth-child(2) { background: #ffd56a; }
.collage-card .mini-chrome i:nth-child(3) { background: #6fdc8c; }

.collage-body {
  padding: 12px;
}

.collage-main {
  width: 88%;
  right: 0;
  top: 8%;
  z-index: 3;
}

.collage-left {
  width: 48%;
  left: 0;
  bottom: 4%;
  z-index: 4;
  box-shadow: 0 16px 40px rgba(30, 50, 90, 0.16);
}

.collage-right {
  width: 42%;
  right: 4%;
  top: 0;
  z-index: 2;
  opacity: 0.95;
  transform: rotate(3deg);
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 8px;
  font-size: 0.75rem;
}

.mini-row strong {
  display: block;
  font-size: 0.8125rem;
}

.mini-row em {
  font-style: normal;
  color: var(--muted-2);
}

.mini-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
}

.mini-stat {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.mini-stat b {
  color: #3b6fd4;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    min-height: 520px;
  }

  .hero-collage {
    height: 480px;
  }

  .hero-pebbles {
    padding: 64px 0 48px;
  }
}

@media (max-width: 899px) {
  .hero-pebbles .hero-copy {
    text-align: center;
  }

  .hero-pebbles h1,
  .hero-pebbles .hero-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-pebbles .hero-ctas {
    justify-content: center;
  }

  .hero-brand {
    margin-inline: auto;
  }

  .collage-right {
    display: none;
  }

  .collage-main {
    width: 100%;
    right: 0;
    top: 0;
  }

  .collage-left {
    width: 56%;
    left: 4%;
    bottom: 0;
  }

  .hero-collage {
    height: 380px;
  }
}

/* —— Section heads (editorial, left on wide) —— */
.section-head {
  max-width: 36rem;
  margin: 0 0 36px;
  text-align: left;
}

.section-head .section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Trust — text row, no pills */
.trust-strip {
  padding: 20px 0 8px;
  text-align: center;
  border-bottom: 1px solid rgba(22, 24, 29, 0.06);
}

.trust-label {
  font-size: 0.6875rem;
  color: var(--muted-2);
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-line {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52rem;
  margin: 0 auto;
}

.trust-line span {
  margin: 0 0.55em;
  color: var(--muted-2);
  font-weight: 400;
}

/* RoI — metrics band */
.roi {
  padding: 64px 0 40px;
}

.metrics-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(22, 24, 29, 0.08);
  border-bottom: 1px solid rgba(22, 24, 29, 0.08);
}

.metric-cell {
  text-align: left;
  padding: 28px 0;
  border-bottom: 1px solid rgba(22, 24, 29, 0.06);
  background: transparent;
}

.metric-cell:last-child {
  border-bottom: none;
}

.metric-cell .num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--ink);
}

.metric-cell h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.metric-cell p {
  color: var(--muted);
  font-size: 0.8125rem;
  max-width: 22em;
  line-height: 1.5;
}

/* Outcomes — left tabs + right panel */
.outcomes {
  padding: 56px 0 40px;
}

.outcome-switch {
  display: grid;
  gap: 20px;
  align-items: start;
}

.outcome-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.outcome-tabs::-webkit-scrollbar {
  display: none;
}

.outcome-tab {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s;
  text-align: left;
}

.outcome-tab.is-active,
.outcome-tab:hover {
  background: rgba(22, 24, 29, 0.04);
  color: var(--ink);
  border-color: rgba(22, 24, 29, 0.06);
}

.outcome-tab.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.outcome-panels {
  min-width: 0;
}

.outcome-panel {
  display: none;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 24, 29, 0.08);
  border-radius: 12px;
}

.outcome-panel.is-active {
  display: block;
  animation: feed-in 0.35s var(--ease);
}

.outcome-panel h3 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  font-weight: 700;
}

.outcome-panel .lead {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.9375rem;
}

.outcome-panel ul {
  display: grid;
  gap: 0;
}

.outcome-panel li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(22, 24, 29, 0.06);
}

.outcome-panel li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.outcome-panel li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
}

/* Inside — open alternating splits (no outer card) */
.inside {
  padding: 48px 0 16px;
}

.split,
.split-open {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-bottom: 56px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.split-copy .pain {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4f7cff;
  margin-bottom: 10px;
}

.split-copy h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.split-copy p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 4px 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(22, 24, 29, 0.12);
}

.split-visual {
  min-height: 200px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(22, 24, 29, 0.06);
  padding: 16px;
  box-shadow: none;
}

.split-visual .panel {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(22, 24, 29, 0.06);
  padding: 14px;
  box-shadow: var(--shadow);
}

.split-visual .panel + .panel {
  margin-top: 10px;
}

.split-visual h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Categories — compact text rail */
.assets-band {
  padding: 32px 0 48px;
  text-align: left;
  border-top: 1px solid rgba(22, 24, 29, 0.06);
}

.assets-head {
  margin-bottom: 28px;
}

.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.industry-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 128px;
  padding: 22px 20px;
  background: #ffffff;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(22, 24, 29, 0.04), 0 8px 24px rgba(22, 24, 29, 0.05);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.industry-tile:hover {
  border-color: rgba(22, 24, 29, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(22, 24, 29, 0.05), 0 14px 32px rgba(22, 24, 29, 0.08);
}

.industry-tile img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.industry-tile span {
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}

@media (min-width: 560px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .industry-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .industry-tile {
    min-height: 148px;
    padding: 24px 18px;
  }

  .industry-tile span {
    font-size: 0.9375rem;
  }
}

/* Steps — horizontal process track */
.steps {
  padding: 48px 0 64px;
}

.steps-track {
  display: grid;
  gap: 28px;
}

.step-cell {
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: left;
}

.step-cell .n {
  display: inline-block;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #4f7cff;
  margin-bottom: 12px;
}

.step-cell h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-weight: 700;
}

.step-cell p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 28em;
}

/* Case quote — editorial, no thick card */
.testimonial {
  padding: 24px 0 56px;
}

.case-quote {
  max-width: 820px;
  padding: 8px 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
}

.case-quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--ink);
  margin-bottom: 24px;
}

.case-quote blockquote {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.45;
  margin-bottom: 28px;
  color: var(--ink);
}

.case-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(22, 24, 29, 0.08);
  border-bottom: 1px solid rgba(22, 24, 29, 0.08);
  margin-bottom: 16px;
}

.case-meta strong {
  display: block;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.case-meta span {
  font-size: 0.75rem;
  color: var(--muted);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.case-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

/* Final CTA — copy left + form right */
.final-cta {
  padding: 40px 0 88px;
  border-top: 1px solid rgba(22, 24, 29, 0.06);
}

.final-cta-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.final-copy h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.final-copy > p {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 28em;
}

.final-cta .form-shell {
  max-width: none;
  width: 100%;
  margin: 0;
}

.final-copy .contact-direct {
  margin: 0;
  text-align: left;
}

.final-copy .contact-direct > p {
  text-align: left;
}

@media (min-width: 720px) {
  .metrics-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-cell {
    padding: 32px 28px;
    border-bottom: none;
    border-right: 1px solid rgba(22, 24, 29, 0.08);
  }

  .metric-cell:last-child {
    border-right: none;
    padding-right: 0;
  }

  .metric-cell:first-child {
    padding-left: 0;
  }

  .steps-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .step-cell {
    padding: 0 32px;
  }

  .step-cell:first-child {
    padding-left: 0;
  }

  .step-cell:last-child {
    padding-right: 0;
  }

  .step-cell:not(:last-child) {
    border-right: 1px solid rgba(22, 24, 29, 0.08);
    margin-right: 0;
    padding-right: 32px;
  }

  .step-cell:not(:last-child)::after {
    display: none;
  }

  .step-cell .n {
    background: transparent;
    padding-right: 0;
  }

  .case-meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .section-head {
    margin-bottom: 40px;
  }

  .outcome-switch {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 36px;
  }

  .outcome-tabs {
    flex-direction: column;
    overflow: visible;
  }

  .outcome-tab {
    width: 100%;
  }

  .split,
  .split-open {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 72px;
  }

  .split.is-reverse .split-copy,
  .split-open.is-reverse .split-copy {
    order: 2;
  }

  .split.is-reverse .split-visual,
  .split-open.is-reverse .split-visual {
    order: 1;
  }

  .final-cta-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .section-head,
  .assets-band {
    text-align: left;
  }

  .step-cell:not(:last-child) {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(22, 24, 29, 0.06);
  }
}
