/* =====================================================================
   Subpages (download, help, trust, legal) on the start page's frame.
   Loaded after site.css; only adds the page head, text rows and the
   download cards. Everything else comes from site.css.
   ===================================================================== */

.nav__links a[aria-current="page"],
.nav__sheet a[aria-current="page"] { color: var(--wine); }

/* ------------------------------------------------------------ page head */
/* The nav already draws the top hairline; the grid pattern comes from .cta. */
.page-head { border-top: 0; }
.page-head .statement__wrap { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px); }
.page-head h1 {
  max-width: 14em;
  margin-inline: auto;
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.page-head .statement__sub a { color: var(--wine); }

/* ------------------------------------------------------------ text rows */
.doc { padding-block: clamp(12px, 3vw, 32px); }
.doc__row {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(16px, 5vw, 72px);
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.doc__row:first-child { border-top: 0; }
/* Wide tables: title above, table across the full frame. */
.doc__row--wide { grid-template-columns: 1fr; }
.doc__title { font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.15; letter-spacing: -.03em; }
.doc__nr { display: block; margin-bottom: 12px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; color: var(--wine); }
.doc__body { color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.doc__body > * + * { margin-top: 14px; }
.doc__body h3 { margin-top: 28px; color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.doc__body a { color: var(--wine); }
.doc__body strong { color: var(--ink-2); font-weight: 600; }
.doc__body ul { display: grid; gap: 8px; }
.doc__body li { position: relative; padding-left: 20px; list-style: none; }
.doc__body li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 8px; height: 1.5px; background: var(--wine); }
.table-scroll { overflow-x: auto; }
.doc__body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.doc__body th,
.doc__body td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc__body th { color: var(--muted-2); font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.doc__body td:first-child { color: var(--ink-2); }

/* ------------------------------------------------------------ download */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: clamp(32px, 4vw, 48px) clamp(24px, 2.8vw, 40px); border-right: 1px solid var(--line); }
.card:last-child { border-right: 0; }
.card h2, .card h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: -.03em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.card .btn--block { margin-top: 26px; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 12px; background: var(--ink); color: #fff; }
.card .card__meta { margin-top: 8px; font: 400 12.5px/1.4 var(--mono); letter-spacing: .02em; color: var(--muted-2); }
.card__alt { display: inline-block; margin-top: 14px; font-size: 15px; color: var(--wine); }
.card .note { display: block; margin-top: 16px; line-height: 1.5; }
.card .checks { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.card__nr { display: block; margin-bottom: 14px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; color: var(--wine); }
.team__photo { display: block; width: 100%; max-width: 360px; aspect-ratio: 1; margin-bottom: 26px; border-radius: 12px; object-fit: cover; }
.sec-head { padding-block: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.sec-foot { padding-block: 22px 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 14px; }
.sec-foot a { color: var(--wine); }

@media (max-width: 1024px) {
  .doc__row { grid-template-columns: 1fr; }
  .cards, .cards--3 { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
}

/* Phones: table rows stack, so three narrow columns never squeeze the text. */
@media (max-width: 720px) {
  .doc__body thead { display: none; }
  .doc__body tr { display: block; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .doc__body td { display: block; padding: 2px 0; border: 0; }
  .doc__body td:first-child { font-weight: 500; }
  .doc__body td[data-label]::before { content: attr(data-label) ": "; color: var(--muted-2); font: 500 11.5px/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
}
