*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050505;
  --bg-alt: #101010;
  --border-subtle: rgba(212, 175, 55, 0.2);
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --text-main: #f5f5f5;
  --text-muted: #b3b3b3;
  --danger: #ff6b6b;
  --success: #4ade80;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #181818 0, #050505 55%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.brand {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 1.75rem;
  align-items: center;
}

.hero-left h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-left p {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.hero-note {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--gold);
}

.hero-right {
  text-align: center;
}

.orb {
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  margin: 0 auto 0.75rem;
  background: radial-gradient(circle at 30% 15%, #ffffff, #f9e7a0 15%, #d4af37 40%, #050505 75%);
  box-shadow:
    0 0 32px rgba(212, 175, 55, 0.55),
    0 0 120px rgba(212, 175, 55, 0.3);
}

.hero-right-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.card {
  background: radial-gradient(circle at top left, var(--gold-soft), rgba(5, 5, 5, 0.95));
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.3rem 1.4rem;
  margin-top: 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

.card h2 {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--gold);
}

.section-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.grid-2 {
  display: grid;
  gap: 0.9rem;
}

.grid-3 {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 780px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

input,
select,
textarea {
  background: rgba(5, 5, 5, 0.9);
  border-radius: 0.6rem;
  border: 1px solid rgba(120, 120, 120, 0.7);
  color: var(--text-main);
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
}

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

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
}

.btn-primary {
  background: linear-gradient(135deg, #f5e4a6, #d4af37, #8b6b12);
  color: #111;
  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.7),
    0 18px 38px rgba(0, 0, 0, 0.9);
}

.btn-secondary {
  background: rgba(5, 5, 5, 0.9);
  color: var(--gold);
  border: 1px solid var(--border-subtle);
}

.btn-primary:hover,
.btn-secondary:hover {
  filter: brightness(1.05);
}

.hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.results.hidden {
  display: none;
}

.result-card {
  margin-top: 1.8rem;
}

.stats-row {
  margin-top: 0.9rem;
}

.stat-pill {
  border-radius: 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.6rem 0.7rem;
  background: rgba(0, 0, 0, 0.7);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1rem;
  margin-top: 0.15rem;
}

.opportunity-list {
  list-style: none;
  margin-top: 0.6rem;
}

.opportunity-list li {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.opportunity-list li:last-child {
  border-bottom: none;
}

.opportunity-title {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}

.opportunity-body {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.task-block {
  margin-top: 0.6rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(0, 0, 0, 0.7);
  padding: 0.8rem 0.9rem;
}

.task-block h3 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.task-block p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.task-steps {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.task-steps li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.task-steps.ordered {
  list-style: decimal;
}

.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.badge {
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
}

.badge-muted {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
}

.footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.1rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 780px) {
  .hero-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand-tagline {
    text-align: left;
  }
}
