/* Overlay styles for the original AutoHTML/Figma geometry. Desktop card coordinates are not rebuilt. */
:root { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #141414; }
html { scroll-behavior: smooth; }
body { margin: 0; background:#f5f4f1; overflow-x:hidden; }
button,textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, [role="button"]:focus-visible,[role="link"]:focus-visible,textarea:focus-visible { outline:2px solid #f7682f; outline-offset:3px; }
[hidden] { display:none !important; }
.mac-book-pro-14-1 { width:1512px; margin:0 auto; isolation:isolate; }
.frame-39 [role="button"],.frame-39 [role="link"],.frame-41 [role="button"],.frame-137 [role="link"] { cursor:pointer; }
.frame-39 [role="button"]:hover,.frame-41 [role="button"]:hover{filter:brightness(.965)}
.frame-42 { overflow:visible; }
.frame-42 .button6 { align-self:center; padding: 10px 16px; max-width:100%; }
.frame-42 .button7 {line-height:18px;white-space:normal;}
.frame-42 .text-area-input{height:97px;}
.frame-42 .input-layer { padding:0; }
.frame-42 #try-input { display:block; height:100%; width:100%; border:none;outline: none;resize:none;padding:15px 16px;border-radius:8px; background:white; color:#151515; font: 400 16px/1.5 Inter,system-ui,sans-serif; }
.frame-42 #try-input::placeholder {color:#b4bac2;}
.demo-actions { display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:5px; width:100%;height:34px;margin-top:0; }
.demo-actions button { padding:8px 9px;border-radius:8px; white-space:nowrap;font-size:12px;line-height:16px;letter-spacing:-.02em;transition:background .15s, color .15s; }
.demo-link {color:#606368;background:#f8f8f8;}
.demo-link:hover {background:#ecebea;color:#141414;}
.demo-btn {background:#161616;color:white;}
.demo-btn:hover{background:#444;}
.demo-actions #fixLayout {background:#edece9;color:#171717;}
.demo-actions #fixLayout:hover{background:#deddd9;}
.demo-feedback {position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);background:#222;color:white;font-size:12px;line-height:18px;padding:8px 12px;border-radius:9px;min-width:100px;max-width:95%;text-align:center;pointer-events:none;opacity:0;transition:opacity .2s;z-index:5;}
.demo-feedback.is-visible{opacity:1;}
.demo-video { display:block; background:#fafafa; object-fit:cover; object-position:center; cursor:default; overflow:hidden; }
.frame-128,.frame-129,.frame-130,.frame-131,.frame-132 { overflow:hidden; }
.demo-video._1,.demo-video._12,.demo-video._13,.demo-video._14,.demo-video._15{ flex-shrink:0; }
.video-toggle { position:absolute;bottom:31px;right:32px; width:28px;height:28px;border-radius:8px; background:rgba(255,255,255,.92); color:#1e1e1e;display:grid;place-items:center; opacity:0;transition:opacity .15s;font-size:13px;font-weight:600;box-shadow:0 1px 5px #00000018;}
.frame-128:hover .video-toggle,.frame-129:hover .video-toggle,.frame-130:hover .video-toggle,.frame-131:hover .video-toggle,.frame-132:hover .video-toggle,.video-toggle:focus-visible{opacity:1;}
/* Make card layout media fidelity consistent with Figma: fixed media box width and height */
.frame-128 .russ3,.frame-130 .russ3,.frame-131 .russ3,.frame-132 .russ3 {height:33px;}
.frame-131 .demo-video {height:288px;}
.frame-128 .demo-video,.frame-129 .demo-video,.frame-130 .demo-video,.frame-131 .demo-video,.frame-132 .demo-video {max-width:100%;}
/* Download cards - same positions from source */
.frame-135 .button9,.frame-136 .button9 {cursor:pointer;}
.frame-135 .button9:hover,.frame-136 .button9:hover{filter:brightness(.86)}
.frame-135 .div4,.frame-136 .div4 {font-family: -apple-system,sans-serif;}
/* Modals: separate from Figma export; intentionally match off-white/black original palette. */
.overlay {position:fixed;inset:0;z-index:999;background:#12121299;display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto;backdrop-filter:blur(7px)}
.pricing-dialog,.download-dialog{position:relative;background:#fff;border-radius:22px;padding:45px 40px 38px; width:min(820px,100%);box-shadow:0 24px 80px #0002;}
.pricing-dialog h2{font-size:30px;letter-spacing:-.04em;margin:11px 0 23px}.modal-kicker{color:#999;font-size:15px;}
.close-modal{position:absolute;top:18px;right:20px;border-radius:50%;width:32px;height:32px;background:#f1f1f1;color:#555;font-size:22px;display:grid;place-items:center;line-height:1;}
.close-modal:hover{background:#ddd;}
.tier-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:stretch;}
.tier{min-height:450px;display:flex;flex-direction:column;border-radius:18px;padding:24px 22px;}
.tier-free{background:#f5f4f1;color:#1b1b1b;}.tier-pro{background:#121212;color:white;background-image:radial-gradient(circle at 85% 12%,#5555 0,#12121255 40%);}
.tier-eyebrow{font-size:14px;font-weight:600;}.tier h3{margin:8px 0 16px;font-size:20px}.tier-price{font-size:33px;font-weight:750;letter-spacing:-.04em}.tier-price small{font-size:15px;font-weight:500;letter-spacing:0;color:#888;}
.tier ul{list-style:none;padding:0;margin:20px 0;display:grid;gap:12px;}.tier li{font-size:14px;line-height:1.35;display:flex;gap:9px;}.tier li::before{content:'✓';font-weight:bold;}
.tier-note{font-size:12px;line-height:1.5;color:#777;margin-top:auto;padding-bottom:16px;}.tier-pro .tier-note{color:#bbb;}
.tier-cta{border-radius:8px;background:#fff;box-shadow:0 1px 4px #0002;color:#151515;padding:13px 15px;font-weight:700;font-size:14px;width:100%;}
.tier-pro .tier-cta{background:#f5f4f1;}
.tier-cta:hover{background:#f1eee9;}
.download-dialog{width:min(440px,100%);padding:40px 32px 32px;}
.download-chip{font-size:12px;color:#ed632c;font-weight:600;}.download-dialog h2{font-size:28px;line-height:1.15;letter-spacing:-.04em;margin:15px 0;}.download-dialog p{font-size:15px;line-height:1.5;color:#636363;margin-bottom:26px;}
.toast{position:fixed;z-index:1200;left:50%;bottom:28px;transform:translate(-50%,20px);background:#222;color:white;border-radius:10px;padding:12px 18px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:min(420px,90vw);text-align:center;}
.toast.active{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion: reduce) {html{scroll-behavior:auto}.demo-feedback,.toast{transition:none}}
/* Mobile and small tablets: keep the original visual hierarchy, but reflow rather than shrink it. */
@media (max-width:1100px){
 .mac-book-pro-14-1 {width:auto!important;height:auto!important;display:flex;flex-direction:column;align-items:stretch;padding:16px 16px 32px;gap:0;overflow:visible;position:relative;}
 .mac-book-pro-14-1 > * {position:relative!important;left:auto!important;top:auto!important;translate:none!important;width:100%!important;max-width:100%!important;flex-shrink:0!important;}
 .mac-book-pro-14-1 .rectangle-7,.mac-book-pro-14-1 .rectangle-8 {display:none!important;}
 .frame-39 {order:0!important;height:auto!important;min-height:57px;border-radius:12px;}
 .frame-38 {width:100%!important;gap:12px;}
 .frame-37{padding:7px;}
 .frame-36 {gap:6px;}.frame-36 .button,.frame-36 .button3{display:none;}.frame-36 .button4{padding:9px 10px;}.button5,.button2{font-size:12px;}
 .frame-40 {order:1!important;display:flex!important;align-items:center;margin:58px 0 0!important;gap:12px!important;}
 .mac-os{width:100%;font-size:13px;line-height:1.4;}
 .russ2{width:100%!important;font-size:clamp(29px,8vw,42px)!important;line-height:1.12!important;letter-spacing:-.04em!important;display:block;text-wrap:balance;}
 .russ2 br {display:none;}
 .mac-book-pro-14-1 > .div {order:2!important;margin:17px auto 0!important;display:block;width:100%!important;height:auto!important;font-size:14px;line-height:1.5;}
 .frame-41 {order:3!important;margin:24px auto 0!important;width:auto!important;display:flex!important;justify-content:center;}
 .frame-42 {order:4!important;margin:32px auto 0!important;padding:14px!important;width:100%!important;max-width:540px!important;height:auto!important;gap:13px!important;border-radius:16px;}
 .frame-42 .button6 {height:auto!important; min-height:36px; padding:9px 10px;}
 .frame-42 .button7{font-size:12px;line-height:1.35;text-align:center;}
 .frame-42 .text-area-input {height:120px!important;}
 .demo-actions{height:auto;flex-wrap:wrap;justify-content:flex-start;gap:7px;}
 .demo-actions button {font-size:11px;padding:7px 8px;}
 .frame-43{order:5!important;display:flex!important;align-items:center;margin:72px auto 28px!important;}
 .frame-43 .div6,.frame-133 .div6{font-size:34px!important;line-height:1.12;width:auto!important;max-width:320px!important;text-align:center;text-wrap:balance;}
 .frame-128{order:6!important}.frame-129{order:7!important}.frame-130{order:8!important}.frame-131{order:9!important}.frame-132{order:10!important}
 .frame-128,.frame-129,.frame-130,.frame-131,.frame-132{height:auto!important;max-width:540px!important;padding:16px!important;margin:0 auto 15px!important;gap:12px!important;border-radius:16px;}
 .frame-128 .russ3,.frame-130 .russ3,.frame-131 .russ3,.frame-132 .russ3,.frame-129 .div3{height:auto!important;width:100%!important;min-height:0;font-size:14px;line-height:1.4;}
 .div2{font-size:20px;}
 .frame-128 .demo-video,.frame-129 .demo-video,.frame-130 .demo-video,.frame-131 .demo-video,.frame-132 .demo-video{width:100%!important;height:auto!important;max-height:300px;aspect-ratio:16 / 8.5;object-fit:cover;}
 .video-toggle{opacity:1;right:23px;bottom:23px;}
 .frame-133{order:11!important;margin:65px auto 24px!important;align-items:center;}
 .frame-135{order:12!important}.frame-136{order:13!important}
 .frame-135,.frame-136{height:295px!important;max-width:540px!important;margin:0 auto 16px!important;padding:22px!important;border-radius:16px;}
 .mac-with-apple-silicon,.mac-with-intel{font-size:45px!important;}
 .frame-137{order:14!important;margin:62px 0 16px!important;}
 .frame-1382{order:15!important;margin-bottom:20px!important;}
 .frame-139{order:16!important;margin-bottom:24px!important;}
 .title3{order:17!important;margin-bottom:8px!important;}.title4{order:18!important;margin-bottom:8px!important;}.title5{order:19!important;}
 .tier-grid{grid-template-columns:1fr}.tier{min-height:0}.pricing-dialog{padding:44px 20px 20px}.pricing-dialog h2{font-size:26px;}.overlay{align-items:flex-start;}
}

@media (max-width:1100px){.frame-135 .frame-1283,.frame-136 .frame-1283,.frame-135 .frame-1262,.frame-136 .frame-1263,.frame-135 .frame-1242,.frame-136 .frame-1242{max-width:100%!important;width:auto!important;}.frame-135 .frame-124,.frame-136 .frame-124{max-width:100%!important;width:auto!important;}.frame-135 .m-1-m-2-or-newer-most-macs-from-2020-onward,.frame-136 .macs-from-2019-or-earlier{height:auto!important;}}

/* v2: exact PNG backgrounds supplied by designer, corresponding to original Figma dimensions. */
.frame-42 {background: url("./assets/фон1.png") center / 100% 100% no-repeat !important; border:0!important; overflow:visible; z-index:20;}
.frame-128,.frame-129,.frame-130,.frame-135,.frame-136 {background: url("./assets/russo-bg-small.png") center / 100% 100% no-repeat !important; border:0!important;}
.frame-131,.frame-132 {background: url("./assets/russo-bg-wide.png") center / 100% 100% no-repeat !important; border:0!important;}
/* The extra v1 action strip is absent from the source Figma design. */
.demo-actions {display:none!important;}
.frame-42 .demo-clear {display:flex;align-items:center;justify-content:center;align-self:flex-end;height:40px;padding:10px 18px;flex-shrink:0;border-radius:8px;cursor:pointer;background:#fafafa;box-shadow:0 1px 2px #00000020,0 0 0 1px #676e7629;}
.frame-42 .demo-clear .button8 {color:#454b52;font-size:14px;}
.frame-42 .demo-clear:disabled {cursor:default;opacity:.65;}
.frame-42 .demo-clear:disabled .button8 {color:#bfc3c8;}
.demo-footer{width:100%;display:flex;align-items:center;gap:8px;min-height:40px;}
.frame-42 .demo-footer .demo-clear{margin-left:auto;}
.demo-tools-button,.demo-suggestion{min-height:40px;border:1px solid #e6e2dc;border-radius:8px;background:#fff;color:#2b2926;font-size:14px;padding:8px 12px;box-shadow:0 1px 2px #0000000d;white-space:nowrap;}
.demo-tools-button:hover,.demo-suggestion:hover{background:#f7f6f3;}
.demo-suggestion{min-width:0;max-width:380px;overflow:hidden;text-overflow:ellipsis;text-align:left;background:#f7f6f3;}
.demo-tools-panel{position:absolute;inset:14px 24px;width:calc(100% - 48px);max-height:calc(100% - 28px);overflow:auto;background:#fff;border:1px solid #ece8e2;border-radius:13px;box-shadow:0 8px 24px #22222220;padding:12px;z-index:30;color:#211f1e;font-size:14px;}
.demo-panel-close{position:absolute;right:9px;top:8px;width:30px;height:30px;border:0;border-radius:50%;background:#f7f6f3;color:#555;font-size:20px;line-height:1;}
.demo-panel-close:hover{background:#e8e5e0;}
.demo-tabs{display:flex;gap:8px;margin-bottom:8px;padding-right:30px;}
.demo-tab{border:1px solid #ece8e2;border-radius:8px;background:#fff;padding:9px 13px;color:#666;}
.demo-tab.is-active{background:#211f1e;color:#fff;border-color:#211f1e;}
.demo-rule-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.demo-rule-form label{display:grid;gap:4px;color:#6b6966;font-size:13px;}
.demo-rule-form input{width:100%;min-width:0;border:1px solid #e6e2dc;border-radius:8px;padding:8px;color:#211f1e;background:#f7f6f3;font:inherit;}
.demo-rule-form button{grid-column:1/-1;border:0;border-radius:8px;background:#211f1e;color:#fff;padding:8px 12px;font-weight:600;}
.demo-rule-form button:hover{background:#444;}
.demo-panel-status{min-height:15px;margin:5px 0;color:#6b6966;font-size:13px;}
.demo-panel-help{color:#777;margin:0 0 10px;line-height:1.4;}
.demo-list{list-style:none;padding:0;margin:6px 0 0;max-height:155px;overflow:auto;border:1px solid #efebe6;border-radius:9px;}
.demo-list li{display:flex;align-items:center;gap:8px;min-height:39px;padding:5px 9px;border-bottom:1px solid #f0ede9;}
.demo-list li:last-child{border-bottom:0;}
.demo-list li span,.demo-history-text{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.demo-list li button{border:0;background:transparent;color:#777;padding:4px 7px;}
.demo-list li button:hover{background:#f7f6f3;color:#211f1e;border-radius:6px;}
.demo-list .demo-empty{color:#aaa;justify-content:center;}
.demo-history-text{text-align:left;color:#211f1e!important;}
.demo-pin{font-size:20px;line-height:1;}
.demo-clear-history{display:block;margin:11px 0 0 auto;color:#666;background:#f7f6f3;border:0;border-radius:8px;padding:9px 12px;}
.sr-only {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
@media (max-width:1100px) {
 .frame-42 {gap:13px!important;}
 .frame-42 .demo-clear {width:auto!important;align-self:flex-end!important;margin:0!important;}
 .frame-42 .demo-footer{flex-wrap:wrap;}
 .frame-42 .demo-suggestion{order:3;max-width:100%;width:100%;}
 .frame-42 .demo-tools-panel{position:relative;inset:auto;width:100%;max-height:360px;}
}

/* v5 corrections from designer feedback */
.russ-logo{display:inline-block; white-space:nowrap; letter-spacing:-0.02em;}
.russ-span{display:inline; text-decoration:underline; text-underline-offset:2px; text-decoration-thickness:1.2px;}

.frame-135 .frame-1242,
.frame-136 .frame-1242{position:relative; width:100%;}
.apple-card-logo{position:absolute; top:3px; right:0; width:58px; height:58px; object-fit:contain; opacity:.23;}
.frame-135 .mac-with-apple-silicon,
.frame-136 .mac-with-intel{max-width:300px; white-space:normal;}

/* Exact pricing modal based on supplied mockup */
.pricing-dialog{width:640px; padding:21px 18px 24px; border-radius:22px; background:#ffffff; box-shadow:0 18px 60px rgba(0,0,0,.18);} 
.pricing-dialog h2{font-size:17px; line-height:1.2; letter-spacing:-0.02em; margin:0 0 18px 0; font-weight:700;}
.modal-kicker{font-size:15px; line-height:1.2; color:#d2c7b7; margin:0 0 12px 0; font-weight:500;}
.pricing-mock-grid{display:grid; grid-template-columns:1fr 1fr; gap:30px; align-items:stretch;}
.pricing-card{border-radius:16px; min-height:413px; padding:18px 18px 16px; display:flex; flex-direction:column;}
.pricing-free{background:#f5f4f1; color:#111;}
.pricing-pro{background:url('./assets/pro-card-bg.png') center/cover no-repeat, #0b0b0b; color:#fff;}
.pricing-label{font-size:16px; line-height:1.2; font-weight:700; margin-bottom:4px;}
.pricing-sub{font-size:15px; line-height:1.2; color:#bebebe; margin-bottom:16px;}
.pro-sub{color:#7c7c7c;}
.pricing-price{font-size:22px; line-height:1.2; letter-spacing:-0.02em; font-weight:700; margin-bottom:26px;}
.pro-price{color:#fff;}
.pricing-features{display:grid; gap:14px;}
.pricing-feature{display:grid; grid-template-columns:34px 1fr; gap:12px; align-items:start;}
.pricing-icon-wrap{width:34px;height:34px;border-radius:10px; display:grid; place-items:center; flex:0 0 auto; box-shadow:0 0 0 1px rgba(122,122,122,.15) inset;}
.free-icon-wrap{background:#fffdf9;}
.pro-icon-wrap{background:rgba(75,75,75,.84);}
.pricing-icon{width:24px; height:24px; object-fit:contain;}
.pricing-feature-text{font-size:15px; line-height:1.3; color:#808080; letter-spacing:-0.01em;}
.pro-ft{color:#fff;}
.pricing-card-btn{margin-top:auto; width:100%; height:43px; border-radius:10px; font-size:15px; font-weight:600; letter-spacing:-0.01em;}
.free-btn{background:#fffdf9; color:#7f7f7f; box-shadow:0 1px 2px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.08) inset;}
.pro-btn{background:#fffdf9; color:#111; box-shadow:0 0 18px rgba(255,255,255,.45);}
#pricingOverlay .close-modal{top:14px; right:14px; width:24px; height:24px; background:#efefef; color:#8b8b8b; font-size:20px;}

/* align feature descriptions to supplied text sizes */
.frame-128 .russ3, .frame-129 .div3, .frame-130 .russ3, .frame-131 .russ3, .frame-132 .russ3{font-size:16px; line-height:120%; letter-spacing:0; color:#111;}
.frame-128 .div2, .frame-129 .div2, .frame-130 .div2, .frame-131 .div2, .frame-132 .div2{font-size:22px; line-height:120%; letter-spacing:-0.02em; font-weight:600;}

@media (max-width:1100px){
  .pricing-dialog{width:min(640px,100%); padding:18px 14px 16px;}
  .pricing-mock-grid{grid-template-columns:1fr; gap:16px;}
  .pricing-card{min-height:0;}
  .apple-card-logo{width:44px; height:44px;}
}

/* Waitlist — reuse the original Russó download modal and typography. */
.download-dialog #waitlistForm{display:grid;gap:14px;}
#waitlistEmail{width:100%;height:48px;border:1px solid #e6e3df;background:#f5f4f1;border-radius:10px;padding:0 14px;font:inherit;color:#141414;}
#waitlistEmail::placeholder{color:#888;}
#waitlistEmail:focus-visible,#waitlistConsent:focus-visible,.waitlist-consent a:focus-visible,.waitlist-privacy:focus-visible,.legal-link:focus-visible{outline:2px solid #ed632c;outline-offset:3px;}
.waitlist-consent{display:flex;align-items:flex-start;gap:10px;color:#636363;font-size:13px;line-height:1.45;}
#waitlistConsent{appearance:auto;-webkit-appearance:checkbox;accent-color:#141414;flex:0 0 17px;width:17px;height:17px;margin-top:2px;cursor:pointer;}
.waitlist-consent a,.waitlist-privacy{color:#333;text-decoration:underline;text-underline-offset:2px;}
.waitlist-submit{width:100%;background:#141414;color:#fff;min-height:46px;border-radius:10px;font-size:15px;font-weight:600;padding:12px 14px;}
.waitlist-submit:hover:not(:disabled){background:#373737;}.waitlist-submit:disabled{background:#e8e6e3;color:#86827d;cursor:not-allowed;}
.waitlist-status{font-size:13px;color:#a33b27;line-height:1.45;}.waitlist-status:empty{display:none;}
.waitlist-privacy{font-size:12px;text-align:center;}.waitlist-check{display:grid;place-items:center;background:#f5f4f1;width:44px;height:44px;border-radius:50%;font-size:24px;margin-top:18px;}
.legal-link:hover{text-decoration:underline;text-underline-offset:3px;}
@media(max-width:600px){#downloadOverlay{align-items:center;}.download-dialog{padding:36px 22px 24px;}.download-dialog h2{font-size:25px;}}

/* V7: native mail links, unchanged original geometry. */
.contact-link,.title5.legal-link{cursor:pointer;text-decoration:none;}
.contact-link:hover,.title5.legal-link:hover{text-decoration:underline;text-underline-offset:3px;}
