.shell {
  --ink: #102b3e;
  --ink-deep: #071c2b;
  --paper: #f3ead9;
  --paper-light: #fbf6eb;
  --coral: #ef654f;
  --mint: #a5d5c2;
  --gold: #e9bc69;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Baskerville, Georgia, serif;
  --script: "SignPainter", "Snell Roundhand", "Apple Chancery", cursive;
  --sans: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 32%, rgba(233, 188, 105, 0.13), transparent 26rem),
    linear-gradient(90deg, rgba(16, 43, 62, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 34px 34px, auto;
  font-family: var(--sans);
}

.shell *,
.shell *::before,
.shell *::after {
  box-sizing: border-box;
}

.skipLink {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--paper-light);
  border: 2px solid currentColor;
  transform: translateY(-160%);
}

.skipLink:focus {
  transform: translateY(0);
}

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 0 clamp(24px, 5vw, 72px);
  color: white;
  background: var(--ink-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  justify-self: start;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 140px;
  height: auto;
}

.brand > span {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.32);
}

.brand .wordmark {
  width: 118px;
  height: auto;
}

.brand img.partner-mark {
  width: auto;
  height: 30px;
  opacity: 0.9;
}

/* Live-mode primary payment CTA — the focal action of the payment step. */
.payLive {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.3rem;
  min-height: 64px;
  padding: 0 24px;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--coral);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(239, 101, 79, 0.3);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
.payLive:hover:not(:disabled) { background: var(--coral-dark); }
.payLive:active:not(:disabled) { transform: translateY(1px); }
.payLive:disabled {
  background: #cbc4b6;
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.9;
}

.previewBadge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  color: var(--gold);
  border: 1px solid rgba(233, 188, 105, 0.42);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.previewBadge i {
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
}

.exit {
  justify-self: end;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.exit:hover {
  color: white;
}

.intro {
  padding: 78px max(32px, calc((100vw - 1260px) / 2)) 150px;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 82% 10%, rgba(165, 213, 194, 0.12), transparent 24rem),
    var(--ink-deep);
}

.e-eyebrow,
.kicker {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.intro h1 em {
  color: var(--coral);
  font-family: var(--script);
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.intro > p:last-child {
  max-width: 590px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
}

.safetyNotice {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  width: min(1120px, calc(100% - 48px));
  margin: -72px auto 0;
  padding: 25px 30px;
  color: var(--ink-deep);
  background: var(--gold);
  box-shadow: 0 18px 60px rgba(7, 28, 43, 0.2);
}

.safetyNotice strong {
  font-family: var(--serif);
  font-size: 1.03rem;
}

.safetyNotice span {
  font-size: 0.83rem;
  line-height: 1.6;
}

.workspace {
  display: grid;
  grid-template-columns: 270px minmax(0, 850px);
  gap: clamp(30px, 5vw, 78px);
  justify-content: center;
  width: min(1260px, calc(100% - 48px));
  margin: 78px auto 120px;
}

.progress {
  position: sticky;
  top: 24px;
  align-self: start;
}

.progress > p {
  margin: 0 0 18px;
  color: rgba(16, 43, 62, 0.56);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.progress ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress li {
  position: relative;
  min-height: 57px;
}

.progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 37px;
  bottom: 0;
  left: 16px;
  width: 1px;
  background: rgba(16, 43, 62, 0.2);
}

.progress button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 0;
  color: rgba(16, 43, 62, 0.47);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.progress button > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  background: var(--paper);
  border: 1px solid rgba(16, 43, 62, 0.28);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
}

.progress button strong {
  font-size: 0.82rem;
}

.progress .current button {
  color: var(--ink);
}

.progress .current button > span {
  color: white;
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 0 0 6px rgba(239, 101, 79, 0.12);
}

.progress .complete button {
  color: var(--ink);
}

.progress .complete button > span {
  color: var(--ink-deep);
  background: var(--mint);
  border-color: var(--mint);
}

.progressNote {
  margin-top: 32px;
  padding: 23px;
  color: var(--paper-light);
  background: var(--ink);
}

.progressNote .script {
  color: var(--coral);
  font-family: var(--script);
  font-size: 1.65rem;
}

.progressNote p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.form {
  min-width: 0;
}

.stepMeta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: rgba(16, 43, 62, 0.54);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meter {
  height: 3px;
  margin-bottom: 23px;
  overflow: hidden;
  background: rgba(16, 43, 62, 0.13);
}

.meter i {
  display: block;
  height: 100%;
  background: var(--coral);
  transition: width 280ms ease;
}

.panel {
  min-height: 650px;
  padding: clamp(30px, 5vw, 62px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    var(--paper-light);
  border: 1px solid rgba(16, 43, 62, 0.13);
  box-shadow: 0 20px 70px rgba(16, 43, 62, 0.1);
}

.panel h2 {
  max-width: 690px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.e-lead {
  max-width: 650px;
  margin: 24px 0 38px;
  color: rgba(16, 43, 62, 0.72);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
}

.choiceGroup,
.declarations {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choiceGroup legend,
.declarations legend {
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.choiceGroup label,
.declarations label {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: rgba(243, 234, 217, 0.55);
  border: 1px solid rgba(16, 43, 62, 0.15);
  cursor: pointer;
}

.choiceGroup label:hover,
.declarations label:hover {
  border-color: var(--coral);
}

.choiceGroup input,
.declarations input {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--coral);
}

.choiceGroup span,
.choiceGroup small {
  display: block;
}

.choiceGroup strong {
  font-family: var(--serif);
  font-size: 1rem;
}

.choiceGroup small {
  margin-top: 3px;
  color: rgba(16, 43, 62, 0.62);
  font-size: 0.74rem;
}

.infoCard {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 13px;
  margin-top: 24px;
  padding: 17px;
  border-left: 3px solid var(--gold);
  background: rgba(233, 188, 105, 0.16);
}

.infoCard > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
}

.infoCard p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
}

.fieldGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 20px;
}

.fieldGrid label,
.longField,
.disclosure {
  display: grid;
  gap: 8px;
}

.fieldGrid label > span,
.longField > span,
.disclosure > label {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.fieldGrid small,
.longField small,
.disclosure small {
  color: rgba(16, 43, 62, 0.53);
  font-size: 0.67rem;
  font-weight: 500;
}

.full {
  grid-column: 1 / -1;
}

.fieldGrid input,
.fieldGrid select,
.longField textarea,
.disclosure textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(16, 43, 62, 0.25);
  border-radius: 0;
  font: inherit;
}

.fieldGrid input,
.fieldGrid select {
  min-height: 51px;
  padding: 0 14px;
}

.longField textarea,
.disclosure textarea {
  padding: 15px;
  line-height: 1.65;
  resize: vertical;
}

.fieldGrid input:focus,
.fieldGrid select:focus,
.longField textarea:focus,
.disclosure textarea:focus {
  outline: 3px solid rgba(233, 188, 105, 0.65);
  outline-offset: 2px;
  border-color: var(--ink);
}

.privacyLine,
.uploadNote,
.paymentFootnote {
  margin: 27px 0 0;
  padding-top: 18px;
  color: rgba(16, 43, 62, 0.63);
  border-top: 1px solid rgba(16, 43, 62, 0.14);
  font-size: 0.75rem;
  line-height: 1.6;
}

.categoryGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.categoryGrid button {
  display: grid;
  align-content: start;
  min-height: 185px;
  padding: 20px;
  color: var(--ink);
  background: rgba(243, 234, 217, 0.45);
  border: 1px solid rgba(16, 43, 62, 0.18);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.categoryGrid button:hover {
  transform: translateY(-3px);
  border-color: var(--coral);
}

.categoryGrid button > span {
  color: var(--coral);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.categoryGrid button > strong {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.15;
}

.categoryGrid button > small {
  margin-top: 8px;
  color: rgba(16, 43, 62, 0.63);
  font-size: 0.7rem;
  line-height: 1.5;
}

.categoryGrid .categoryActive {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 12px 28px rgba(16, 43, 62, 0.14);
}

.categoryGrid .categoryActive small {
  color: rgba(255, 255, 255, 0.7);
}

.trustStrip {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px 14px;
  margin-top: 30px;
  padding: 22px;
  color: white;
  background: var(--ink);
}

.trustStrip span {
  color: var(--coral);
  font-size: 0.65rem;
  font-weight: 800;
}

.trustStrip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
}

.proofGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 31px 0 0;
  padding: 0;
  border: 0;
}

.proofGrid legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-size: 0.74rem;
  font-weight: 800;
}

.proofGrid label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px;
  background: rgba(243, 234, 217, 0.5);
  border: 1px solid rgba(16, 43, 62, 0.16);
  cursor: pointer;
}

.proofGrid input {
  width: 19px;
  height: 19px;
  accent-color: var(--coral);
}

.proofGrid span {
  font-family: var(--serif);
  font-size: 0.9rem;
}

.proofGrid .proofActive {
  background: rgba(165, 213, 194, 0.25);
  border-color: var(--ink);
}

.redactionCard {
  margin-top: 24px;
  padding: 19px 21px;
  border-left: 4px solid var(--coral);
  background: rgba(239, 101, 79, 0.08);
}

.redactionCard strong {
  font-family: var(--serif);
}

.redactionCard p {
  margin: 7px 0 0;
  color: rgba(16, 43, 62, 0.7);
  font-size: 0.76rem;
  line-height: 1.6;
}

.stateSwitcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  background: rgba(16, 43, 62, 0.08);
}

.stateSwitcher button {
  flex: 1 1 135px;
  min-height: 43px;
  padding: 8px 10px;
  color: rgba(16, 43, 62, 0.65);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
}

.stateSwitcher .stateActive {
  color: white;
  background: var(--ink);
}

.verificationCard {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: start;
  min-height: 245px;
  padding: clamp(25px, 5vw, 44px);
  color: white;
  background:
    radial-gradient(circle at 88% 12%, rgba(165, 213, 194, 0.17), transparent 17rem),
    var(--ink-deep);
}

.verificationCard > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--ink-deep);
  background: var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.6rem;
}

.verificationCard p {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.verificationCard h3 {
  max-width: 600px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.verificationCard small {
  display: block;
  max-width: 580px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.6;
}

.verificationCard.verified > span {
  background: var(--mint);
}

.verificationCard.needs-info > span,
.verificationCard.unable > span {
  color: white;
  background: var(--coral);
}

.paymentGate {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  align-items: center;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(16, 43, 62, 0.15);
}

.paymentGate > span {
  padding: 9px 12px;
  font-size: 0.64rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.gateOpen {
  color: var(--ink-deep);
  background: var(--mint);
}

.gateLocked {
  color: white;
  background: var(--coral);
}

.paymentGate p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
}

.dashboardHero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: white;
  background: var(--ink-deep);
}

.dashboardHero > div {
  min-height: 115px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.dashboardHero span,
.workspaceStatus span,
.workspaceStatus small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboardHero strong {
  display: block;
  margin-top: 16px;
  color: var(--mint);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
}

.dashboardGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.dashboardGrid article {
  display: grid;
  align-content: start;
  min-height: 190px;
  padding: 21px;
  background: rgba(243, 234, 217, 0.55);
  border: 1px solid rgba(16, 43, 62, 0.15);
}

.dashboardGrid article > span {
  color: var(--coral);
  font-size: 0.64rem;
  font-weight: 800;
}

.dashboardGrid h3 {
  margin: 17px 0 7px;
  font-family: var(--serif);
  font-size: 1.06rem;
}

.dashboardGrid p {
  margin: 0;
  color: rgba(16, 43, 62, 0.67);
  font-size: 0.74rem;
}

.dashboardGrid button {
  justify-self: start;
  align-self: end;
  margin-top: 19px;
  padding: 0 0 3px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 800;
}

.workspaceStatus {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 20px;
  align-items: center;
  margin-bottom: 25px;
  padding: 20px 23px;
  color: white;
  background: var(--ink);
}

.workspaceStatus strong {
  grid-column: 1;
  color: var(--mint);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.workspaceStatus small {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--gold);
}

.submissionFlow {
  display: grid;
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid rgba(16, 43, 62, 0.15);
}

.submissionFlow article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 43, 62, 0.15);
}

.submissionFlow span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: white;
  background: var(--coral);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
}

.submissionFlow p {
  margin: 0;
  font-size: 0.76rem;
}

.longField {
  margin-top: 28px;
}

.longField > span {
  display: flex;
  justify-content: space-between;
}

.wordCount {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0;
  color: rgba(16, 43, 62, 0.64);
  font-size: 0.72rem;
}

.wordCount strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
}

.wordCount span {
  margin-left: auto;
}

.wordCountWarning,
.wordCountWarning strong {
  color: var(--coral);
}

.handwrittenPrompt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  margin: 32px 0 6px;
  padding: 22px 25px;
  color: var(--paper-light);
  background: var(--ink);
}

.handwrittenPrompt > span {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 0.8;
}

.handwrittenPrompt p {
  margin: 0;
  color: var(--mint);
  font-family: var(--script);
  font-size: 1.45rem;
  line-height: 1.35;
}

.declarations label > span {
  font-family: var(--serif);
  font-size: 0.94rem;
  line-height: 1.55;
}

.disclosure {
  margin-top: 30px;
}

.reviewGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.reviewGrid article {
  display: grid;
  min-height: 150px;
  padding: 20px;
  background: rgba(243, 234, 217, 0.58);
  border: 1px solid rgba(16, 43, 62, 0.15);
}

.reviewGrid article > span {
  color: var(--coral);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reviewGrid article > strong {
  align-self: center;
  font-family: var(--serif);
  font-size: 1.02rem;
}

.reviewGrid button {
  justify-self: start;
  padding: 0;
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 0.69rem;
  font-weight: 800;
}

.reviewWarning {
  margin-top: 24px;
  padding: 23px;
  color: white;
  background: var(--ink);
}

.reviewWarning strong {
  color: var(--mint);
  font-family: var(--serif);
  font-size: 1.04rem;
}

.reviewWarning p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.78rem;
  line-height: 1.6;
}

.paymentCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(23px, 4vw, 39px);
  color: white;
  background:
    radial-gradient(circle at 78% 0%, rgba(165, 213, 194, 0.14), transparent 18rem),
    var(--ink-deep);
}

.paymentCard p {
  margin: 0;
  color: var(--mint);
  font-family: var(--script);
  font-size: 1.9rem;
}

.paymentCard .paymentWordmark {
  display: block;
  width: 205px;
  height: auto;
  margin-bottom: 8px;
}

.paymentCard span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.73rem;
}

.paymentCard > strong {
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
}

.paymentCard > strong small {
  color: var(--coral);
  font-size: 0.5em;
}

.paymentFacts {
  display: grid;
  gap: 0;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(16, 43, 62, 0.15);
}

.paymentFacts li {
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(16, 43, 62, 0.15);
}

.paymentFacts li > span {
  color: var(--coral);
  font-size: 0.67rem;
  font-weight: 800;
}

.paymentFacts p {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.55;
}

.disabledPay {
  width: 100%;
  min-height: 58px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(16, 43, 62, 0.68);
  border: 0;
  cursor: not-allowed;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.controls button {
  min-height: 54px;
  padding: 0 22px;
  cursor: pointer;
  white-space: nowrap;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 43, 62, 0.45);
}
.secondary:hover {
  background: #fff;
}

.primary {
  color: white;
  background: var(--coral);
  border: 1px solid var(--coral);
}

.primary:hover {
  background: #c84236;
  border-color: #c84236;
}

.pageFooter {
  display: grid;
  grid-template-columns: 190px 1fr 170px auto;
  align-items: center;
  gap: 30px;
  padding: 32px max(24px, calc((100vw - 1260px) / 2));
  color: rgba(255, 255, 255, 0.62);
  background: var(--ink-deep);
  font-size: 0.72rem;
}

.pageFooter p {
  margin: 0;
}

.pageFooter > div:first-child img {
  width: 145px;
  height: auto;
}

.pageFooter > div:first-child p {
  margin-top: 6px;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.partnerTier {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.partnerTier span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.partnerTier img {
  width: 64px;
  height: auto;
}

.pageFooter a {
  color: var(--mint);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .previewBadge {
    display: none;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .progress {
    position: static;
    overflow-x: auto;
  }

  .progress > p,
  .progressNote {
    display: none;
  }

  .progress ol {
    display: flex;
    width: max-content;
  }

  .progress li {
    min-height: auto;
  }

  .progress li:not(:last-child)::after {
    top: 16px;
    right: 0;
    bottom: auto;
    left: 32px;
    width: calc(100% - 18px);
    height: 1px;
  }

  .progress button {
    width: 135px;
  }

  .progress button strong {
    white-space: nowrap;
  }

  .pageFooter {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header {
    min-height: 72px;
    padding: 0 18px;
  }

  .brand img {
    width: 112px;
  }

  .brand .wordmark,
  .brand img.partner-mark,
  .brand > span {
    display: none;
  }

  .exit {
    font-size: 0.7rem;
  }

  .intro {
    padding: 58px 24px 118px;
  }

  .intro h1 {
    font-size: clamp(3.1rem, 16vw, 4.6rem);
  }

  .intro > p:last-child {
    margin-top: 27px;
    font-size: 1.08rem;
  }

  .safetyNotice {
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100% - 32px);
    margin-top: -70px;
    padding: 20px;
  }

  .workspace {
    width: calc(100% - 32px);
    margin-top: 51px;
    margin-bottom: 80px;
  }

  .panel {
    min-height: 0;
    padding: 27px 21px;
  }

  .panel h2 {
    font-size: 2.45rem;
  }

  .e-lead {
    margin: 19px 0 29px;
    font-size: 1rem;
  }

  .fieldGrid,
  .reviewGrid,
  .categoryGrid,
  .proofGrid,
  .dashboardGrid,
  .dashboardHero {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }

  .choiceGroup label,
  .declarations label {
    padding: 15px;
  }

  .handwrittenPrompt {
    padding: 19px;
  }

  .handwrittenPrompt p {
    font-size: 1.2rem;
  }

  .wordCount {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .wordCount span {
    width: 100%;
    margin-left: 0;
  }

  .paymentCard {
    align-items: flex-end;
  }

  .paymentGate,
  .verificationCard {
    grid-template-columns: 1fr;
  }

  .dashboardHero > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .workspaceStatus {
    grid-template-columns: 1fr;
  }

  .workspaceStatus small {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }

  .controls {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .controls button {
    width: 100%;
  }

  .pageFooter {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

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

/* ---- Mobile OTP verification (Contact step) ------------------------------- */
.otpBlock {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(16,43,62,.14);
  border-radius: 14px;
  background: rgba(16,43,62,.03);
}
.otpHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.otpHead strong { font-size: 1rem; }
.otpBadge {
  font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 999px;
  background: rgba(200,66,54,.14); color: #c84236;
}
.otpBadge.ok { background: rgba(31,140,74,.16); color: #1f8c4a; }
.otpHint { margin: .5rem 0 .9rem; font-size: .88rem; opacity: .8; }
.otpRow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.otpEntry { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.otpEntry input {
  width: 140px; padding: .7rem .8rem; font-size: 1.05rem; letter-spacing: .18em;
  border: 1px solid rgba(16,43,62,.25); border-radius: 10px; text-align: center;
}
.otpBtn {
  padding: .7rem 1.2rem; border: none; border-radius: 10px; cursor: pointer;
  background: var(--ink, #102b3e); color: #fff; font-weight: 700; font-size: .92rem;
}
.otpBtn:disabled { opacity: .5; cursor: default; }
.otpResend { background: none; border: none; color: var(--ink, #102b3e); font-weight: 700; cursor: pointer; text-decoration: underline; }
.otpResend:disabled { opacity: .45; cursor: default; text-decoration: none; }
.otpBlock.verified { border-color: rgba(31,140,74,.4); background: rgba(31,140,74,.06); }

/* ---- Per-step validation error (entry wizard) ----------------------------- */
.stepError{
  background:#f7d9d3;color:#a5311f;padding:.75rem 1rem;border-radius:12px;
  margin:0 0 1rem;font-weight:700;font-size:.95rem;line-height:1.4;
}
