/* Before/after phone mockups. Pure CSS, decorative; the figcaptions carry the meaning. */

.ba-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 40rem) {
  .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

.ba { margin: 0; }

.ba figcaption {
  margin-top: 1.25rem;
  color: var(--paper-dim);
  max-width: 26rem;
  margin-inline: auto;
}

.ba__label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ba__label--before { color: var(--paper-dim); }
.ba__label--after { color: var(--jade); }

.phone {
  width: min(100%, 13.5rem);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: 2rem;
  padding: 0.6rem;
  background: #2a302d;
  border: 1px solid #3a423e;
}

.phone--after { box-shadow: 0 0 0 2px var(--jade-deep); }

.phone__screen {
  height: 100%;
  border-radius: 1.5rem;
  background: #f6f4ef;
  color: #22252a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.9rem 0.8rem;
  font-family: var(--font-sans);
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e0dcd2;
}

.mock-logo { font-size: 0.7rem; font-weight: 800; letter-spacing: -0.01em; }

.mock-menu {
  width: 1rem;
  height: 0.6rem;
  border-block: 2px solid #22252a;
  position: relative;
}

.mock-menu::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: #22252a;
}

.mock-hero { display: grid; gap: 0.4rem; padding-block: 0.4rem; }

.mock-line {
  display: block;
  height: 0.45rem;
  border-radius: 99px;
  background: #d9d4c8;
  width: 100%;
}

.mock-line--lg { height: 0.8rem; width: 85%; background: #b9b3a6; }
.mock-line--md { width: 70%; }
.mock-line--sm { width: 50%; }

.mock-quote {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-style: italic;
  color: #6b6a66;
}

.mock-block {
  flex: 1;
  min-height: 3rem;
  border-radius: 0.6rem;
  background: #e6e2d8;
}

.mock-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem;
  border-radius: 0.7rem;
  background: #127a55;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.mock-call__icon {
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid #fff;
  border-radius: 0.2rem 0.6rem 0.2rem 0.6rem;
  transform: rotate(-10deg);
}
