/* The parent page: a document, not an instrument, so it scrolls and its text
   can be selected. Colours and the monospace come from shared/look.css. */

body { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }

.page { max-width: 600px; margin: 0 auto; padding: 56px 24px 40px; }

h1 { margin: 0 0 8px; color: var(--value); font-size: 22px; font-weight: normal; letter-spacing: 0.01em; }
h2 { margin: 0 0 6px; color: var(--value); font-size: 17px; font-weight: normal; }
h2.small { font-size: 13px; color: var(--label); margin: 0 0 4px; }
p { margin: 0; }
.lede { font-size: 14px; }

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 1px solid var(--label); outline-offset: 4px; }
.maker { font-size: 12px; margin: 10px 0 0; }
.maker a:hover { color: var(--value); text-decoration: underline; }

.glyph { flex: none; display: block; }
.meta { color: var(--dim); font-size: 12px; }

/* the triangle: the one that matters */
.hero { margin: 36px 0 0; }
.card { display: flex; gap: 32px; align-items: center; padding: 32px 28px; border: 1px solid var(--outline); border-radius: 12px; }
.card:hover { border-color: var(--label); }
.card .text p { color: var(--label); font-size: 14px; line-height: 1.55; margin: 0 0 10px; }
.card .text p.dim { color: var(--value); font-size: 15px; margin: 0 0 10px; }
.card h2 { font-size: 20px; margin: 0 0 8px; overflow-wrap: anywhere; }

/* the others: here, and working */
.also { margin: 40px 0 0; }
.also h2.small { margin: 0 0 10px; }
.also ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--outline); }
.also li { border-bottom: 1px solid var(--outline); }
.row { display: flex; align-items: center; gap: 14px; padding: 8px 2px; }
.row .text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row .name { color: var(--value); font-size: 13px; }
.row .desc { font-size: 12px; }
.row:hover .name { text-decoration: underline; }

/* support: a short list of tips */
.support { margin: 40px 0 0; scroll-margin-top: 24px; }
.support h2.small { margin: 0 0 10px; }
.support .tips { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--outline); }
.support .tips li { padding: 8px 2px; border-bottom: 1px solid var(--outline); font-size: 13px; line-height: 1.55; }
.support .k { display: block; color: var(--value); font-size: 12px; }
.support a { text-decoration: underline; }
.support a:hover { color: var(--value); }
.pill { display: inline-block; padding: 0 10px; border-radius: 10px; background: var(--ca); color: var(--ground); font-size: 12px; font-weight: bold; line-height: 18px; }

/* logo and email as one bordered block, the logo centred on the triangle glyph above (same card padding, same 176 px column) */
footer { margin: 56px 0 0; }
.block { display: flex; gap: 32px; align-items: center; padding: 32px 28px; border: 1px solid var(--outline); border-radius: 12px; }
.logobox { flex: none; width: 176px; display: flex; justify-content: center; }
.logobox img { display: block; }
.mail { flex: 1; text-align: center; font-size: 13px; overflow-wrap: anywhere; }
.mail:hover { color: var(--value); text-decoration: underline; }

@media (max-width: 480px) {
  .page { padding-top: 36px; }
  .card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .card h2 { font-size: 16px; }
  .block { flex-direction: column; align-items: center; gap: 18px; }
  .logobox { width: auto; }
  .mail { flex: none; text-align: center; }
  .row .name { font-size: 12px; }
  .row .meta { display: none; }
}
