/* Contact, support and feedback pages (ridgewill-site#10). The home page's
   blue ground and footer, with a white document card for the forms. */
/* Contact, support and feedback pages (ridgewill-site#10), in the site's
   frame (assets/site/chrome.css): the bar, a band of the home sky that
   carries the page's title, then a white page with the form in a left column
   and a short aside on the right. Tokens are /legal's own. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
::selection { background: #cdeffb; color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.page {
  flex: 1 0 auto; width: 100%; max-width: 1200px; margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 32px) clamp(64px, 8vw, 104px);
  display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start;
}
.page:focus { outline: none; }
/* The form or its confirmation: the old white card, now the page itself. */
.card { font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.card h2 { font-size: 17px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 18px; margin: 30px 0 14px; }
.card > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.card .sent-title { border: 0; padding: 0; margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.card p { margin-bottom: 14px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.lead { color: var(--ink-2); }
.muted { color: var(--ink-3); font-size: 14px; }
.card a, .aside a:not(.btn) { color: var(--blue-700); font-weight: 600; text-decoration: none; }
.card a:hover, .aside a:not(.btn):hover { text-decoration: underline; }

/* The aside: what signing in changes, and who is signed in. */
.aside { position: sticky; top: 96px; border-left: 1px solid var(--line); padding-left: 24px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.aside h2 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--ink); }
.aside p { margin: 0 0 16px; }
.aside .who { display: flex; gap: 12px; align-items: center; margin: 14px 0 12px; }
.aside .who .rw-avatar { width: 44px; height: 44px; font-size: 18px; }
.aside .who b { display: block; color: var(--ink); }
.aside .who div span { display: block; font-size: 14px; color: var(--ink-3); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 28px; }
.choice {
  display: block; border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 20px;
  color: var(--ink) !important; position: relative; transition: border-color .15s, box-shadow .15s;
}
.choice:hover { border-color: var(--blue-600); 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; }
.card .choice h2 { border: 0; padding: 0; margin: 0 0 6px; }
.choice h2, .choice h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.choice p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; font-weight: 400; }
.choice .go { position: absolute; top: 22px; right: 20px; color: var(--blue-600); font-weight: 700; }

.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: var(--ink-3); font-weight: 400; }
.tag.req { color: var(--blue-600); }
.hint { font-size: 13px; color: var(--ink-3); margin-top: 7px; line-height: 1.5; }
.in {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 13px; line-height: 1.4;
}
.in:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(43,99,232,0.18); }
textarea.in { min-height: 150px; resize: vertical; }
/* Signed in: the account's email, shown instead of asked for. */
.ro { display: flex; justify-content: space-between; align-items: center; gap: 6px 12px; flex-wrap: wrap; min-height: 45px; border: 1px solid var(--line); border-radius: 8px; background: var(--wash); padding: 10px 13px; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.ro a { font-size: 14px; }
/* 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 var(--ink-2); border-bottom: 2px solid var(--ink-2); 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 var(--line-2); 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: var(--ink); cursor: pointer; }
.dd-list li.active { background: #eef3ff; }
.dd-list li[aria-selected="true"] { font-weight: 600; color: var(--blue-600); }
.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: var(--ink-3); }
.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: var(--ink-2); line-height: 1.5; font-weight: 400 !important; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-600); 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 var(--line); 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: var(--blue-600);
  border: 0; border-radius: 8px; padding: 12px 22px; cursor: pointer; text-decoration: none !important;
}
.btn:hover { background: var(--blue-700); }
.btn:disabled { background: #9aa5ba; cursor: default; }
.btn.ghost { background: #fff; color: var(--blue-600) !important; border: 1px solid var(--line-2); }
.btn.ghost:hover { background: var(--wash); }
.actions .muted { margin-left: auto; text-align: right; }

.callout { background: var(--wash); border-left: 3px solid var(--blue-600); border-radius: 0 8px 8px 0; padding: 14px 18px; font-size: 14px; color: var(--ink-2); margin: 6px 0 26px; }
.callout b { color: var(--ink); }
.callout p { margin: 0; }

.attach { border: 1.5px dashed var(--line-2); 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: var(--ink); }
.chip .sz { color: var(--ink-3); }
.chip button { width: 20px; height: 20px; border-radius: 50%; border: 0; background: #d7e2fb; color: var(--blue-600); 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: var(--wash); border: 1px solid var(--line); 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: var(--blue-600); background: #fff; border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; white-space: nowrap; }
.ref-copy:hover { background: #eef3fe; }
.ref-copy:focus-visible { outline: 2px solid var(--blue-600); 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: var(--ink-3); }
.ref .mono { font-size: 20px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); }
.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: var(--blue-600); 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: var(--ink-2); font-size: 14.5px; }

@media (max-width: 860px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
}
@media (max-width: 640px) {
  .choices, .row { grid-template-columns: 1fr; }
  .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; }
}
