:root {
  color-scheme: light;
  --support-bg: #f6f4f7;
  --support-surface: #ffffff;
  --support-tint: #f1edf3;
  --support-text: #211727;
  --support-muted: #6f6374;
  --support-line: #ded7e2;
  --support-teal: #00746f;
  --support-on-teal: #ffffff;
  --support-soft-teal: #e8f5f3;
  --support-error: #a72d47;
  --support-error-bg: #fff1f3;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --support-bg: #150919;
  --support-surface: #271430;
  --support-tint: #311b3a;
  --support-text: #fff8fb;
  --support-muted: #d7b9cf;
  --support-line: #51305e;
  --support-teal: #22d3c5;
  --support-on-teal: #102c2a;
  --support-soft-teal: #163c3b;
  --support-error: #ff9ab2;
  --support-error-bg: #411e32;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; background: var(--support-bg); color: var(--support-text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--support-teal); outline-offset: 4px; }
.sr-only, .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 5; top: 8px; left: 12px; padding: 10px 16px; background: var(--support-surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.support-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px max(24px, calc((100vw - 1120px) / 2)); background: var(--support-surface); border-bottom: 1px solid var(--support-line); }
.support-brand { display: flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.support-brand img { flex: 0 0 44px; object-fit: contain; }
.support-brand strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.2; }
.support-brand small { display: block; margin-top: 4px; color: var(--support-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.theme-button { flex: 0 0 auto; min-height: 40px; padding: 6px 12px; border: 1px solid var(--support-line); border-radius: 6px; color: var(--support-text); background: var(--support-surface); font-size: 12px; font-weight: 700; }
.support-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 56px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--support-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--support-teal); }
.support-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.35fr); gap: clamp(36px, 6vw, 84px); align-items: start; margin-top: 28px; }
.support-intro { padding-top: 7px; }
.eyebrow { margin: 0 0 12px; color: var(--support-teal); font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(32px, 3.7vw, 44px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; }
.intro-copy { margin: 20px 0 0; max-width: 350px; color: var(--support-muted); font-size: 15px; line-height: 1.75; }
.support-next { margin-top: 36px; }
.support-next h2, .email-option h2 { margin: 0; font-size: 14px; letter-spacing: -.01em; }
.support-next ol { list-style: none; display: grid; gap: 22px; margin: 20px 0 0; padding: 0; }
.support-next li { display: flex; align-items: flex-start; gap: 13px; }
.support-next li > span { display: grid; place-items: center; flex: 0 0 27px; height: 27px; margin-top: 1px; border: 1px solid var(--support-line); border-radius: 50%; background: var(--support-surface); font-size: 11px; font-weight: 800; }
.support-next strong { display: block; font-size: 13px; font-weight: 700; }
.support-next p { margin: 4px 0 0; color: var(--support-muted); font-size: 12px; line-height: 1.65; }
.email-option { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--support-line); }
.email-option p { margin: 8px 0 12px; color: var(--support-muted); font-size: 12px; }
.email-option a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; color: var(--support-teal); font-size: 13px; font-weight: 700; }
.email-option small { display: block; margin-top: 2px; color: var(--support-muted); overflow-wrap: anywhere; font-size: 11px; }
.report-card { min-width: 0; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--support-line); border-radius: 12px; background: var(--support-surface); box-shadow: 0 8px 28px rgba(35, 17, 44, .025); }
.report-card-heading { margin-bottom: 26px; }
.report-card-heading h2 { margin: 0; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.report-card-heading p { margin: 7px 0 0; color: var(--support-muted); font-size: 12px; }
#reportForm { display: grid; gap: 21px; }
#reportForm label { display: block; min-width: 0; font-size: 12px; font-weight: 700; }
.optional { color: var(--support-muted); font-weight: 400; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#reportForm input:not([type="hidden"]), #reportForm select, #reportForm textarea { display: block; width: 100%; min-height: 46px; margin-top: 8px; padding: 11px 12px; border: 1px solid var(--support-line); border-radius: 6px; color: var(--support-text); background: var(--support-surface); font-size: 16px; line-height: 1.45; font-weight: 400; }
#reportForm input::placeholder, #reportForm textarea::placeholder { color: var(--support-muted); opacity: .88; }
#reportForm textarea { min-height: 155px; resize: vertical; }
#reportForm select { padding-right: 26px; }
.field-hint { margin: 0; color: var(--support-muted); font-size: 11px; line-height: 1.6; }
.contact-hint { margin-top: -11px; }
.description-details { display: flex; align-items: flex-start; gap: 16px; margin-top: -12px; }
.description-details .field-hint { flex: 1; }
#descriptionCount { flex: 0 0 auto; margin-top: 1px; color: var(--support-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.submit-button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--support-teal); border-radius: 6px; color: var(--support-on-teal); background: var(--support-teal); font-size: 13px; font-weight: 700; text-decoration: none; }
.submit-button:not(:disabled):hover { filter: brightness(.94); }
.submit-button > span:last-child:not(:first-child) { font-size: 19px; line-height: 1; }
.submit-note { margin: -11px 0 0; color: var(--support-muted); font-size: 10px; text-align: center; }
.form-notice, .form-error { margin: 0 0 20px; padding: 12px 14px; border: 1px solid var(--support-line); border-radius: 6px; background: var(--support-tint); font-size: 12px; }
.form-error { margin: 0; color: var(--support-error); background: var(--support-error-bg); border-color: var(--support-error); }
.form-error a { display: inline-block; margin-top: 8px; font-weight: 700; }
.receipt-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 25px; border-radius: 50%; background: var(--support-soft-teal); color: var(--support-teal); font-size: 26px; }
.report-receipt h2 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.report-receipt > p:not(.eyebrow) { color: var(--support-muted); font-size: 13px; line-height: 1.7; }
.ticket-reference { display: grid; gap: 8px; margin-top: 25px; padding: 18px; border: 1px solid var(--support-line); border-radius: 8px; background: var(--support-tint); }
.ticket-reference > span { color: var(--support-muted); font-size: 11px; }
.ticket-reference > strong { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.ticket-details { margin: 23px 0 0; }
.ticket-details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--support-line); font-size: 12px; }
.ticket-details dt { color: var(--support-muted); }
.ticket-details dd { margin: 0; font-weight: 600; text-align: right; }
.report-receipt > p.receipt-note { margin: 20px 0 28px; font-size: 11px; }
.receipt-actions { display: grid; gap: 12px; }
.text-button { min-height: 42px; padding: 8px; border: 0; color: var(--support-teal); background: transparent; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.support-footer { display: flex; justify-content: space-between; gap: 18px; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0 30px; border-top: 1px solid var(--support-line); color: var(--support-muted); font-size: 11px; }

@media (max-width: 760px) {
  .support-header { padding: 12px 20px; min-height: 72px; }
  .support-main { width: min(580px, calc(100% - 40px)); padding: 16px 0 38px; }
  .support-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; margin-top: 18px; }
  .support-intro { display: contents; }
  .support-intro > .eyebrow { margin-bottom: -16px; }
  h1 { font-size: 34px; }
  h1 br { display: none; }
  .intro-copy { max-width: none; margin: -9px 0 0; font-size: 14px; line-height: 1.7; }
  .support-next { display: none; }
  .email-option { grid-row: 5; margin: 0; padding: 0 3px; border: 0; }
  .report-card { grid-row: 4; padding: 24px 20px; }
  .support-footer { width: calc(100% - 40px); }
}

@media (max-width: 420px) {
  .support-brand strong { max-width: 145px; font-size: 14px; }
  .support-brand { gap: 8px; }
  .support-brand img { flex-basis: 38px; width: 38px; height: 38px; }
  .theme-button { padding: 6px 9px; font-size: 11px; }
  .support-main { width: calc(100% - 32px); }
  .report-card { padding: 22px 17px; }
  .field-pair { grid-template-columns: 1fr; gap: 19px; }
  .description-details { gap: 10px; }
  h1 { font-size: 30px; }
  .ticket-details > div { gap: 12px; }
}
