:root {
  --accent: #ff785b;
  --accent-dark: #e85f41;
  --accent-soft: #ff9f8a;
  --ink: #202020;
  --text: #3e3e3e;
  --muted: #7a7a7a;
  --line: #ecdcd8;
  --bg: #fff8f7;
  --card: #ffffff;
  --error: #c62828;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font: 400 16px/1.6 Poppins, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

h1 {
  font: 800 2rem/1.2 "Nunito Sans", sans-serif;
  color: var(--ink);
  margin: 0 0 6px;
}

a { color: var(--accent-dark); }

.top {
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand img { display: block; border-radius: 50%; }

.langs { display: flex; gap: 4px; }
.langs a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
}
.langs a[aria-current] { background: var(--ink); color: #fff; }

.card {
  width: 100%;
  max-width: 720px;
  background: var(--card);
  border-radius: 16px;
  border-top: 5px solid var(--accent);
  box-shadow: 0 10px 40px rgba(32, 32, 32, .07);
  padding: 32px;
}

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

.row { display: grid; gap: 16px; margin-bottom: 16px; }
.row.two { grid-template-columns: 1fr 1fr; }
.row.three { grid-template-columns: 1.2fr 1fr 1fr; margin-bottom: 4px; }

label { display: block; font-weight: 500; color: var(--ink); font-size: .95rem; }

input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 120, 91, .15);
}
select:disabled { opacity: .6; }
textarea { resize: vertical; }

.hint { min-height: 1.6em; margin: 0 0 12px; font-size: .9rem; color: var(--muted); }
.error { color: var(--error); font-size: .85rem; font-weight: 400; margin: 4px 0 0; }
.alert {
  background: #fdecea;
  color: var(--error);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: .85rem; text-align: center; margin: 14px 0 0; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  font: 700 1rem "Nunito Sans", sans-serif;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn.wide { width: 100%; margin-top: 8px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { text-align: center; }
.tick {
  width: 64px; height: 64px; margin: 0 auto 16px;
  display: grid; place-items: center;
  font-size: 32px; color: #fff;
  background: var(--accent); border-radius: 50%;
}
.summary {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 8px 20px;
  margin: 24px auto;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  text-align: left;
}
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; color: var(--ink); }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.foot {
  max-width: 720px;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
  padding: 28px 0 40px;
}
.foot a { color: var(--muted); }

@media (max-width: 640px) {
  .card { padding: 24px 18px; }
  h1 { font-size: 1.6rem; }
  .row.two, .row.three { grid-template-columns: 1fr; }
}
