:root {
  --bg: #f4efe6;
  --ink: #13222f;
  --accent: #d95f2a;
  --accent-soft: #f3c29d;
  --card: rgba(255, 252, 247, 0.88);
  --line: rgba(19, 34, 47, 0.14);
  --error: #9e2a2b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 95, 42, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(19, 34, 47, 0.12), transparent 30%),
    linear-gradient(135deg, #efe5d0 0%, var(--bg) 100%);
}

.shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.hero,
.form-wrap,
.dashboard {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
}

.card {
  backdrop-filter: blur(10px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(19, 34, 47, 0.12);
  padding: 32px;
}

.wide {
  width: min(100%, 920px);
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.95;
}

.lead,
.detail {
  font-size: 1rem;
  line-height: 1.6;
}

.actions,
.clients,
.topline,
.grid {
  display: flex;
  gap: 14px;
}

.actions,
.clients {
  flex-wrap: wrap;
  margin-top: 22px;
}

.topline {
  justify-content: space-between;
  align-items: start;
}

.grid {
  margin-top: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.form-card {
  width: min(100%, 520px);
}

label {
  display: block;
  margin: 16px 0 8px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

textarea {
  resize: vertical;
}

.button,
.link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button {
  border: none;
  background: var(--accent);
  color: white;
  cursor: pointer;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.link {
  margin-top: 12px;
  color: var(--ink);
}

.error {
  color: var(--error);
}

.qr-box {
  min-width: 240px;
  background: white;
  padding: 16px;
  border-radius: 24px;
}

.qr-box img {
  width: 100%;
  display: block;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1100px);
    padding-top: 20px;
  }

  .card {
    padding: 24px;
    border-radius: 22px;
  }

  .topline,
  .grid {
    flex-direction: column;
  }
}
