:root {
  --bg: #fffaf5; --surface: #ffffff; --ink: #2b2420; --muted: #7a6d64;
  --accent: #e8735a; --accent-ink: #ffffff; --soft: #fbe9df; --line: #f0e2d8;
  --ok: #3f8f5b; --err: #c0453a; --radius: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: var(--accent); }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: 1.5rem; margin: 2em 0 .8em; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.35rem; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
.top nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--ink); }
.lang { font-size: .9rem; color: var(--muted) !important; }
.inline { display: inline; margin: 0; }
.link { background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; padding: 0; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink) !important;
  border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(232,115,90,.25); }
.btn:hover { filter: brightness(1.05); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.small { padding: 7px 16px; box-shadow: none; }
.btn.block { display: block; width: 100%; text-align: center; }
.btn.ghost { background: var(--soft); color: var(--ink) !important; box-shadow: none; }
.hero { text-align: center; padding: 48px 16px 24px; max-width: 760px; margin: 0 auto; }
.sub { font-size: 1.15rem; color: var(--muted); }
.note { color: var(--muted); font-size: .92rem; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px 32px; }
.narrow { max-width: 520px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 2px 10px rgba(80,50,30,.04); }
.narrow.card { margin-top: 32px; }
.card h3 { margin: .6em 0 .3em; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.ba figure { margin: 0; }
.ph { aspect-ratio: 1; border-radius: 12px; background: #e9e1da; color: var(--muted);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .75rem; padding: 8px; border: 2px dashed #d6c8bc; }
.ph.warm { background: var(--soft); }
figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 4px; }
.how ol { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-left: 1.2em; }
.points { padding-left: 1.2em; font-size: 1.05rem; }
.price { font-size: 1.8rem; font-weight: 700; margin: .2em 0; }
.prices { width: 100%; border-collapse: collapse; }
.prices td { padding: 10px 4px; border-bottom: 1px solid var(--line); }
.prices td:last-child { text-align: right; color: var(--muted); }
label { display: block; margin: 0 0 14px; font-weight: 600; font-size: .95rem; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
textarea { min-height: 80px; }
.hint { color: var(--muted); font-size: .88rem; margin-top: -8px; }
.or { text-align: center; color: var(--muted); }
.tg { margin-top: 18px; text-align: center; }
.row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.label { color: var(--muted); margin: 0; }
.big { font-size: 2rem; font-weight: 700; margin: .1em 0; }
.history { list-style: none; padding: 0; display: grid; gap: 10px; }
.history li { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 18px; }
.status { font-size: .85rem; padding: 3px 10px; border-radius: 999px; background: var(--soft); }
.s-done { background: #e3f3e8; color: var(--ok); }
.s-failed, .s-expired { background: #f9e3e0; color: var(--err); }
.err { color: var(--err); font-size: .9rem; }
.msg { font-weight: 600; }
.empty { text-align: center; }
.legal h2 { font-size: 1.15rem; margin-top: 1.5em; }
.foot { max-width: 1100px; margin: 24px auto 0; padding: 24px 16px; display: flex; gap: 18px;
  flex-wrap: wrap; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }
@media (max-width: 520px) { .top nav { gap: 10px; font-size: .95rem; } .hero { padding-top: 28px; } }
