:root {
  --portal-text: #0f141a;
  --portal-muted: #5f6368;
  --portal-border: #8c8c94;
  --portal-divider: #d5d9dd;
  --portal-surface: #f2f3f3;
  --portal-blue: #006ce0;
  --portal-blue-hover: #004a99;
  --portal-orange: #ff9900;
  font-family:
    Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--portal-text);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.5;
}
a {
  color: var(--portal-blue);
  text-decoration: none;
}
a:hover {
  color: var(--portal-blue-hover);
  text-decoration: underline;
}
button,
input,
textarea {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex="-1"]:focus {
  outline: 2px solid var(--portal-blue);
  outline-offset: 2px;
}
.portal-header,
.portal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 32px;
}
.portal-header {
  min-height: 62px;
  background: linear-gradient(#fff, #f1f2f3);
  border-bottom: 1px solid var(--portal-divider);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--portal-text);
}
.brand:hover {
  color: var(--portal-text);
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  background: var(--portal-orange);
  border-radius: 2px;
  width: 32px;
  height: 32px;
}
.mark svg path {
  stroke: var(--portal-text);
}
.portal-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--portal-muted);
}
.portal-nav a {
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}
.portal-nav [aria-current="page"] {
  color: var(--portal-text);
  font-weight: 700;
  border-bottom-color: var(--portal-orange);
}
.portal-main {
  width: 100%;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 32px 24px;
}
.portal-card {
  width: min(100%, 430px);
  background: #fff;
  border: 1px solid var(--portal-divider);
  border-radius: 2px;
  padding: 28px 30px;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--portal-muted);
  margin: 0 0 8px;
}
h1 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 8px;
}
.intro {
  margin: 0 0 22px;
  color: var(--portal-muted);
  line-height: 1.6;
}
label {
  display: block;
  margin: 16px 0 5px;
  font-size: 13px;
  font-weight: 700;
}
input {
  width: 100%;
  height: 36px;
  background: #fff;
  color: var(--portal-text);
  border: 1px solid var(--portal-border);
  border-radius: 2px;
  padding: 7px 10px;
}
input::placeholder,
textarea::placeholder {
  color: #687078;
  opacity: 1;
}
input:hover,
textarea:hover {
  border-color: #687078;
}
input:focus-visible,
textarea:focus-visible {
  border-color: var(--portal-blue);
}
.primary,
.secondary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: 2px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.primary {
  background: var(--portal-orange);
  color: #16191f;
  border: 1px solid #e88b01;
  margin-top: 22px;
}
.primary:hover {
  background: #fa6f00;
  border-color: #c47600;
  color: #16191f;
  text-decoration: none;
}
.primary:active {
  background: #dd8300;
}
.primary:disabled {
  background: #e9ebed;
  border-color: #d5dbdb;
  color: #687078;
  cursor: wait;
}
.secondary {
  background: #fff;
  border: 1px solid var(--portal-blue);
  color: var(--portal-blue);
  margin-top: 10px;
}
.secondary:hover {
  background: #f1f8fc;
  border-color: var(--portal-blue-hover);
  color: var(--portal-blue-hover);
  text-decoration: none;
}
.field-note {
  display: block;
  color: var(--portal-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
}
.form-error {
  color: #b12704;
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0 0;
}
.form-error:not(:empty) {
  border-left: 3px solid #d13212;
  background: #fff7f5;
  padding: 8px 10px;
  overflow-wrap: anywhere;
}
.form-error:empty {
  display: none;
}
.form-footer {
  text-align: center;
  border-top: 1px solid var(--portal-divider);
  margin: 22px 0 0;
  padding-top: 16px;
  color: var(--portal-muted);
  font-size: 13px;
}
.form-footer a {
  font-weight: 700;
  margin-left: 5px;
}
.portal-footer {
  min-height: 52px;
  font-size: 12px;
  color: var(--portal-muted);
  border-top: 1px solid #eaeded;
}
.success-mark,
.contact-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.success-mark {
  color: #1d6737;
  background: #eff7ed;
  border: 1px solid #8cba80;
}
.contact-mark {
  color: var(--portal-blue);
  background: #f1f8fc;
  border: 1px solid #b4d5ea;
}
.success-message {
  line-height: 1.7;
  color: var(--portal-muted);
  margin: 0 0 22px;
}
.email-card {
  border: 1px solid var(--portal-divider);
  border-radius: 2px;
  padding: 16px;
  background: #fafafa;
  margin: 20px 0;
}
.email-card span {
  display: block;
  color: var(--portal-muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.email-card a {
  font-size: clamp(15px, 4vw, 19px);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.contact-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--portal-muted);
  margin: 18px 0 0;
}
.contact-note a {
  font-weight: 700;
}
[hidden] {
  display: none !important;
}
.contact-card {
  width: min(100%, 520px);
}
.contact-card .intro {
  margin-bottom: 18px;
}
.contact-fields {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
.contact-fields label:first-child {
  margin-top: 0;
}
.contact-fields textarea {
  display: block;
  width: 100%;
  min-height: 132px;
  resize: vertical;
  border: 1px solid var(--portal-border);
  border-radius: 2px;
  padding: 7px 10px;
  color: var(--portal-text);
  background: #fff;
  line-height: 1.6;
}
.contact-fields textarea:hover {
  border-color: #687078;
}
.contact-fields textarea:focus-visible {
  border-color: var(--portal-blue);
}
.contact-fields input[readonly] {
  background: var(--portal-surface);
  color: var(--portal-muted);
}
.contact-fields:disabled input,
.contact-fields:disabled textarea {
  background: var(--portal-surface);
  color: var(--portal-muted);
}
.contact-success {
  padding: 10px 12px;
  border: 1px solid #8cba80;
  border-left: 3px solid #1d8102;
  border-radius: 2px;
  background: #f2f8ef;
  color: #1d6737;
  font-size: 13px;
  line-height: 1.6;
  margin: 14px 0 0;
}
.contact-card .contact-note {
  text-align: center;
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  .portal-header,
  .portal-footer {
    padding: 12px 18px;
  }
  .portal-header {
    gap: 12px;
  }
  .portal-nav {
    gap: 16px;
    font-size: 13px;
  }
  .brand {
    font-size: 19px;
  }
  .portal-main {
    padding: 24px 16px;
  }
  .portal-card {
    padding: 24px 20px;
  }
  h1 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
