/* Vansa Bot web pages (install landing, OAuth results, Vansa key form, privacy, errors).
   Brand tokens from the owner's launch package; self-hosted Inter; no remote fonts or trackers. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/Inter-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/Inter-Bold.ttf") format("truetype");
}

:root {
  --forest: #153C32;
  --ivory: #F4F0E6;
  --rust: #BD5A3A;
  --ink: #102821;
  --line: rgba(16, 40, 33, 0.16);
  --muted: rgba(16, 40, 33, 0.72);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.brand { display: block; margin: 0 0 32px; }
.brand img { display: block; height: 40px; width: auto; max-width: 100%; }

h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 12px; font-weight: 700; color: var(--forest); }
h2 { font-size: 1.15rem; margin: 28px 0 8px; font-weight: 700; color: var(--forest); }
p, li { margin: 0 0 12px; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 0.92rem; }

a { color: var(--forest); text-underline-offset: 2px; }

.card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  margin: 20px 0;
}

.notice { border-left: 4px solid var(--forest); }
.notice.attention { border-left-color: var(--rust); }

label { display: block; font-weight: 700; margin: 0 0 6px; }

form { margin: 20px 0 16px; }
form > button[type="submit"] { display: block; margin-top: 16px; }

input[type="password"], input[type="text"] {
  display: block;
  width: 100%;
  font: inherit;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--ink);
}

input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 2px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }

.button, button {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--ivory);
  text-decoration: none;
  cursor: pointer;
}

.button.secondary { background: transparent; color: var(--forest); }

.error { color: var(--rust); font-weight: 700; }

footer { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 16px; }

.shots figure { margin: 28px 0; }
.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.shots figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
