:root{
  --bg:#f7f8fc;
  --surface:#ffffff;
  --surface-2:#f0f2fb;
  --ink:#15182a;
  --muted:#6f7488;
  --line:#e5e7f1;
  --primary:#5b4df7;
  --primary-dark:#4336d9;
  --primary-soft:#efedff;
  --success:#1f9d6c;
  --dark:#131528;
  --shadow:0 24px 70px rgba(31,35,69,.12);
  --shadow-soft:0 14px 40px rgba(31,35,69,.08);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font:inherit}
button,a{ -webkit-tap-highlight-color:transparent }
a{color:inherit;text-decoration:none}
button{border:0}
.hidden{display:none!important}

.topbar{height:78px;display:flex;align-items:center;gap:28px;padding:0 4vw;position:sticky;top:0;z-index:40;background:rgba(247,248,252,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(229,231,241,.85)}
.brand{display:flex;align-items:center;gap:11px;min-width:210px}
.brand-mark,.editor-brand span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#6d5dfc,#4c40dc);color:#fff;font-weight:800;letter-spacing:-.5px;box-shadow:0 10px 24px rgba(91,77,247,.25)}
.brand-text{display:flex;flex-direction:column;line-height:1.15}.brand-text strong{font-size:17px}.brand-text small{margin-top:4px;color:var(--muted);font-size:11px;letter-spacing:.02em}
.nav-links{display:flex;align-items:center;gap:28px;margin-left:auto}.nav-links a{font-size:14px;font-weight:600;color:#555a70}.nav-links a:hover{color:var(--primary)}
.top-actions{display:flex;align-items:center;gap:12px}.language-switch{display:flex;padding:3px;background:#eceef7;border-radius:12px}.language-switch button{min-width:38px;padding:7px 8px;border-radius:9px;background:transparent;color:#73788d;font-size:12px;font-weight:800;cursor:pointer}.language-switch button.active{background:#fff;color:var(--primary);box-shadow:0 3px 10px rgba(31,35,69,.08)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:14px;padding:12px 18px;font-weight:750;font-size:14px;cursor:pointer;transition:.2s ease;white-space:nowrap}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--primary);color:#fff;box-shadow:0 10px 24px rgba(91,77,247,.2)}.button-primary:hover{background:var(--primary-dark)}.button-secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}.button-secondary:hover{border-color:#cbcfe1}.button-large{padding:15px 22px;border-radius:16px;font-size:15px}.button-small{padding:10px 14px;border-radius:12px}.full{width:100%}

.hero{max-width:1240px;margin:0 auto;padding:92px 34px 72px;display:grid;grid-template-columns:.92fr 1.08fr;align-items:center;gap:72px;min-height:700px}
.hero-copy{max-width:580px}.pill{display:inline-flex;padding:8px 12px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.hero h1{font-size:clamp(48px,5.4vw,74px);line-height:1.02;letter-spacing:-.055em;margin:18px 0 22px;max-width:680px}.hero h1 span{color:var(--primary)}.hero-lead{font-size:19px;color:#60657a;line-height:1.7;margin:0 0 30px;max-width:570px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.hero-notes{display:flex;gap:18px;flex-wrap:wrap;margin-top:20px;color:#75798c;font-size:12px}.hero-notes>span{display:flex;gap:6px;align-items:center}.hero-notes>span:first-child,.hero-notes>span:nth-child(2),.hero-notes>span:nth-child(3){color:#6b7084}.hero-notes>span::first-letter{color:var(--success)}
.hero-visual{position:relative}.app-shell-preview{background:#fff;border:1px solid #e2e4ef;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);transform:rotate(.4deg)}.preview-bar{height:48px;background:#f7f8fb;border-bottom:1px solid #e7e9f1;display:flex;align-items:center;padding:0 16px;gap:10px}.preview-dots{display:flex;gap:6px}.preview-dots i{width:8px;height:8px;border-radius:50%;background:#d4d7e3}.preview-url{font-size:11px;color:#9a9daf;margin-left:8px}.preview-badge{margin-left:auto;font-size:10px;font-weight:800;color:var(--success);background:#eaf8f2;padding:6px 8px;border-radius:999px}.preview-body{display:grid;grid-template-columns:58px 185px 1fr;min-height:410px}.preview-sidebar{background:#15182a;color:#aeb3c8;display:flex;flex-direction:column;align-items:center;padding:16px 0;gap:20px}.side-logo{width:30px;height:30px;border-radius:9px;background:var(--primary);display:grid;place-items:center;color:#fff;font-size:10px;font-weight:800;margin-bottom:8px}.preview-sidebar span{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;font-size:13px}.preview-sidebar .side-active{background:#2b2f45;color:#fff}.preview-settings{padding:24px 18px;background:#fbfbfd;border-right:1px solid #eaecf3}.preview-settings small{font-size:9px;letter-spacing:.14em;color:#a0a4b4;font-weight:800}.preview-settings h3{font-size:16px;margin:4px 0 18px}.preview-settings label{display:block;padding:11px 0;border-bottom:1px solid #eceef4}.preview-settings label span{display:block;color:#969aab;font-size:10px;margin-bottom:4px}.preview-settings label b{font-size:12px}.mini-status{margin-top:18px;background:#eaf8f2;color:#298761;padding:10px;border-radius:10px;font-size:10px;font-weight:700}.preview-document{padding:28px;background:linear-gradient(135deg,#eeeff5,#f7f7fa);display:flex;align-items:center;justify-content:center}.book-sheet{width:240px;min-height:335px;background:#fff;padding:34px 30px 28px;box-shadow:0 14px 30px rgba(31,35,69,.15);font-family:Georgia,serif;position:relative}.running-title{text-align:center;font-size:6px;letter-spacing:.18em;color:#a2a4af;margin-bottom:40px}.chapter-kicker{text-align:center;font-size:7px;letter-spacing:.2em;color:#6d7080}.book-sheet h4{text-align:center;font-size:18px;margin:10px 0 8px;font-weight:500}.chapter-rule{text-align:center;font-size:7px;margin-bottom:22px}.book-sheet p{font-size:8px;line-height:1.65;color:#42444c;margin:0 0 10px}.dropcap{font-size:25px;float:left;line-height:.8;margin:3px 4px 0 0}.page-number{position:absolute;bottom:14px;left:0;right:0;text-align:center;font-size:7px;color:#999}.floating-card{position:absolute;background:#fff;border:1px solid #e8e9f2;border-radius:16px;padding:12px 14px;box-shadow:var(--shadow-soft);display:flex;gap:10px;align-items:center;min-width:185px}.floating-card>span{width:34px;height:34px;border-radius:10px;background:#eefaf4;color:var(--success);display:grid;place-items:center;font-weight:800}.floating-card div{display:flex;flex-direction:column}.floating-card b{font-size:11px}.floating-card small{color:#9296a8;font-size:9px}.floating-one{right:-28px;top:44px}.floating-two{left:-24px;bottom:28px}.floating-two>span{background:var(--primary-soft);color:var(--primary)}

.proof-strip{max-width:1120px;margin:0 auto 40px;padding:22px 30px;background:#fff;border:1px solid var(--line);border-radius:20px;display:grid;grid-template-columns:repeat(4,1fr);box-shadow:var(--shadow-soft)}.proof-strip div{display:flex;flex-direction:column;align-items:center;border-right:1px solid var(--line)}.proof-strip div:last-child{border-right:0}.proof-strip strong{font-size:20px;letter-spacing:-.03em}.proof-strip span{font-size:11px;color:var(--muted);margin-top:3px}
.section{max-width:1180px;margin:0 auto;padding:110px 34px}.section-soft{max-width:none;background:#f0f2f8}.section-soft>*{max-width:1112px;margin-left:auto;margin-right:auto}.section-head{text-align:center;max-width:760px;margin:0 auto 48px}.section-head.compact{margin-bottom:38px}.section-kicker{font-size:11px;font-weight:850;letter-spacing:.14em;color:var(--primary)}.section-kicker.light{color:#b9b3ff}.section-head h2{font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-.04em;margin:10px 0 16px}.section-head p{margin:0;color:var(--muted);font-size:17px}.feature-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature-cards article{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;min-height:280px;position:relative;box-shadow:0 12px 34px rgba(31,35,69,.04)}.feature-number{position:absolute;right:20px;top:16px;color:#d8dae5;font-size:12px;font-weight:800}.feature-icon{width:44px;height:44px;border-radius:13px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:800;margin-bottom:22px}.feature-cards h3{font-size:18px;margin:0 0 10px}.feature-cards p{color:var(--muted);font-size:14px;margin:0;line-height:1.7}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.steps-grid article{background:#fff;border-radius:20px;padding:24px;display:flex;gap:16px;box-shadow:var(--shadow-soft)}.step-dot{flex:0 0 38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--dark);color:#fff;font-weight:800}.steps-grid h3{margin:2px 0 7px;font-size:17px}.steps-grid p{margin:0;color:var(--muted);font-size:14px}
.pricing-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}.pricing-cards article{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;position:relative;display:flex;flex-direction:column;box-shadow:var(--shadow-soft)}.price-featured{border:2px solid var(--primary)!important;transform:translateY(-8px)}.popular-tag{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--primary);color:#fff;padding:6px 12px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.08em}.plan-label{font-size:13px;font-weight:850}.plan-price{display:flex;align-items:flex-end;gap:7px;margin:12px 0}.plan-price strong{font-size:48px;line-height:1;letter-spacing:-.05em}.plan-price small{font-size:11px;color:var(--muted);margin-bottom:6px}.pricing-cards article>p{color:var(--muted);font-size:14px;min-height:46px}.pricing-cards ul{list-style:none;margin:18px 0 24px;padding:0;display:grid;gap:10px;flex:1}.pricing-cards li{font-size:13px;color:#515669}.pricing-cards li::before{content:"✓";color:var(--success);font-weight:900;margin-right:8px}
.services-wrap{background:linear-gradient(135deg,#171a31,#25284b);border-radius:30px;padding:46px;display:grid;grid-template-columns:.82fr 1.18fr;gap:42px;color:#fff;box-shadow:var(--shadow)}.services-copy h2{font-size:42px;line-height:1.08;letter-spacing:-.04em;margin:12px 0 16px}.services-copy p{color:#c4c8dc}.service-time{display:inline-flex;gap:9px;align-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);padding:10px 12px;border-radius:12px;font-size:12px}.service-list{display:grid;gap:10px}.service-list button{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;text-align:left;padding:15px;background:rgba(255,255,255,.07);color:#fff;border:1px solid rgba(255,255,255,.09);border-radius:16px;cursor:pointer}.service-list button:hover{background:rgba(255,255,255,.11)}.service-list button>span{width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.09);display:grid;place-items:center}.service-list b{display:block;font-size:13px}.service-list small{display:block;color:#b8bdd1;font-size:10px;margin-top:2px}.service-list strong{font-size:14px}.cta-band{max-width:1112px;margin:20px auto 90px;padding:38px 42px;background:#fff;border:1px solid var(--line);border-radius:24px;display:flex;justify-content:space-between;align-items:center;gap:30px;box-shadow:var(--shadow-soft)}.cta-band h2{font-size:28px;line-height:1.2;letter-spacing:-.03em;max-width:700px;margin:8px 0 0}.footer{border-top:1px solid var(--line);padding:34px 4vw 42px;display:grid;grid-template-columns:1fr 1.6fr auto;gap:30px;align-items:start;color:var(--muted);font-size:11px}.footer strong{color:var(--ink);font-size:14px}.footer p{margin:6px 0 0}.footer-language{display:flex;gap:8px}.footer-language button{background:transparent;color:var(--muted);cursor:pointer;font-size:11px}.footer-language button.active{color:var(--primary);font-weight:800}

.editor-app{min-height:100vh;background:#eef0f6}.editor-topbar{height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 18px;position:sticky;top:0;z-index:50}.editor-brand{background:transparent;display:flex;align-items:center;gap:10px;cursor:pointer}.editor-brand span{width:34px;height:34px;border-radius:10px;font-size:10px}.editor-project-name{display:flex;flex-direction:column;margin-left:28px;line-height:1.15}.editor-project-name span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}.editor-project-name strong{font-size:12px;margin-top:3px}.editor-actions{margin-left:auto;display:flex;gap:8px}.editor-layout{display:grid;grid-template-columns:74px 310px minmax(420px,1fr) 230px;min-height:calc(100vh - 64px)}.editor-rail{background:#171a2f;color:#b9bdcf;padding:16px 10px;display:flex;flex-direction:column;gap:8px}.rail-button{background:transparent;color:#aab0c4;border-radius:12px;padding:10px 5px;cursor:pointer;display:flex;flex-direction:column;gap:4px;align-items:center}.rail-button span{font-weight:800}.rail-button small{font-size:9px}.rail-button.active{background:#2a2e49;color:#fff}.editor-panel-area{background:#fff;border-right:1px solid var(--line);overflow:auto}.editor-panel{display:none;padding:24px}.editor-panel.active{display:block}.panel-head{margin-bottom:22px}.panel-head h2{margin:0 0 6px;font-size:20px;letter-spacing:-.02em}.panel-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.field{display:block;margin-bottom:15px}.field>span{display:block;font-size:11px;font-weight:750;margin-bottom:6px;color:#4f5469}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe2ec;border-radius:11px;padding:11px 12px;background:#fff;color:var(--ink);outline:0}.field input:focus,.field select:focus,.field textarea:focus{border-color:#aaa3ff;box-shadow:0 0 0 3px rgba(91,77,247,.09)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.info-card,.analysis-card{background:#f7f8fb;border:1px solid var(--line);border-radius:12px;padding:12px;font-size:11px;color:#64697d;margin-bottom:14px}.template-list{display:grid;gap:8px;margin-bottom:18px}.template-option{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px;text-align:left;cursor:pointer}.template-option.selected{border-color:var(--primary);background:#faf9ff}.template-preview{width:42px;height:42px;border-radius:10px;background:#f0f1f6;display:grid;place-items:center;font-weight:700}.template-option b{display:block;font-size:12px}.template-option small{display:block;color:var(--muted);font-size:9px}.serif{font-family:Georgia,serif}.sans{font-family:Arial,sans-serif}.italic{font-style:italic}.check-row{display:flex;align-items:center;gap:8px;font-size:11px;margin:10px 0}.cover-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.cover-choice{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px;cursor:pointer}.cover-choice.selected{border-color:var(--primary)}.cover-mini{height:96px;border-radius:8px;display:grid;place-items:center;font-size:10px;letter-spacing:.18em}.cover-mini.dark{background:#171a2f;color:#fff}.cover-mini.light{background:#ece7dd;color:#272727}.cover-choice b{display:block;font-size:10px;margin-top:8px}.check-results{display:grid;gap:8px;margin-top:14px}.check-item{padding:10px;border-radius:10px;background:#eef9f4;color:#287d5e;font-size:11px}.editor-canvas-wrap{min-width:0;background:#eceef4;display:flex;flex-direction:column}.canvas-toolbar{height:46px;background:#f8f9fc;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:10px;color:var(--muted)}.canvas-toolbar button{width:28px;height:28px;border-radius:8px;background:#fff;border:1px solid var(--line);cursor:pointer}.canvas-toolbar div{display:flex;align-items:center;gap:8px}.editor-canvas{flex:1;display:flex;justify-content:center;align-items:flex-start;padding:42px;transform-origin:top center;transition:transform .2s}.page-preview{width:430px;min-height:645px;background:#fff;box-shadow:0 18px 45px rgba(31,35,69,.16);padding:68px 58px 48px;font-family:Georgia,serif;position:relative;font-size:11px;line-height:1.45}.running-head{text-align:center;font-size:7px;letter-spacing:.18em;color:#9b9da8;margin-bottom:70px}.page-preview .chapter-kicker{text-align:center;font-size:8px;letter-spacing:.18em;color:#777b88}.page-preview h1{text-align:center;font-weight:500;font-size:26px;margin:10px 0 9px}.page-preview .chapter-rule{text-align:center;margin-bottom:34px;font-size:8px}.page-preview p{margin:0 0 13px;text-align:justify}.page-preview p.dropcap::first-letter{float:left;font-size:35px;line-height:.8;padding:5px 5px 0 0}.chapter-panel{background:#fff;border-left:1px solid var(--line);padding:18px}.chapter-panel h3{font-size:12px;margin:0 0 12px}.chapter-panel #chapterList{display:grid;gap:4px}.chapter-panel #chapterList div{font-size:9px;color:#666b7e;padding:7px 8px;border-radius:8px}.chapter-panel #chapterList div:hover{background:#f5f6fa}

.modal{position:fixed;inset:0;background:rgba(18,20,39,.55);z-index:100;display:grid;place-items:center;padding:20px}.modal-card{width:min(520px,100%);background:#fff;border-radius:22px;padding:30px;position:relative;box-shadow:var(--shadow)}.modal-small{width:min(420px,100%);text-align:center}.modal-close{position:absolute;right:16px;top:14px;width:32px;height:32px;border-radius:50%;background:#f1f2f7;cursor:pointer;color:#666}.modal-card h2{font-size:26px;letter-spacing:-.03em;margin:8px 0 8px}.modal-card>p{color:var(--muted);font-size:13px}.modal-price{font-size:30px;font-weight:850;margin:16px 0}.checkout-icon{width:48px;height:48px;margin:0 auto 12px;border-radius:14px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:900;font-size:20px}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#171a2f;color:#fff;padding:11px 16px;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:120}.toast.show{opacity:1;transform:translate(-50%,0)}

@media (max-width:1100px){.nav-links{display:none}.hero{grid-template-columns:1fr;gap:48px;padding-top:64px}.hero-copy{max-width:720px;text-align:center;margin:auto}.hero-buttons,.hero-notes{justify-content:center}.hero-visual{max-width:720px;margin:auto}.feature-cards{grid-template-columns:repeat(2,1fr)}.editor-layout{grid-template-columns:70px 290px minmax(400px,1fr)}.chapter-panel{display:none}}
@media (max-width:820px){.topbar{padding:0 18px}.brand-text small{display:none}.top-actions .button{display:none}.hero{padding:54px 20px}.hero h1{font-size:48px}.preview-body{grid-template-columns:52px 160px 1fr}.proof-strip{margin:0 20px 10px;grid-template-columns:repeat(2,1fr);gap:18px}.proof-strip div{border-right:0}.section{padding:78px 20px}.steps-grid,.pricing-cards{grid-template-columns:1fr}.price-featured{transform:none}.services-wrap{grid-template-columns:1fr;padding:30px}.cta-band{margin:10px 20px 70px;flex-direction:column;align-items:flex-start}.footer{grid-template-columns:1fr}.editor-layout{grid-template-columns:62px 260px 1fr}.editor-canvas{padding:24px}.page-preview{width:360px;min-height:540px;padding:56px 46px}}
@media (max-width:640px){.brand{min-width:0}.topbar{height:70px}.brand-mark{width:38px;height:38px}.brand-text strong{font-size:15px}.hero{padding-top:38px}.hero h1{font-size:41px}.hero-lead{font-size:16px}.hero-buttons{flex-direction:column}.hero-buttons .button{width:100%}.app-shell-preview{border-radius:18px}.preview-settings{display:none}.preview-body{grid-template-columns:48px 1fr;min-height:340px}.preview-document{padding:18px}.book-sheet{width:220px;min-height:306px}.floating-card{display:none}.feature-cards{grid-template-columns:1fr}.section-head h2{font-size:35px}.services-copy h2{font-size:34px}.service-list button{grid-template-columns:38px 1fr auto}.service-list small{display:none}.proof-strip{padding:18px}.editor-topbar{padding:0 10px}.editor-project-name{display:none}.editor-layout{display:block}.editor-rail{height:64px;position:fixed;left:0;right:0;bottom:0;z-index:70;flex-direction:row;justify-content:space-around;padding:6px 8px}.rail-button{width:70px;padding:5px}.editor-panel-area{min-height:calc(100vh - 128px);padding-bottom:70px}.editor-panel{padding:20px}.editor-canvas-wrap,.chapter-panel{display:none}.field-grid{grid-template-columns:1fr}.footer-language{margin-top:4px}}
