:root {
  --ts-text: #000;
  --ts-muted: #8c8c8c;
  --ts-border: #e9e9e9;
  --ts-accent: #ff6a00;
  --ts-blue: #1366ec;
  --background-gradient: linear-gradient(
    120deg,
    #e1fcff,
    #bfd4ff 37.79%,
    #dec5ff 75.81%,
    #d2d6ff
  );
}

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

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ts-text);
  background: #fff;
}

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

.ts-page {
  width: 100%;
  min-height: 100vh;
}

.ts-hero {
  background: var(--background-gradient);
}

.ts-hero > div {
  width: 100%;
  height: 100%;
  background: radial-gradient(100% 140% at 60% -10%, #fff0, #fff 75%);
  padding: 51px 24px 40px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 992px;
  gap: 24px;
}

.ts-hero__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  grid-column: 2;
}

.ts-hero__main h1 {
  margin: 0 0 22px;
  font-size: 44px;
  line-height: 44px;
  font-weight: 600;
}

.ts-hero__main p {
  margin: 0;
  max-width: 784px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

.ts-hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 58px;
}

.ts-btn {
  width: 160px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 16px;
  line-height: 42px;
}

.ts-btn--primary {
  background: var(--ts-accent);
  color: #fff;
}
.ts-btn--ghost {
  border-color: #9ca4af;
  color: #3d495c;
  background: #fff;
}

.ts-mini-card {
  border: 1px solid var(--ts-border);
  background: #fff;
  padding: 0 16px 16px;
}

.ts-mini-card__head {
  margin: 0 -16px 16px;
  background: #f9f9f9;
  padding: 0 16px;
  font-size: 16px;
  line-height: 40px;
  font-weight: 600;
  color: #1a1a1a;
}

.ts-mini-card__kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ts-mini-card__kv > div {
  box-shadow: 0 1px 0 #ebecec;
}

.ts-mini-card__kv span {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: #333;
}

.ts-mini-card__kv strong {
  display: block;
  font-size: 14px;
  line-height: 36px;
  font-weight: 500;
}

.ts-mini-card__limit {
  margin: 10px 0 2px;
  width: 45px;
  height: 20px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.ts-mini-card__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  align-items: end;
  margin-top: 10px;
}

.ts-mini-card__bottom-left {
  min-width: 0;
}

.ts-mini-card__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  color: var(--ts-accent);
}

.ts-mini-card__price span {
  font-size: 12px;
  line-height: 25px;
}
.ts-mini-card__price strong {
  font-size: 20px;
  line-height: 25px;
  margin-left: 4px;
}
.ts-mini-card__price em {
  font-style: normal;
  font-size: 12px;
  line-height: 25px;
  margin-left: 4px;
}
.ts-mini-card__price b {
  font-size: 12px;
  line-height: 25px;
  margin-left: 6px;
  color: #000;
  font-weight: 400;
}
.ts-mini-card__price a {
  font-size: 12px;
  line-height: 28px;
  margin-left: 12px;
  color: var(--ts-accent);
}

.ts-mini-card__orig {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
  font-size: 12px;
  line-height: 22px;
  color: var(--ts-muted);
}

.ts-mini-card__buy {
  width: 115px;
  height: 32px;
  border: 1px solid #7f8fa9;
  color: var(--ts-accent);
  font-size: 14px;
  line-height: 32px;
  text-align: center;
  display: block;
  align-self: center;
}

.ts-shell {
  display: grid;
  grid-template-columns: 302px 1fr;
  gap: 24px;
  padding: 0 24px 48px;
}

.ts-side h2 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
}

.ts-side nav {
  border-left: 1px solid var(--ts-border);
  padding-left: 17px;
}

.ts-side a {
  display: block;
  font-size: 14px;
  line-height: 24px;
  color: var(--ts-muted);
}

.ts-main {
  min-width: 0;
}

.ts-section {
  margin-bottom: 24px;
}

.ts-section h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ts-section h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

.ts-section > p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 24px;
}

.ts-solution-card {
  border: 1px solid var(--ts-border);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 412px;
  min-height: 600px;
}

.ts-solution-card__img {
  background: #fff;
  border-right: 1px solid var(--ts-border);
}

.ts-solution-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ts-solution-card__img--placeholder {
  background: linear-gradient(135deg, #f0f4ff, #f8fbff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-placeholder {
  border: 1px dashed #9ca4af;
  color: #6a7280;
  padding: 14px 18px;
  font-size: 14px;
}

.ts-solution-card__desc {
  background: #fafafa;
  padding: 32px 24px;
}

.ts-solution-card__desc p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 24px;
}

.ts-solution-card__desc strong {
  font-weight: 600;
}

.ts-related {
  margin-top: 14px;
}

.ts-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 14px;
  border: 1px solid var(--ts-border);
  background: #fff;
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 1600px) {
  .ts-hero > div {
    grid-template-columns: minmax(0, 1fr) 1.3fr;
  }
  .ts-hero__cards {
    grid-column: 2;
  }
}

@media (max-width: 1200px) {
  .ts-hero > div {
    grid-template-columns: 1fr;
    padding-right: 24px;
  }
  .ts-hero__cards {
    grid-column: auto;
  }
  .ts-shell {
    grid-template-columns: 1fr;
  }
  .ts-solution-card {
    grid-template-columns: 1fr;
  }
  .ts-solution-card__img {
    min-height: 260px;
    border-right: none;
    border-bottom: 1px solid var(--ts-border);
  }
}

@media (max-width: 900px) {
  .ts-hero__cards {
    grid-template-columns: 1fr;
  }
}
