/* ── Contact page ──────────────────────────────────────────────────────── */
.ct-section { padding: 88px 0 96px; }
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.ct-intro h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.06;
  color: var(--ink-900);
  margin: 14px 0 14px;
  text-wrap: balance;
}
.ct-intro p { margin: 0 0 26px; font-size: 16px; color: var(--ink-600); line-height: 1.6; max-width: 420px; }

.ct-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ct-info li { display: flex; align-items: flex-start; gap: 13px; }
.ct-info-ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-700);
  border: 1px solid var(--blue-100);
}
.ct-info strong { display: block; font-size: 13.5px; color: var(--ink-900); margin-bottom: 2px; }
.ct-info a, .ct-info span { font-size: 14px; color: var(--ink-600); }
.ct-info a { color: var(--blue-700); font-weight: 600; }
.ct-info a:hover { color: var(--blue-600); }

/* ── Form card ─────────────────────────────────────────────────────────── */
.ct-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.95);
}
.ct-form { display: grid; gap: 16px; }
.ct-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: grid; gap: 6px; }
.ct-field > span { font-size: 13px; font-weight: 600; color: var(--ink-800); }
.ct-field input,
.ct-field textarea {
  width: 100%;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink-900);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 11px 13px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ct-field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.ct-field input:focus,
.ct-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-500) 16%, transparent);
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--ink-400); }

/* Honeypot: off-screen, never shown to humans. */
.ct-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ct-submit { width: 100%; justify-content: center; margin-top: 4px; }
.ct-spinner { display: none; animation: ct-spin .8s linear infinite; }
.ct-form.is-sending .ct-submit { opacity: .8; pointer-events: none; }
.ct-form.is-sending .ct-spinner { display: inline-block; }
@keyframes ct-spin { to { transform: rotate(360deg); } }

.ct-consent { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-500); }
.ct-consent a { color: var(--blue-700); font-weight: 600; }
.ct-consent a:hover { color: var(--blue-600); }

.ct-status { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; min-height: 1px; }
.ct-status--error { color: #b42318; }
.ct-status--success { color: var(--green); font-weight: 600; }

/* When sent, fade the form fields and keep the success note visible. */
.ct-form.is-sent .ct-field,
.ct-form.is-sent .ct-submit,
.ct-form.is-sent .cf-turnstile { opacity: .45; pointer-events: none; }

@media (max-width: 860px) {
  .ct-grid { grid-template-columns: 1fr; gap: 32px; max-width: 540px; }
  .ct-intro h1 { font-size: 32px; }
}
@media (max-width: 520px) {
  .ct-row--split { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-spinner { animation: none; }
}

/* ── Account "Support" panel (reuses .ct-form) ─────────────────────────── */
.ds-support-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 30px; align-items: start; }
.ds-support-new h3, .ds-support-history h3 { font-size: 16px; font-weight: 650; color: var(--ink-900); margin: 0 0 6px; }
.ds-support-lead { font-size: 13.5px; color: var(--ink-600); margin: 0 0 16px; line-height: 1.5; }
.ds-ticket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ds-ticket { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--rad); background: #fff; box-shadow: var(--shadow-sm); }
.ds-ticket-subj { font-size: 13.5px; font-weight: 600; color: var(--ink-900); }
.ds-ticket-meta { font-size: 12px; color: var(--ink-500); display: inline-flex; align-items: center; gap: 8px; }
.ds-ticket-status { display: inline-flex; align-items: center; height: 19px; padding: 0 8px; border-radius: 99px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ds-ticket-status--open { color: var(--blue-700); background: var(--blue-50); }
.ds-ticket-status--pending { color: #b54708; background: #fff7ed; }
.ds-ticket-status--resolved, .ds-ticket-status--closed { color: var(--green); background: #ecfdf3; }
.ds-ticket-empty { font-size: 13.5px; color: var(--ink-500); padding: 14px; border: 1px dashed var(--line); border-radius: var(--rad); }
@media (max-width: 760px) { .ds-support-grid { grid-template-columns: 1fr; } }
