:root {
  --blue: #5361f6;
  --deep: #172033;
  --muted: #687286;
  --yellow: #ffd32a;
  --line: #e8ecf5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--deep);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.top-coupon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 66px;
  background: #293ed2;
  color: #fff;
  font-size: 16px;
}

.coupon-art {
  display: grid;
  place-items: center;
  width: 54px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.top-coupon a {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 800;
}

.site-header {
  position: absolute;
  z-index: 5;
  inset: 66px 0 auto;
  height: 76px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: #12356f;
  font-weight: 900;
}

.brand-mark {
  font-size: 31px;
  font-style: italic;
  letter-spacing: -1px;
}

.brand-mark span {
  color: #ffbb17;
}

.brand small {
  color: #ff9d21;
  font-size: 10px;
  font-weight: 800;
  margin-left: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 1;
  font-size: 14px;
}

.nav-links .active {
  color: #293ed2;
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.lang-toggle {
  min-width: 46px;
  height: 32px;
  border: 1px solid rgba(83, 97, 246, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: #293ed2;
  font-weight: 800;
}

.pill-link,
.primary,
.submit-track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  padding: 0 26px;
  box-shadow: 0 14px 28px rgba(83, 97, 246, 0.18);
}

.pill-link {
  min-height: 40px;
  border-radius: 20px;
}

.yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  background: var(--yellow);
  color: #1f2937;
  font-weight: 800;
  padding: 0 26px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding-top: 142px;
  background:
    radial-gradient(circle at 16% 34%, rgba(194, 232, 255, 0.9), transparent 23%),
    radial-gradient(circle at 72% 31%, rgba(205, 241, 252, 0.78), transparent 22%),
    linear-gradient(115deg, #edf9ff 0%, #fff8f5 45%, #f8fbff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -70px;
  height: 190px;
  border-radius: 0 0 50% 50%;
  background: #fff;
}

.hero-orbit {
  position: absolute;
  width: 235px;
  height: 235px;
  border-radius: 50%;
  border: 38px solid rgba(83, 97, 246, 0.16);
  filter: blur(1px);
}

.hero-orbit-left {
  left: -150px;
  bottom: 138px;
}

.hero-orbit-right {
  right: -105px;
  top: 230px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 400px;
  text-align: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  border: 1px solid #d7ddea;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 14px;
  color: #485268;
  font-size: 13px;
  font-weight: 700;
}

.trust-pill span {
  width: 18px;
  height: 18px;
  margin-right: -5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb878, #3046d8);
}

.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.22;
  font-weight: 900;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero p {
  max-width: 650px;
  margin: 0 0 28px;
  color: #4d586d;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 16px;
}

.quick-track {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  padding-bottom: 95px;
}

html[lang="en"] .hero h1 {
  max-width: 1160px;
  font-size: clamp(36px, 4.25vw, 58px);
  line-height: 1.18;
}

html[lang="en"] .hero p {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}

html[lang="en"] .nav-links {
  gap: 32px;
}

.track-box {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(32, 42, 83, 0.14);
}

.track-box textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 0;
  border-radius: 6px;
  outline: 0;
  background: #f3f6fb;
  color: #475269;
  padding: 20px;
}

.track-actions {
  display: grid;
  grid-template-columns: 132px 132px minmax(160px, 1fr) 190px;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
}

.track-actions button:not(.submit-track) {
  border: 0;
  border-radius: 6px;
  background: #f2f5fb;
  color: #687286;
  padding: 10px 18px;
  font-weight: 700;
  white-space: nowrap;
}

.track-actions span {
  color: #8b94a5;
  font-size: 13px;
  text-align: center;
}

.submit-track {
  width: 100%;
  white-space: nowrap;
}

html[lang="en"] .track-actions {
  grid-template-columns: 178px 160px minmax(150px, 1fr) 134px;
  gap: 12px;
}

html[lang="en"] .track-actions button:not(.submit-track),
html[lang="en"] .submit-track {
  padding-inline: 12px;
  font-size: 15px;
}

html[lang="en"] .track-actions span {
  font-size: 12px;
  line-height: 1.25;
}

.split-section {
  padding: 30px 0 105px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.copy-block small {
  color: var(--blue);
  font-weight: 800;
}

.copy-block h2 {
  margin: 15px 0 28px;
  font-size: clamp(30px, 3.3vw, 45px);
  line-height: 1.24;
  font-weight: 500;
}

.copy-block p {
  color: #505b70;
  line-height: 1.9;
}

.copy-block ul {
  display: grid;
  gap: 24px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.copy-block li {
  border-bottom: 1px solid var(--line);
  padding: 0 0 22px 28px;
  position: relative;
}

.copy-block li::before {
  content: "⊙";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
}

.copy-block li strong,
.copy-block li span {
  display: block;
}

.copy-block li strong {
  margin-bottom: 10px;
  font-size: 17px;
}

.copy-block li span {
  color: #667085;
}

.saving-visual {
  position: relative;
  min-height: 440px;
}

.usps-card,
.saving-card,
.rate-card {
  position: absolute;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(37, 49, 98, 0.14);
}

.usps-card {
  left: 34px;
  top: 32px;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  background: #0e59a8;
  color: #fff;
  text-align: center;
}

.usps-card strong {
  font-size: 52px;
  line-height: 1;
}

.usps-card span {
  color: var(--yellow);
}

.saving-card {
  right: 42px;
  top: 95px;
  padding: 24px 34px;
  color: #626b7c;
}

.saving-card strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 29px;
}

.rate-card {
  right: 0;
  bottom: 34px;
  width: min(360px, 100%);
  padding: 24px;
}

.rate-card p {
  margin: 0 0 12px;
  color: #6d7586;
  font-weight: 800;
}

.rate-card div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  background: #f8faff;
  margin-bottom: 18px;
  padding: 16px;
}

.rate-card strong {
  font-size: 26px;
}

.photo-section {
  padding-top: 75px;
}

.delivery-photo {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-radius: 12px;
  background:
    linear-gradient(115deg, rgba(18, 27, 42, 0.35), rgba(18, 27, 42, 0.06)),
    radial-gradient(circle at 26% 20%, #d8a078, transparent 20%),
    linear-gradient(135deg, #1c2533 0%, #576272 35%, #c8b29b 36%, #e0c4a1 62%, #434a55 63%, #101722 100%);
}

.delivery-photo::before {
  content: "";
  position: absolute;
  inset: 48% 0 auto;
  height: 18px;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-8deg);
}

.parcel {
  position: absolute;
  right: 64px;
  top: 190px;
  width: 210px;
  height: 145px;
  border-radius: 3px;
  background: linear-gradient(135deg, #d8ad7f, #b48152);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
  transform: rotate(11deg);
}

.parcel::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 28px;
  width: 78px;
  height: 38px;
  background: repeating-linear-gradient(90deg, #111 0 4px, #fff 4px 7px);
}

.reverse {
  grid-template-columns: 1.05fr 1fr;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 92px 0 96px;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, 0.08);
}

.cta-band::before {
  width: 470px;
  height: 470px;
  left: 100px;
  bottom: -300px;
}

.cta-band::after {
  width: 250px;
  height: 250px;
  right: -60px;
  top: -70px;
}

.cta-band .shell {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}

.cta-band p {
  max-width: 650px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.cta-actions a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  background: #fff;
  color: #273043;
  font-weight: 800;
  padding: 0 26px;
}

.footer {
  background: #f3f7fd;
  padding: 78px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 170px 170px 170px;
  gap: 90px;
}

.footer-about p {
  max-width: 430px;
  margin: 28px 0 26px;
  color: #667085;
  font-size: 14px;
  line-height: 1.9;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e7edf6;
  color: #718098;
  font-size: 13px;
  font-weight: 800;
}

.footer h3 {
  margin: 14px 0 25px;
  font-size: 14px;
}

.footer-grid > div:not(.footer-about) a {
  display: block;
  margin-bottom: 20px;
  color: #6b7486;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 76px;
  padding-top: 28px;
  border-top: 1px solid #e3e9f3;
  color: #7d8595;
  font-size: 13px;
}

.footer-bottom nav {
  display: flex;
  gap: 34px;
}

.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;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .split-grid,
  .reverse {
    grid-template-columns: 1fr;
  }

  .saving-visual {
    max-width: 560px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1190px);
  }

  .top-coupon {
    height: auto;
    padding: 12px;
    flex-wrap: wrap;
    text-align: center;
  }

  .site-header {
    position: relative;
    inset: auto;
    background: #f7fbff;
  }

  .nav-actions > a:not(.pill-link) {
    display: none;
  }

  .hero {
    min-height: 400px;
    padding-top: 0;
  }

  .trust-pill {
    margin-top: 56px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .track-actions,
  html[lang="en"] .track-actions {
    grid-template-columns: 1fr;
  }

  .track-actions span {
    margin-left: 0;
  }

  .quick-track {
    margin-top: -58px;
  }

  .saving-visual {
    min-height: 520px;
  }

  .usps-card {
    left: 0;
  }

  .saving-card {
    right: 0;
    top: 210px;
  }

  .rate-card {
    bottom: 0;
  }

  .delivery-photo {
    min-height: 380px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
