:root {
  color-scheme: light;
  --support-ink: #15191e;
  --support-muted: #68707a;
  --support-line: #dfe3e7;
  --support-soft: #f4f6f7;
  --support-accent: #111418;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eef1f2;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--support-ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, #eef1f2, #e4e8ea);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
}

.support-topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(21, 25, 30, 0.1);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.support-brand {
  font-weight: 900;
  text-decoration: none;
}

.support-topnav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.support-topnav a {
  color: #525962;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.support-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.support-hero {
  max-width: 720px;
  margin-bottom: 30px;
}

.support-kicker {
  margin: 0 0 10px;
  color: #737b85;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.support-lead {
  margin: 18px 0 0;
  color: var(--support-muted);
  font-size: 16px;
  line-height: 1.8;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.support-card {
  padding: 26px;
  border: 1px solid rgba(21, 25, 30, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 56px rgba(36, 44, 52, 0.1);
}

.support-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.support-history {
  margin-top: 22px;
}

.support-history-empty {
  margin: 0;
  color: var(--support-muted);
}

.support-history-list {
  display: grid;
  gap: 12px;
}

.support-history-item {
  padding: 16px;
  border: 1px solid var(--support-line);
  border-radius: 14px;
  background: var(--support-soft);
}

.support-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-history-head span {
  color: #315c44;
  font-size: 12px;
  font-weight: 900;
}

.support-history-item p {
  margin: 10px 0;
  color: #40474f;
  line-height: 1.65;
}

.support-history-item small {
  color: var(--support-muted);
}

.support-history-reply {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  line-height: 1.6;
}

.support-card-intro {
  margin: 0 0 22px;
  color: var(--support-muted);
  font-size: 14px;
  line-height: 1.7;
}

.support-form {
  display: grid;
  gap: 17px;
}

.support-field {
  display: grid;
  gap: 8px;
}

.support-field > span {
  font-size: 13px;
  font-weight: 800;
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  border: 1px solid #cfd5da;
  border-radius: 11px;
  color: #171b20;
  background: #ffffff;
  font: inherit;
  font-size: 14px;
}

.support-field input,
.support-field select {
  min-height: 46px;
  padding: 0 13px;
}

.support-field textarea {
  min-height: 170px;
  resize: vertical;
  padding: 13px;
  line-height: 1.65;
}

.support-field input[readonly] {
  color: #69717a;
  background: #f5f6f7;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: #20252b;
  outline: 3px solid rgba(32, 37, 43, 0.12);
}

.support-form-note {
  margin: -6px 0 0;
  color: #747c85;
  font-size: 12px;
  line-height: 1.6;
}

.support-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-submit-status {
  min-height: 20px;
  margin: -4px 0 0;
  color: #68707a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.support-submit-status.is-success {
  color: #25633f;
}

.support-submit-status.is-error {
  color: #a3382e;
}

.support-submit {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--support-accent);
  border-radius: 11px;
  color: #ffffff;
  background: var(--support-accent);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.support-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.support-email-box {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--support-line);
  border-radius: 14px;
  background: var(--support-soft);
}

.support-email-box span {
  color: var(--support-muted);
  font-size: 12px;
  font-weight: 700;
}

.support-email-box a {
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.support-secondary-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 9px;
  border: 1px solid #cfd5da;
  border-radius: 10px;
  color: #272c32;
  background: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.support-facts {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.support-fact {
  padding-top: 15px;
  border-top: 1px solid var(--support-line);
}

.support-fact strong,
.support-fact span {
  display: block;
}

.support-fact strong {
  margin-bottom: 5px;
  font-size: 13px;
}

.support-fact span {
  color: var(--support-muted);
  font-size: 12px;
  line-height: 1.6;
}

.support-copy-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: #25633f;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .support-topbar {
    min-height: 60px;
    padding: 0 16px;
  }

  .support-topnav a:not(:last-child) {
    display: none;
  }

  .support-shell {
    padding: 38px 0 52px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    padding: 20px;
    border-radius: 17px;
  }
}
