@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #00a3e0;
  --blue-dark: #0081b3;
  --blue-light: #8fd8f5;
  --bg: #f5f4f2;
  --text: #3d3d3d;
  --muted: #6b6b6b;
  --error: #c0392b;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.page {
  max-width: 440px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logo { width: 180px; height: auto; }

h1 {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
}

.lead { margin: 0; color: var(--muted); }

form { display: flex; flex-direction: column; gap: 14px; }

label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }

input {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

.hint { font-weight: 400; font-size: 12px; color: var(--muted); }

/* Honeypot anti-bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.btn:hover { background: var(--blue-dark); }
.btn:disabled { background: #a9a9a9; cursor: default; }
.btn-secondary { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-secondary:hover { background: #eaf7fd; }

.error { color: var(--error); font-size: 14px; min-height: 1.5em; margin: 0; }
.legal { font-size: 12px; color: var(--muted); margin: 0; }

.preview {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background: #ddd;
  display: block;
}

.actions { display: flex; flex-direction: column; gap: 10px; }
.status { font-size: 14px; color: var(--muted); text-align: center; margin: 0; min-height: 1.5em; }
.donate { text-align: center; font-size: 14px; }
.donate a { color: var(--blue); font-weight: 700; }
[hidden] { display: none !important; }
