/* tax-roadmap.css */
:root{
  --bg: #0f1412;
  --card: #121a16;
  --text: #f3efe4;
  --muted: rgba(243,239,228,.75);
  --line: rgba(243,239,228,.14);
  --accent: #9fb79d; /* soft sage */
  --accent2: #d8c7a1; /* warm tan */
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --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(1200px 800px at 20% 0%, rgba(159,183,157,.18), transparent 55%),
              radial-gradient(1000px 700px at 90% 10%, rgba(216,199,161,.14), transparent 55%),
              var(--bg);
  color: var(--text);
}

a{ color: var(--accent2); }
a:hover{ color: var(--text); }

.skip{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background: var(--card);
  border:1px solid var(--line);
  border-radius: 12px;
  z-index:9999;
}

.container{
  width:min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: rgba(15,20,18,.65);
  border-bottom:1px solid var(--line);
  z-index:10;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:16px;
}
.brand-title{
  font-weight: 720;
  letter-spacing: .2px;
}
.brand-subtitle{
  margin-top:2px;
  color: var(--muted);
  font-size: 0.95rem;
}
.header-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.card{
  margin: 28px 0 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-body{
  padding: 22px 22px 18px;
}
.card-title{
  font-size: 1.55rem;
  margin: 0 0 10px;
}
.node-body p{
  margin: 10px 0;
  color: var(--text);
  line-height: 1.55;
}
.muted{ color: var(--muted); }

.statusbar{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.chip{
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .9rem;
  color: var(--muted);
}

.choices{
  margin-top: 16px;
  display:grid;
  gap: 10px;
}
.choice{
  text-align:left;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  color: var(--text);
  cursor:pointer;
  transition: transform .08s ease, border-color .12s ease, background .12s ease;
}
.choice:hover{
  border-color: rgba(159,183,157,.55);
  background: rgba(159,183,157,.08);
}
.choice:active{ transform: translateY(1px); }
.choice-label{ font-weight: 650; }
.choice-help{
  margin-top: 4px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.35;
}

.section-title{
  font-size: 1.05rem;
  margin: 18px 0 10px;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: .2px;
}
.links{
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.link-list{
  margin: 0;
  padding-left: 18px;
}
.link-list li{ margin: 6px 0; }

.actions{
  margin-top: 16px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.btn{
  border: 1px solid rgba(159,183,157,.55);
  background: rgba(159,183,157,.12);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 650;
}
.btn:hover{
  background: rgba(159,183,157,.18);
}
.btn:disabled{
  opacity: .45;
  cursor:not-allowed;
}
.btn-ghost{
  border: 1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.btn-ghost:hover{
  background: rgba(0,0,0,.18);
}

.footer{
  padding: 22px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 24px;
}
.fineprint{
  margin-top: 6px;
  font-size: .92rem;
}

.toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.45);
  color: var(--text);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Progress bar */
.progress-wrap {
  margin-bottom: 14px;
}
.progress-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 8px;
}
.progress-bar{
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(243,239,228,.14);
  background: rgba(0,0,0,.18);
  overflow:hidden;
}
.progress-fill{
  height: 100%;
  background: rgba(159,183,157,.55);
  width: 0%;
  transition: width .25s ease;
}

/* Multi-select */
.checklist{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}
.checkrow{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(243,239,228,.14);
  background: rgba(0,0,0,.18);
  cursor:pointer;
}
.checkrow:hover{
  border-color: rgba(159,183,157,.55);
  background: rgba(159,183,157,.08);
}
.checkrow input{
  margin-top: 2px;
  transform: scale(1.05);
}
.continue-row{
  margin-top: 14px;
  display:flex;
  justify-content:flex-end;
}
.publish{
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(243,239,228,.14);
}

.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.modal{
  width: min(720px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(243,239,228,.14);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  padding: 18px;
}

.modal-form{
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.label{
  color: rgba(243,239,228,.75);
  font-weight: 650;
  margin-top: 4px;
}

.input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(243,239,228,.14);
  background: rgba(0,0,0,.18);
  color: #f3efe4;
}

.input:focus{
  outline: none;
  border-color: rgba(159,183,157,.55);
}

.consent{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(243,239,228,.75);
  margin-top: 4px;
}

.modal-actions{
  display:flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}
