:root {
  --bg: #0c0c0c;
  --surface: #161616;
  --surface2: #1e1e1e;
  --border: #272727;
  --border-hover: #3a3a3a;
  --text: #eeebe5;
  --muted: #7a7a7a;
  --dim: #444;
  --accent: #c9b99b;
  --accent-bg: rgba(201, 185, 155, 0.08);
  --green: #5eebb4;
  --r: 10px;
  --r-sm: 7px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 100px;
}

/* Layout */
.wrap { width: 100%; max-width: 600px; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 44px;
}

.logo {
  font-family: 'Instrument Serif', serif;
  font-size: 17px;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.step-counter {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* Progress */
.progress-track {
  width: 100%;
  height: 1.5px;
  background: var(--border);
  margin-bottom: 48px;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Steps */
.step { display: none; }
.step.active { display: block; animation: fadeUp 0.35s ease forwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Typography */
.eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

.title {
  font-family: 'Instrument Serif', serif;
  font-size: 30px;
  line-height: 1.22;
  margin-bottom: 8px;
}

.desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 36px;
}

/* Form fields */
.field { margin-bottom: 22px; }

label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 9px;
  color: var(--text);
}

.hint { font-weight: 300; color: var(--muted); margin-left: 5px; font-size: 11.5px; }
.req  { color: var(--accent); margin-left: 2px; }

input[type=text],
input[type=email],
input[type=tel],
input[type=url],
textarea,
select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.18s;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  background: var(--surface2);
}

input::placeholder, textarea::placeholder { color: var(--dim); }

textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%237a7a7a' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

select option { background: #1a1a1a; color: var(--text); }

/* Choice grids (radio / checkbox) */
.cgrid { display: grid; gap: 8px; }
.c2 { grid-template-columns: 1fr 1fr; }
.c3 { grid-template-columns: 1fr 1fr 1fr; }

.ci { position: relative; }
.ci input { position: absolute; opacity: 0; width: 0; height: 0; }

.cb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  line-height: 1.3;
}

.dot, .box {
  width: 15px;
  height: 15px;
  min-width: 15px;
  border: 1.5px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.dot { border-radius: 50%; }
.box { border-radius: 3px; }

.ci input:checked + .cb { border-color: var(--accent); background: var(--accent-bg); color: var(--text); }
.ci input:checked + .cb .dot { border-color: var(--accent); background: var(--accent); }
.ci input:checked + .cb .dot::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--bg); }
.ci input:checked + .cb .box { border-color: var(--accent); background: var(--accent); }
.ci input:checked + .cb .box::after { content: ''; width: 7px; height: 4.5px; border-left: 1.5px solid var(--bg); border-bottom: 1.5px solid var(--bg); transform: rotate(-45deg) translateY(-1px); }
.cb:hover { border-color: var(--border-hover); color: var(--text); }

/* Industry icon grid */
.igrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ii { position: relative; }
.ii input { position: absolute; opacity: 0; width: 0; height: 0; }

.ib {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.18s;
}

.ii input:checked + .ib { border-color: var(--accent); background: var(--accent-bg); }
.ib:hover { border-color: var(--border-hover); }
.i-icon { font-size: 22px; margin-bottom: 4px; }
.i-name { font-size: 13.5px; font-weight: 500; color: var(--text); }
.i-sub  { font-size: 11.5px; color: var(--muted); line-height: 1.4; }

/* Branch sections */
.branch { display: none; }
.branch.show { display: block; animation: fadeUp 0.3s ease forwards; }

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.btn-back {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-back:hover { border-color: var(--border-hover); color: var(--text); }

.btn-next {
  background: var(--accent);
  border: none;
  color: #0c0c0c;
  padding: 12px 30px;
  border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-next:hover { background: #d4c4a8; transform: translateY(-1px); }

.btn-submit {
  background: var(--green);
  border: none;
  color: #051a10;
  padding: 13px 34px;
  border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* Info box */
.infobox {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin-bottom: 22px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.infobox strong { color: var(--accent); font-weight: 500; }

/* Success screen */
.success {
  display: none;
  text-align: center;
  padding: 60px 20px;
  animation: fadeUp 0.4s ease forwards;
}

.s-icon {
  width: 56px;
  height: 56px;
  background: rgba(94, 235, 180, 0.07);
  border: 1px solid rgba(94, 235, 180, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 20px;
  color: var(--green);
}

.s-title { font-family: 'Instrument Serif', serif; font-size: 28px; margin-bottom: 10px; }
.s-sub   { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 400px; margin: 0 auto; }

/* Validation error */
.err { border-color: #e05555 !important; }
