:root {
  --support-bg: #070707;
  --support-surface: #101216;
  --support-surface-2: #14171c;
  --support-border: rgba(255, 255, 255, 0.12);
  --support-border-strong: rgba(255, 255, 255, 0.19);
  --support-text: #f7f4f1;
  --support-muted: #9ca2ae;
  --support-orange: #e85d32;
  --support-orange-bright: #ff7448;
  --support-danger: #ff5f57;
}

body.support-page {
  background:
    radial-gradient(circle at 15% 38%, rgba(232, 93, 50, 0.11), transparent 28rem),
    radial-gradient(circle at 85% 76%, rgba(232, 93, 50, 0.07), transparent 30rem),
    radial-gradient(circle, rgba(232, 93, 50, 0.12) 1px, transparent 1px),
    var(--support-bg);
  background-position: center, center, 0 0;
  background-size: auto, auto, 24px 24px;
  color: var(--support-text);
}

body.support-page .support-shell {
  display: block;
  width: min(calc(100% - 40px), 1040px);
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 0 0;
  text-align: left;
}

body.support-page .support-hero {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0 auto 36px;
  text-align: center;
}

body.support-page .support-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  margin-bottom: 34px;
  color: var(--support-text);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

body.support-page .support-brand-mark {
  width: 30px;
  height: 30px;
  fill: var(--support-orange-bright);
}

body.support-page .support-eyebrow {
  margin: 0;
  color: var(--support-orange-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.support-page .support-hero h1 {
  margin: 0;
  color: var(--support-text);
  font-size: clamp(2.35rem, 6vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

body.support-page .support-hero > p:last-child {
  max-width: 680px;
  margin: 4px auto 0;
  color: var(--support-muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.6;
}

body.support-page .support-workflow {
  margin: 0 0 22px;
  padding: 0;
}

body.support-page .support-workflow-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
}

body.support-page .support-workflow-heading > div,
body.support-page .notice-safety p {
  min-width: 0;
}

body.support-page .support-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(232, 93, 50, 0.25);
  border-radius: 13px;
  color: var(--support-orange-bright);
  background: rgba(232, 93, 50, 0.1);
  font-size: 1.1rem;
  font-weight: 900;
}

body.support-page .support-icon--danger {
  border-color: rgba(255, 95, 87, 0.28);
  color: #ff716b;
  background: rgba(255, 95, 87, 0.1);
}

body.support-page .support-workflow-heading h2 {
  margin: 0 0 3px;
  color: var(--support-text);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  text-align: left;
}

body.support-page .support-workflow-heading p {
  margin: 0;
  color: var(--support-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

body.support-page .support-card,
body.support-page form.support-card {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--support-border);
  border-radius: 16px;
  padding: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 48%), var(--support-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.035);
}

body.support-page .support-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  padding: clamp(22px, 4vw, 34px);
}

body.support-page .support-card .form-group {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

body.support-page .support-card .form-message,
body.support-page .good-faith-row,
body.support-page .notice-output,
body.support-page .support-actions,
body.support-page .privacy-assurance {
  grid-column: 1 / -1;
}

body.support-page .support-card .form-label {
  color: #e9e6e3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

body.support-page .support-card .form-input,
body.support-page .support-card .form-textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--support-border);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--support-text);
  background: rgba(5, 6, 8, 0.58);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.support-page .support-card .form-textarea {
  min-height: 112px;
  resize: vertical;
}

body.support-page .support-card .form-textarea--compact {
  min-height: 86px;
}

body.support-page .support-card .form-input::placeholder,
body.support-page .support-card .form-textarea::placeholder {
  color: #6f7580;
}

body.support-page .support-card .form-input:focus,
body.support-page .support-card .form-textarea:focus {
  outline: none;
  border-color: var(--support-orange);
  background: rgba(8, 9, 12, 0.88);
  box-shadow: 0 0 0 3px rgba(232, 93, 50, 0.14);
}

body.support-page .support-card [aria-invalid="true"] {
  border-color: var(--support-danger);
  box-shadow: 0 0 0 3px rgba(255, 95, 87, 0.12);
}

body.support-page .field-hint {
  color: #777e89;
  font-size: 0.74rem;
  line-height: 1.45;
}

body.support-page .privacy-assurance {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.support-page .assurance-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(232, 93, 50, 0.34);
  border-radius: 50%;
  color: var(--support-orange-bright);
  background: rgba(232, 93, 50, 0.08);
  font-weight: 900;
}

body.support-page .privacy-assurance div {
  display: grid;
  gap: 1px;
}

body.support-page .privacy-assurance strong {
  color: var(--support-text);
  font-size: 0.82rem;
}

body.support-page .privacy-assurance span:last-child {
  color: var(--support-muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

body.support-page .support-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 2px;
}

body.support-page .form-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--support-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: left;
}

body.support-page .form-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #757b84;
  box-shadow: 0 0 0 4px rgba(117, 123, 132, 0.1);
}

body.support-page .form-status[data-tone="ready"]::before {
  background: #54d99b;
  box-shadow: 0 0 0 4px rgba(84, 217, 155, 0.1);
}

body.support-page .form-status[data-tone="error"]::before {
  background: var(--support-danger);
  box-shadow: 0 0 0 4px rgba(255, 95, 87, 0.1);
}

body.support-page .button-row {
  display: flex;
  gap: 10px;
}

body.anonymate-article.support-page .support-card button.btn-submit {
  display: inline-flex;
  width: auto;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 19px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

body.anonymate-article.support-page .support-card button.btn-submit:hover {
  transform: translateY(-1px);
}

body.anonymate-article.support-page .support-card button.btn-primary {
  background: linear-gradient(135deg, var(--support-orange-bright), #d74720);
  box-shadow: 0 10px 28px rgba(232, 93, 50, 0.2);
}

body.anonymate-article.support-page .support-card button.btn-secondary {
  border-color: var(--support-border-strong);
  color: var(--support-text);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

body.support-page .notice-safety {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 28px 0;
  border: 1px solid rgba(255, 95, 87, 0.32);
  border-radius: 10px;
  padding: 11px 14px;
  color: #efcac6;
  background: rgba(104, 30, 27, 0.18);
}

body.support-page .notice-safety > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  color: #170807;
  background: var(--support-danger);
  font-size: 0.72rem;
  font-weight: 950;
}

body.support-page .notice-safety p {
  margin: 0;
  color: #d9b8b5;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: left;
}

body.support-page .notice-safety strong {
  color: #ffb0aa;
}

body.support-page .consent-check {
  display: inline-grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 0;
  border: 0;
  color: var(--support-muted);
  background: transparent;
  font-size: 0.8rem;
  line-height: 1.45;
  cursor: pointer;
}

body.support-page .consent-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

body.support-page .check-mark {
  display: grid;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  place-items: center;
  border: 1px solid #717782;
  border-radius: 4px;
  background: #090b0e;
}

body.support-page .consent-check input:checked + .check-mark {
  border-color: var(--support-orange);
  background: var(--support-orange);
}

body.support-page .consent-check input:checked + .check-mark::after {
  content: "✓";
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

body.support-page .consent-check input:focus-visible + .check-mark {
  outline: 3px solid rgba(232, 93, 50, 0.25);
  outline-offset: 2px;
}

body.support-page .notice-output {
  min-height: 170px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
}

body.support-page .support-footer {
  display: flex;
  width: min(calc(100% - 40px), 1040px);
  max-width: 1040px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px auto 0;
  border-top: 1px solid var(--support-border);
  padding: 22px 0 44px;
  color: #717782;
  font-size: 0.76rem;
}

body.support-page .support-footer nav {
  display: flex;
  gap: 18px;
}

body.support-page .support-footer a {
  color: #898f99;
  text-decoration: none;
}

body.support-page .support-footer a:hover {
  color: var(--support-text);
}

@media (max-width: 720px) {
  body.support-page .support-shell,
  body.support-page .support-footer {
    width: min(calc(100% - 28px), 1040px);
  }

  body.support-page .support-shell {
    padding-top: 20px;
  }

  body.support-page .support-brand {
    margin-bottom: 24px;
  }

  body.support-page .support-hero {
    margin-bottom: 30px;
  }

  body.support-page .support-fields {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  body.support-page .support-card .form-message,
  body.support-page .good-faith-row,
  body.support-page .notice-output,
  body.support-page .support-actions,
  body.support-page .privacy-assurance {
    grid-column: auto;
  }

  body.support-page .notice-safety {
    margin: 20px 20px 0;
  }

  body.support-page .support-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.support-page .button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.anonymate-article.support-page .support-card button.btn-submit {
    width: 100%;
  }

  body.support-page .support-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  body.support-page .support-hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.35rem);
  }

  body.support-page .support-hero > p:last-child,
  body.support-page .support-workflow-heading p,
  body.support-page .notice-safety p,
  body.support-page .privacy-assurance span:last-child {
    overflow-wrap: anywhere;
  }

  body.support-page .support-workflow-heading {
    align-items: flex-start;
  }

  body.support-page .support-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  body.support-page .button-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.support-page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
