/* Amor Nexus WO010A — Market Foundation
   Customer identity: calm / reassuring
   Member identity: quiet / premium
   Operative identity: precise / professional
*/
:root {
  --amor-market-bg: #030712;
  --amor-market-panel: #08111f;
  --amor-market-panel-soft: #0b1525;
  --amor-market-border: rgba(148, 163, 184, 0.16);
  --amor-market-border-strong: rgba(125, 211, 252, 0.36);
  --amor-market-text: #f8fafc;
  --amor-market-muted: #9aa9bd;
  --amor-market-sky: #23a9e8;
  --amor-market-sky-hover: #38bdf8;
  --amor-market-violet: #8b5cf6;
  --amor-market-success: #34d399;
  --amor-market-danger: #fb7185;
  --amor-market-radius-sm: 12px;
  --amor-market-radius-md: 18px;
  --amor-market-radius-lg: 28px;
  --amor-market-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  --amor-market-content: 1180px;
}

html.amor-market-customer {
  color-scheme: dark;
  background: var(--amor-market-bg);
}

html.amor-market-customer body {
  background-color: var(--amor-market-bg);
  color: var(--amor-market-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.amor-market-shell {
  width: min(var(--amor-market-content), calc(100% - 40px));
  margin-inline: auto;
}

.amor-market-eyebrow {
  margin: 0 0 14px;
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.amor-market-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.amor-market-copy {
  color: var(--amor-market-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.amor-market-card {
  border: 1px solid var(--amor-market-border);
  border-radius: var(--amor-market-radius-lg);
  background: rgba(8, 17, 31, 0.88);
  box-shadow: var(--amor-market-shadow);
}

.amor-market-button,
.amor-market-button-secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.amor-market-button {
  border: 1px solid #1598d5;
  background: #1598d5;
  color: white;
}

.amor-market-button:hover,
.amor-market-button:focus-visible {
  background: #20a9e6;
  border-color: #20a9e6;
  transform: translateY(-1px);
}

.amor-market-button-secondary {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
}

.amor-market-button-secondary:hover,
.amor-market-button-secondary:focus-visible {
  border-color: rgba(125, 211, 252, 0.48);
  background: rgba(15, 23, 42, 0.94);
}

.amor-market-button:focus-visible,
.amor-market-button-secondary:focus-visible,
.amor-choice:focus-visible,
.amor-market-input:focus-visible {
  outline: 3px solid #e0f2fe;
  outline-offset: 3px;
}

.amor-market-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: #050c19;
  color: #f8fafc;
  padding: 13px 15px;
  font: inherit;
}

textarea.amor-market-input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 118px;
  resize: vertical;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow-x: hidden;
}

.amor-market-input::placeholder { color: #64748b; }
.amor-market-input:focus { border-color: #38bdf8; }

.amor-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.amor-choice {
  min-height: 126px;
  border: 1px solid var(--amor-market-border);
  border-radius: 18px;
  background: rgba(11, 21, 37, 0.82);
  color: #f8fafc;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.amor-choice strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
}

.amor-choice span {
  display: block;
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.5;
}

.amor-choice:hover,
.amor-choice[aria-pressed="true"] {
  border-color: rgba(56, 189, 248, 0.58);
  background: rgba(14, 40, 62, 0.74);
  transform: translateY(-1px);
}

.amor-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.amor-progress span {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.amor-progress span.is-complete,
.amor-progress span.is-current { background: #38bdf8; }

.amor-market-note {
  color: #7f91a7;
  font-size: 0.78rem;
  line-height: 1.6;
}

.amor-market-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: #02060d;
}

.amor-market-footer-grid {
  width: min(var(--amor-market-content), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.amor-market-footer h2,
.amor-market-footer h3 {
  margin: 0 0 14px;
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 750;
}

.amor-market-footer a,
.amor-market-footer p {
  display: block;
  margin: 0 0 9px;
  color: #8494a8;
  font-size: 0.82rem;
  line-height: 1.5;
  text-decoration: none;
}

.amor-market-footer a:hover,
.amor-market-footer a:focus-visible { color: #7dd3fc; }

@media (max-width: 900px) {
  .amor-choice-grid { grid-template-columns: 1fr; }
  .amor-choice { min-height: 96px; }
  .amor-market-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amor-market-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .amor-market-shell { width: min(100% - 28px, var(--amor-market-content)); }
  .amor-market-footer-grid { width: min(100% - 28px, var(--amor-market-content)); grid-template-columns: 1fr; }
  .amor-market-footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .amor-market-button,
  .amor-market-button-secondary,
  .amor-choice { transition: none; }
}
