/* maudeapp.ai: large, calm and easy to read, in Maude's colours. */
:root {
  --bg: #f2f7f5;
  --surface: #ffffff;
  --tint: #e3efec;
  --text: #14211f;
  --muted: #44524f;
  --brand: #317a78;
  --primary: #1f5c5a;
  --border: #c9dad6;
}
* { box-sizing: border-box; }
html { font-size: 20px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--primary); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
header, main, footer { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.4rem; }
.brand img { width: 56px; height: 56px; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { font-weight: 600; }
h1 { font-size: 2.3rem; line-height: 1.2; margin: 24px 0 12px; }
h2 { font-size: 1.5rem; margin: 40px 0 8px; }
h3 { font-size: 1.15rem; margin: 24px 0 4px; }
p, li { max-width: 70ch; }
.lead { font-size: 1.2rem; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px 24px; margin: 16px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid .card { margin: 0; }
.card h3 { margin-top: 0; }
.button { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 999px; min-height: 56px; }
.hero { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.hero img { width: 180px; height: 180px; }
.hero div { flex: 1; min-width: 260px; }
.note { background: var(--tint); border-radius: 16px; padding: 14px 18px; }
footer { color: var(--muted); padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--border); margin-top: 48px; font-size: 0.9rem; }
footer nav { margin-bottom: 8px; }
@media (max-width: 820px) {
  .hero img { display: none; }
}
@media (max-width: 520px) {
  html { font-size: 18px; }
  h1 { font-size: 1.8rem; }
  .hero img { display: none; } /* the logo is already in the header */
}
