:root { color-scheme: light; --ink:#141c34; --muted:#53617b; --line:#dce4f7; --paper:#f9fbff; --blue:#2c53ef; --pale:#edf2ff; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.6 "Instrument Sans","PingFang SC","Microsoft YaHei",sans-serif; }
a { color:inherit; text-decoration:none; }
button,input { font:inherit; }
button { cursor:pointer; }
[hidden] { display:none !important; }
:focus-visible { outline:3px solid #6583ff; outline-offset:3px; }
.wrap { width:min(1120px,calc(100% - 72px)); margin-inline:auto; }
.bar { height:74px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.brand { display:inline-flex; align-items:center; gap:10px; font-size:17px; font-weight:700; white-space:nowrap; }
.mark { width:30px; height:30px; border-radius:10px; display:grid; place-items:center; background:var(--blue); color:white; line-height:1; font-size:19px; }
nav { display:flex; gap:30px; align-items:center; font-size:14px; }
nav a { color:var(--muted); }
.nav-account { font-weight:650; background:transparent; border:1px solid var(--line); border-radius:100px; color:var(--ink); padding:7px 17px; }
.hero { position:relative; display:grid; grid-template-columns:1.05fr .95fr; min-height:633px; align-items:center; }
.hero-copy { z-index:2; padding:54px 0 48px; }
.platform { color:var(--blue); font-size:12px; font-weight:750; letter-spacing:.19em; }
h1 { font-size:clamp(42px,6.8vw,92px); letter-spacing:-.086em; margin:19px 0 24px; line-height:1.03; }
h1 em { display:block; font-style:normal; color:var(--blue); }
.intro { max-width:410px; margin:0 0 29px; color:var(--muted); }
.button { min-height:46px; display:inline-flex; align-items:center; justify-content:center; gap:18px; font-size:14px; font-weight:700; border:1px solid transparent; padding:9px 19px; border-radius:10px; transition:background .16s ease, transform .16s ease; text-align:center; }
.button:hover { transform:translateY(-2px); }
.button:disabled { opacity:.62; cursor:wait; }
.primary { background:var(--blue); color:white; }
.secondary { background:transparent; color:#2345c9; border-color:#c8d4fb; }
.subtle { color:var(--muted); font-size:12px; }
.hero-visual { position:relative; height:560px; display:flex; align-items:center; justify-content:center; isolation:isolate; }
.hero-visual:before { content:""; position:absolute; inset:4% -4% 4% -5%; z-index:-1; background:radial-gradient(ellipse at center,#d7e2ff 15%,transparent 68%); }
.phone { width:211px; position:absolute; margin:0; border:6px solid #182347; border-radius:27px; overflow:hidden; box-shadow:0 21px 46px #25387d35; background:white; }
.phone img { width:100%; height:auto; display:block; }
.phone-back { transform:translate(-37px,-17px) rotate(-12deg); }
.phone-front { transform:translate(94px,21px) rotate(12deg); }
h2 { font-size:clamp(24px,4vw,39px); margin:0 0 23px; line-height:1.25; letter-spacing:-.045em; }
.features { border-top:1px solid var(--line); padding-block:42px 60px; }
.feature-grid,.pricing { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature-grid article { padding:0 24px 0 15px; border-left:2px solid #b3c3ff; }
.feature-grid b { font-size:18px; }
.feature-grid p,.plan p { color:var(--muted); margin:8px 0; font-size:14px; }
.plans { padding:44px 0 53px; scroll-margin-top:25px; border-top:1px solid var(--line); }
.plan { display:flex; flex-direction:column; padding:22px; min-height:234px; border-radius:17px; border:1px solid var(--line); background:white; }
.plan:first-child { background:var(--pale); border-color:#c7d5ff; }
.plan h3 { font-size:16px; margin:0 0 7px; }
.price { color:var(--blue); font-size:31px; font-weight:750; line-height:1.1; }
.price small { color:var(--muted); font-size:11px; font-weight:500; margin-left:4px; }
.plan p { flex:1; margin:12px 0 16px; }
.key { color:var(--muted); font-size:13px; margin-top:17px; }
summary { cursor:pointer; max-width:max-content; }
.summary { margin-top:12px; padding:15px 18px; background:var(--pale); border-radius:12px; font-size:14px; }
.status:empty { display:none; }
.status { color:var(--muted); font-size:14px; }
.text-button { border:0; background:transparent; color:#3150ba; padding:8px 14px; }
footer { border-top:1px solid var(--line); padding-block:24px 39px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
footer > span { color:var(--muted); font-size:12px; }
dialog { padding:25px; border:1px solid var(--line); border-radius:18px; color:var(--ink); width:min(420px,calc(100% - 30px)); }
dialog::backdrop { background:#17264966; }
.dialog-head { display:flex; justify-content:space-between; align-items:start; }
.dialog-head h2 { font-size:22px; margin-bottom:17px; }
.dialog-head button { background:transparent; border:0; color:var(--muted); font-size:22px; padding:0 5px; line-height:1; }
label { display:block; font-size:13px; color:var(--muted); margin-bottom:11px; }
input { width:100%; display:block; padding:8px 11px; border:1px solid var(--line); border-radius:8px; color:var(--ink); }
.dialog-actions { display:flex; gap:10px; }
#auth-message { font-size:13px; color:#983447; }
@media(max-width:800px) {
  .wrap { width:min(610px,calc(100% - 36px)); }
  .hero { grid-template-columns:1fr; } .hero-copy { padding-bottom:0; } .hero-visual { height:454px; }
  .phone { width:163px; } .phone-front { transform:translate(61px,13px) rotate(12deg); } .phone-back { transform:translate(-50px,-11px) rotate(-12deg); }
  .pricing,.feature-grid { grid-template-columns:1fr; } .plan { min-height:195px; }
}
@media(max-width:400px) { nav { gap:12px; } .phone { width:145px; } .hero-visual { height:411px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .button { transition:none; } }
