/* Placeholder, legal and maintenance pages served by Caddy while the app is not live or not answering.
   Colours and fonts as in app/web/src/index.css. Fonts are served from here (SIL Open Font License), nothing is loaded from other hosts. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/_site/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2-variations");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_site/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/_site/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");
}

:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --card: #fffdf8;
  --ink: #1c1a15;
  --muted: #4f4b41;
  --subtle: #6f6a5d;
  --line: #d9d1bf;
  --green: #1e6b47;
  --green-dark: #15523a;
  --sun: #ffcd3c;
  --sun-tint: #fff3c9;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-dark); }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
h1, h2 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: 64rem; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 24px; } }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.lang { font-size: 0.95rem; font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink); background: var(--card); }
.lang:hover { border-color: var(--green); }

main { flex: 1; }
.hero { padding-block: clamp(48px, 9vw, 112px) clamp(40px, 6vw, 72px); display: grid; gap: 22px; }
.eyebrow { color: var(--green); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 800; }
.hero h1 mark { background: var(--sun); color: inherit; padding: 0 0.15em; border-radius: 6px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }

.cards { display: grid; gap: 16px; padding-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.card h2 { font-size: 1.5rem; font-weight: 700; }
.card p { color: var(--muted); }

.contact { border-top: 1px solid var(--line); padding-block: 32px 48px; display: grid; gap: 6px; }
.contact a { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 4vw, 1.9rem); overflow-wrap: anywhere; }

.legal { padding-block: 40px 64px; max-width: 44rem; display: grid; gap: 14px; color: var(--muted); }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-top: 18px; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal b { color: var(--ink); }
.legal .stand { font-size: 0.9rem; color: var(--subtle); margin-top: 18px; }

.notice { padding-block: clamp(56px, 12vw, 140px); display: grid; gap: 18px; max-width: 44rem; }
.notice h1 { font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 800; }
.notice > div { display: grid; gap: 18px; }
.notice p { color: var(--muted); font-size: 1.15rem; }
.notice .eyebrow { color: var(--green); font-size: 0.85rem; }
.notice hr { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 12px 0; }

footer { border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--subtle); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-block: 20px 28px; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--subtle); padding-block: 6px; }
footer a:hover { color: var(--ink); }
