/* ============================================================
   The talk form — machinery styles shared by every page that
   renders it (the contact page and S1's closing section). The
   behaviour lives in contact.js; the page supplies the markup.
   Page LAYOUT around the form stays in each page's own sheet.
   ============================================================ */
@keyframes rmc-pop { 0% { transform: scale(0.82); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes rmc-up { 0% { transform: translateY(9px); } 100% { transform: translateY(0); } }
.rmc-field { display: flex; flex-direction: column; gap: 6px; }
.rmc-label {
  font-family: var(--font-sans);
  font-size: var(--text-small);      /* 13px */
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}
.rmc-req { color: var(--brand-400); }
.rmc-input,
.rmc-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);    /* 14px */
  line-height: 20px;
  font-weight: 400;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
  transition: all 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.rmc-textarea { resize: vertical; min-height: 100px; }
.rmc-input::placeholder,
.rmc-textarea::placeholder { color: rgba(255,255,255,0.35); font-weight: 400; }
.rmc-input:focus, .rmc-textarea:focus,
.rmc-input:not(:placeholder-shown), .rmc-textarea:not(:placeholder-shown) { font-weight: 500; }
.rmc-input:focus,
.rmc-textarea:focus {
  background: #fff;
  color: var(--gray-900);
  border: 1px solid var(--brand-500);
  box-shadow: var(--focus-ring);
}
.rmc-input:focus::placeholder,
.rmc-textarea:focus::placeholder { color: var(--gray-400); }
.rmc-input.rmc-bad,
.rmc-textarea.rmc-bad {
  border: 1px solid var(--error-500);
  box-shadow: var(--focus-ring-error);
}
.rmc-seg { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.rmc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.rmc-seg label {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-sans);
  font-size: var(--text-small);      /* 13px */
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.rmc-seg input:checked + label {
  background: rgba(10,117,115,0.15);
  border: 1px solid var(--brand-500);
  color: var(--brand-300);
}
.rmc-seg input:focus-visible + label {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}
.rmc-formerror { font-size: var(--text-micro); color: var(--error-500); margin: 0; }
.rmc-sent { display: none; }
.rmc-done .rmc-sent { display: block; }
.rmc-done .rmc-formwrap { display: none; }
.rmc-failed { display: none; }
.rmc-error .rmc-failed { display: block; }
.rmc-error .rmc-formwrap { display: none; }
.rmc-error .rmc-sent { display: none; }
/* While a message is sending the button reads as off: faded, no lift, no
   pointer (Bobby, 2026-10-01: "button loading state should be visually
   disabled"). contact.js sets `disabled` and aria-busy for the round trip. */
#rmc-form button[type="submit"]:disabled {
  opacity: .5; cursor: progress; box-shadow: none; transform: none; filter: saturate(.6);
}

/* A pointer to the market pages, sitting between the bullets and the
   partner chips: the question "what does this look like where I operate?"
   has a page that answers it. */
.rmc-marketnote {
  font-size: 13.5px; line-height: 1.6;
  color: rgba(233, 228, 218, 0.55);
  margin: 26px 0 0;
}
.rmc-marketnote a {
  color: var(--color-arrived-lift-soft); font-weight: 700;
  text-decoration: none; border-bottom: 1px solid rgba(19, 166, 160, 0.45);
}
.rmc-marketnote a:hover { color: #fff; border-bottom-color: currentColor; }
