/* Search-landing pages (stage-manager-alternative, spaces-alternative, mac-keeps-switching-desktops,
   aerospace-alternative). Loaded after styles.css and site.css. The section heads, eyebrow, table,
   product clip and fine print copy index.html's own rules (its inline <style>), so the pages read as
   the same site; only the pieces these pages need are here. */

strong,
b {
  font-weight: 600;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Index's eyebrow and section heads (centred = eyebrow + headline with the line under the visual;
   left = headline with its line right under it). */
.eyebrow {
  margin: 0 0 20px;
  font-size: 21px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.011em;
  color: var(--text);
}
/* The nav is the homepage's on every page (its sections, logo = home); these pages are found from the
   footer's Compare and Mac help columns, links between them, and the sitemap. The hero's eyebrow is a
   breadcrumb back to the homepage. */
.crumbs a {
  color: var(--link);
}
.crumbs span {
  color: var(--text-tertiary);
}
.lead-left {
  text-align: left;
}
.lead-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.lead-left .fline {
  max-width: 840px;
  margin-left: 0;
}
.fline-under {
  margin-top: 36px;
}
.lp-table-head {
  max-width: 860px;
  padding-left: 4px;
}

/* Hero: the answer first, a little smaller than the homepage's marquee (these H1s are longer). */
.lp-hero {
  padding-top: 112px;
}
.lp-h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: 64px;
  line-height: 1.0625;
  font-weight: 600;
  letter-spacing: -0.009em;
  text-wrap: balance;
}
.lp-hero .intro {
  max-width: 760px;
  margin-top: 24px;
  text-wrap: pretty;
}
.lp-hero .intro + .intro {
  margin-top: 14px;
}

/* Second-level heads: the homepage's section-header size (48/40/32). */
.lp-h2 {
  font-size: 48px;
  line-height: 1.0835;
  letter-spacing: -0.003em;
  text-wrap: balance;
}

/* A recording in its own rounded frame, as index's "Same app" (.ph-frame). */
.lp-media {
  margin: 56px 0 0;
}
.lp-frame {
  position: relative;
  width: min(1040px, 100vw - 2 * var(--gutter));
  margin: 0 0 0 50%;
  translate: -50% 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-big);
  overflow: hidden;
  isolation: isolate;
  background: #1b4560;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 50px 100px -50px rgba(20, 30, 70, 0.35);
}
.lp-frame.is-hero {
  aspect-ratio: 2400 / 1558;
}
.lp-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-media figcaption {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.47;
  color: var(--text-secondary);
  text-align: center;
  text-wrap: pretty;
}
.lp-media figcaption strong {
  color: var(--text);
}
/* Without / with: a small pill that follows the clip (turns Apple blue at the cut). */
.lp-tag {
  display: block;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8e8ed;
  color: var(--text);
  font-size: 14px;
  line-height: 1.43;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}
.alt .lp-tag {
  background: #e3e3e8;
}
.lp-media.is-with .lp-tag {
  background: var(--button);
  color: #fff;
}

/* The workspace pie as a product on the gray section (index's .product, .product-pie). */
.product {
  position: relative;
  width: min(1040px, 100vw - 2 * var(--gutter));
  margin: 48px 0 0 50%;
  translate: -50% 0;
  aspect-ratio: 16 / 10;
}
.product > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  --feather: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: var(--feather);
  -webkit-mask-composite: source-in;
  mask-image: var(--feather);
  mask-composite: intersect;
  filter: brightness(0.996);
}

/* Short points: a bold name, then a line or two. Two columns, one on phones. */
.lp-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
  max-width: 760px;
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.lp-points li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-points strong {
  font-size: 19px;
  line-height: 1.24;
  letter-spacing: -0.012em;
  color: var(--text);
}
.lp-points span {
  font-size: 17px;
  line-height: 1.47;
  color: var(--text-secondary);
}

/* Plain prose under a left head. */
.lp-prose {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: left;
}
.lp-prose p {
  font-size: 19px;
  line-height: 1.47;
  color: var(--text-secondary);
}
.lp-prose p + p {
  margin-top: 16px;
}
.lp-prose strong {
  color: var(--text);
}

/* Numbered steps (the macOS setting). */
.lp-steps {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: left;
}
.lp-steps li {
  position: relative;
  padding: 0 0 0 52px;
  font-size: 19px;
  line-height: 1.47;
  color: var(--text);
  counter-increment: step;
}
.lp-steps li + li {
  margin-top: 20px;
}
.lp-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--button);
  color: #fff;
  font-size: 16px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
}
.lp-steps .lp-setting {
  font-weight: 600;
}
.lp-note {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--bg);
  text-align: left;
}
section:not(.alt) .lp-note {
  background: var(--bg-alt);
}
.lp-note + .lp-note {
  margin-top: 16px;
}
.lp-note h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
}
.lp-note p {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.47;
  color: var(--text-secondary);
}
.lp-note p strong {
  color: var(--text);
}

/* Compare table: the homepage's .ctable; the wider label column suits two or three data columns. */
.ctable thead td {
  text-align: left;
}
.ctable .c-sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
}

/* Closing extras: a link to the homepage and the "Also compare" row. */
.lp-more {
  margin-top: 28px;
  font-size: 17px;
}
.lp-also {
  margin-top: 56px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.lp-also a {
  white-space: nowrap;
}

@media (max-width: 1068px) {
  .eyebrow {
    margin-bottom: 18px;
  }
  .lp-h1 {
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -0.003em;
  }
  .lp-h2 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
  }
  .lead-left .fline {
    max-width: 656px;
  }
}
@media (max-width: 734px) {
  .eyebrow {
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 1.2105;
    letter-spacing: 0.012em;
  }
  .fline-under {
    margin-top: 24px;
  }
  .lp-hero {
    padding-top: 72px;
  }
  .lp-h1 {
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.004em;
  }
  .lp-h2 {
    font-size: 32px;
    line-height: 1.125;
    letter-spacing: 0.004em;
  }
  .lp-media {
    margin-top: 40px;
  }
  .lp-frame {
    border-radius: 18px;
  }
  .product {
    margin-top: 36px;
    aspect-ratio: 4 / 3;
  }
  .lp-points {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
  }
  .lp-prose p,
  .lp-steps li {
    font-size: 17px;
  }
  .lp-steps li {
    padding-left: 46px;
  }
  .lp-note {
    padding: 20px;
  }
}

/* Roundup page (best-mac-window-managers): disclosure, scrolling table, per-app blocks. */
.rd-disclosure {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--bg-alt);
  font-size: 17px;
  line-height: 1.47;
  color: var(--text-secondary);
  text-align: left;
}
.rd-disclosure strong {
  color: var(--text);
}
.rd-wrap {
  margin: 40px 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  background: var(--bg);
}
.rd-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
}
.rd-table th,
.rd-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.rd-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.rd-table tbody th {
  font-weight: 600;
}
.rd-table td {
  color: var(--text-secondary);
}
.rd-table tbody tr:last-child th,
.rd-table tbody tr:last-child td {
  border-bottom: 0;
}
.rd-table tr.rd-us th,
.rd-table tr.rd-us td {
  background: rgba(0, 113, 227, 0.07);
  color: var(--text);
}
/* Each app's own icon beside its name (identification only; icons belong to their makers). */
.rd-icon {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: -8px;
}
.rd-table th a {
  color: var(--text);
}
.rd-app h3 .rd-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  vertical-align: -9px;
}
/* The table is grouped by the job each app does, so a snapper isn't read as a cheaper workspace app. */
.rd-table tr.rd-group th {
  padding-top: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-tertiary);
  background: var(--bg-alt);
}
.rd-table tbody tr.rd-group:first-child th {
  padding-top: 16px;
}
.rd-list {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: left;
}
.rd-app + .rd-app {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}
.rd-app h3 {
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -0.003em;
}
.rd-meta {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-tertiary);
}
.rd-app p {
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.47;
  color: var(--text-secondary);
}
.rd-app p.rd-meta {
  margin-top: 6px;
  font-size: 15px;
}
.rd-app strong {
  color: var(--text);
}
@media (max-width: 734px) {
  .rd-table { min-width: 0; }
  .rd-table thead { display: none; }
  .rd-table tr.rd-us { background: rgba(0, 113, 227, 0.07); }
  .rd-table tr.rd-us th, .rd-table tr.rd-us td { background: none; }
  .rd-table tbody tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
  .rd-table tbody tr:last-child { border-bottom: 0; }
  .rd-table th, .rd-table td { display: block; padding: 0; border: 0 !important; }
  .rd-table tbody th { font-size: 18px; margin-bottom: 4px; }
  .rd-table td { font-size: 15px; line-height: 1.45; }
  .rd-table td::before { content: attr(data-label) ": "; color: var(--text-tertiary); }
  .rd-table tbody tr.rd-group { padding: 20px 18px 8px; background: var(--bg-alt); }
  .rd-table tr.rd-group th { padding: 0; font-size: 13px; margin: 0; }
  .rd-app h3 { font-size: 24px; }
  .rd-app p { font-size: 17px; }
  .rd-disclosure { font-size: 16px; }
}
