/* One layout for the whole page: flush left, large type, glass set inside the sentences.
 * (Owner, 2026-10-07: "everything is centred — safe but not special"; chosen from static mocks.)
 * The opening is css/light.css and the limit to try is css/cap.css; this file brings the remaining
 * sections onto the same left axis (the .wrap edge, 1120px) so nothing is centred any more.
 * Loaded after the section styles; only layout lives here. */

/* A section's statement: large, flush left. */
.title.statement {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 0.9rem + 3.3vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-align: left;
}
.section > .wrap > .title.statement {
  padding-top: clamp(18px, 3.4vh, 36px);
  border-top: 1px solid var(--glass-line);
}

/* See every request: the wallet a little narrower than the receipts. */
@media (min-width: 900px) {
  #wallet .duo {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

/* The film: its title on the page's left axis, the picture as wide as before. */
.film-inner {
  justify-items: stretch;
  text-align: left;
}
.film .film-inner > :is(.eyebrow, .title.statement) {
  width: min(1120px, 100% - 2 * var(--gutter));
  max-width: none;
  margin-inline: auto;
}
.film-dock,
.film-bar {
  justify-self: center;
}

/* The developer side's mark: on the seam, at the left axis. */
.side-seam {
  left: max(var(--gutter), (100% - 1120px) / 2);
  translate: 0 -50%;
}

/* Questions: the statement stays put on the left while the list runs down the right. */
#faq .wrap {
  display: grid;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding-top: clamp(18px, 3.4vh, 36px);
  border-top: 1px solid var(--glass-line);
}
#faq .title.statement {
  padding-top: 0;
  border-top: 0;
}
#faq .faq {
  width: 100%;
  margin: 0;
}
@media (min-width: 900px) {
  #faq .wrap {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
  #faq .title.statement {
    position: sticky;
    top: 112px;
  }
}

/* Contact: one sentence, the address set inside it. */
.contact {
  padding-block: clamp(28px, 6vh, 72px) 0;
}
.contact-card {
  display: block;
  justify-items: normal; /* (a centring default would shrink and centre the sentence, even in a block) */
  width: 100%;
  margin: 0;
  padding: clamp(18px, 3.4vh, 36px) 0 0;
  border-top: 1px solid var(--glass-line);
  background: none;
  text-align: left;
}
.contact-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 0.9rem + 3.3vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.5;
}
.contact-title .mail-pill {
  margin: 0 0.1em;
  font-size: 0.62em;
  letter-spacing: -0.02em;
  vertical-align: 0.16em;
}

/* Closing: the statement on the left, the way in across from it — like the opening's strip. */
.closing-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "chip chip"
    "title title"
    "lede cta"
    "more more";
  align-items: center;
  justify-items: start;
  gap: 0 28px;
  text-align: left;
}
.closing-inner > .beta-chip {
  grid-area: chip;
}
.section > .closing-inner > .title.statement {
  padding-top: 0;
  border-top: 0;
}
.closing-inner > .title {
  grid-area: title;
  justify-self: stretch;
  margin: 16px 0 clamp(14px, 2.6vh, 26px);
  padding: 0 0 clamp(16px, 3vh, 30px);
  border-top: 0;
  border-bottom: 1px solid var(--glass-line);
}
.closing-inner > .lede-sm {
  grid-area: lede;
  max-width: none;
  margin: 0;
}
.closing-inner > .cta-row {
  grid-area: cta;
  margin: 0;
}
.closing-inner > .closing-more {
  grid-area: more;
}
@media (max-width: 720px) {
  .closing-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "chip"
      "title"
      "lede"
      "cta"
      "more";
  }
  .closing-inner > .cta-row {
    padding-top: 14px;
  }
  .contact-title {
    line-height: 1.6;
  }
  .contact-title .mail-pill {
    margin-inline: 0;
    font-size: 0.7em;
  }
}

/* The developer opening keeps to the left axis on narrow screens too. */
@media (max-width: 860px) {
  .dev-hero {
    justify-items: start;
    text-align: left;
  }
  .dev-copy2 {
    justify-items: start;
  }
}
@media (max-width: 345px) {
  .dev-copy2 .nb {
    white-space: normal;
  }
  .dev-cta2,
  .dev-cta2 .btn {
    max-width: 100%;
  }
  .dev-cta2 .btn {
    padding-inline: 16px;
    font-size: 15px;
  }
}
/* The closing link's own padding would set it 4px off the axis. */
.closing-more .text-link {
  margin-left: -4px;
}
