:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #10203a;
  background: #f5f8fc;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 50% 0, #e3efff 0, #f5f8fc 35rem); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  width: min(1160px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; }
.brand img { width: 30px; height: 30px; }
nav { display: flex; gap: 28px; color: #5a6b83; font-size: 14px; }
nav a:hover { color: #1269e8; }

main { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.hero { max-width: 780px; margin: 78px auto 54px; text-align: center; }
.eyebrow { color: #1671ed; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
h1 { margin: 18px 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.12; letter-spacing: -.04em; }
h1 span { color: #1269e8; }
.hero > p { max-width: 690px; margin: 0 auto; color: #63728a; font-size: 17px; line-height: 1.8; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 27px; color: #3b4f6d; font-size: 13px; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: #1671ed; font-weight: 800; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid #dce4ef; border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 14px 38px rgba(38,67,109,.07); }
.plan-label { color: #1671ed; font-size: 12px; font-weight: 750; letter-spacing: .1em; }
h2 { margin: 11px 0 7px; font-size: 28px; }
.plan-intro { min-height: 48px; margin: 0; color: #718096; line-height: 1.6; }
.price { margin: 25px 0 18px; padding-bottom: 18px; border-bottom: 1px solid #e6ebf2; font-size: 17px; font-weight: 750; }
ul { flex: 1; margin: 0 0 28px; padding: 0; list-style: none; color: #41536d; font-size: 14px; line-height: 2.15; }
li::before { content: "✓"; margin-right: 9px; color: #1671ed; font-weight: 800; }
.button { display: block; width: 100%; padding: 13px 18px; border: 1px solid #1671ed; border-radius: 10px; background: #1671ed; color: white; text-align: center; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { background: #095bc9; transform: translateY(-1px); }
.button.secondary { border: 1px solid #cbd8e8; background: #fff; color: #173252; }
.button.secondary:hover { border-color: #1671ed; color: #1269e8; }
.note { display: flex; gap: 14px; justify-content: center; margin: 42px 0 70px; padding: 20px; border-radius: 14px; background: #eaf2ff; color: #526681; font-size: 14px; }
.note strong { color: #173252; white-space: nowrap; }
footer { padding: 28px 20px; border-top: 1px solid #dfe7f1; color: #8090a5; text-align: center; font-size: 12px; }

.contact-modal[hidden] { display: none; }
.contact-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(12, 25, 48, .48); }
.contact-dialog { position: relative; width: min(480px, 100%); border: 1px solid #dce4ef; border-radius: 18px; background: white; box-shadow: 0 24px 80px rgba(13, 33, 68, .25); padding: 30px; }
.contact-dialog h2 { margin: 0 0 10px; font-size: 25px; }
.contact-dialog p { margin: 0 0 20px; color: #63728a; font-size: 14px; line-height: 1.7; }
.contact-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: #eef3fa; color: #42536c; cursor: pointer; font-size: 24px; line-height: 1; }
.contact-close:hover { background: #e2ebf6; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: #41536d; font-size: 13px; font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d4dfec; border-radius: 9px; background: #fff; color: #10203a; padding: 10px 12px; font: inherit; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(22, 113, 237, .22); border-color: #1671ed; }
.contact-status { min-height: 18px; color: #1671ed; font-size: 13px; }
.contact-status.error { color: #b42318; }
.contact-form button:disabled { opacity: .62; cursor: wait; transform: none; }

@media (max-width: 820px) {
  .hero { margin-top: 48px; }
  .plans { grid-template-columns: 1fr; }
  }

@media (max-width: 520px) {
  .site-header, main { width: min(100% - 28px, 1160px); }
  nav { gap: 14px; }
  h1 { font-size: 36px; }
  .plan-card { padding: 24px; }
  .note { align-items: flex-start; flex-direction: column; }
}
