:root {
  color: #201c35;
  background: #f6f5fb;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #8171eb; outline-offset: 4px; }
.header, .footer { max-width: 1240px; margin: 0 auto; padding-inline: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header { min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.23rem; font-weight: 730; letter-spacing: -.04em; white-space: nowrap; }
.brand img { border-radius: 10px; }
.header nav, .footer div { display: flex; align-items: center; gap: 28px; }
.header nav > a:first-child { color: #57516c; font-size: .95rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 0 23px; border-radius: 999px; font-weight: 620; white-space: nowrap; transition: background .2s, transform .2s; }
.button:active { transform: scale(.97); }
.button.small { min-height: 39px; padding-inline: 17px; font-size: .93rem; background: #e8e4f9; color: #4d399d; }
.button.primary { color: #fff; background: #5035b8; box-shadow: 0 6px 15px #5035b828; }
.button.primary:hover { background: #42299f; }
.button.secondary { color: #4b389e; background: #ece8ff; }
.button.secondary:hover, .button.small:hover { background: #e1d9fc; }
.hero { max-width: 1200px; min-height: 614px; margin: 0 auto; padding: 50px 32px 62px; display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); align-items: center; gap: clamp(26px, 5vw, 68px); }
.hero-copy { margin-top: -24px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3.05rem, 5.4vw, 5.55rem); line-height: 1.12; letter-spacing: -.074em; font-weight: 790; }
h1 span { color: #5843bc; }
.hero-copy p { max-width: 25ch; margin-top: 27px; color: #514b66; font-size: clamp(1.09rem, 1.65vw, 1.36rem); line-height: 1.7; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.preview { position: relative; overflow: hidden; isolation: isolate; min-width: 0; padding: clamp(21px, 3.4vw, 44px); border: 1px solid #fff; border-radius: 40px; background: radial-gradient(80% 100% at 78% 17%, #e4ddff 0, transparent 74%), linear-gradient(154deg, #fcfaff 0, #f1edfa 72%); box-shadow: 0 28px 78px -44px #3c297b6b, 0 0 0 1px #6a59a014; }
.demo-top { display: flex; justify-content: space-between; align-items: end; gap: 14px; }
.demo-kicker { color: #68607f; font-size: .87rem; font-weight: 610; }
.demo-top h2 { margin-top: 6px; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.12; letter-spacing: -.055em; }
.switch { display: flex; gap: 2px; padding: 4px; border: 1px solid #6b58a719; background: #5f4ca416; border-radius: 999px; }
.switch button { min-height: 33px; padding: 3px 13px; border: 0; border-radius: 999px; background: transparent; font-size: .89rem; white-space: nowrap; }
.switch button[aria-pressed="true"] { background: #fff; box-shadow: 0 2px 6px #401d6c19; font-weight: 660; color: #48358f; }
.demo-stage { position: relative; padding: 22px 5px 13px; margin-top: 12px; }
.back-card { position: absolute; inset: 20px 12px 21px 18px; transform: rotate(6deg) translateX(4%); border-radius: 28px; background: linear-gradient(135deg, #d7cffc, #b1a1ed); }
.front-card { position: relative; display: grid; align-content: space-between; gap: 15px; width: 100%; min-width: 0; min-height: 204px; aspect-ratio: 1.77; overflow: hidden; padding: clamp(17px, 3vw, 30px); border-radius: 28px; isolation: isolate; color: #fff; background: radial-gradient(80% 150% at 85% -34%, #7667ed, transparent 83%), linear-gradient(110deg,#302572,#5340af 62%,#352674); box-shadow: inset 0 1px 1px #ffffff48, 0 18px 24px -15px #33196186; }
.front-card::before, .front-card::after { content: ""; position: absolute; width: 340px; height: 285px; border: 1px solid #ffffff38; border-radius: 45%; z-index: -1; transform: rotate(-34deg); bottom: -155px; right: -105px; }
.front-card::after { bottom: -130px; right: -125px; border-color: #ffffff20; }
.front-card.phone { background: radial-gradient(85% 150% at 80% -35%,#5db8a1,transparent 80%),linear-gradient(115deg,#144940,#277d70 70%,#23534d); }
.card-top, .card-kind { display: flex; gap: 8px; }
.card-top { justify-content: space-between; align-items: start; }
.card-kind { align-items: center; font-size: .94rem; font-weight: 625; }
.card-glyph { position: relative; display: inline-block; width: 17px; height: 22px; border: 1.4px solid #f4edff; border-radius: 4px; }
.card-glyph.mail { width: 22px; height: 16px; overflow: hidden; }
.card-glyph.mail::after { content:""; position:absolute; width:12px; height:12px; top:-8px; left:3px; transform:rotate(45deg); border-right:1.3px solid white; border-bottom:1.3px solid white; }
.card-count { display: grid; gap: 2px; text-align: right; color: #f4efff; font-size: .78rem; }
.card-count strong { color: white; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.card-value { align-self: end; font-size: clamp(1.22rem, 2.5vw, 2rem); letter-spacing: -.025em; font-weight: 670; }
.card-note { color: #f1ebff; font-size: .82rem; }
.demo-services { display: flex; align-items: center; gap: 23px; min-height: 70px; margin-top: 10px; padding: 7px 6px 0; }
.demo-services > div { display: grid; justify-items: center; gap: 7px; font-size: .82rem; color: #49415e; min-width: 39px; }
.badge { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 13px; font-size: 1.08rem; font-weight: 650; background: #e9dfff; color: #5838a5; }
.badge.green { color: #235b4d; background: #d9eee3; }
.badge.blue { color: #305675; background: #deebfc; }
.badge.peach { color: #864f39; background: #f8e0d5; }
.features { max-width: 1200px; margin: 0 auto; padding: 42px 32px 76px; scroll-margin: 20px; }
.features > h2 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -.07em; margin-bottom: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.feature { min-height: 296px; padding: clamp(23px, 3.35vw, 40px); border-radius: 31px; background: #ece8fa; }
.feature.portable { background: #e9f1ee; }
.feature h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: -.05em; margin-bottom: 8px; }
.feature p { color: #4f4960; line-height: 1.65; max-width: 31ch; }
.diagram { display: flex; align-items: center; height: 118px; margin-bottom: 18px; }
.diagram-node, .diagram-items i { display: grid; place-items: center; border-radius: 10px; min-height: 27px; background: #fff9; font-style: normal; font-size: .75rem; color: #48318f; padding: 4px 9px; }
.diagram-node { min-height: 40px; font-weight: 710; background: #5b45b3; color: white; }
.diagram-branches { width: 44px; height: 63px; position: relative; border: 1px solid #8b77c4; border-left: 0; border-radius: 0 13px 13px 0; transform: rotate(180deg); }
.diagram-branches::after { content: ""; height: 1px; width: 44px; position: absolute; top: 30px; left: 0; background: #8b77c4; }
.diagram-items { display: grid; gap: 5px; }
.file { display: grid; align-content: center; gap: 9px; width: 68px; height: 88px; margin: 14px 0 34px 10px; transform: rotate(-8deg); border-radius: 13px; padding: 12px; background: #fff; border: 1px solid #fff; box-shadow: 10px 8px 0 #b6d9cc; }
.file span { height: 4px; border-radius: 6px; background: #487e70; }
.file span:last-child { width: 60%; }
.footer { min-height: 76px; border-top: 1px solid #6a59a01f; color: #514a67; font-size: .88rem; }
.footer a:hover { text-decoration: underline; }
@media (max-width: 850px) {
  .header, .footer { padding-inline: 23px; }
  .hero { padding: 43px 23px 35px; min-height: 0; }
  .hero-copy { margin: 0; }
  .features { padding: 35px 23px 52px; }
}
@media (max-width: 700px) {
  .header { min-height: 65px; }
  .header nav { gap: 14px; }
  .hero { grid-template-columns: 1fr; gap: 31px; padding-top: 37px; }
  .hero-copy p { margin-top: 17px; }
  .actions { margin-top: 21px; }
  .preview { border-radius: 29px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 245px; }
  .footer div { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }
