/* =========================================================
   AMC Customer Consultant Enrolment — White + AMC Blue (#0050A0) theme
   ========================================================= */
:root {
  /* ===== BRAND COLOURS — change these to restyle the whole form ===== */
  --brand: #0050A0;         /* AMC blue — header, buttons, highlights */
  --brand-dark: #003A78;    /* headings, gradient end */
  --brand-deep: #002B5C;
  --brand-light: #2A72BF;
  --brand-soft: #E6EEF8;
  --brand-softer: #F3F7FC;
  --brand-rgb: 0, 80, 160;

  --ink: #15233B;
  --muted: #5F6B7A;
  --line: #DCE3EE;
  --bg: #F4F7FB;
  --card: #FFFFFF;
  --ok: #16A34A;
  --ok-soft: #ECFDF3;
  --err: #DC2626;
  --shadow: 0 1px 2px rgba(21, 35, 59, .04), 0 8px 24px rgba(21, 35, 59, .06);
  --tap: 50px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.mt { margin-top: 14px; }

/* ===== Header / landing ===== */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 60%, var(--brand-deep) 100%);
  color: #fff;
  padding: calc(24px + env(safe-area-inset-top)) 16px 76px;
  position: relative; overflow: hidden;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.hero::after { width: 340px; height: 340px; right: -130px; top: -150px; }
.hero::before { width: 180px; height: 180px; left: -70px; bottom: -110px; background: rgba(255, 255, 255, .05); }
.hero__inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__logo {
  flex: none; width: 60px; height: 60px; border-radius: 14px; background: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.brand__logo img { width: 46px; height: 46px; object-fit: contain; }
.brand__eyebrow { margin: 0; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; opacity: .85; }
.brand__title { margin: 3px 0 0; font-size: clamp(21px, 5.6vw, 32px); line-height: 1.18; font-weight: 800; letter-spacing: -.3px; }
.hero__sub { margin: 16px 0 0; font-size: 14.5px; opacity: .92; max-width: 600px; }
.hero__chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 99px; padding: 6px 12px 6px 10px; font-size: 12.5px; font-weight: 600; color: #fff;
}
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.hero__chips .ico { width: 16px; height: 16px; opacity: .95; }

/* ===== Layout ===== */
.wrap { max-width: 860px; margin: -52px auto 0; padding: 0 12px 40px; position: relative; z-index: 2; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px 16px 8px;
}

/* ===== Progress (stays visible while scrolling) ===== */
.progress {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(21, 35, 59, .10);
  padding: 16px 16px 12px; margin-bottom: 12px;
  position: sticky; top: calc(8px + env(safe-area-inset-top)); z-index: 20;
  transition: padding .2s;
}
.progress__bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress__bar span {
  display: block; height: 100%; width: 11%;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 99px; transition: width .35s ease;
}
.progress__steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; justify-content: space-between; }
.progress__steps li { flex: 1; display: flex; justify-content: center; min-width: 0; }
.progress__steps button {
  border: 0; background: none; padding: 0; cursor: default; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted);
}
.progress__dot {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700; background: #fff; border: 2px solid var(--line); color: var(--muted);
  transition: all .25s;
}
.progress__lbl { display: none; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.progress__steps .is-done { cursor: pointer; }
.progress__steps .is-done .progress__dot { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.progress__steps .is-active .progress__dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .15); }
.progress__steps .is-active .progress__lbl { color: var(--ink); font-weight: 700; }
.progress__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.progress__count b { color: var(--ink); }
.progress__name { font-weight: 700; color: var(--brand-dark); }
.progress__next:empty { display: none; }
.progress.is-stuck { padding: 10px 14px; }
.progress.is-stuck .progress__steps, .progress.is-stuck .progress__next { display: none; }
.progress.is-stuck .progress__meta { margin-top: 8px; }

/* ===== Steps ===== */
.step { display: none; animation: fadeIn .3s ease; }
.step.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step__head { margin-bottom: 6px; }
.step__head h2 { margin: 0; font-size: 21px; color: var(--brand-dark); letter-spacing: -.2px; }
.step__head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.group { padding: 18px 0 4px; }
.group + .group { border-top: 1px dashed var(--line); margin-top: 14px; }
.group__title {
  margin: 0 0 14px; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .8px; color: var(--brand);
  display: flex; align-items: center; gap: 8px;
}
.group__title b { color: var(--err); }
.group--boxed { border: 1px solid var(--line) !important; border-radius: 16px; padding: 16px 14px 6px; margin-top: 16px; background: var(--brand-softer); }
.group--boxed + .group--boxed { margin-top: 14px; }
.badge {
  width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 12px; letter-spacing: 0;
}

.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field b, .check b { color: var(--err); font-weight: 700; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="password"], select {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 16px; /* stops iOS zoom on focus */
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
input[type="date"] { display: block; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
input[readonly] { background: var(--bg); color: var(--muted); }
input:hover, select:hover { border-color: #BCCBE0; }
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }
input::placeholder { color: #A0AEC0; }
.upper { text-transform: uppercase; }
.upper::placeholder { text-transform: none; }

.field.has-error input, .field.has-error select, .field.has-error .upload, .field.has-error .input-group { border-color: var(--err); }
.field.has-error input:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.field.is-valid > input:not([readonly]), .field.is-valid .input-group { border-color: #86CBA0; }
.err { color: var(--err); font-size: 12.5px; font-weight: 500; }
.err:empty { display: none; }
.hint { color: var(--muted); font-size: 12.5px; }
.hint:empty { display: none; }
.hint.ok { color: var(--ok); font-weight: 600; }

.input-group {
  display: flex; align-items: stretch; background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.input-group:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }
.input-group__pre {
  display: grid; place-items: center; padding: 0 12px; min-width: 50px;
  background: var(--brand-softer); color: var(--brand-dark); font-weight: 700; border-right: 1.5px solid var(--line);
}
.input-group input { border: 0 !important; border-radius: 0; box-shadow: none !important; }

/* Chips (radio + checkbox) */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { flex: 1; min-width: 96px; position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: var(--tap); padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-weight: 600; font-size: 15px; transition: all .2s;
}
.chip:hover span { border-color: #BCCBE0; }
.chip .ico { color: var(--muted); }
.chip input:checked + span .ico { color: var(--brand); }
.chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); box-shadow: inset 0 0 0 1px var(--brand); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .18); }
.field.has-error .chip span { border-color: var(--err); }

/* Toggle (same as present address) */
.toggle {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  margin: 18px 0 4px; padding: 14px; border-radius: 14px;
  background: var(--brand-softer); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px;
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__track {
  flex: none; width: 44px; height: 26px; border-radius: 99px; background: #CBD5E1; position: relative; transition: background .2s;
}
.toggle__track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s;
}
.toggle input:checked + .toggle__track { background: var(--brand); }
.toggle input:checked + .toggle__track::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__track { box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .18); }

/* Upload */
.upload {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px; min-height: 78px;
  border: 1.5px dashed #B3C5DD; border-radius: 14px; background: var(--brand-softer);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.upload:hover, .upload:focus-within { border-color: var(--brand); background: var(--brand-soft); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.upload__icon svg { width: 22px; height: 22px; fill: var(--brand); }
.upload__text { display: flex; flex-direction: column; min-width: 0; }
.upload__text strong { font-size: 14.5px; color: var(--brand-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__text em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.upload__preview { margin-left: auto; width: 50px; height: 50px; object-fit: cover; border-radius: 10px; flex: none; border: 1px solid var(--line); }
.upload--photo .upload__preview { border-radius: 50%; }
.upload.is-filled { border-style: solid; border-color: #86CBA0; background: var(--ok-soft); }
.upload.is-filled .upload__icon svg { fill: var(--ok); }
.docs { display: grid; gap: 16px; }

/* Repeater (children, education, other companies) */
.repeater__list { display: flex; flex-direction: column; gap: 12px; }
.repeater__list:empty { display: none; }
.repeater__empty { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; }
.row-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 14px; background: var(--brand-softer); animation: fadeIn .25s ease; }
.row-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.row-card__head span { font-weight: 700; font-size: 13.5px; color: var(--brand-dark); }
.row-card__remove {
  border: 0; background: none; color: var(--err); font-weight: 600; font-size: 13px;
  padding: 6px 8px; border-radius: 8px; cursor: pointer;
}
.row-card__remove:hover { background: #FEF2F2; }
.btn-add {
  margin-top: 12px; width: 100%; min-height: 48px;
  border: 1.5px dashed var(--brand); border-radius: 12px; background: #fff;
  color: var(--brand); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s;
}
.btn-add:hover { background: var(--brand-soft); }

/* Review */
.review { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; }
.review details { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.review summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 14px; font-weight: 700; font-size: 15px;
}
.review summary::-webkit-details-marker { display: none; }
.review summary::after {
  content: ""; margin-left: 6px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s; flex: none;
}
.review details[open] summary::after { transform: rotate(-135deg); }
.review__tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 13px; flex: none; }
.review__label { flex: 1; }
.review__edit {
  background: var(--brand-soft); border: 0; color: var(--brand); font-weight: 700; font-size: 13px;
  cursor: pointer; padding: 6px 12px; border-radius: 99px;
}
.review__body { padding: 0 14px 14px; border-top: 1px solid var(--line); }
.review__sub { margin: 14px 0 4px; font-size: 12px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .6px; }
.review dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.review dt { font-size: 12px; color: var(--muted); margin-top: 8px; }
.review dd { margin: 0; font-size: 14.5px; font-weight: 600; word-break: break-word; }
.review__none { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; }

/* Terms */
.terms { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 16px; }
.terms__title { margin: 0; padding: 14px 16px; font-size: 14px; font-weight: 800; color: var(--brand-dark); background: var(--brand-softer); border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .5px; }
.terms__body { max-height: 320px; overflow-y: auto; padding: 4px 16px 12px; font-size: 13.5px; color: #334155; -webkit-overflow-scrolling: touch; }
.terms__body:focus { outline: 2px solid var(--brand); outline-offset: -2px; }
.terms__body h4 { margin: 16px 0 6px; font-size: 14px; color: var(--ink); }
.terms__body ul { margin: 10px 0 0; padding-left: 18px; }
.terms__body li { margin-bottom: 8px; }

.check {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  font-size: 14px; font-weight: 500 !important; padding: 14px; border-radius: 14px;
  background: var(--brand-softer); border: 1.5px solid var(--line);
}
.check input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; margin: 1px 0 0; }
.field.has-error .check { border-color: var(--err); }

/* Buttons */
.actions {
  display: flex; gap: 10px; margin: 22px -16px 0;
  position: sticky; bottom: 0; z-index: 10;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-radius: 0 0 20px 20px;
}
.btn {
  min-height: 52px; padding: 0 20px; border-radius: 14px; border: 0;
  font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; transition: transform .1s, background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary {
  flex: 1; color: #fff;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 45%, var(--brand-dark) 100%);
  box-shadow: 0 8px 18px rgba(var(--brand-rgb), .28);
}
.btn--primary:hover { box-shadow: 0 10px 24px rgba(var(--brand-rgb), .38); }
.btn--ghost { background: #fff; color: var(--brand-dark); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: var(--brand-softer); }
.btn[disabled] { opacity: .7; pointer-events: none; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: none; animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success */
.success { text-align: center; padding: 40px 20px 32px; }
.success__icon { width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 50%; background: var(--ok-soft); display: grid; place-items: center; animation: pop .4s ease; }
.success__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success h2 { margin: 0 0 8px; color: var(--brand-dark); }
.success p { color: var(--muted); margin: 0 auto 12px; max-width: 440px; }
.success__ref span { font-weight: 800; color: var(--brand); letter-spacing: .6px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

.foot { text-align: center; color: var(--muted); font-size: 12.5px; margin: 18px 8px 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px); opacity: 0;
  background: var(--brand-dark); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-size: 14px; font-weight: 500; max-width: calc(100% - 32px); text-align: center;
  box-shadow: 0 10px 30px rgba(21, 35, 59, .25);
  transition: all .3s; pointer-events: none; z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Tablet (600px+) ===== */
@media (min-width: 600px) {
  .wrap { padding: 22px 20px 48px; }
  .card { padding: 30px 28px 8px; }
  .progress { padding: 16px 22px 14px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .field--full { grid-column: 1 / -1; }
  .docs { grid-template-columns: 1fr 1fr; }
  .docs .field:last-child { grid-column: 1 / -1; }
  .review dl { grid-template-columns: 1fr 1fr; }
  .group--boxed { padding: 20px 20px 10px; }
  .actions { margin: 26px -28px 0; padding: 16px 28px; position: static; backdrop-filter: none; background: #fff; }
  .btn--primary { flex: 0 0 auto; margin-left: auto; min-width: 220px; }
  .btn-add { width: auto; padding: 0 22px; }
  .chip { flex: 0 1 auto; min-width: 130px; }
  .toast { bottom: calc(28px + env(safe-area-inset-bottom)); }
}

/* ===== Desktop (1024px+) ===== */
@media (min-width: 1024px) {
  .step__head h2 { font-size: 24px; }
  .grid { gap: 18px 22px; }
  .terms__body { max-height: 380px; }
}

/* Small phones */
@media (max-width: 360px) {
  .chip { min-width: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Date of birth dropdowns ===== */
.dob { display: grid; grid-template-columns: 1fr 1.25fr 1.2fr; gap: 8px; }
.dob select { padding-left: 12px; padding-right: 28px; background-position: right 10px center; }
.field.has-error .dob select { border-color: var(--err); }
.field.is-valid .dob select { border-color: #86CBA0; }

/* ===== Skip link on optional steps ===== */
.step__head--row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.skip {
  flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--brand-dark);
  font-weight: 700; font-size: 13.5px; padding: 8px 14px; border-radius: 99px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.skip:hover { background: var(--brand-softer); border-color: var(--brand); }
.skip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Saved-draft banner ===== */
.draft {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: start;
  background: #fff; border: 1.5px solid var(--brand); border-radius: 16px;
  padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--shadow); animation: fadeIn .3s ease;
}
.draft__ico { width: 26px; height: 26px; fill: var(--brand); margin-top: 2px; }
.draft__text { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--muted); }
.draft__text strong { color: var(--ink); font-size: 15px; }
.draft__actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.btn--sm { min-height: 42px; font-size: 14.5px; padding: 0 16px; flex: 1; }

/* ===== Upload processing state ===== */
.upload.is-busy { opacity: .7; pointer-events: none; }

.foot { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.foot .ico { width: 15px; height: 15px; color: var(--brand); }

@media (min-width: 900px) {
  .progress__lbl { display: block; }
  .progress__dot { width: 32px; height: 32px; font-size: 13px; }
}

@media (min-width: 600px) {
  .hero { padding-top: 36px; padding-bottom: 88px; }
  .hero__sub { font-size: 15px; }
  .draft { grid-template-columns: auto 1fr auto; align-items: center; }
  .draft__actions { grid-column: auto; }
  .btn--sm { flex: 0 0 auto; }
  .progress { top: 12px; }
}

/* Phones: keep the progress line to one row */
@media (max-width: 599px) {
  .progress__next { display: none; }
  .progress__count { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Spam trap field — never visible */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
