:root {
  color-scheme: light;
  --bg: #f4efe7;
  --bg-accent: #efe2d3;
  --card: rgba(255, 255, 255, 0.82);
  --border: rgba(80, 62, 41, 0.12);
  --text: #1f1a17;
  --muted: #64584d;
  --primary: #bc6c25;
  --primary-dark: #9c5617;
  --shadow: 0 24px 80px rgba(76, 53, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(188, 108, 37, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(96, 73, 51, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-accent) 100%);
}

body {
  padding: 24px;
}

.page-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.hero-card,
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border-radius: 28px;
}

.hero-card {
  padding: clamp(24px, 5vw, 56px);
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.logo {
  width: auto;
  height: 240px;
  max-height: 45vh;
  margin-bottom: 20px;
  image-rendering: crisp-edges;
}

.brand,
.eyebrow,
.status-pill {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-card h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 0.96;
  margin: 0 0 16px;
  max-width: 10ch;
}

.lead,
.form-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
  max-width: 62ch;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(188, 108, 37, 0.1);
  color: var(--primary-dark);
}

.form-card {
  padding: clamp(20px, 4vw, 40px);
}

.form-copy h2 {
  margin: 4px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.supplier-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(90, 64, 38, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(188, 108, 37, 0.6);
  box-shadow: 0 0 0 4px rgba(188, 108, 37, 0.16);
}

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

.full-width {
  grid-column: 1 / -1;
}

button {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  background: linear-gradient(135deg, var(--primary), #d68b43);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(188, 108, 37, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.form-message {
  grid-column: 1 / -1;
  min-height: 1.25rem;
  margin: 0;
  color: var(--muted);
}

.form-message.success {
  color: #0f7a35;
  font-weight: 700;
}

@media (max-width: 720px) {
  body {
    padding: 14px;
  }

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

  .hero-card,
  .form-card {
    border-radius: 22px;
  }
}
