:root {
  --bg: #070705;
  --ink: #f5f0db;
  --muted: #a79d7c;
  --accent: #ffd400;
  --line: rgba(255, 212, 0, 0.18);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 212, 0, 0.11), transparent 30rem),
    radial-gradient(circle at 12% 96%, rgba(255, 212, 0, 0.05), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.mark {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--accent);
}

.mark img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.name { color: var(--ink); }

.badge {
  margin-left: 2px;
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--accent);
  color: #0a0904;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 212, 0, 0.28);
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.04);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.back:hover {
  border-color: rgba(255, 212, 0, 0.58);
  background: rgba(255, 212, 0, 0.06);
  color: var(--accent);
}

.wrap {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 110px) 0 90px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.intro h1 {
  margin: 0 0 16px;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.intro > p:last-child {
  max-width: 460px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}

.card {
  padding: 26px;
  border: 1px solid rgba(10, 9, 4, 0.12);
  border-radius: 18px;
  background: #fffdf4;
  color: #0a0904;
  box-shadow: 0 30px 80px -48px rgba(0, 0, 0, 0.7);
}

.field + .field { margin-top: 15px; }

.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: #6d6349;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field label span {
  color: #9a8f72;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.02em;
  text-transform: none;
}

input[type="text"],
textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(10, 9, 4, 0.14);
  border-radius: 11px;
  background: #ffffff;
  color: #151207;
  font: inherit;
  font-size: 12.5px;
  line-height: 1.7;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 126px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #0a0904;
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.28);
}

input::placeholder,
textarea::placeholder { color: #9b927b; }

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 9, 4, 0.1);
  color: #7a7158;
  font-size: 10px;
}

.foot button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: #0a0904;
  color: var(--accent);
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.foot button b { font-weight: 400; }
.foot button:hover { background: #211d0c; }

.status {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.6;
}

.status.ok {
  background: rgba(10, 9, 4, 0.06);
  color: #5a4a00;
}

.status.error {
  background: rgba(180, 45, 25, 0.1);
  color: #9d2f19;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  color: #6d654e;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.site-foot a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .site-head, .site-foot, .wrap { width: min(100% - 36px, 720px); }
  .site-head { padding: 16px 0; }
  .wrap { padding-top: 56px; }
  .card { padding: 18px; }
  .intro h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .foot { align-items: flex-start; flex-direction: column; gap: 11px; }
  .foot button { width: 100%; justify-content: center; }
}
