/* Stomp! web pages. Colours, radii and type follow the app's default Forest
   theme — Stomp/Resources/Styles/Tokens.xaml is the source for every value. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --page: #F7F5EF;          /* PaletteCream100 */
  --card: #FFFFFF;          /* SurfaceCard */
  --muted: #EDEAE0;         /* PaletteCream200 */
  --hairline: #E8E4D9;      /* PaletteCream300 */
  --brand: #1F4432;         /* PaletteGreen700 */
  --brand-tint: #DDE7E0;    /* PaletteGreen100 */
  --ink: #14261B;           /* PaletteGreen900 */
  --accent: #7C2338;        /* PaletteMaroon600 */
  --secondary: #6D6A5F;     /* PaletteStone700 */
  --quiet: #8A877C;         /* PaletteStone600 */
  --danger: #B3261E;        /* PaletteDanger */
  --good: #1F4432;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page { max-width: 680px; margin: 0 auto; padding: 28px 20px 64px; }
.narrow { max-width: 440px; }

.brand a {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 20px;
}
.mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.mark img { width: 26px; height: auto; }
.mark.big { width: 72px; height: 72px; }
.mark.big img { width: 46px; }

h1 { font-size: 30px; line-height: 1.2; font-weight: 600; margin: 28px 0 6px; }
h2 { font-size: 17px; font-weight: 600; margin: 30px 0 6px; }
p { margin: 0 0 12px; color: var(--secondary); font-size: 15px; }
.caption { font-size: 13px; color: var(--quiet); }
a { color: var(--brand); font-weight: 500; }

.card {
  background: var(--card); border-radius: 20px; padding: 20px;
  box-shadow: 0 1px 2px rgba(20, 38, 27, .06), 0 4px 16px rgba(20, 38, 27, .05);
}

/* Privacy at a glance */
.glance { padding: 4px 20px; }
.row {
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  padding: 14px 0; border-top: 1px solid var(--hairline);
}
.row:first-child { border-top: 0; }
.row p { margin: 0; }
.row-title { color: var(--ink); font-weight: 600; font-size: 15px; }
.row-detail { font-size: 13px; }
.tag {
  flex: none; font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: 999px; background: var(--brand-tint); color: var(--brand);
}
.tag-none { background: var(--muted); color: var(--secondary); }

/* Single-purpose pages: confirmed, reset */
.centre { text-align: center; }
.centre .mark.big { margin: 36px auto 4px; }
.centre h1 { margin-top: 18px; }

label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin: 16px 0 6px; text-align: left; }
input[type=password], input[type=text] {
  width: 100%; height: 52px; padding: 0 16px; font: inherit; color: var(--ink);
  background: var(--card); border: 1px solid var(--hairline); border-radius: 16px;
}
input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.hint { font-size: 13px; margin: 6px 2px 0; min-height: 20px; text-align: left; }
.hint.bad { color: var(--danger); }
.hint.ok { color: var(--good); }
.hint.meh { color: var(--quiet); }

button {
  width: 100%; height: 52px; margin-top: 24px; border: 0; border-radius: 16px;
  background: var(--accent); color: #fff; font: 600 16px Inter, system-ui, sans-serif;
  cursor: pointer; box-shadow: 0 4px 12px rgba(124, 35, 56, .25);
}
button:disabled { background: #D6D2C5; color: var(--quiet); box-shadow: none; cursor: default; }

.message { margin-top: 18px; }
.error { color: var(--danger); }
[hidden] { display: none !important; }
