:root {
  --bg: #f6f2ee;
  --bg-2: #efe9e2;
  --ink: #1b1b1b;
  --muted: #5c5c5c;
  --line: #e2d9d0;
  --accent: #c08a5a;
  --accent-ink: #1b1b1b;
  --radius: 14px;
  --space: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(900px 600px at 0% 0%, #f7efe7, var(--bg) 55%, #f1efec 100%);
}

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

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

input, select, textarea {
  width: 100%;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  min-height: 100%;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space);
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.align-center {
  align-items: center;
}

.gap-xs {
  gap: 8px;
}

.gap-sm {
  gap: 12px;
}

.gap-lg {
  gap: 24px;
}

.title {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  width: fit-content;
}

.section-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.label {
  font-size: 13px;
  color: var(--muted);
}

.hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.status {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  min-height: 20px;
}

.section {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.input, .select, .textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.textarea {
  resize: vertical;
  min-height: 80px;
}

.btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 48px;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.fixed-action {
  position: sticky;
  bottom: 0;
  background: linear-gradient(0deg, var(--bg) 70%, rgba(246, 242, 238, 0));
  padding: 16px 0 6px;
}

.media {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 12px;
  min-height: 160px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.6);
}

.media img {
  display: none;
}

.media.has-image img {
  display: block;
  max-height: 280px;
  width: 100%;
  object-fit: contain;
}

.media--photo {
  position: relative;
  overflow: hidden;
}

.media--photo .overlay-guide {
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(0, 0, 0, 0.2);
  border-radius: 22px;
  pointer-events: none;
}

.reveal {
  animation: reveal 280ms ease-out both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .page {
    padding: 32px 24px 60px;
  }

  .title {
    font-size: 32px;
  }
}
