/* Support page layout. Loaded only on /support. The contact form posts via
   scripts/forms.js to POST /v1/contact; the inline [data-status] line reports
   the result. The .sent success panel is styled for an optional richer state. */

.sup-hero { padding: 72px 0 8px; }
.sup-hero .lead { margin-top: 18px; }

/* ---- two-column: form + aside ---- */
.sup-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }

/* ---- contact form ---- */
.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 34px 36px; }
.form-card h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.form-card .fc-sub { color: var(--color-text-muted); font-size: 14.5px; margin: 8px 0 26px; line-height: 1.5; }
.fld { margin-bottom: 20px; }
.fld label { display: block; font-size: 13px; font-weight: 600; color: var(--color-text); margin-bottom: 8px; }
.fld label .opt { font-weight: 400; color: var(--color-text-subtle); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }
.fld input, .fld select, .fld textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--color-text);
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 10px;
  padding: 0 14px; height: var(--control-lg); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.fld textarea { height: auto; min-height: 132px; padding: 13px 14px; line-height: 1.55; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--color-text-subtle); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 14%, transparent); }
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23838894' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .ff-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--color-text-subtle); }
.form-foot [data-status] { font-size: 14px; color: var(--color-online); }
.btn-submit { border: none; }
.sent { display: none; text-align: center; padding: 30px 10px; }
.sent.is-on { display: block; }
.sent .chk { width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--color-online) 14%, transparent); color: var(--color-online); display: grid; place-items: center; margin: 0 auto 20px; }
.sent .chk svg { width: 30px; height: 30px; }
.sent h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.sent p { color: var(--color-text-muted); font-size: 15px; margin: 10px auto 0; max-width: 40ch; line-height: 1.55; }
.sent button { margin-top: 22px; }

/* ---- aside: channels ---- */
.aside-stack { display: grid; gap: 16px; }
.ch-card { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); padding: 22px 24px; }
.ch-card .ch-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary); margin-bottom: 14px; }
.ch-card .ch-ic svg { width: 21px; height: 21px; }
.ch-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.ch-card p { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; margin: 7px 0 0; }
.ch-card a.ch-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; font-weight: 600; font-size: 14.5px; color: var(--color-link); }
.ch-card a.ch-link svg { width: 15px; height: 15px; }
.ch-card .ch-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--color-text-subtle); margin-top: 12px; letter-spacing: 0.02em; display: flex; align-items: center; gap: 8px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--color-online); flex: none; }

/* ---- response promise band ---- */
.promise { background: var(--color-bg-deep); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.promise-item .pi-k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary); }
.promise-item .pi-v { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.01em; margin: 8px 0 6px; }
.promise-item .pi-d { color: var(--color-text-muted); font-size: 14.5px; line-height: 1.55; max-width: 34ch; }

/* ---- before-you-write strip ---- */
.bef { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.bef h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.01em; }
.bef p { color: var(--color-text-muted); font-size: 15px; margin: 9px 0 0; max-width: 48ch; }
.bef-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .sup-grid { grid-template-columns: 1fr; gap: 28px; }
  .fld-row { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; gap: 22px; }
}
