/* APU project landing pages — shared styles
   docs/style-guide/APU-Web-Style-Guide.md
   Mobile-first: these pages are almost always opened by scanning a QR code
   on a phone, often on poor venue wifi. No webfonts, no external requests. */

:root {
  --brick:      #A8353A;   /* APU Brick Red — primary */
  --brick-dark: #7E272B;
  --bone:       #FAF7F2;   /* bone white */
  --taupe:      #E4DDD3;   /* soft taupe */
  --ink:        #232021;
  --muted:      #6B6560;
  --rule:       #D9D1C6;
  --card:       #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bone:  #1A1819;
    --taupe: #2A2627;
    --ink:   #F2EEE9;
    --muted: #A69F98;
    --rule:  #3A3435;
    --card:  #232021;
    --brick: #D4676C;
    --brick-dark: #E08A8E;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 17px/1.6 "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* --- masthead --- */

.masthead {
  border-top: 5px solid var(--brick);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

h1 {
  font-family: "Minion Pro", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.tagline {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}

/* --- content --- */

h2 {
  font-family: "Minion Pro", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}

p { margin: 0 0 1rem; }

a { color: var(--brick); text-underline-offset: 2px; }
a:hover { color: var(--brick-dark); }

ul, ol { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin-bottom: 0.5rem; }

/* --- key/value detail list --- */

.details {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }
.details dt { font-weight: 700; color: var(--muted); font-size: 0.85rem;
              letter-spacing: 0.04em; text-transform: uppercase; padding-top: 0.15rem; }
.details dd { margin: 0; }

/* --- call to action --- */

.cta {
  display: inline-block;
  background: var(--brick);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  margin: 0.5rem 0;
  min-height: 44px;          /* touch target */
  line-height: 1.4;
}
.cta:hover  { background: var(--brick-dark); color: #fff; }
.cta:focus-visible { outline: 3px solid var(--brick-dark); outline-offset: 3px; }

.note {
  background: var(--taupe);
  border-left: 4px solid var(--brick);
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}
.note p:last-child { margin-bottom: 0; }

/* --- footer --- */

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--muted);
}
footer a { color: var(--muted); }

@media print {
  body { background: #fff; }
  .cta { border: 1px solid #000; color: #000; background: none; }
}
