/* The compare and guide pages. They sit on the .doc layout in legal.css. */

.article .lead { color: var(--warm); }
.article ul li::marker { color: var(--warm); }

.article h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--white);
}

.doc ul.points { margin-top: 20px; padding-left: 0; list-style: none; }
.doc ul.points li { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.doc ul.points li:last-child { border-bottom: 1px solid var(--line); }
.points b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--white); }

.article .steps { max-width: none; margin-top: 20px; }
.article .steps li { font-size: 17px; line-height: 1.55; }
.doc .steps + p, .doc .choose + p { margin-top: 24px; }

/* Side by side */

.versus {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.45;
}

.versus th, .versus td {
  padding: 14px 16px 14px 0;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.versus tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.versus thead > tr > * { padding-top: 0; border-top: 0; font-size: 14px; font-weight: 600; color: var(--white); }
.versus tbody th { width: 30%; font-weight: 600; color: var(--white); }
.versus .ours { color: var(--white); }

.versus thead .ours {
  color: var(--signal-hot);
  background: linear-gradient(90deg, #FF6A3D, #F0477A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Who should pick which */

.choose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.choice {
  padding: 26px 26px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.choice.ours {
  background: linear-gradient(160deg, rgba(255, 59, 20, .13), rgba(150, 30, 110, .07));
  box-shadow: inset 0 0 0 1px rgba(255, 106, 61, .34), 0 30px 80px -50px rgba(196, 16, 44, .7);
}

.doc .choice ul { margin-top: 12px; }
.doc .choice li, .doc .choice p { font-size: 16px; line-height: 1.5; }
.doc .choice p { margin-top: 10px; }

/* What you would type to your agent */

.prompt {
  margin-top: 24px;
  padding: 20px 24px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.prompt figcaption {
  width: fit-content;
  font-size: 13px;
  font-weight: 600;
  color: var(--signal-hot);
  background: linear-gradient(90deg, #FF6A3D, #F0477A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.doc .prompt p { margin-top: 8px; font-size: 19px; line-height: 1.5; color: var(--white); }

.doc pre {
  margin: 12px 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  overflow-x: auto;
  font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--white);
  white-space: pre;
}

/* A film or a still, wider than the text */

.doc-film { width: min(960px, calc(100% - 48px)); margin: 64px auto 0; }
.doc-film video { cursor: pointer; }
.doc-film + .doc-shell > h2:first-child { margin-top: 72px; }

.doc-film figcaption {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

/* The end of the page */

.next { margin-top: 72px; }
.doc .next ul { margin-top: 14px; padding-left: 0; list-style: none; }
.doc .next li { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc .next li:last-child { border-bottom: 1px solid var(--line); }

.doc .next a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  font-weight: 500;
  color: var(--white);
}

.doc .next a:hover { color: var(--signal-hot); }
.next .chevron { flex: none; transform: rotate(-45deg); }

.closer { margin-top: 136px; text-align: center; }
.doc .closer h2 { margin-top: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.016em; }
.closer .btn { margin-top: 30px; }
.doc .closer .note { margin-top: 18px; font-size: 14px; line-height: 1.55; text-wrap: balance; }

@media (max-width: 640px) {
  .choose { grid-template-columns: minmax(0, 1fr); }
  .choice { padding: 22px 20px 20px; }
  .doc-film { width: calc(100% - 32px); margin-top: 48px; }

  .versus thead tr, .versus tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }

  .versus thead td { display: none; }
  .versus tbody tr { padding: 12px 0; border-top: 1px solid var(--line); }
  .versus tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .versus th, .versus td, .versus tbody tr:last-child > * { padding: 4px 0; border: 0; }
  .versus tbody th { grid-column: 1 / -1; width: auto; }
  .versus thead th { padding-bottom: 8px; }
}
