/* Contact, support and feedback pages (ridgewill-site#10). The home page's
   blue ground and footer, with a white document card for the forms. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: 'Public Sans', -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #1E4FD0 0%, #2B63E8 55%, #3D78F0 100%);
  background-attachment: fixed; color: #fff;
}
.mono { font-family: 'IBM Plex Mono', monospace; }
[hidden] { display: none !important; }

nav { display: flex; align-items: center; padding: 32px 48px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo span { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }

main { flex: 1; padding: 12px 24px 60px; }

.card {
  max-width: 720px; margin: 0 auto; background: #fff; color: #16233d;
  border-radius: 14px; padding: 48px 52px 44px; box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  font-size: 15.5px; line-height: 1.6;
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #6a7791; margin-bottom: 14px;
}
.card h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.card h2 { font-size: 17px; font-weight: 700; border-top: 1px solid #e4e8f0; padding-top: 18px; margin: 30px 0 14px; }
.card p { margin-bottom: 14px; }
.lead { color: #4f5d75; }
.muted { color: #6a7791; font-size: 14px; }
.card a { color: #2B63E8; font-weight: 600; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 28px; }
.choice {
  display: block; border: 1px solid #dfe4ee; border-radius: 12px; padding: 22px 22px 20px;
  color: #16233d !important; position: relative; transition: border-color .15s, box-shadow .15s;
}
.choice:hover { border-color: #2B63E8; box-shadow: 0 6px 20px rgba(43,99,232,0.12); text-decoration: none !important; }
.choice .ico { width: 38px; height: 38px; border-radius: 10px; background: #eef3ff; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.choice.alt .ico { background: #e6faf8; }
.choice h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.choice p { font-size: 14px; color: #4f5d75; line-height: 1.5; margin: 0; font-weight: 400; }
.choice .go { position: absolute; top: 22px; right: 20px; color: #2B63E8; font-weight: 700; }
.signin-note {
  border-top: 1px solid #e4e8f0; padding-top: 18px; font-size: 14px; color: #6a7791;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.signin-note span { flex: 1 1 auto; max-width: 30rem; }
.signin-note a { flex: none; white-space: nowrap; }

.field { margin-bottom: 22px; }
.field > label, .field > .lbl, fieldset legend { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
fieldset { border: 0; }
.tag { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #6a7791; font-weight: 400; }
.tag.req { color: #2B63E8; }
.hint { font-size: 13px; color: #6a7791; margin-top: 7px; line-height: 1.5; }
.in {
  width: 100%; font: inherit; font-size: 15px; color: #16233d; background: #fff;
  border: 1px solid #cfd6e3; border-radius: 8px; padding: 11px 13px; line-height: 1.4;
}
.in:focus { outline: none; border-color: #2B63E8; box-shadow: 0 0 0 3px rgba(43,99,232,0.18); }
textarea.in { min-height: 150px; resize: vertical; }
/* The site's dropdown (support-forms.js customSelect), over a hidden <select>. */
.dd { position: relative; }
.dd-button { text-align: left; cursor: pointer; padding-right: 40px; position: relative; min-height: 45px; }
.dd-button::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid #4f5d75; border-bottom: 2px solid #4f5d75; transform: translateY(-70%) rotate(45deg);
}
.dd-button[aria-expanded="true"]::after { transform: translateY(-20%) rotate(225deg); }
.dd-button.placeholder { color: #9aa5ba; }
.dd-button:disabled { background: #f6f8fb; color: #9aa5ba; cursor: default; }
.dd-list {
  position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 6px); list-style: none;
  background: #fff; border: 1px solid #cfd6e3; border-radius: 10px; padding: 6px;
  box-shadow: 0 12px 32px rgba(16,22,38,0.16); max-height: 280px; overflow-y: auto;
}
.dd-list li { padding: 9px 12px; border-radius: 6px; font-size: 15px; color: #16233d; cursor: pointer; }
.dd-list li.active { background: #eef3ff; }
.dd-list li[aria-selected="true"] { font-weight: 600; color: #2B63E8; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.counter { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-size: 13px; color: #6a7791; }
.counter .mono { font-size: 11px; letter-spacing: 0.06em; white-space: nowrap; }

.field.err .in { border-color: #c62828; box-shadow: 0 0 0 3px rgba(198,40,40,0.12); }
.errmsg { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: 13px; color: #b71c1c; font-weight: 500; }
.problem { background: #fdecec; border-left: 3px solid #c62828; border-radius: 0 8px 8px 0; padding: 12px 16px; font-size: 14px; color: #8e1b1b; margin: 0 0 18px; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: #4f5d75; line-height: 1.5; font-weight: 400 !important; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #2B63E8; flex: none; }
.check input:disabled + span { opacity: .55; }

.turnstile { margin: 26px 0 26px; min-height: 65px; }

.actions { display: flex; align-items: center; gap: 18px; border-top: 1px solid #e4e8f0; padding-top: 24px; margin-top: 8px; flex-wrap: wrap; }
.btn {
  display: inline-block; font: inherit; font-size: 15px; font-weight: 700; color: #fff !important; background: #2B63E8;
  border: 0; border-radius: 8px; padding: 12px 22px; cursor: pointer; text-decoration: none !important;
}
.btn:hover { background: #1E4FD0; }
.btn:disabled { background: #9aa5ba; cursor: default; }
.btn.ghost { background: #fff; color: #2B63E8 !important; border: 1px solid #cfd6e3; }
.btn.ghost:hover { background: #f3f6fc; }
.actions .muted { margin-left: auto; text-align: right; }

.callout { background: #f3f6fc; border-left: 3px solid #2B63E8; border-radius: 0 8px 8px 0; padding: 14px 18px; font-size: 14px; color: #4f5d75; margin: 6px 0 26px; }
.callout b { color: #16233d; }
.callout p { margin: 0; }

.attach { border: 1.5px dashed #cfd6e3; border-radius: 8px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.attach input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.attach .btn.ghost { padding: 8px 14px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: #eef3ff; border: 1px solid #c9d8fb; border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 13px; color: #16233d; }
.chip .sz { color: #6a7791; }
.chip button { width: 20px; height: 20px; border-radius: 50%; border: 0; background: #d7e2fb; color: #2B63E8; font-weight: 700; font-size: 12px; cursor: pointer; }

.okmark { width: 52px; height: 52px; border-radius: 50%; background: #e6faf8; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
/* Centred in the card, with its own Copy button (Jon, 2026-10-12). */
.ref { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 12px; margin: 6px auto 0; background: #f3f6fc; border: 1px solid #dfe4ee; border-radius: 8px; padding: 8px 8px 8px 16px; }
.ref-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; margin-left: 4px; font: inherit; font-size: 14px; font-weight: 600; color: #2B63E8; background: #fff; border: 1px solid #cfd6e3; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.ref-copy:hover { background: #eef3fe; }
.ref-copy:focus-visible { outline: 2px solid #2B63E8; outline-offset: 2px; }
.ref-copy .i-done, .ref-copy.copied .i-copy { display: none; }
.ref-copy.copied .i-done { display: inline; }
.ref-copy.copied { color: #0e8a7d; border-color: #9fdcd4; background: #effaf8; }
.ref-status { min-height: 18px; margin: 6px 0 16px; text-align: center; font-size: 13px; color: #6a7791; }
.ref .mono { font-size: 20px; font-weight: 500; letter-spacing: 0.04em; color: #16233d; }
.steps { list-style: none; counter-reset: s; margin: 0 0 8px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; margin-bottom: 14px; }
.steps li > div { min-width: 0; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: #eef3ff; color: #2B63E8; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: #4f5d75; font-size: 14.5px; }

footer { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 28px 48px; }
footer p { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); text-align: center; }
footer a { color: rgba(255,255,255,0.55); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.22); }

@media (max-width: 640px) {
  nav { padding: 24px 20px; }
  main { padding: 8px 16px 40px; }
  .card { padding: 32px 22px 30px; }
  .card h1 { font-size: 28px; }
  .choices, .row { grid-template-columns: 1fr; }
  .signin-note { flex-direction: column; align-items: flex-start; }
  .ref { width: 100%; flex-wrap: wrap; justify-content: center; padding: 12px; }
  .ref-copy { flex: 1 1 100%; justify-content: center; min-height: 44px; margin-left: 0; }
  .actions .muted { margin-left: 0; text-align: left; }
  footer { padding: 24px 20px; }
}
