* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  background: #dfe5ea;
  color: #14243d;
  overflow-x: hidden;
}

a { color: inherit; }

.ts-header {
  background: #ffffff;
  border-bottom: 1px solid #d8dde3;
}

.ts-header-inner {
  max-width: 1720px;
  margin: 0 auto;
  min-height: 88px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ts-logo {
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.5px;
  color: #111827;
}

.ts-top-btn,
.ts-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: #2578cf;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.ts-top-btn {
  min-width: 198px;
  height: 46px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 15px;
}

.ts-hero {
  min-height: calc(100vh - 88px);
  padding: 34px 20px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ts-links-card {
  width: min(1360px, 100%);
  background: #ffffff;
  border-radius: 28px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 0 rgba(255,255,255,.7);
}

.ts-links-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f2343;
}

.ts-links-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ts-links-list a {
  text-decoration: none;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f2343;
}

.ts-copy-icon {
  width: 28px;
  height: 28px;
  position: relative;
  justify-self: end;
}
.ts-copy-icon::before,
.ts-copy-icon::after {
  content: "";
  position: absolute;
  border: 2px solid #2c7ad6;
  border-radius: 4px;
  background: transparent;
}
.ts-copy-icon::before {
  width: 16px;
  height: 16px;
  top: 7px;
  left: 3px;
}
.ts-copy-icon::after {
  width: 16px;
  height: 16px;
  top: 1px;
  left: 9px;
  background: #fff;
}

.ts-center-card {
  width: min(1000px, calc(100% - 40px));
  margin: 58px auto 0;
  background: #ffffff;
  border-radius: 22px;
  padding: 34px 30px 32px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(33,43,54,.05);
}

.ts-center-card p {
  margin: 0 0 28px;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 400;
  color: #233f66;
}

.ts-main-btn {
  width: min(630px, 100%);
  min-height: 74px;
  padding: 18px 24px;
  border-radius: 22px;
  font-size: 24px;
  margin: 0 auto;
}

.tripscan-platform {
  max-width: 1080px;
  margin: 0 auto 70px;
  padding: 0 20px;
}

.tripscan-platform > div {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 40px;
  margin-bottom: 26px;
  box-shadow: 0 6px 24px rgba(33,43,54,.05);
}

.tripscan-hero h1,
.tripscan-platform h2,
.tripscan-platform h3 {
  color: #101828;
  margin-top: 0;
}
.tripscan-hero h1 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 22px;
}
.tripscan-platform h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 24px;
}
.tripscan-platform h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.tripscan-platform p,
.tripscan-platform li {
  font-size: 18px;
  line-height: 1.7;
  color: #243447;
}
.tripscan-hero p,
.tripscan-summary p,
.tripscan-logic p,
.tripscan-seo > p {
  text-align: center;
}

.tripscan-grid,
.tripscan-seo-grid,
.tripscan-scen-grid,
.tripscan-footer-top {
  display: grid;
  gap: 20px;
}
.tripscan-grid,
.tripscan-seo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tripscan-scen-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tripscan-grid > div,
.tripscan-seo-grid > div,
.tripscan-scen-grid > div {
  background: #f6f8fb;
  border-radius: 18px;
  padding: 22px 24px;
}
.tripscan-usage ul,
.tripscan-grid ul,
.tripscan-seo-grid ul {
  padding-left: 22px;
  margin: 0;
}

.tripscan-footer {
  background: #0f1724;
  color: #d0d7e2;
  padding: 48px 20px 28px;
}
.tripscan-footer-top,
.tripscan-footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
}
.tripscan-footer-top {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: start;
  margin-bottom: 26px;
}
.tripscan-footer h4,
.tripscan-footer strong {
  color: #ffffff;
}
.tripscan-footer p,
.tripscan-footer li {
  font-size: 15px;
  line-height: 1.7;
  color: #d0d7e2;
}
.tripscan-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tripscan-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
}

@media (max-width: 980px) {
  .ts-links-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ts-copy-icon { display: none; }
  .ts-links-title { font-size: 22px; }
  .ts-links-list a { font-size: 22px; }
  .ts-center-card p { font-size: 24px; }
  .tripscan-grid,
  .tripscan-seo-grid,
  .tripscan-scen-grid,
  .tripscan-footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ts-header-inner {
    min-height: auto;
    padding: 16px;
    flex-direction: column;
  }
  .ts-logo { font-size: 28px; }
  .ts-top-btn { width: 100%; }
  .ts-hero { padding: 20px 14px 40px; }
  .ts-links-card {
    padding: 20px 18px;
    border-radius: 22px;
  }
  .ts-links-title,
  .ts-links-list a { font-size: 18px; }
  .ts-links-list { gap: 14px 18px; }
  .ts-center-card {
    width: 100%;
    margin-top: 26px;
    padding: 24px 18px;
  }
  .ts-center-card p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .ts-main-btn {
    min-height: 58px;
    font-size: 20px;
    border-radius: 18px;
  }
  .tripscan-platform { padding: 0 14px; }
  .tripscan-platform > div { padding: 24px 20px; }
  .tripscan-hero h1,
  .tripscan-platform h2 { font-size: 24px; }
  .tripscan-platform h3 { font-size: 20px; }
  .tripscan-platform p,
  .tripscan-platform li { font-size: 16px; }
}
