:root {
  --blue: #1296db;
  --blue-dark: #0b82c2;
  --blue-soft: #eaf6ff;
  --text: #292929;
  --muted: #777;
  --line: #d8d8d8;
  --error: #d93025;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #dcecff; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #dcecff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
textarea { font: inherit; }

button { -webkit-tap-highlight-color: transparent; }

[hidden] { display: none !important; }

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(180deg, #0b55a0 0 72px, transparent 72px),
    linear-gradient(135deg, #cde7ff 0%, #f4f9ff 52%, #b9d7f3 100%);
}

.page-backdrop::after {
  position: absolute;
  right: -16vw;
  bottom: -24vw;
  width: 56vw;
  height: 56vw;
  min-width: 300px;
  min-height: 300px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 68%);
}

.backdrop-orb {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 50%;
}

.backdrop-orb-one { top: 10%; left: -160px; width: 420px; height: 420px; }
.backdrop-orb-two { right: 8%; top: 4%; width: 170px; height: 170px; border-color: rgba(18, 150, 219, .18); }

.contact-card {
  width: min(840px, calc(100% - 16px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 52px 40px 58px;
  background: rgba(255, 255, 255, .985);
  border: 1px solid rgba(205, 205, 205, .92);
  border-top: 0;
  box-shadow: 0 14px 35px rgba(42, 87, 132, .14);
}

.card-header { margin: 0 0 50px; text-align: center; }

.card-header h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(34px, 5.1vw, 54px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
}

.wechat-panel { margin: 0; }

.intro-copy,
.business-line {
  margin: 0;
  font-size: clamp(23px, 3.2vw, 31px);
  line-height: 1.55;
}

.wechat-line { margin: 0 0 2px; line-height: 1.15; }

.business-line { margin-top: 3px; }

.wechat-id {
  display: inline-block;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: clamp(37px, 5.4vw, 51px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.22;
  text-align: left;
  cursor: pointer;
}

.business-id { font-size: clamp(35px, 5vw, 48px); }

.copy-id:hover { color: var(--blue-dark); }

.copy-id:focus-visible {
  outline: 3px solid rgba(18, 150, 219, .28);
  outline-offset: 5px;
  border-radius: 5px;
}

.copy-hint {
  margin: 9px 0 0;
  color: #9a9a9a;
  font-size: 13px;
}

.dashed-divider {
  margin: 52px 0 43px;
  border-top: 2px dashed #cfcfcf;
}

.feedback-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-fieldset legend {
  width: 100%;
  margin: 0 0 25px;
  padding: 0;
  color: var(--text);
  font-size: clamp(21px, 3vw, 29px);
  font-weight: 400;
  line-height: 1.72;
}

.required-star {
  display: inline-block;
  margin-right: 3px;
  color: var(--error);
  font-size: 1.05em;
  vertical-align: baseline;
}

.question-number { margin-right: 2px; }

#feedback {
  display: block;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 14px 15px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  outline: none;
  color: var(--text);
  background: #fff;
  font-size: 18px;
  line-height: 1.6;
  transition: border-color .18s ease, box-shadow .18s ease;
}

#feedback::placeholder { color: #b2b2b2; }

#feedback:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 150, 219, .13);
}

#feedback[aria-invalid="true"] { border-color: var(--error); }

.field-error {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--error);
  font-size: 14px;
  line-height: 1.5;
}

.submit-button {
  display: block;
  width: 100%;
  min-height: 78px;
  margin-top: 28px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 7px 15px rgba(18, 150, 219, .16);
  font-size: clamp(25px, 3.3vw, 34px);
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.submit-button:hover {
  background: var(--blue-dark);
  box-shadow: 0 9px 18px rgba(18, 150, 219, .23);
  transform: translateY(-1px);
}

.submit-button:active { transform: translateY(0); }

.submit-button:focus-visible,
.again-button:focus-visible {
  outline: 3px solid rgba(18, 150, 219, .3);
  outline-offset: 3px;
}

.privacy-note,
.local-note {
  margin: 13px 0 0;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.success-panel {
  padding: 50px 20px 20px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #27ae75;
  font-size: 34px;
  font-weight: 800;
}

.success-panel h2 { margin: 0; font-size: 29px; }
.success-panel p { color: var(--muted); font-size: 16px; line-height: 1.7; }

.success-ids {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 20px 0 28px;
}

.success-id { font-size: 27px; }

.again-button {
  min-height: 46px;
  padding: 0 25px;
  border: 1px solid #cfd0d2;
  border-radius: 4px;
  color: #555;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: rgba(40, 40, 40, .88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

.noscript-warning {
  position: fixed;
  inset: 16px;
  z-index: 20;
  padding: 18px;
  border: 1px solid #f0b7b7;
  border-radius: 8px;
  color: #8a1f1f;
  background: #fff4f4;
  text-align: center;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 600px) {
  .page-backdrop { background: linear-gradient(180deg, #0b55a0 0 46px, #edf6ff 46px 100%); }
  .page-backdrop::after,
  .backdrop-orb { display: none; }

  .contact-card {
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 31px 20px 42px;
    border: 0;
    box-shadow: none;
  }

  .card-header { margin-bottom: 36px; }
  .card-header h1 { font-size: clamp(29px, 8.2vw, 39px); letter-spacing: 0; }
  .intro-copy, .business-line { font-size: clamp(19px, 5.5vw, 24px); line-height: 1.62; }
  .wechat-id { font-size: clamp(32px, 10vw, 43px); }
  .business-id { font-size: clamp(31px, 9.4vw, 40px); }
  .copy-hint { margin-top: 7px; font-size: 12px; }
  .dashed-divider { margin: 34px 0 30px; }
  .feedback-fieldset legend { margin-bottom: 18px; font-size: clamp(18px, 5vw, 22px); line-height: 1.72; }
  #feedback { min-height: 118px; padding: 12px; font-size: 16px; }
  .submit-button { min-height: 58px; margin-top: 20px; font-size: 23px; }
  .privacy-note { margin-top: 11px; font-size: 12px; }
  .success-panel { padding: 36px 0 15px; }
  .success-panel h2 { font-size: 26px; }
  .success-panel p { font-size: 14px; }
  .success-id { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ACC visual polish */
:root {
  --blue: #138fe4;
  --blue-dark: #0878c8;
  --blue-deep: #0b4f8a;
  --blue-soft: #eef8ff;
  --ink: #192b3f;
  --muted: #6f8192;
  --line-soft: #dceaf5;
}

html {
  background: #eaf4fd;
}

body {
  color: var(--ink);
  background: linear-gradient(140deg, #edf7ff 0%, #f7fbff 50%, #dcecfb 100%);
}

.page-backdrop {
  background:
    linear-gradient(180deg, #0b55a0 0 74px, transparent 74px),
    linear-gradient(135deg, #d7edff 0%, #f6fbff 52%, #c8e0f5 100%);
}

.contact-card {
  width: min(900px, calc(100% - 32px));
  min-height: auto;
  margin: clamp(20px, 4vw, 54px) auto;
  padding: 34px clamp(26px, 5vw, 68px) 48px;
  border: 1px solid rgba(198, 219, 236, .95);
  border-radius: 28px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 65px rgba(38, 93, 136, .17), 0 2px 8px rgba(38, 93, 136, .06);
}

.card-header {
  margin: 0 0 34px;
  text-align: left;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin-bottom: 26px;
}

.brand-mark {
  display: grid;
  width: 56px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dcecf8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(40, 112, 162, .12);
}

.brand-mark img {
  display: block;
  width: 48px;
  height: 32px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--ink);
  line-height: 1;
}

.brand-copy strong {
  color: var(--blue-deep);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .16em;
}

.brand-copy small {
  color: #8ba1b4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.header-badge {
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid #d7ebfa;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #f2f9ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.title-block {
  text-align: center;
}

.card-header h1 {
  color: var(--blue);
  font-size: clamp(34px, 5.1vw, 52px);
  letter-spacing: .035em;
  line-height: 1.18;
}

.title-block p {
  margin: 9px 0 0;
  color: #8aa1b4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
}

.wechat-panel {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 25px 28px 23px;
  border: 1px solid #d9ecfa;
  border-radius: 20px;
  background: linear-gradient(135deg, #f4fbff 0%, #edf8ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
}

.wechat-panel::after {
  position: absolute;
  right: -42px;
  bottom: -62px;
  width: 170px;
  height: 170px;
  content: "";
  border: 1px solid rgba(19, 143, 228, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(19, 143, 228, .035), 0 0 0 42px rgba(19, 143, 228, .025);
  pointer-events: none;
}

.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}

.intro-copy,
.business-line {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #344b60;
  font-size: clamp(17px, 2.25vw, 22px);
  line-height: 1.62;
}

.wechat-line {
  position: relative;
  z-index: 1;
  margin: 3px 0 0;
  line-height: 1.12;
}

.wechat-id {
  color: var(--ink);
  font-size: clamp(39px, 5.2vw, 51px);
  letter-spacing: -.04em;
  text-decoration: underline;
  text-decoration-color: rgba(19, 143, 228, .22);
  text-decoration-thickness: 5px;
  text-underline-offset: 5px;
  transition: color .18s ease, text-decoration-color .18s ease, transform .18s ease;
}

.copy-id:hover {
  color: var(--blue-dark);
  text-decoration-color: rgba(19, 143, 228, .55);
  transform: translateY(-1px);
}

.copy-hint {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: #8aa1b4;
  font-size: 12px;
}

.dashed-divider {
  margin: 34px 0 29px;
  border-top: 1px dashed #bfd3e2;
}

.feedback-fieldset {
  padding: 25px 27px 21px;
  border: 1px solid #e0ebf3;
  border-radius: 20px;
  background: #fbfdff;
  box-shadow: 0 8px 24px rgba(40, 96, 135, .05);
}

.feedback-fieldset legend {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 11px;
  color: var(--ink);
  font-size: inherit;
  line-height: 1.3;
}

.question-index {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #1a9be9, #0b79c9);
  box-shadow: 0 6px 13px rgba(19, 143, 228, .22);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.question-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.question-heading strong {
  color: var(--ink);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 800;
  line-height: 1.28;
}

.question-heading small {
  color: #7e93a5;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.question-description {
  margin: 0 0 16px 47px;
  color: #60788d;
  font-size: 14px;
  line-height: 1.6;
}

#feedback {
  min-height: 146px;
  padding: 14px 16px;
  border: 1px solid #ccdfed;
  border-radius: 14px;
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
  box-shadow: 0 2px 5px rgba(33, 87, 122, .03);
}

#feedback:focus {
  border-color: #45a9e8;
  box-shadow: 0 0 0 4px rgba(19, 143, 228, .13), 0 4px 14px rgba(33, 87, 122, .06);
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: #94a8b8;
  font-size: 12px;
  line-height: 1.4;
}

.field-meta span:last-child {
  color: #7e96aa;
  font-variant-numeric: tabular-nums;
}

.field-error {
  min-height: 20px;
  margin: 7px 0 0;
  font-size: 13px;
}

.submit-button {
  min-height: 58px;
  margin-top: 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1599ed 0%, #087acb 100%);
  box-shadow: 0 11px 22px rgba(19, 143, 228, .22);
  font-size: clamp(20px, 2.6vw, 25px);
  letter-spacing: .12em;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.submit-button:hover {
  background: linear-gradient(135deg, #1da3f2 0%, #0874bf 100%);
  box-shadow: 0 14px 26px rgba(19, 143, 228, .28);
  filter: saturate(1.05);
}

.submit-button:active {
  box-shadow: 0 7px 14px rgba(19, 143, 228, .2);
  transform: translateY(1px);
}

.privacy-note,
.local-note {
  color: #91a4b3;
  font-size: 12px;
}

.success-panel {
  margin-top: 4px;
  padding: 42px 28px 27px;
  border: 1px solid #dceee5;
  border-radius: 20px;
  background: linear-gradient(145deg, #f7fffb, #effbf5);
}

.success-mark {
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  background: linear-gradient(145deg, #35bd81, #20a86d);
  box-shadow: 0 10px 20px rgba(32, 168, 109, .2);
}

.success-panel h2 { color: #1d7653; font-size: 27px; }
.success-panel p { margin: 10px auto 0; max-width: 470px; color: #648475; font-size: 14px; }

.success-ids {
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 26px;
  padding: 9px 15px 9px 17px;
  border: 1px solid #cfe8da;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.success-label {
  color: #6b8d7c;
  font-size: 12px;
  font-weight: 700;
}

.success-id {
  font-size: 25px;
}

.again-button {
  min-height: 44px;
  border-color: #c7dfd1;
  border-radius: 11px;
  color: #3b765a;
  background: rgba(255, 255, 255, .78);
}

@media (max-width: 600px) {
  .page-backdrop {
    background: linear-gradient(180deg, #0b55a0 0 46px, #edf6ff 46px 100%);
  }

  .contact-card {
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 24px 16px 36px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .card-header {
    margin-bottom: 24px;
  }

  .brand-lockup {
    gap: 9px;
    margin-bottom: 21px;
  }

  .brand-mark {
    width: 52px;
    height: 36px;
    border-radius: 11px;
  }

  .brand-mark img {
    width: 45px;
    height: 29px;
  }

  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 8px; }

  .header-badge {
    padding: 6px 10px;
    font-size: 11px;
  }

  .title-block h1,
  .card-header h1 {
    font-size: clamp(29px, 8.4vw, 34px);
    letter-spacing: .01em;
    line-height: 1.22;
    white-space: nowrap;
  }

  .title-block p {
    margin-top: 7px;
    font-size: 9px;
    letter-spacing: .18em;
  }

  .wechat-panel {
    padding: 20px 18px 18px;
    border-radius: 16px;
  }

  .section-kicker {
    margin-bottom: 9px;
    font-size: 9px;
    letter-spacing: .16em;
  }

  .intro-copy,
  .business-line {
    font-size: 17px;
    line-height: 1.62;
  }

  .wechat-id {
    font-size: clamp(37px, 10.5vw, 43px);
    text-decoration-thickness: 4px;
    text-underline-offset: 4px;
  }

  .copy-hint {
    margin-top: 7px;
    font-size: 11px;
  }

  .dashed-divider {
    margin: 25px 0 23px;
  }

  .feedback-fieldset {
    padding: 19px 16px 16px;
    border-radius: 16px;
  }

  .feedback-fieldset legend {
    gap: 10px;
    margin-bottom: 9px;
  }

  .question-index {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 12px;
  }

  .question-heading strong {
    font-size: 19px;
  }

  .question-heading small {
    font-size: 12px;
    line-height: 1.48;
  }

  .question-description {
    margin: 0 0 13px 40px;
    font-size: 12px;
    line-height: 1.55;
  }

  #feedback {
    min-height: 128px;
    padding: 12px 13px;
    border-radius: 12px;
    font-size: 16px;
  }

  .field-meta {
    margin-top: 7px;
    font-size: 11px;
  }

  .submit-button {
    min-height: 56px;
    margin-top: 16px;
    border-radius: 12px;
    font-size: 21px;
  }

  .privacy-note,
  .local-note {
    margin-top: 9px;
    font-size: 11px;
  }

  .success-panel {
    padding: 34px 16px 23px;
    border-radius: 16px;
  }

  .success-panel h2 { font-size: 25px; }
  .success-panel p { font-size: 13px; }
  .success-ids { gap: 8px 13px; padding: 8px 12px; }
  .success-id { font-size: 23px; }
}
