.connection-section {
  padding-top: 20px;
  background: #fff;
}

.connection-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 50px;
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--tomato);
}

.connection-rail article {
  min-height: 210px;
  padding: 25px;
  border-right: 1px solid var(--ink);
  background: var(--fog);
}

.connection-rail article:last-child {
  border-right: 0;
  background: var(--lemon);
}

.connection-rail span {
  color: var(--basil);
  font: 600 8px var(--mono);
  letter-spacing: .1em;
}

.connection-rail strong {
  display: block;
  margin: 42px 0 9px;
  font: 25px var(--display);
  letter-spacing: -.03em;
}

.connection-rail p,
.connection-note {
  color: var(--muted);
}

.connection-rail p {
  margin: 0;
  font-size: 13px;
}

.connection-note {
  max-width: 780px;
  margin: 28px 0 0;
  font-size: 13px;
}

@media (max-width: 1050px) {
  .connection-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .connection-rail article:nth-child(2) {
    border-right: 0;
  }

  .connection-rail article:nth-child(-n+2) {
    border-bottom: 1px solid var(--ink);
  }
}

@media (max-width: 620px) {
  .connection-rail {
    grid-template-columns: 1fr;
    box-shadow: 7px 7px 0 var(--tomato);
  }

  .connection-rail article,
  .connection-rail article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .connection-rail article:last-child {
    border-bottom: 0;
  }

  .connection-rail strong {
    margin-top: 24px;
  }
}

/* ---- Redesign: real logo, Pep, and the confirm-card demo ---------------- */

.mark-image { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.footer-mark .mark-image { width: 36px; height: 36px; }

/* Hero: the app shot replaces the drawn mock, with Pep leaning in. */
.app-shot { display: block; width: 100%; height: auto; }
.product-stage { padding-bottom: 34px; }
.hero-pep { position: absolute; left: -18px; bottom: -6px; width: 160px; height: 160px; object-fit: contain; z-index: 4; }
.ticket-one { left: -48px; top: -34px; bottom: auto; }
.ticket-two { right: -22px; bottom: 26px; top: auto; }

/* Meet Pep */
.pep-section { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.pep-copy h2 { font: clamp(34px, 4.2vw, 58px)/.98 var(--display); letter-spacing: -.05em; margin: 0 0 24px; text-wrap: balance; }
.pep-copy p { font-size: 17px; line-height: 1.62; color: #3e423e; margin: 0 0 16px; }
.pep-copy .strong-copy { color: var(--ink); font-weight: 700; }
.pep-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.pep-chips li { font: 600 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; border: 2px solid var(--ink); padding: 8px 10px; }

.pep-demo { position: relative; }
.pep-peek { position: absolute; right: -22px; top: -92px; width: 120px; height: 120px; object-fit: contain; z-index: 3; }
.chat-mock { background: var(--fog); border: 2px solid var(--ink); box-shadow: 14px 14px 0 var(--lemon); position: relative; z-index: 2; }
.chat-mock-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-mock-head i { width: 10px; height: 10px; border-radius: 50%; background: var(--basil); }
.chat-mock-head strong { font-size: 14px; }
.chat-mock-head small { font: 600 8px var(--mono); text-transform: uppercase; color: var(--muted); margin-left: auto; }
.chat-mock-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; }
.chat-mock-body p { margin: 0; }
.bubble-you { align-self: flex-end; max-width: 80%; background: var(--ink); color: #fff; border-radius: 12px 12px 4px 12px; padding: 10px 13px; font-size: 13.5px; line-height: 1.45; }
.bubble-pep { align-self: flex-start; max-width: 86%; background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 10px 13px; font-size: 13.5px; line-height: 1.45; }
.tool-note { align-self: flex-start; font-style: italic; font-size: 11.5px; color: var(--basil); }
.confirm-card { border: 1.5px solid #e0a413; background: #fdf6e3; border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.confirm-card strong { display: block; margin-bottom: 6px; }
.confirm-card ul { margin: 0 0 10px; padding-left: 18px; line-height: 1.5; }
.confirm-card small { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); }
.confirm-actions { display: flex; gap: 8px; }
.confirm-yes, .confirm-no { font-weight: 700; font-size: 12px; padding: 7px 13px; border-radius: 6px; }
.confirm-yes { background: var(--tomato); color: #fff; }
.confirm-no { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.chat-mock-foot { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); background: #fff; }
.chat-mock-foot span { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13px; color: #8a8f8a; }
.chat-mock-foot i { width: 34px; height: 34px; border-radius: 8px; background: var(--tomato); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; }

.feature-help { background: var(--fog); }

@media (max-width: 1050px) {
  .pep-section { grid-template-columns: 1fr; gap: 46px; }
  .pep-peek { right: 0; top: -46px; width: 96px; height: 96px; }
  .hero-pep { width: 118px; height: 118px; left: -6px; }
}
@media (max-width: 720px) {
  .hero-pep { width: 92px; height: 92px; left: 0; bottom: 4px; }
  .chat-mock { box-shadow: 8px 8px 0 var(--lemon); }
  .pep-peek { display: none; }
  .pep-chips li { font-size: 8px; }
}

/* The founding headline is longer than the one this scale was set for. */
.hero-copy h1 { font: clamp(38px, 4.6vw, 68px)/.95 var(--display); letter-spacing: -.055em; }

@media (max-width: 720px) {
  /* Touch targets clear the 44px minimum. */
  .nav-cta { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---- Wordmark: Anton, flag rule and descriptor sharing a row ----------- */
.wordmark .lockup { display: flex; flex-direction: column; min-width: 0; }
.wordmark .lockup strong { font: 400 19px Anton, Impact, sans-serif; letter-spacing: .01em; text-transform: uppercase; line-height: .9; white-space: nowrap; }
.wordmark .lockup strong em { font-style: normal; color: var(--tomato); }
.lockup-rule { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
/* True white vanishes on the white header, so the middle stripe is a neutral here. */
.lockup-rule i { height: 3px; flex: 1; min-width: 30px; background: linear-gradient(90deg, var(--basil) 0 33.3%, #c9ccc7 33.3% 66.6%, var(--tomato) 66.6%); }
.lockup-rule small { font: 600 7px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 720px) {
  .wordmark .lockup strong { font-size: 16px; }
  .lockup-rule small { font-size: 6px; letter-spacing: .14em; }
}
