/* unigpx.fr - light, the app's selection orange as the accent, readable from a phone up. */
:root {
  --bg: #fbfaf8;
  --fg: #23211f;
  --mute: #6b6560;
  --line: #e4dfd9;
  --accent: #f28c1b;
  --accent-dark: #b25e00;
  --card: #ffffff;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
header, main, footer { max-width: 56rem; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent-dark); }

header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 20px; color: var(--fg); text-decoration: none; }
nav { display: flex; gap: 20px; }
nav a { color: var(--fg); text-decoration: none; }
nav a:hover { color: var(--accent-dark); }

main { padding-top: 24px; padding-bottom: 48px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 16px 0; }
h2 { font-size: 22px; margin: 32px 0 8px; }
h2 small { font-weight: 400; font-size: 15px; color: var(--mute); margin-left: 6px; }
.lead { font-size: 19px; color: var(--mute); max-width: 42rem; }
.note { color: var(--mute); font-size: 15px; }

.button { display: inline-block; background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.button:hover { background: var(--accent-dark); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 16px; margin-top: 32px; }
.features article { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 4px 16px 8px; }
.features h2 { font-size: 18px; margin-top: 12px; }
.about { border-top: 1px solid var(--line); margin-top: 40px; color: var(--mute); }
.beta { border-left: 3px solid var(--accent); padding-left: 16px; }

table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
pre { background: #f0ece7; padding: 10px 12px; border-radius: 6px; overflow-x: auto; font-size: 14px; }
code { font-size: 0.9em; }
img { max-width: 100%; height: auto; }
main img { display: block; margin: 16px 0; border: 1px solid var(--line); border-radius: 6px; }
.shot { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); }

form { display: grid; gap: 6px; max-width: 40rem; }
label { font-weight: 600; margin-top: 10px; }
textarea, input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); width: 100%; }
button { font: inherit; font-weight: 600; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 10px 20px; cursor: pointer; }
button:disabled { opacity: 0.6; cursor: default; }
.state.ok { color: #2e7d32; }
.state.error { color: #c62828; }
.trap { position: absolute; left: -10000px; }

footer { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 48px; color: var(--mute); font-size: 14px; }
footer p { margin: 4px 0; }
