:root {
  /* Brand & accent */
  --brand-coral: #ff4d3d;
  --brand-coral-2: #ff7a4d;
  --brand-magenta: #e6357f;
  --brand-magenta-2: #c026a3;
  --brand-blue: #2f6bff;
  --brand-blue-2: #38bdf8;
  --brand-blue-deep: #1a4fd6;
  --brand-blue-700: #1d4ed8;
  --brand-blue-200: #dbeafe;
  --brand-purple: #7c3aed;
  --brand-purple-2: #a855f7;
  /* Surface */
  --canvas: #ffffff;
  --surface: #f5f5f7;
  --surface-soft: #fafafb;
  --hairline: #e4e4e8;
  --hairline-soft: #eeeeef;
  /* Text */
  --ink: #0a0a0a;
  --ink-strong: #000000;
  --charcoal: #333338;
  --slate: #5b5b66;
  --steel: #7a7a85;
  --stone: #9a9aa3;
  --muted: #aeaeb6;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  /* Semantic */
  --success-bg: #e6f6ec;
  --success-text: #1e7a46;
  --error: #d45656;
  --footer-bg: #0a0a0a;
  /* Radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-xxl: 20px;
  --r-xxxl: 24px;
  --r-hero: 32px;
  --r-full: 9999px;
  /* Spacing */
  --xxs: 4px;
  --xs: 8px;
  --sm: 12px;
  --md: 16px;
  --lg: 20px;
  --xl: 24px;
  --xxl: 32px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "DM Sans", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ PROMO BANNER ============ */
.promo-banner {
  background: var(--ink-strong);
  color: var(--on-primary);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
}
.promo-banner b {
  font-weight: 700;
}

/* ============ TOP NAV ============ */
.topnav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
  height: 64px;
  display: flex;
  align-items: center;
}
.topnav .inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.logo {
  height: 36px;
  width: auto;
  display: block;
}
.topnav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topnav-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.topnav-linkedin:hover {
  color: #0A66C2;
  background: rgba(10, 102, 194, 0.08);
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-full);
  padding: 4px 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.badge-beta {
  background: var(--brand-blue-200);
  color: var(--brand-blue-deep);
}
.badge-success {
  background: var(--success-bg);
  color: var(--success-text);
}
.badge-coral {
  background: var(--brand-coral);
  color: var(--on-dark);
}
.badge-magenta {
  background: var(--brand-magenta);
  color: var(--on-dark);
}
.badge-blue {
  background: var(--brand-blue);
  color: var(--on-dark);
}
.badge-purple {
  background: var(--brand-purple);
  color: var(--on-dark);
}

/* ============ BUTTONS ============ */
.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--r-full);
  padding: 11px 24px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.08s ease,
    box-shadow 0.15s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--ink-strong);
  color: var(--on-primary);
}
.btn-primary:hover {
  background: var(--charcoal);
}
.btn-primary:disabled {
  background: var(--hairline);
  color: var(--muted);
  cursor: not-allowed;
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--surface);
}
.btn-tertiary {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-tertiary:hover {
  background: var(--surface);
  border-color: var(--stone);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============ HERO CARD ============ */
.hero-card {
  margin: 32px 0 24px;
  background: linear-gradient(135deg, var(--brand-coral), var(--brand-coral-2));
  border-radius: var(--r-hero);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 22px rgba(255, 77, 61, 0.18);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.22),
    transparent 70%
  );
  border-radius: 50%;
}
.hero-card .eyebrow {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.22);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--r-full);
  padding: 5px 14px;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
  position: relative;
}
.hero-card h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--on-dark);
  margin: 0 0 12px;
  position: relative;
}
.hero-card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 52ch;
  position: relative;
}

/* ============ PROGRESS PILL TABS ============ */
.progress-wrap {
  margin-bottom: 20px;
}
.progress-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.p-tab {
  flex: 1;
  min-width: 28px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--hairline);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
.p-tab.done {
  background: var(--ink-strong);
}
.p-tab.now {
  background: var(--brand-coral);
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--steel);
  font-weight: 500;
}
.progress-meta b {
  color: var(--ink);
  font-weight: 700;
}

/* ============ FORM CARD ============ */
form {
  margin-bottom: 40px;
}
.error-banner {
  background: #fdf1f1;
  border: 1px solid var(--error);
  color: var(--error);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: none;
}
.card-base {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 2px 0px;
}
.step {
  display: none;
}
.step.active {
  display: block;
  animation: stepfade 0.25s ease;
}
@keyframes stepfade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-eyebrow {
  margin-bottom: 14px;
}
.step h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 6px;
  color: var(--ink);
}
.step .step-sub {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
  margin: 0 0 26px;
}

.field {
  margin-bottom: 20px;
}
.field:last-child {
  margin-bottom: 0;
}
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field-label .req {
  color: var(--error);
  margin-left: 2px;
}
.f-hint {
  font-size: 12.5px;
  color: var(--steel);
  margin: -4px 0 8px;
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  height: 40px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
textarea {
  height: auto;
  min-height: 76px;
  resize: vertical;
  padding-top: 10px;
}
input::placeholder,
textarea::placeholder {
  color: var(--stone);
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border: 2px solid var(--brand-blue-deep);
  padding: 9px 13px;
}
textarea:focus {
  padding-top: 9px;
}
input.invalid,
textarea.invalid,
select.invalid {
  border: 1px solid var(--error) !important;
  padding: 10px 14px !important;
}
.field-error {
  font-size: 12.5px;
  color: var(--error);
  font-weight: 500;
  margin-top: 6px;
  display: none;
}
.field-error.show {
  display: block;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235b5b66' stroke-width='1.6' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.row3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .row2,
  .row3 {
    grid-template-columns: 1fr;
  }
}

/* ---- pill choice chips (radio / checkbox) ---- */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  cursor: pointer;
  margin: 0;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--canvas);
  color: var(--steel);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
  user-select: none;
  cursor: pointer;
}
.chip input:checked + span {
  background: var(--ink-strong);
  color: var(--on-primary);
  border-color: var(--ink-strong);
  font-weight: 600;
}
.chip input:focus-visible + span {
  box-shadow: 0 0 0 3px var(--brand-blue-200);
}

hr.divider {
  border: none;
  border-top: 1px solid var(--hairline-soft);
  margin: 24px 0;
}

/* ---- repeater rows ---- */
.rep-row {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 10px;
  position: relative;
}
.rep-row .rep-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}
.rep-row .field {
  margin-bottom: 10px;
}
.rep-row .field:last-child {
  margin-bottom: 0;
}
.rep-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  width: 22px;
  height: 22px;
  border-radius: var(--r-full);
  color: var(--steel);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.rep-remove:hover {
  border-color: var(--error);
  color: var(--error);
}
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--canvas);
  border: 1px dashed var(--hairline);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--r-full);
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: all 0.15s ease;
}
.add-btn:hover {
  border-color: var(--ink);
  background: var(--surface);
}

/* ---- file drop ---- */
.drop {
  background: var(--surface);
  border: 1.5px dashed var(--hairline);
  border-radius: var(--r-xl);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drop:hover,
.drop.drag {
  border-color: var(--brand-blue-deep);
  background: var(--brand-blue-200);
}
.drop input {
  display: none;
}
.drop-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.drop-text {
  font-size: 13.5px;
  color: var(--slate);
  font-weight: 500;
}
.drop-text b {
  color: var(--ink);
}
.file-list {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--steel);
}
.file-list div {
  padding: 3px 0;
  font-weight: 500;
}

/* ============ NAV ROW ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.nav-spacer {
  flex: 1;
}

/* ============ SUCCESS ============ */
.success {
  text-align: center;
  padding: 24px 8px 8px;
}
.success .badge-success {
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  font-size: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.success h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.success p {
  font-size: 14.5px;
  color: var(--slate);
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer-region {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: 48px 20px 28px;
  margin-top: 20px;
}
.footer-inner {
  max-width: 840px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}
.footer-wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 6px;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.footer-cols {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--stone);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  padding: 4px 0;
}
.footer-col a:hover {
  color: var(--on-dark);
}
.footer-bottom {
  font-size: 12px;
  color: var(--stone);
  text-align: center;
  margin-top: 8px;
}
