@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  color-scheme: dark;
  --bg: #101010;
  --panel: #171717;
  --panel-hover: #202020;
  --text: #eeeae3;
  --muted: #a7a19a;
  --faint: #66615b;
  --line: #48433e;
  --accent: #d8d1c6;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text); background:
    radial-gradient(ellipse at 50% 20%, #292725 0%, #151515 38%, #0d0d0d 78%);
  font-family: 'Cormorant Garamond', Georgia, serif;
  display: flex; flex-direction: column;
}
button, input { font: inherit; }
.site-header {
  width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 27px 0 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #37332f;
}
.wordmark { color: var(--text); text-decoration: none; letter-spacing: .16em; font: 500 11px 'DM Mono', monospace; }
.header-tag, .eyebrow, .small-note, footer, .progress-meta, label, .text-button {
  font-family: 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase;
}
.header-tag { color: var(--faint); font-size: 9px; }
main { width: min(850px, calc(100% - 40px)); margin: auto; flex: 1; display: grid; place-items: center; padding: 60px 0 70px; }
.screen { width: 100%; }
.hidden { display: none !important; }
.hero { text-align: center; padding: 28px 0; }
.eyebrow { color: var(--muted); font-size: 10px; line-height: 1.7; }
h1, h2 { font-weight: 500; text-transform: uppercase; letter-spacing: .035em; line-height: .91; }
h1 { font-size: clamp(48px, 9vw, 94px); margin: 27px 0 20px; }
h1 span, h2 span { color: #aaa39a; font-style: italic; }
.rule { display: flex; justify-content: center; align-items: center; margin: 28px auto; width: min(350px, 70%); color: var(--faint); }
.rule:before, .rule:after { content: ""; height: 1px; background: var(--line); flex: 1; }
.rule i { width: 6px; height: 6px; border: 1px solid var(--muted); transform: rotate(45deg); margin: 0 13px; }
.intro { font-size: clamp(20px, 3vw, 26px); margin: 0 auto 12px; }
.subintro { max-width: 490px; margin: 0 auto 32px; color: var(--muted); font-size: 17px; line-height: 1.45; }
.primary-button, .secondary-button {
  border: 1px solid var(--accent); padding: 14px 20px; cursor: pointer;
  letter-spacing: .12em; font: 500 10px 'DM Mono', monospace; transition: .18s ease;
}
.primary-button { color: #111; background: var(--accent); }
.primary-button:hover { background: #fff; border-color: #fff; transform: translateY(-1px); }
.primary-button span { margin-left: 15px; font-size: 14px; }
.secondary-button { color: var(--text); background: transparent; border-color: var(--line); }
.secondary-button:hover { background: var(--panel-hover); border-color: var(--muted); }
.small-note { color: var(--faint); font-size: 9px; margin-top: 27px; }
.picker { max-width: 680px; }
.picker-topline, .progress-meta, .picker-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.text-button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 9px; padding: 8px 0; }
.text-button:hover { color: white; }
.progress-meta { color: var(--muted); font-size: 9px; margin-top: 35px; }
.progress-track { height: 2px; background: #383431; margin: 10px 0 38px; }
#progress-fill { height: 100%; width: 11%; background: var(--accent); transition: width .2s; }
.category { margin-bottom: 5px; }
h2 { font-size: clamp(42px, 7vw, 66px); margin: 8px 0 10px; }
.step-description { color: var(--muted); font-size: 18px; margin: 0 0 25px; }
.choice-list { display: grid; gap: 9px; }
.choice {
  display: flex; align-items: center; gap: 13px; text-align: left; width: 100%;
  padding: 15px 17px; color: var(--text); background: #171717; border: 1px solid #383431;
  cursor: pointer; font-size: 18px; transition: .15s;
}
.choice:hover { background: var(--panel-hover); border-color: #81796f; }
.choice.selected { border-color: var(--accent); background: #252320; }
.choice-mark { width: 13px; height: 13px; border: 1px solid #77716a; border-radius: 50%; flex: 0 0 auto; }
.choice.selected .choice-mark { border: 4px solid var(--accent); }
.custom-wrap { margin-top: 17px; }
label { display: block; color: var(--muted); font-size: 9px; margin-bottom: 9px; }
input { width: 100%; background: #141414; color: var(--text); border: 1px solid var(--line); padding: 14px; outline: none; font-size: 17px; }
input:focus { border-color: var(--accent); }
.picker-actions { margin-top: 28px; }
.validation { min-height: 18px; color: #d6b5a9; font: 11px 'DM Mono', monospace; }
.result { max-width: 680px; }
.result h2 { margin: 18px 0; }
.summary-list { border-top: 1px solid var(--line); margin: 30px 0 0; }
.summary-row { padding: 13px 0; border-bottom: 1px solid #302d2a; display: grid; grid-template-columns:  minmax(130px, 1fr) 2fr; gap: 18px; }
.summary-row strong { font: 9px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.summary-row span { font-size: 18px; }
.restart { display: block; margin: 22px auto 0; }
footer { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 18px 0 25px; border-top: 1px solid #37332f; display: flex; justify-content: space-between; color: var(--faint); font-size: 8px; }
.ornament { text-align: center; color: #514b44; font: 10px 'DM Mono', monospace; letter-spacing: .25em; padding: 10px; }
.ornament-top { margin-top: 4px; }
.ornament-bottom { padding-bottom: 18px; }
@media (max-width: 560px) {
  .site-header { width: calc(100% - 30px); }
  .header-tag { display: none; }
  main { width: calc(100% - 34px); padding: 42px 0; }
  .picker-actions { align-items: stretch; }
  .picker-actions button { flex: 1; padding: 13px 9px; font-size: 9px; }
  .summary-row { grid-template-columns: 1fr; gap: 4px; }
  footer { width: calc(100% - 30px); gap: 10px; font-size: 7px; }
}
