/* Amicus-inspired palette (from provided image):
   --paper: #FFFFFF
   --teal:  #7CBCAC
   --sand:  #BEB18D
   --ink:   #0B0B0B (used sparingly)
*/

:root{
  --paper:#ffffff;
  --teal:#7cbcac;
  --sand:#beb18d;
  --ink:#0b0b0b;
  --muted: rgba(11,11,11,0.62);
  --shadow: 0 12px 40px rgba(11,11,11,0.08);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(124,188,172,0.20), transparent 55%),
    radial-gradient(900px 520px at 80% 90%, rgba(190,177,141,0.20), transparent 60%),
    var(--paper);
  color: var(--ink);
}

.shell{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
}

.card{
  width: min(520px, 100%);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(11,11,11,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px 16px;
  backdrop-filter: blur(6px);
}

.header{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(11,11,11,0.06);
}

.mark{
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: var(--teal);
  margin-top: 7px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 6px rgba(124,188,172,0.12);
}

.title{
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

.subtitle{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.step{
  padding: 18px 0 6px;
}

.hidden{ display:none; }

.question{
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.hint{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.choices{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.btn{
  appearance:none;
  border: 1px solid rgba(11,11,11,0.12);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  cursor:pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
  text-align:left;
}

.btn:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(124,188,172,0.22);
  border-color: rgba(124,188,172,0.55);
}

.btn:hover{
  border-color: rgba(124,188,172,0.55);
}

.btn:active{
  transform: translateY(1px);
}

.primary{
  background: rgba(124,188,172,0.16);
  border-color: rgba(124,188,172,0.55);
}

.choice{
  background: rgba(255,255,255,0.95);
}

.subtle{
  background: rgba(190,177,141,0.16);
  border-color: rgba(190,177,141,0.60);
}

.answerWrap{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(11,11,11,0.08);
  background:
    linear-gradient(180deg, rgba(124,188,172,0.10), rgba(190,177,141,0.08));
}

.answer{
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
}

.links{
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.link{
  display:inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11,11,11,0.10);
  text-decoration: none;
  color: var(--ink);
  background: rgba(255,255,255,0.9);
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.link:hover{
  border-color: rgba(124,188,172,0.55);
}

.link:focus{
  outline:none;
  box-shadow: 0 0 0 4px rgba(124,188,172,0.22);
  border-color: rgba(124,188,172,0.55);
}

.actions{
  margin-top: 14px;
  display:flex;
  justify-content:flex-end;
}

.footer{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(11,11,11,0.06);
}

.fineprint{
  margin:0;
  font-size: 12px;
  color: rgba(11,11,11,0.55);
  line-height: 1.35;
}

/* Slightly roomier layout on wider screens */
@media (min-width: 520px){
  .card{ padding: 26px 26px 18px; }
  .choices{ flex-direction: row; }
  .btn.choice{ text-align:center; width: 100%; }
}
