* { 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,
.mini-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);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ts-top-btn:hover,
.ts-main-btn:hover,
.mini-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 18px rgba(37,120,207,.14); }
.ts-top-btn {
  min-width: 198px;
  height: 46px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 15px;
}
.ts-hero {
  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: 40px;
  height: 40px;
  position: relative;
  justify-self: end;
  border: 1px solid #c9d9ec;
  background: #fff;
  border-radius: 14px;
}
.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: 13px; height: 13px; top: 14px; left: 11px; }
.ts-copy-icon::after { width: 13px; height: 13px; top: 9px; left: 16px; 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;
}
.ts-main-btn--secondary { background: #0f2343; }

.tripscan-platform {
  max-width: 1180px;
  margin: 0 auto 70px;
  padding: 0 20px;
}
.tripscan-platform > div,
.tripscan-section,
.tripscan-hero-block,
.tripscan-links-extended {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 40px;
  margin-bottom: 26px;
  box-shadow: 0 6px 24px rgba(33,43,54,.05);
}
.tripscan-intro {
  margin-top: 0;
}
.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf5ff;
  color: #2578cf;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.tripscan-platform h1,
.tripscan-platform h2,
.tripscan-platform h3,
.tripscan-footer h4,
.tripscan-section h2,
.tripscan-section h3 {
  color: #101828;
  margin-top: 0;
}
.tripscan-platform h1 { font-size: 38px; line-height: 1.15; margin-bottom: 22px; }
.tripscan-platform h2,
.tripscan-section h2 { font-size: 30px; margin-bottom: 20px; }
.tripscan-platform h3,
.tripscan-section h3 { font-size: 22px; margin-bottom: 12px; }
.tripscan-platform p,
.tripscan-platform li,
.tripscan-section p,
.tripscan-section li,
.tripscan-footer p,
.tripscan-footer li {
  font-size: 18px;
  line-height: 1.72;
  color: #243447;
}
.tripscan-grid,
.tripscan-seo-grid,
.tripscan-scen-grid,
.copy-grid,
.cta-row,
.tripscan-footer-top {
  display: grid;
  gap: 20px;
}
.tripscan-grid,
.tripscan-seo-grid,
.tripscan-scen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.copy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tripscan-grid > div,
.tripscan-seo-grid > div,
.tripscan-scen-grid > div,
.copy-card,
.faq-item {
  background: #f6f8fb;
  border-radius: 18px;
  padding: 22px 24px;
}
.copy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dce7f4;
}
.copy-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #2578cf;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.copy-card__url {
  font-size: 22px;
  font-weight: 800;
  color: #10213f;
  word-break: break-word;
}
.copy-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mini-btn {
  min-width: 136px;
  min-height: 46px;
  border-radius: 14px;
  font-size: 15px;
  padding: 0 18px;
}
.mini-btn--ghost {
  background: #edf5ff;
  color: #2578cf;
}
.tripscan-note {
  margin: 20px 0 0;
  color: #486486;
}
.tripscan-bullets {
  padding-left: 22px;
  margin: 0 0 14px;
}
.faq-item + .faq-item { margin-top: 16px; }
.cta-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.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.2fr 1fr 1fr 1fr;
  align-items: start;
  margin-bottom: 26px;
}
.tripscan-footer h4,
.tripscan-footer strong,
.tripscan-footer a { color: #ffffff; }
.tripscan-footer ul { list-style: none; padding: 0; margin: 0; }
.tripscan-footer-bottom p { margin: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  background: #10213f;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 980px) {
  .tripscan-grid,
  .tripscan-seo-grid,
  .tripscan-scen-grid,
  .copy-grid,
  .cta-row,
  .tripscan-footer-top { grid-template-columns: 1fr; }
  .ts-links-card { grid-template-columns: 1fr; text-align: center; }
  .ts-copy-icon { justify-self: center; }
  .ts-links-list { gap: 18px 28px; }
}

@media (max-width: 720px) {
  .ts-header-inner { padding: 16px 18px; min-height: 78px; }
  .ts-logo { font-size: 28px; }
  .ts-top-btn { min-width: 160px; font-size: 14px; }
  .ts-center-card { width: 100%; padding: 26px 20px 24px; }
  .ts-center-card p { font-size: 22px; }
  .ts-main-btn { min-height: 62px; font-size: 20px; border-radius: 18px; }
  .tripscan-platform > div,
  .tripscan-section,
  .tripscan-hero-block,
  .tripscan-links-extended { padding: 26px 22px; }
  .tripscan-platform h1 { font-size: 30px; }
  .tripscan-platform h2,
  .tripscan-section h2 { font-size: 25px; }
  .copy-card { flex-direction: column; align-items: flex-start; }
  .copy-card__url { font-size: 18px; }
}
