:root {
  --bg: #f5efe6;
  --card: #fffaf3;
  --ink: #1f2a2e;
  --muted: #6b6f6c;
  --line: #e2d8c9;
  --accent: #c8553d;
  --accent-dark: #a6412c;
  --ok: #2f7d5b;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dark); }
.wrap { max-width: 560px; margin: 0 auto; padding: 18px 18px 40px; }

.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.brand { font-weight: 700; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.logo { font-size: 26px; }
.lang { font-size: 14px; text-decoration: none; border: 1px solid var(--line); padding: 6px 12px; border-radius: 99px; color: var(--ink); background: var(--card); }

h1 { font-size: 34px; line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.02em; }
h2 { font-size: 18px; margin: 0 0 12px; }
.lead { font-size: 17px; line-height: 1.5; color: #3b4447; margin: 0 0 24px; }

.photo {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 220px; border: 2px dashed #cdbfa9; border-radius: var(--radius); background: var(--card);
  cursor: pointer; overflow: hidden; margin-bottom: 22px; transition: border-color .2s;
}
.photo:hover { border-color: var(--accent); }
.photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo img { width: 100%; max-height: 420px; object-fit: contain; display: block; background: #eee6da; }
.photo.has-photo { border-style: solid; border-color: var(--line); min-height: 0; }
.photo-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; padding: 18px; text-align: center; }
.photo.has-photo .photo-cta { flex-direction: row; font-size: 15px; padding: 12px; color: var(--accent-dark); }
.cam { font-size: 40px; }
.photo.has-photo .cam { font-size: 18px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=password], textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; line-height: 1.4; }
.link { background: none; border: 0; padding: 8px 0 0; font: inherit; font-size: 14px; color: var(--accent-dark); cursor: pointer; }
.link:disabled { color: var(--ok); cursor: default; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; margin: 6px 0 20px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }

.btn {
  display: block; width: 100%; font: inherit; font-size: 17px; font-weight: 700; padding: 15px;
  border: 0; border-radius: 12px; background: var(--accent); color: #fff; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.error { background: #fbe3dd; color: #8a2a17; padding: 12px 14px; border-radius: 10px; font-size: 15px; margin: 0 0 14px; }
.note { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0; line-height: 1.4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: center; padding: 30px 0 10px; }
.done .big { font-size: 72px; margin-bottom: 10px; }

.recent { margin-top: 44px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.foot { margin-top: 40px; text-align: center; font-size: 14px; color: var(--muted); }

.prose h1 { font-size: 28px; }
.prose h2 { margin-top: 26px; }
.prose p, .prose li { line-height: 1.55; }
[hidden] { display: none !important; }
