/*
 * The landing, and the two long-form pages.
 *
 * The same paper as everything else — a marketing page that looked like a
 * different product would undo the point of it.
 */

.landing {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding-block-start: var(--space-10);
}

/* ---- The hero ----------------------------------------------------------- */

.landing__hero {
  display: grid;
  gap: var(--space-12);
  align-items: center;
  padding-block: var(--space-8) var(--space-10);
}

@media (min-width: 64rem) {
  .landing__hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-16);
    padding-block: var(--space-16) var(--space-20);
  }
}

.landing__pitch {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.landing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-block-start: var(--space-3);
}

/* Two prints resting on the page, one over the other. The only place in the
   product where a tilt is deliberate — see the brief. */
.landing__prints {
  position: relative;
  display: grid;
  padding-block: var(--space-8);
}

/* They overlap like two photographs dropped on a table, but never so far that
   the lower one covers the other's signature. */
.landing__prints .print {
  inline-size: min(100%, 17rem);
}

.landing__prints .print:first-child {
  justify-self: start;
}

.landing__prints .print:last-child {
  justify-self: end;
  margin-block-start: -2rem;
}

.landing__prints .print__well {
  min-block-size: 12rem;
}

.landing__prints .icon {
  inline-size: 2rem;
  block-size: 2rem;
  opacity: 0.45;
}

@media (min-width: 48rem) {
  .landing__prints .print__well {
    min-block-size: 15rem;
  }
}

/* ---- Three steps -------------------------------------------------------- */

.landing__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block-end: var(--space-5);
  border-bottom: 1px solid var(--rule);
  margin-block-end: var(--space-10);
}

.steps-list {
  display: grid;
  gap: var(--space-10);
  list-style: none;
}

@media (min-width: 48rem) {
  .steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

.steps-list__step {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* The numeral is decorative and large, in foil — a page number in an album. */
.steps-list__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: var(--weight-semibold);
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
  margin-block-end: var(--space-2);
}

/* ---- The table card ----------------------------------------------------- */

.landing__card {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8) var(--container-margin);
  background: var(--gold-wash);
  border-radius: var(--radius-print);
}

@media (min-width: 48rem) {
  .landing__card {
    grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
    gap: var(--space-12);
    padding: var(--space-12);
  }
}

.landing__card-print .print {
  inline-size: 100%;
}

.landing__card-print .print__well {
  min-block-size: 11rem;
  aspect-ratio: 1;
}

.landing__card-print .icon {
  inline-size: 2.5rem;
  block-size: 2.5rem;
  opacity: 0.45;
}

/* ---- What you actually get ---------------------------------------------- */

.landing__promises {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 48rem) {
  .landing__promises {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promise {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  background: var(--print);
  border: 1px solid var(--ink-edge);
  border-radius: var(--radius-print);
  box-shadow: var(--shadow-surface);
}

.promise__mark {
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: var(--radius-control);
  background: var(--paper-shade);
  color: var(--gold);
  margin-block-end: var(--space-2);
}

.promise__mark svg {
  inline-size: 1.375rem;
  block-size: 1.375rem;
}

/* ---- The last word ------------------------------------------------------ */

.landing__close {
  padding-block: var(--space-16);
  background: var(--ink);
  color: var(--print);
  text-align: center;
}

.landing__close .t-body-lg {
  color: color-mix(in srgb, var(--print) 78%, transparent);
}

.landing__close .button--primary {
  background: var(--print);
  color: var(--ink);
}

.landing__close .button--primary:hover {
  background: color-mix(in srgb, var(--print) 88%, var(--gold));
}

.landing__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
}

/* ---- Privacy and terms -------------------------------------------------- *
 * A long read, set like one: a single narrow column and generous leading.     */

.legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-block: var(--space-10) var(--space-16);
}

.legal__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-block-end: var(--space-6);
  border-bottom: 1px solid var(--rule);
}

.legal__section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.legal__section .t-headline {
  margin-block-start: var(--space-4);
}

.legal__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-inline-start: var(--space-5);
  list-style: disc;
}

.legal__list li::marker {
  color: var(--gold);
}

/* ---- Missing and broken ------------------------------------------------- */

.error-page {
  min-block-size: 60svh;
  justify-content: center;
}
