:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: #f5f7fb;
  color: #172033;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(100%, 720px);
  background: #ffffff;
  border: 1px solid #d8dfec;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: #5b6b88;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2 {
  margin-top: 0;
}

.lead {
  margin-bottom: 24px;
  color: #33415c;
}

.stack {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c6d0e1;
  border-radius: 10px;
  font: inherit;
}

.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c6d0e1;
  border-radius: 10px;
  background: #ffffff;
  color: inherit;
  font: inherit;
}

.field legend {
  margin-bottom: 8px;
  font-weight: 600;
}

.field-hint {
  color: #5b6b88;
  font-size: 0.875rem;
}

.field-hint.is-error {
  color: #b42318;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #2864dc;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.button.secondary {
  background: #eef3fb;
  color: #172033;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.status {
  min-height: 24px;
  margin: 16px 0 0;
  color: #33415c;
}

.status.is-warning {
  color: #9a6700;
}

.status.is-error {
  color: #b42318;
}

.status.is-success {
  color: #067647;
}

.product-summary,
.details {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 12px;
  background: #f8faff;
  border: 1px solid #e4eaf5;
}

.status-banner {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #f2d58f;
  display: grid;
  gap: 12px;
}

.status-banner-copy {
  display: grid;
  gap: 4px;
}

.status-banner-copy strong {
  color: #6b4e00;
}

.status-banner-copy p {
  margin: 0;
  color: #7a5c13;
}

.status-banner .actions {
  margin-top: 0;
}

.details div + div {
  margin-top: 12px;
}

.lead-magnet {
  margin-bottom: 32px;
  padding: 20px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
  border: 2px solid #2864dc;
  border-radius: 16px;
}

.lead-magnet h2 {
  color: #1a365d;
  margin-top: 0;
  font-size: 1.25rem;
}

.divider {
  text-align: center;
  margin: 24px 0;
  color: #5b6b88;
  font-size: 0.9rem;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #d8dfec;
  z-index: 1;
}

.divider::after {
  content: '또는';
  background: #ffffff;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  color: #5b6b88;
}

dt {
  font-size: 0.875rem;
  color: #5b6b88;
}

dd {
  margin: 4px 0 0;
}
