/* ============================================================
   DEMO SECTION - Subscriptions page
   All rules scoped to .sub-demo to avoid conflicts.
   ============================================================ */

/* ------------------------------------------------------------
   Section wrapper
   ------------------------------------------------------------ */
.sub-demo {
  background: var(--white);
  padding-block: 72px;
}

/* ------------------------------------------------------------
   Two-column grid: copy left, phone right
   align-items: start keeps the copy flush to the top so
   there's no empty white space above shorter left column
   ------------------------------------------------------------ */
.sub-demo__grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 72px;
  align-items: start;
}

/* ------------------------------------------------------------
   Left column: copy
   ------------------------------------------------------------ */
.sub-demo__copy {
  /* no max-width — let the grid column constrain it */
}

.sub-demo__eyebrow {
  display: block;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
  -webkit-font-smoothing: antialiased;
}

.sub-demo__headline {
  font-family: 'Inter Display', Inter, -apple-system, sans-serif;
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #1A237E;
  margin: 0 0 1.75rem;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   Value points - no markers, no icons
   ------------------------------------------------------------ */
.sub-demo__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sub-demo__point-lead {
  display: block;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.4;
  margin-bottom: 2px;
  -webkit-font-smoothing: antialiased;
}

.sub-demo__point-support {
  display: block;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   Right column: phone frame + screenshot
   No ::before / ::after — the dynamic island and home
   indicator are already part of the screenshot itself.
   ------------------------------------------------------------ */
.sub-demo__screenshot {
  display: flex;
  justify-content: center;
}

.sub-demo__phone-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.sub-demo__app-caption {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  margin-top: 10px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.sub-demo__device {
  display: inline-block;
  background: #1A1A1A;
  border-radius: 36px;
  padding: 10px 8px 16px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 20px 48px rgba(0, 0, 0, 0.16);
}

.sub-demo__img {
  display: block;
  width: 200px;
  height: auto;
  border-radius: 28px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .sub-demo__grid {
    grid-template-columns: 1fr 190px;
    gap: 48px;
  }

  .sub-demo__img {
    width: 170px;
  }

  .sub-demo__device {
    border-radius: 30px;
  }

  .sub-demo__img {
    border-radius: 22px;
  }
}

@media (max-width: 768px) {
  .sub-demo {
    padding-block: 56px;
  }

  .sub-demo__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sub-demo__copy {
    max-width: 100%;
  }

  .sub-demo__headline {
    font-size: 23px;
  }

  .sub-demo__screenshot {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sub-demo {
    padding-block: 48px;
  }

  .sub-demo__img {
    width: 160px;
    border-radius: 20px;
  }

  .sub-demo__device {
    border-radius: 28px;
  }
}
