/* Compact page ending; no Manifesto occupies the space after the Tool section. */
.contact-ending { color: #f2f2ed; background: #1d1f1b; padding-top: 18px; }
.contact-ending-grid { display: grid; grid-template-columns: 360fr 585fr 495fr; min-height: 270px; }
.contact-ending-grid > * { min-width: 0; }
.contact-ending-grid > * + * { border-left: 1px solid var(--line-dark); }
.contact-ending-label { padding: 12px var(--gutter); font-family: var(--mono); font-size: 10px; line-height: 16px; color: rgba(255,255,255,.45); text-transform: uppercase; }
.contact-ending-main { padding: 30px 14px; }
.contact-ending-main h2 { margin: 0; font-size: 66px; font-weight: 400; line-height: 60px; letter-spacing: -.065em; }
.contact-ending-reply { margin: 36px 0 0; font-size: 38px; font-weight: 400; line-height: 44px; letter-spacing: -.055em; }
.contact-ending-side { display: flex; flex-direction: column; justify-content: space-between; padding: 30px var(--gutter); }
.contact-ending-side p { margin: 0; max-width: 300px; font-size: 13px; line-height: 22px; color: rgba(255,255,255,.62); }
.contact-ending-side a { align-self: flex-start; font-size: 13px; line-height: 16px; }
.contact-ending-side a:hover, .launch-footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-ending-side a:focus-visible, .launch-footer-links a:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.launch-footer { display: grid; grid-template-columns: 360fr 720fr 360fr; min-height: 50px; border-top: 1px solid var(--line-dark); background: #1d1f1b; color: rgba(255,255,255,.46); font-family: var(--mono); font-size: 10px; line-height: 14px; text-transform: uppercase; }
.launch-footer > * { display: flex; align-items: center; min-width: 0; padding: 0 var(--gutter); }
.launch-footer > * + * { border-left: 1px solid var(--line-dark); }
.launch-footer-links { gap: 16px; flex-wrap: wrap; }
@media (min-width: 901px) and (max-width: 1200px) {
  .contact-ending-main h2 { font-size: clamp(48px,4.45vw,64px); line-height: .95; }
  .contact-ending-reply { font-size: 36px; }
  .contact-ending-side p { max-width: 280px; }
}
@media (max-width: 900px) {
  .contact-ending-grid { grid-template-columns: 1fr; }
  .contact-ending-grid > * + * { border-left: 0; border-top: 1px solid var(--line-dark); }
  .contact-ending-label { padding-top: 16px; padding-bottom: 24px; }
  .contact-ending-main { padding: 32px var(--gutter); }
  .contact-ending-main h2 { font-size: clamp(42px,7.5vw,64px); line-height: .95; }
  .contact-ending-side { min-height: 180px; padding: 28px var(--gutter); gap: 36px; }
  .launch-footer { grid-template-columns: 1fr; }
  .launch-footer > * { min-height: 50px; padding-top: 16px; padding-bottom: 16px; }
  .launch-footer > * + * { border-left: 0; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 480px) {
  .contact-ending-main h2 { font-size: 42px; }
  .contact-ending-reply { font-size: 32px; line-height: 36px; }
  .launch-footer-links { gap: 12px; }
}

/* The reference's dark surfaces vary by only a few RGB levels across the page. */
@media (min-width: 1051px) {
  .contact-ending { background: linear-gradient(to right, #242522, #1a1b18); }
  .launch-footer { background: linear-gradient(to right, #21221f, #171816); }
}

/* Direct contact methods: ruled rows and independent copy controls. */
.contact-method-row {
  display: grid; grid-template-columns: 360fr 930fr 150fr;
  min-height: 82px; border-top: 1px solid var(--line-dark);
}
.contact-method-row > * { min-width: 0; }
.contact-method-row > * + * { border-left: 1px solid var(--line-dark); }
.contact-method-label { display: flex; align-items: center; padding: 20px var(--gutter); font: 10px/16px var(--mono); letter-spacing: .04em; color: rgba(255,255,255,.5); }
.contact-method-action { grid-column: 2; }
.contact-method-row:not(:has(.contact-copy)) .contact-method-action { grid-column: 2 / -1; }
.contact-method-link { display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: center; gap: 12px; min-height: 82px; padding: 16px var(--gutter); }
.contact-method-value { font-size: 28px; line-height: 34px; letter-spacing: -.035em; overflow-wrap: anywhere; }
.contact-method-arrow { justify-self: end; font-size: 24px; line-height: 28px; }
.contact-method-link.is-unavailable { color: rgba(255,255,255,.38); }
.contact-method-link.is-unavailable .contact-method-value { font: 16px/24px var(--sans); letter-spacing: 0; }
.contact-copy { grid-column: 3; min-height: 82px; padding: 12px 8px; border: 0; border-left: 1px solid var(--line-dark); background: transparent; color: inherit; font: 12px/18px var(--sans); cursor: pointer; }
.contact-copy:disabled { color: rgba(255,255,255,.28); cursor: default; }
.contact-method-link[href]:hover .contact-method-value { text-decoration: underline; text-underline-offset: 5px; }
.contact-copy:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 4px; }
.contact-copy:focus-visible, .contact-method-link[href]:focus-visible { outline: 1px solid currentColor; outline-offset: -4px; }
.contact-copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.launch-footer-links a[aria-disabled="true"] { cursor: default; text-decoration: none; }

@media (max-width: 640px) {
  .contact-ending { padding-top: 0; }
  .contact-ending-label { padding: 18px 16px; }
  .contact-ending-main { padding: 24px 16px; }
  .contact-ending-reply { margin-top: 20px; font-size: 28px; line-height: 34px; }
  .contact-ending-side { min-height: 0; padding: 20px 16px 24px; gap: 0; }
  .contact-ending-side p { max-width: none; font-size: 14px; line-height: 22px; }
  .contact-method-row { grid-template-columns: minmax(0,1fr) 80px; min-height: 0; }
  .contact-method-label { grid-column: 1 / -1; padding: 14px 16px 2px; }
  .contact-method-row > * + * { border-left: 0; }
  .contact-method-row .contact-method-action { grid-column: 1; grid-row: 2; }
  .contact-method-row:not(:has(.contact-copy)) .contact-method-action,
  .contact-method-row[data-placeholder] .contact-method-action { grid-column: 1 / -1; }
  .contact-method-link { grid-template-columns: minmax(0,1fr) 24px; gap: 8px; min-height: 56px; padding: 4px 16px 14px; }
  .contact-method-value { font-size: clamp(17px,5vw,20px); line-height: 24px; }
  .contact-method-link.is-unavailable .contact-method-value { font-size: 14px; line-height: 24px; }
  .contact-method-arrow { font-size: 21px; line-height: 24px; }
  .contact-copy { grid-column: 2; grid-row: 2; min-height: 56px; padding: 4px 6px 14px; font-size: 11px; line-height: 16px; }
  .contact-method-row[data-placeholder] .contact-copy { display: none; }
  .launch-footer { grid-template-columns: minmax(0,1fr) auto; }
  .launch-footer > * { min-height: 50px; padding: 0 16px; }
  .launch-footer-brand { grid-column: 1; grid-row: 1; }
  .launch-footer .launch-footer-copyright { grid-column: 2; grid-row: 1; border: 0; }
  .launch-footer .launch-footer-links { grid-column: 1 / -1; grid-row: 2; border-left: 0; gap: 24px; }
  .launch-footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; }
}

/* Compact desktop contact scale; retain the existing mobile rules and grid. */
@media (min-width: 960px) {
  .contact-ending { padding-top: 12px; }
  .contact-ending-grid { min-height: 200px; }
  .contact-ending-label { padding-block: 8px; }
  .contact-ending-main, .contact-ending-side { padding-block: 20px; }
  .contact-ending-main h2 { font-size: 50px; line-height: 46px; }
  .contact-ending-reply { margin-top: 24px; font-size: 29px; line-height: 34px; }
  .contact-method-row, .contact-method-link, .contact-copy { min-height: 64px; }
  .contact-method-label { padding-block: 12px; }
  .contact-method-link { padding-block: 8px; }
  .contact-method-value { font-size: 22px; line-height: 28px; }
  .contact-method-arrow { font-size: 20px; line-height: 24px; }
  .contact-copy { padding-block: 8px; }
}
@media (min-width: 960px) and (max-width: 1200px) {
  .contact-ending-main h2 { font-size: clamp(36.5px, 3.38vw, 48.6px); line-height: .95; }
  .contact-ending-reply { font-size: 27px; }
}
