:root {
  --c-white: #ffffff;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f7f9;
  --c-bg-mute: #eef1f4;
  --c-ink: #1f2733;
  --c-title: #22303f;
  --c-text: #4d5866;
  --c-muted: #8a94a0;
  --c-line: #e4e8ec;
  --c-line-strong: #cfd6dd;

  --c-primary: #2f5d7e;
  --c-primary-dark: #24485f;
  --c-primary-light: #4b7c9d;
  --c-primary-soft: #eef3f7;

  --c-accent: #c08a4a;

  --c-dark: #1c2530;
  --c-dark-2: #232e3b;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 6px 20px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.12);

  --container: 1200px;
  --container-wide: 1440px;
  --header-h: 72px;
  --gap: 24px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
    Arial, "Noto Sans CJK SC", sans-serif;
  --font-num: "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--c-title);
  font-weight: 600;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

hr {
  border: 0;
  border-top: 1px solid var(--c-line);
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--c-primary-light);
  outline-offset: 2px;
}

::selection {
  background: var(--c-primary);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--c-bg-soft);
}

.section--tight {
  padding: 48px 0;
}

.section--dark {
  background: var(--c-dark);
  color: #c7cfd8;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.main {
  padding-top: var(--header-h);
}

.page-body {
  padding: 32px 0 72px;
}

.sec-head {
  margin-bottom: 40px;
}

.sec-head--center {
  text-align: center;
}

.sec-head__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-primary-light);
  margin-bottom: 10px;
}

.sec-head__title {
  font-size: 30px;
  letter-spacing: 0.5px;
}

.sec-head__desc {
  margin-top: 12px;
  max-width: 720px;
  color: var(--c-muted);
  font-size: 15px;
}

.sec-head--center .sec-head__desc {
  margin-left: auto;
  margin-right: auto;
}

.sec-head__line {
  width: 40px;
  height: 3px;
  background: var(--c-primary);
  border-radius: 2px;
  margin-top: 16px;
}

.sec-head--center .sec-head__line {
  margin-left: auto;
  margin-right: auto;
}

.sec-head--dark .sec-head__title {
  color: #fff;
}

.sec-head--dark .sec-head__desc {
  color: rgba(255, 255, 255, 0.6);
}

.sec-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sec-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--c-muted);
  white-space: nowrap;
}

.sec-more:hover {
  color: var(--c-primary);
}

.sec-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s var(--ease);
}

.btn--primary {
  background: var(--c-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--c-primary-dark);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn--outline {
  border-color: var(--c-line-strong);
  color: var(--c-title);
  background: #fff;
}

.btn--outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--lg {
  min-height: 50px;
  padding: 0 34px;
  font-size: 16px;
}

.field {
  margin-bottom: 18px;
}

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--c-title);
}

.field__label .req {
  color: #c0392b;
  margin-left: 4px;
}

.input,
.textarea,
.select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.7;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a94a0' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 36px;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}

.input::placeholder,
.textarea::placeholder {
  color: #a9b2bc;
}

.field__hint {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-muted);
}

.field__error {
  margin-top: 6px;
  font-size: 13px;
  color: #c0392b;
  display: none;
}

.field.is-invalid .input,
.field.is-invalid .textarea {
  border-color: #c0392b;
}

.field.is-invalid .field__error {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.form-grid .field--full {
  grid-column: 1 / -1;
}

.form-note {
  font-size: 13px;
  color: var(--c-muted);
}

.form-tip {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #eef7f0;
  border: 1px solid #cfe6d6;
  color: #2c6b45;
  font-size: 14px;
}

.form-tip.is-visible {
  display: block;
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s var(--ease);
  z-index: 60;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top:hover {
  background: var(--c-primary-dark);
  color: #fff;
}

.ph {
  position: relative;
  background: linear-gradient(135deg, #e9eef3 0%, #dbe3ea 50%, #e9eef3 100%);
  overflow: hidden;
  display: block;
}

.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  letter-spacing: 1px;
  color: #9aa6b2;
  white-space: nowrap;
}

.ph--16x9 {
  aspect-ratio: 16 / 9;
}

.ph--4x3 {
  aspect-ratio: 4 / 3;
}

.ph--1x1 {
  aspect-ratio: 1 / 1;
}

.ph--3x2 {
  aspect-ratio: 3 / 2;
}

.ph--dark {
  background: linear-gradient(135deg, #2a3441 0%, #1e2732 50%, #2a3441 100%);
}

.ph--dark::after {
  color: rgba(255, 255, 255, 0.35);
}

.media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--c-bg-mute);
  filter: saturate(0.92);
}

.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 20px;
  border-radius: 20px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
}

.tag--line {
  background: transparent;
  border: 1px solid var(--c-line-strong);
  color: var(--c-muted);
}

@media print {
  .site-header,
  .site-footer,
  .to-top,
  .banner {
    display: none !important;
  }

  .main {
    padding-top: 0;
  }
}
