:root {
  --bg: #eef2f6;
  --bg-deep: #11253b;
  --panel: #fffdfa;
  --panel-soft: #f7f4ee;
  --line: rgba(17, 37, 59, 0.12);
  --line-strong: rgba(17, 37, 59, 0.2);
  --text: #162436;
  --muted: #607081;
  --accent: #d58a2b;
  --accent-deep: #b86a13;
  --accent-soft: #f4e7d4;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(17, 37, 59, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

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

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

body {
  margin: 0;
  color: var(--text);
  font-family: sans-serif;
  background:
    radial-gradient(circle at top, rgba(213, 138, 43, 0.18), transparent 34%),
    linear-gradient(180deg, #f4f6f9 0%, #edf2f6 46%, #e7edf3 100%);
}

img {
  max-width: 100%;
  border: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-deep);
}

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

button {
  cursor: pointer;
}

.ce-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ce-main {
  padding: 34px 0 72px;
}

.ce-home-nav {
  margin: 0 auto 22px;
}

.ce-home-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: var(--shadow);
}

.ce-home-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(17, 37, 59, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  transition: 0.2s ease;
}

.ce-home-nav a:hover {
  border-color: rgba(213, 138, 43, 0.48);
  background: rgba(213, 138, 43, 0.12);
  color: var(--accent-deep);
}

.ce-home-summary {
  margin: 0 auto 22px;
}

.ce-home-summary__inner {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 250, 0.86);
  box-shadow: var(--shadow);
}

.ce-home-summary__inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.ce-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 37, 59, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(12, 24, 38, 0.18);
}

.ce-site-header__line {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(213, 138, 43, 0.2) 100%);
}

.ce-site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px;
}

.ce-brand {
  min-width: 0;
  flex: 1 1 auto;
}

.ce-brand__name {
  display: inline-block;
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ce-brand__tag {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ce-nav-toggle {
  display: none;
  min-width: 88px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.ce-nav-panel {
  flex: 0 0 auto;
}

.ce-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.ce-nav li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.8);
  transition: 0.2s ease;
}

.ce-nav li.act a,
.ce-nav li a:hover {
  border-color: rgba(213, 138, 43, 0.48);
  background: rgba(213, 138, 43, 0.12);
  color: var(--white);
}

.ce-hero,
.ce-page-hero,
.ce-panel,
.ce-side-card,
.ce-side-note,
.ce-state-card,
.ce-feature-card,
.ce-list-card,
.ce-news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.ce-hero {
  padding: 28px;
  background: linear-gradient(135deg, #102740 0%, #183451 48%, #21466b 100%);
}

.ce-hero__lead {
  padding: 20px;
  color: var(--white);
  max-width: 780px;
}

.ce-kicker,
.ce-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ce-kicker:before,
.ce-section__eyebrow:before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.ce-hero h1,
.ce-page-hero h1,
.ce-panel h1,
.ce-panel h2,
.ce-side-note h3,
.ce-state-card h1 {
  margin: 0;
  line-height: 1.16;
}

.ce-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
}

.ce-page-hero h1 {
  font-size: clamp(2rem, 3.7vw, 3.6rem);
}

.ce-hero__text {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  font-size: 1.03rem;
}

.ce-hero__actions,
.ce-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.ce-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: 0.2s ease;
}

.ce-btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

.ce-btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.ce-btn--ghost:hover {
  background: rgba(17, 37, 59, 0.05);
  color: var(--text);
  border-color: rgba(17, 37, 59, 0.32);
}

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

.ce-stat,
.ce-side-note {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 37, 59, 0.1);
  border-radius: var(--radius-md);
}

.ce-news-card p,
.ce-list-card p,
.ce-page-hero p,
.ce-side-note p,
.ce-empty,
.ce-inline-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

.ce-section {
  margin-top: 34px;
}

.ce-section__head {
  margin-bottom: 18px;
}

.ce-section__head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.ce-section__head p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.82;
}

.ce-solution-layout {
  display: block;
}

.ce-side-card,
.ce-panel,
.ce-page-hero,
.ce-state-card {
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.95) 0%, rgba(247, 244, 238, 0.96) 100%);
}

.ce-side-card__head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 37, 59, 0.08);
}

.ce-side-card__head h3 {
  margin: 0;
  font-size: 1.4rem;
}

.ce-side-card__head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ce-cate-groups {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.ce-cate-group {
  display: grid;
  gap: 10px;
}

.ce-cate-item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(17, 37, 59, 0.03);
  transition: 0.2s ease;
}

.ce-cate-item:hover,
.ce-cate-sublist a:hover {
  background: rgba(213, 138, 43, 0.12);
}

.ce-cate-item--top {
  font-weight: 700;
  color: var(--bg-deep);
}

.ce-cate-sublist {
  display: grid;
  gap: 8px;
  padding-left: 10px;
}

.ce-cate-sublist a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
}

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

.ce-feature-card,
.ce-news-card,
.ce-list-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.ce-feature-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.ce-feature-card__body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 160px;
  padding: 26px 28px;
  text-align: center;
}

.ce-feature-card h3,
.ce-news-card h3,
.ce-list-card h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.34;
}

.ce-feature-card h3 {
  width: 100%;
}

.ce-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--accent-deep);
  font-weight: 700;
}

.ce-text-link:after {
  content: "→";
}

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

.ce-news-card {
  padding: 24px;
}

.ce-page-hero {
  margin-bottom: 22px;
}

.ce-page-hero--detail {
  margin-bottom: 24px;
}

.ce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.ce-feed {
  display: grid;
  gap: 18px;
}

.ce-list-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
}

.ce-list-card__index {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(17, 37, 59, 0.95) 0%, rgba(213, 138, 43, 0.88) 100%);
  color: #fff;
  font-size: 1.9rem;
}

.ce-list-card__body {
  padding: 22px 24px;
}

.ce-tag-row,
.ce-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ce-tag-row a,
.ce-tag-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17, 37, 59, 0.06);
  color: var(--muted);
}

.ce-tag-cloud a:hover,
.ce-tag-row a:hover {
  background: rgba(213, 138, 43, 0.14);
  color: var(--text);
}

.ce-link-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  list-style: none;
}

.ce-link-list li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 37, 59, 0.08);
}

.ce-link-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ce-link-list a {
  font-weight: 700;
}

.ce-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 22px;
}

.ce-detail-main {
  display: grid;
  gap: 18px;
}

.ce-detail-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.ce-side-note {
  padding: 22px;
}

.ce-inline-note {
  font-size: 0.94rem;
}

.ce-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ce-stat {
  padding: 20px;
}

.ce-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.ce-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  color: var(--bg-deep);
}

.ce-comment-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.ce-comment {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 37, 59, 0.08);
}

.ce-comment__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.ce-comment__author {
  font-weight: 700;
}

.ce-comment__date,
.ce-comment__reply {
  color: var(--muted);
}

.ce-form,
.ce-search-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.ce-form__row {
  display: grid;
}

.ce-form-inline {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
}

.ce-control,
.ce-search-form input,
.ce-search-form select,
.ce-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(17, 37, 59, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.ce-control:focus,
.ce-search-form input:focus,
.ce-search-form select:focus {
  outline: 0;
  border-color: rgba(213, 138, 43, 0.9);
  box-shadow: 0 0 0 3px rgba(213, 138, 43, 0.14);
}

textarea.ce-control {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

#captchaPic {
  display: block;
  width: 140px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(17, 37, 59, 0.1);
}

.ce-prose {
  color: var(--text);
  line-height: 1.9;
}

.ce-prose > :first-child {
  margin-top: 0;
}

.ce-prose > :last-child {
  margin-bottom: 0;
}

.ce-prose img {
  border-radius: 16px;
}

.ce-prose table {
  width: 100%;
  border-collapse: collapse;
}

.ce-prose th,
.ce-prose td {
  padding: 12px;
  border: 1px solid rgba(17, 37, 59, 0.1);
}

.ce-pagination {
  margin-top: 22px;
}

.pagebar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pagebar a,
.pagebar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 37, 59, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.pagebar span,
.pagebar a:hover {
  border-color: rgba(213, 138, 43, 0.5);
  background: rgba(213, 138, 43, 0.12);
}

.ce-state-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 32px;
  text-align: center;
}

.ce-state-card__code {
  font-size: 4rem;
  color: var(--accent-deep);
}

.ce-site-footer {
  padding: 8px 0 28px;
}

.ce-site-footer__inner {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ce-site-footer__inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 1080px) {
  .ce-hero,
  .ce-solution-layout,
  .ce-detail-layout {
    grid-template-columns: 1fr;
  }

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

  .ce-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .ce-main {
    padding-top: 24px;
  }

  .ce-site-header__inner {
    min-height: 82px;
  }

  .ce-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ce-nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 37, 59, 0.98);
    box-shadow: 0 24px 60px rgba(9, 18, 29, 0.28);
  }

  .ce-nav-panel.is-open {
    display: block;
  }

  .ce-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .ce-nav li a {
    justify-content: flex-start;
  }

  .ce-form-inline,
  .ce-stat-grid,
  .ce-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ce-shell {
    width: min(100%, calc(100% - 24px));
  }

  .ce-hero,
  .ce-panel,
  .ce-page-hero,
  .ce-side-card,
  .ce-side-note,
  .ce-site-footer__inner {
    padding: 20px;
  }

  .ce-hero__lead {
    padding: 0;
  }

  .ce-feature-card,
  .ce-list-card {
    grid-template-columns: 1fr;
  }

  .ce-feature-card__order,
  .ce-list-card__index {
    justify-content: flex-start;
    align-items: center;
    min-height: 72px;
  }
}
