:root{
  --bg:#ECEBEB;
  --paper:#fff;
  --ink:#222;
  --muted:#6f7175;
  --primary:#4D87DE;
  --primary2:#4D87DE;
  --accent:#8EAAD4;
  --soft:#F4F7FB;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'neue-haas-grotesk-display',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

a{color:var(--primary);text-decoration:none}
a:hover{ text-decoration:underline }

/* ---------- Shell ---------- */

.frame{
  max-width:1080px;              /* wider so we can fit 2 columns */
  margin:0 auto;
  padding:28px 24px 32px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.brandbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:1rem;
}

.brand .dot{
  width:14px;
  height:14px;
  border-radius:50%;
  background:linear-gradient(90deg,var(--primary2),var(--primary));
  box-shadow:0 0 0 3px rgba(77,135,222,.25);
}

.brand .word{
  color:var(--primary);
}

.dots{
  display:flex;
  gap:8px;
  list-style:none;
  padding:0;
  margin:0;
}

.dot-item{
  width:11px;
  height:11px;
  border-radius:999px;
  background:var(--soft);
  border:1px solid var(--accent);
  opacity:.6;
}

.dot-item.current{
  background:linear-gradient(90deg,var(--primary2),var(--primary));
  border-color:transparent;
  box-shadow:0 3px 6px rgba(0,0,0,.16);
  opacity:1;
}

/* ---------- Card ---------- */

.card{
  background:var(--paper);
  border-radius:20px;
  border:1px solid #e5e6ea;
  box-shadow:0 18px 45px rgba(22,35,74,.08);
  padding:32px 40px 28px;
}

@media (max-width:900px){
  .card{padding:24px 20px}
}

/* Each step fills the card width */
.step{width:100%}
.step[hidden]{display:none!important}

.step-inner{
  width:100%;
  max-width:980px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:24px;
}

/* ---------- Headings / eyebrow ---------- */

.qhead{
  max-width:640px;
}

.qhead h1{
  font-size:2rem;
  line-height:1.15;
  margin:0 0 6px;
}

.qhead .lede{
  color:var(--muted);
  font-size:1.02rem;
  margin:0;
}

/* base eyebrow – content is supplied per-step in joinnow-exp.css */
.qhead::before{
  display:block;
  margin-bottom:6px;
  font-size:0.75rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#a2a5ad;
}

/* ---------- Generic fields / lists ---------- */

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.field span{
  font-weight:500;
  letter-spacing:.02em;
}

input,
select{
  width:100%;
  padding:11px 12px;
  border:1px solid #e1e2e7;
  border-radius:10px;
  font:inherit;
  background:#fff;
}

input:focus,
select:focus{
  outline:2px solid rgba(77,135,222,.25);
  border-color:#b4c6eb;
}

/* radio rows etc (step 3) */

.list{
  display:grid;
  gap:10px;
  margin-top:8px;
}

.row{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #e1e2e7;
  border-radius:12px;
  padding:12px 14px;
  background:#fff;
  cursor:pointer;
  font-size:1rem;
  transition:background .15s, border-color .15s, box-shadow .15s;
}

.row:hover{
  background:var(--soft);
  border-color:#ced7f1;
  box-shadow:0 2px 4px rgba(27,44,93,.08);
}

.row input{
  width:18px;
  height:18px;
}

.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}

.check{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:4px;
}

.check input{width:18px;height:18px}

/* ---------- Buttons ---------- */

.actions{
  display:flex;
  gap:12px;
  margin-top:12px;
}

.btn-primary,
.btn-secondary{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border-radius:999px;
  padding:12px 20px;
  font-weight:500;
  cursor:pointer;
  text-decoration:none;
  font-size:0.98rem;
  border:0;
}

.btn-primary{
  background:linear-gradient(90deg,var(--primary2),var(--primary));
  color:#fff;
  box-shadow:0 12px 22px rgba(77,135,222,.35);
}

.btn-primary:disabled{
  opacity:.5;
  box-shadow:none;
  cursor:not-allowed;
}

.btn-secondary{
  background:#f7f8fc;
  color:var(--primary);
  border:1px solid #dde3f2;
}

.btn-secondary:hover{
  background:#eef2fb;
}

.foot{
  text-align:center;
  margin-top:12px;
}

.muted{color:var(--muted);font-size:1.1rem}


/* Validation helpers */
.field-error{color:#b3261e;font-size:.9rem;margin-top:6px}
.input-error{border-color:#b3261e!important}

/* tiny responsive tweaks */
@media (max-width:760px){
  .frame{padding:20px 16px 28px}
  .grid,.pair{grid-template-columns:1fr}
  .qhead h1{font-size:1.6rem}
}

/* keep joinnow.css for base styling; this file is additions/overrides */

/* --------- Step-specific eyebrows --------- */

.step[data-view="1"] .qhead::before{
  content:"Tax area · Step 1 of 5";
}

.step[data-view="2"] .qhead::before{
  content:"Timing · Step 2 of 5";
}

.step[data-view="3"] .qhead::before{
  content:"Budget · Step 3 of 5";
}

.step[data-view="4"] .qhead::before{
  content:"Filters · Step 4 of 5";
}

.step[data-view="5"] .qhead::before{
  content:"Account details · Step 5 of 5";
}


/* --------- ACCORDION (Step 1) --------- */

/* --------- STEP 1 ACCORDION LAYOUT (2 columns, no rows) --------- */

.accordion-columns {
  display: flex;
  gap: 20px;
  width: 100%;
}

.logo {
  width: 180px;
}

.accordion-col {
  flex: 1;               /* equal columns */
  display: flex;
  flex-direction: column;
  gap: 16px;             /* spacing between items */
}

.accordion-col .acc-item {
  width: 100%;
}

@media (max-width: 840px) {
  .accordion-columns {
    flex-direction: column;
  }
}






.acc-item{
  border:1px solid #e1e2e7;
  border-radius:14px;
  background:#fff;
  overflow:hidden;

  transition:box-shadow .15s, border-color .15s, transform .1s;
}

.acc-item:hover{
  border-color:#c6d3f0;
  box-shadow:0 10px 22px rgba(22,35,74,.08);
  transform:translateY(-1px);
}

.acc-header{
  width:100%;
  padding:12px 16px;
  background: white;
  border:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  font-weight:500;
 color: #686868;
  font-size:0.98rem;
}

.acc-header span{
  display:flex;
  align-items:center;
  gap:8px;
}

.acc-header i.fa-chevron-down{
  font-size:0.86rem;

  transition:transform .15s;
}

.acc-item.open .acc-header i.fa-chevron-down{
  transform:rotate(-180deg);
}

.acc-body{
  padding:10px 16px 14px;
  display:flex;
  flex-direction:column;
  gap:6px;
  background:#fff;
}

.acc-body[hidden]{display:none!important;}

.micro-row{
  display:flex;
  gap:10px;
  align-items:center;
  padding:4px 0;
  font-size:0.95rem;
  color:#40424a;
}

.micro-row input{
  width:18px;
  height:18px;
}

/* subtle bullet / left border hint */
.acc-item.open{
  border-color:#b9c8f0;
}

/* --------- EXPERIENCE SLIDER (Step 2) --------- */

.exp-slider-wrap{
  max-width:480px;
  margin-top:8px;
}

.exp-value{
  text-align:left;
  font-size:2.2rem;
  font-weight:700;
  margin-bottom:8px;
}

.exp-value span{
  color:#1f2740;
}

.exp-slider{
  width:100%;
  -webkit-appearance:none;
  appearance:none;
  height:8px;
  border-radius:999px;
  background:linear-gradient(90deg,#d4ddf0,#edf1fb);
  outline:none;
  position:relative;
}

.exp-slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#fff;
  border:3px solid #4d87de;
  box-shadow:0 6px 14px rgba(77,135,222,.45);
  cursor:pointer;
}

.exp-slider::-moz-range-thumb{
  width:22px;
  height:22px;
  border-radius:50%;
  background:#fff;
  border:3px solid #4d87de;
  box-shadow:0 6px 14px rgba(77,135,222,.45);
  cursor:pointer;
}

.exp-slider::-moz-range-track{
  height:8px;
  border-radius:999px;
  background:linear-gradient(90deg,#d4ddf0,#edf1fb);
}

.exp-labels{
  display:flex;
  justify-content:space-between;
  margin-top:6px;
  font-size:0.9rem;
  color:#767883;
}

/* --------- Validation helper (already used by JS) --------- */

[hidden]{display:none!important;}
.field-error{color:#b3261e;font-size:.9rem;margin-top:6px}
.input-error{border-color:#b3261e!important}


/* Highlight macro when it contains selected micros */
.acc-item.selected-macro .acc-header {
  background:#d7e3fb;

}


/* ============= */
/* MACRO SELECTOR */
/* ============= */

.acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  width: 100%;
  background: #f7f9fc;

  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s ease;
}

.acc-header:hover {
  background: #eef3ff;
}

.acc-item.selected-macro{
  background: #f3f5f9;
  border: 1px solid #4d87de;

}

/* Label left side */
.acc-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;

}

/* Round selector on right */
.macro-indicator {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #c5cde3;
  background: white;
  flex-shrink: 0;
  transition: all 0.22s ease;
  position: relative;
}

.acc-item.selected-macro .macro-indicator {
  border-color: #4d87de;
  background: #4d87de;

}

.acc-item.selected-macro .macro-indicator::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: white;
}

