/* ============================================================
   Better Player — page-specific styles on top of Itinr's
   design-system.css + site.css. Landscape iPad mockups, a dark
   band for the focus-mode sections, and the settings list.
   ============================================================ */

/* Landscape iPad mockups in the hero (replaces .phones/.phone) */
.pads { position: relative; width: 100%; height: 430px; }
.pad {
  position: absolute; width: 430px; padding: 9px 10px;
  background: var(--ink); border-radius: 22px; box-shadow: var(--shadow-float);
}
.pad img { width: 100%; display: block; border-radius: 13px; }
.pad.front { right: -6%; top: 150px; transform: rotate(2deg); z-index: 2; }
.pad.back  { right: 12%; top: 0; transform: rotate(-3deg); opacity: .97; }
@media (max-width: 980px) {
  .pads { height: 400px; max-width: 560px; margin: 8px auto 0; }
  .pad { width: 400px; }
  .pad.front { right: 0; top: 140px; }
  .pad.back { right: 8%; }
}
@media (max-width: 620px) {
  .pads { height: 300px; max-width: 100%; }
  .pad { width: 300px; padding: 6px 7px; border-radius: 16px; }
  .pad img { border-radius: 10px; }
  .pad.front { right: 0; top: 104px; }
  .pad.back { right: 42px; top: 0; }
}
@media (max-width: 400px) {
  .pads { height: 260px; }
  .pad { width: 260px; }
  .pad.front { top: 88px; }
  .pad.back { right: 34px; }
}

/* Landscape shots in feature sections — stacked, not side by side */
.shots { flex-direction: column; align-items: stretch; gap: 18px; max-width: 520px; margin: 0 auto; }
.shot { width: 100%; padding: 8px 9px; border-radius: 20px; }
.shot img { width: 100%; display: block; border-radius: 12px; }
.shots .shot:nth-child(2) { margin-top: 0; align-self: flex-end; width: 90%; }
.shots.solo { max-width: 560px; }

/* Key caps inside copy */
kbd {
  display: inline-block; min-width: 1.6em; padding: 0 .42em; margin: 0 .08em;
  border-radius: 6px; border: 1px solid var(--hairline);
  background: var(--surface-tint); color: var(--ink);
  font: 600 .86em/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  text-align: center; vertical-align: 1px;
  box-shadow: 0 1px 0 rgba(9,9,11,.10);
}
.hero .lead kbd, p.sec-sub kbd { font-size: .82em; }

/* Hero strip — where it runs */
.keystrip { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; font: 600 13px var(--font-stack); color: var(--text-secondary); }
.keystrip span { display: inline-flex; align-items: center; gap: 6px; }
.keystrip kbd { font-size: 12px; }

/* Callout */
.callout {
  margin-top: 28px; padding: 18px 20px; border-radius: var(--r-18);
  background: var(--brand-tint); color: var(--zinc-deeper); font-size: 14.5px; line-height: 1.5;
  display: flex; gap: 12px; align-items: flex-start;
}
.callout .bi { flex: 0 0 30px; height: 30px; border-radius: 9px; background: var(--surface); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.callout .bi .ico { width: 16px; height: 16px; }
.callout b { color: var(--ink); }

/* Dark band — the sections that show focus mode itself */
section.dark { background: var(--ink); color: #fff; border-radius: var(--r-28); margin: 0 12px; }
section.dark h2.sec { color: #fff; }
section.dark p.sec-sub { color: rgba(255,255,255,.72); }
section.dark .bullets b { color: #fff; }
section.dark .bullets span.d { color: rgba(255,255,255,.6); }
section.dark .bullets .bi { background: rgba(10,132,255,.22); color: #6cb2ff; }
section.dark .shot { background: #1c1c1e; box-shadow: 0 24px 48px rgba(0,0,0,.5); }
section.dark .section-eyebrow { color: #6cb2ff; }
section.dark kbd { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.14); box-shadow: none; }
section.dark .callout { background: rgba(10,132,255,.16); color: rgba(255,255,255,.78); }
section.dark .callout .bi { background: rgba(255,255,255,.10); color: #6cb2ff; }
section.dark .callout b { color: #fff; }

/* A phone, shown beside copy rather than stacked in the hero */
.shots.phone-only { max-width: 300px; }
.shots.phone-only .shot { padding: 9px 10px; border-radius: 42px; }
.shots.phone-only .shot img { border-radius: 33px; }

/* The controller's buttons, as a row of chips */
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
  font: 700 13.5px var(--font-stack); color: var(--ink);
}
.button-chip .ico { width: 16px; height: 16px; color: var(--brand); }

/* Settings — a plain two-column list of what you can change */
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; max-width: 760px; margin: 32px auto 0; text-align: left; }
@media (max-width: 640px) { .settings-grid { grid-template-columns: 1fr; } }
.settings-grid div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hairline); font-size: 14.5px; }
.settings-grid b { font-weight: 700; letter-spacing: -.2px; }
.settings-grid span { color: var(--text-tertiary); font-weight: 600; font-size: 13px; text-align: right; white-space: nowrap; }

/* Languages */
.langs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.lang-chip {
  padding: 7px 13px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--hairline);
  font: 700 13px var(--font-stack); color: var(--zinc-deep);
}

/* Single free plan */
.plans-grid.single { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
.plan.star::before { content: "Free"; }

/* Download links under the final badge */
.final-links { margin-top: 26px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font: 600 14px var(--font-stack); }
.final-links a { color: var(--text-secondary); text-decoration: none; }
.final-links a:hover { color: var(--brand); }
