/* === Noura Lawyers Wizard System — Eclipse dark === */

.wiz-hero { padding: 48px 0 24px; background: linear-gradient(180deg, rgba(201,169,97,.06) 0%, transparent 100%); border-bottom: 1px solid rgba(201,169,97,.12); }
.wiz-hero .crumb { font-family: var(--sans-display,Cinzel,sans-serif); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-tertiary,#8E7340); font-weight: 700; }
.wiz-hero h1 { font-family: var(--serif,"Cormorant Garamond",serif); font-weight: 500; color: var(--gold,#C9A961); font-size: clamp(1.8rem,3.5vw,2.4rem); margin: 6px 0 12px; }
.wiz-hero .subtitle { color: var(--text-secondary,#C8C4B8); font-size: 1.02rem; max-width: 60ch; }

/* Progress bar */
.progress { display: flex; align-items: center; gap: 6px; margin: 32px 0 24px; max-width: 720px; }
.progress .seg { flex: 1; height: 4px; background: rgba(201,169,97,.12); border-radius: 2px; transition: background .3s; }
.progress .seg.done { background: var(--gold,#C9A961); }
.progress .seg.current { background: var(--text-tertiary,#8E7340); }
.progress .label { font-family: var(--sans-display,Cinzel,sans-serif); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary,#C8C4B8); margin-left: 12px; min-width: 60px; }

/* Step container */
.wiz-step { display: none; padding: 32px 0; max-width: 880px; }
.wiz-step.active { display: block; animation: wizFadeIn .35s ease; }
@keyframes wizFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.wiz-step h2 { font-family: var(--serif,"Cormorant Garamond",serif); font-weight: 500; color: var(--gold,#C9A961); font-size: 1.6rem; margin: 0 0 8px; }
.wiz-step .ar-label { font-family: var(--sans-display,Cinzel,sans-serif); font-size: .68rem; color: var(--text-tertiary,#8E7340); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.wiz-step .step-help { color: var(--text-secondary,#C8C4B8); font-size: .94rem; margin: 0 0 24px; }

/* Choice grid */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.choice-card { background: rgba(21,34,54,.6); border: 1.5px solid rgba(201,169,97,.15); border-radius: 8px; padding: 24px 20px; text-align: center; cursor: pointer; transition: border-color 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1), background-color 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1); font-family: inherit; font-size: 1rem; color: var(--text-primary,#F0ECE2); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.choice-card:focus { border-color: var(--gold,#C9A961); box-shadow: 0 4px 12px rgba(201,169,97,.12); }
@media (hover: hover) and (pointer: fine) {
  .choice-card:hover { border-color: var(--gold,#C9A961); box-shadow: 0 4px 12px rgba(201,169,97,.12); transform: translateY(-2px); }
}
.choice-card:active { transform: scale(0.985); }
.choice-card.selected { border-color: var(--gold,#C9A961); background: rgba(201,169,97,.1); }
.choice-card svg { width: 64px; height: 64px; stroke: var(--gold,#C9A961); fill: none; stroke-width: 1.4; }
.choice-card .choice-title { font-weight: 600; font-size: 1.02rem; margin-top: 4px; }
.choice-card .choice-sub { font-size: .82rem; color: var(--text-secondary,#C8C4B8); }

/* Nav buttons */
.wiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(201,169,97,.12); }
.wiz-btn { background: transparent; border: 1px solid rgba(201,169,97,.2); color: var(--text-primary,#F0ECE2); padding: 10px 20px; border-radius: 4px; font-family: inherit; font-size: .9rem; cursor: pointer; transition: border-color 140ms cubic-bezier(0.23, 1, 0.32, 1), color 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 140ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) {
  .wiz-btn:hover { border-color: var(--gold,#C9A961); color: var(--gold,#C9A961); }
}
.wiz-btn:active { transform: scale(0.97); }
.wiz-btn.primary { background: var(--gold,#C9A961); color: var(--navy,#0F1B2D); border-color: var(--gold,#C9A961); }
@media (hover: hover) and (pointer: fine) {
  .wiz-btn.primary:hover { background: #d4b46e; border-color: #d4b46e; }
}
.wiz-btn:disabled { opacity: .4; cursor: not-allowed; }
.wiz-btn-restart { font-size: .82rem; color: var(--text-secondary,#C8C4B8); border: none; background: none; text-decoration: underline; cursor: pointer; }

/* Result panel */
.result-panel { background: rgba(21,34,54,.6); border: 1px solid rgba(201,169,97,.15); border-radius: 8px; padding: 36px; margin-top: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.result-panel .verdict { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid rgba(201,169,97,.12); margin-bottom: 24px; }
.result-panel .verdict-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
.result-panel .verdict-icon.severity-low    { background: rgba(46,125,50,.15); color: #66bb6a; }
.result-panel .verdict-icon.severity-medium { background: rgba(230,81,0,.15); color: #ffb74d; }
.result-panel .verdict-icon.severity-high   { background: rgba(183,28,28,.15); color: #ef5350; }
.result-panel .verdict-icon svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.result-panel h3 { font-family: var(--serif,"Cormorant Garamond",serif); font-weight: 500; color: var(--gold,#C9A961); font-size: 1.4rem; margin: 0 0 4px; }
.result-panel .verdict-band { font-family: var(--sans-display,Cinzel,sans-serif); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary,#C8C4B8); font-weight: 700; }
.result-panel .summary { color: var(--text-primary,#F0ECE2); line-height: 1.65; font-size: 1rem; margin: 0 0 24px; }
.result-panel .law-cite { background: rgba(201,169,97,.08); padding: 14px 18px; border-left: 4px solid var(--gold,#C9A961); border-radius: 0 4px 4px 0; margin: 16px 0; font-size: .92rem; color: var(--text-primary,#F0ECE2); }
.result-panel .law-cite strong { color: var(--gold,#C9A961); }
.result-panel .next-steps { padding: 20px; background: rgba(201,169,97,.06); border-radius: 6px; margin: 16px 0 24px; border: 1px solid rgba(201,169,97,.1); }
.result-panel .next-steps h4 { font-family: var(--sans-display,Cinzel,sans-serif); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold,#C9A961); margin: 0 0 12px; }
.result-panel .next-steps ol { margin: 0; padding-left: 22px; line-height: 1.7; font-size: .94rem; }
.result-panel .next-steps ol li { margin: 6px 0; }
.result-panel .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.result-panel .cta-row a { padding: 12px 20px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: .94rem; font-family: var(--sans-display,Cinzel,sans-serif); letter-spacing: .04em; }
.result-panel .cta-row a.cta-primary { background: var(--gold,#C9A961); color: var(--navy,#0F1B2D); }
.result-panel .cta-row a.cta-secondary { background: transparent; color: var(--gold,#C9A961); border: 1px solid rgba(201,169,97,.3); }

/* Disclaimer */
.disclaimer-box { background: rgba(46,125,50,.1); border-left: 4px solid #66bb6a; padding: 14px 18px; border-radius: 0 4px 4px 0; margin: 24px 0; font-size: .88rem; color: #66bb6a; }

@media (max-width: 640px) {
  .choice-card { padding: 20px 16px; }
  .choice-card svg { width: 48px; height: 48px; }
  .result-panel { padding: 24px; }
}

@media print {
  .site-header, .wiz-nav, .progress, .section--burgundy, .site-footer { display: none !important; }
  .wiz-step { display: block !important; page-break-after: always; }
  .result-panel { box-shadow: none; border: 1px solid #999; }
}
