/* IP2World design system — rebuilt from the original CSS tokens, no frameworks.
   Original stack was layui + element-ui + swiper (~800KB CSS + 590KB JS).
   Tokens below are extracted verbatim from the archived static/index/css/*. */

:root {
  --blue: #3c7fff;
  --blue-600: #1d61fd;
  --blue-700: #0d4ccc;
  --blue-ink: #0b2961;
  --blue-ink-2: #002865;
  --tint: #e9f0fe;
  --tint-2: #eff5ff;

  --green: #61c303;
  --green-tint: #f4fcee;
  --amber: #ffb331;

  --ink: #333333;
  --ink-strong: #242633;
  --ink-2: #1e2539;
  --muted: #808080;
  --muted-2: #999999;
  --line: #c8cbd4;
  --bg-soft: #f0f2f5;
  --white: #fff;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 10px;
  --r-xl: 16px;

  --shadow: 0 4px 20px rgba(11, 41, 97, .08);
  --shadow-lg: 0 12px 40px rgba(11, 41, 97, .12);

  --wrap: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }

h1, h2, h3, h4 { margin: 0 0 16px; color: var(--ink-strong); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; letter-spacing: -.5px; }
h2 { font-size: clamp(25px, 3.1vw, 38px); }
h3 { font-size: clamp(18px, 1.7vw, 22px); }
p { margin: 0 0 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--tint-2), var(--white)); }
.center { text-align: center; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section > .wrap > h2 { margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 17px; margin-bottom: 40px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px; border: 0; border-radius: var(--r);
  font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .15s, color .15s;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(60, 127, 255, .32); }
.btn--primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--light { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.btn--light:hover { background: #fff; color: var(--blue-ink); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- promo bar ---------- */
.promo {
  background: linear-gradient(90deg, var(--blue-ink), var(--blue-600));
  color: #fff; font-size: 15px; font-weight: 600; text-align: center;
}
.promo a { color: #fff; display: block; padding: 10px 20px; }
.promo b { color: var(--amber); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: 0 1px 0 rgba(11, 41, 97, .08); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.hdr__logo { display: flex; align-items: center; flex: 0 0 auto; }
.hdr__logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: 4px; }
.nav > li { position: relative; list-style: none; }
.nav__link {
  display: flex; align-items: center; gap: 5px; height: var(--header-h);
  color: var(--ink-strong); font-weight: 600; font-size: 15px;
}
.nav__link:hover { color: var(--blue); }
.nav__link::after { content: ""; }
.has-sub > .nav__link::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .15s;
}
.has-sub:hover > .nav__link::after { transform: rotate(-135deg); margin-top: 2px; }
.sub {
  position: absolute; top: 100%; left: -18px; min-width: 268px; margin: 0; padding: 10px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s;
}
.has-sub:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub li { list-style: none; }
.sub a { display: block; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink); font-size: 15px; }
.sub a:hover { background: var(--tint); color: var(--blue-700); }
.sub small { display: block; color: var(--muted-2); font-size: 12.5px; font-weight: 400; }
.hdr__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hdr__login { font-weight: 700; color: var(--ink-strong); }
.hdr__login:hover { color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px auto; width: 22px; background: var(--ink-strong); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, #0b2961 0%, #1d61fd 55%, #3c7fff 100%);
  color: #fff; padding: 78px 0 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 420px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 8px; }
.hero__art { position: relative; z-index: 1; }
.hero__note { font-size: 14px; color: rgba(255, 255, 255, .72); }

.stats { position: relative; z-index: 2; margin-top: 56px; background: rgba(255, 255, 255, .1); border-top: 1px solid rgba(255, 255, 255, .16); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__i { padding: 22px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .14); }
.stats__i:first-child { border-left: 0; }
.stats__n { font-size: 26px; font-weight: 900; color: #fff; line-height: 1.2; }
.stats__t { font-size: 14px; color: rgba(255, 255, 255, .8); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: #fff; border: 1px solid #e6eaf2; border-radius: var(--r-xl);
  padding: 26px; transition: box-shadow .18s, transform .18s, border-color .18s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #d7e2fb; }
.card__ico { width: 46px; height: 46px; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

/* product card */
.prod { display: flex; flex-direction: column; }
.prod__from { margin: 16px 0 18px; font-size: 15px; color: var(--muted); }
.prod__from b { font-size: 26px; color: var(--blue-ink); font-weight: 900; }
.prod .btn { margin-top: auto; }
.prod__tag {
  display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: var(--green-tint); color: #3f8b00; font-size: 12.5px; font-weight: 700;
}
.prod__tag--hot { background: #fff4e3; color: #b7700a; }
.prod__tag--soon { background: #eef1f7; color: var(--muted); }

/* Products we do not sell yet: present, honest, but visually secondary. */
.prod--soon { background: #fbfcfe; }
.prod--soon h3 { color: var(--ink); }
.prod--soon .card__ico { opacity: .5; filter: grayscale(1); }
.prod--soon .btn { margin-top: 18px; }

/* ---------- feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__media { order: 2; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 7px 0 7px 30px; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green-tint);
  box-shadow: inset 0 0 0 2px var(--green);
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 19px; width: 5px; height: 9px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}

/* ---------- trust / payments ---------- */
.pays { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.pays img { height: 26px; width: auto; opacity: .85; }
.pays__soon { opacity: .35 !important; filter: grayscale(1); }
.pays__badge {
  padding: 2px 9px; border-radius: 999px; background: var(--amber); color: #3d2600;
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  border: 1px solid #e6eaf2; border-radius: var(--r-lg); padding: 0 20px; margin-bottom: 12px;
  background: #fff;
}
.faq details[open] { border-color: #cddcff; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
  font-weight: 700; color: var(--ink-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 24px; width: 9px; height: 9px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq p { padding-bottom: 18px; color: var(--muted); margin: 0; }

/* ---------- footer ---------- */
.ftr { background: var(--ink-2); color: #b9c0d0; padding: 56px 0 0; font-size: 15px; }
.ftr a { color: #b9c0d0; }
.ftr a:hover { color: #fff; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.ftr h4 { color: #fff; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.ftr ul { margin: 0; padding: 0; list-style: none; }
.ftr li { margin-bottom: 10px; }
.ftr__logo { height: 32px; margin-bottom: 16px; }
.ftr__bottom {
  margin-top: 44px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid--4, .grid--6 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--rev .split__media { order: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .ftr__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 48px 0; }
  .nav, .hdr__login { display: none; }
  .burger { display: block; margin-left: auto; }
  .grid--2, .grid--3, .grid--4, .grid--6 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__i:nth-child(3) { border-left: 0; }
  .ftr__grid { grid-template-columns: repeat(2, 1fr); }
}
