:root {
  --bg: #fffaf3;
  --card: #ffffff;
  --text: #2d2118;
  --muted: #7b6b60;
  --accent: #b86432;
  --accent-dark: #945027;
  --line: #eadfd4;
  --danger: #b42318;
  --danger-bg: #fff2f0;
  --shadow: 0 12px 35px rgba(73, 45, 25, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(235, 186, 124, 0.18), transparent 28rem),
    var(--bg);
}

header {
  height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.9);
}

.wrap {
  width: min(1040px, calc(100% - 32px));
  margin: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
}

main {
  padding: 54px 0 72px;
}

h1 {
  font-size: clamp(30px, 5vw, 46px);
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}

.lead {
  color: var(--muted);
  margin: 0 0 34px;
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.sub {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 16px 0 8px;
}

input {
  width: 100%;
  border: 1px solid #d8cbbf;
  background: #fff;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
  transition: 0.18s ease;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 100, 50, 0.11);
}

button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 20px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

button:hover {
  background: var(--accent-dark);
}

.error {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 14px;
  border: 1px solid #ffd1cc;
}

.error.is-visible {
  display: block;
}

.empty {
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 30px;
}

.empty-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: #fff4e8;
  display: grid;
  place-items: center;
  font-size: 33px;
  margin-bottom: 18px;
}

.empty h2 {
  margin: 0 0 8px;
}

.empty p {
  margin: 0;
  color: var(--muted);
  max-width: 330px;
  line-height: 1.55;
}

footer {
  color: #9a887a;
  font-size: 13px;
  padding: 0 0 32px;
  text-align: center;
}

@media (max-width: 760px) {
  main {
    padding-top: 34px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

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

