/* Interactive screen recreations follow the layouts in Laura's supplied Monzo and Habito Figma files. */
.mg-prototypes{padding-top:72px}
.mg-prototypes>h2{font-size:clamp(30px,4vw,50px);line-height:1.08;letter-spacing:-.04em;margin:18px 0 22px;max-width:18ch}
.mg-proto-intro{font-size:16px;line-height:1.65;color:#605969;max-width:70ch;margin:0 0 28px}
.mg-proto-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.mg-proto-tabs button{border:1px solid #c9c2cf;background:#fff;border-radius:999px;padding:11px 16px;min-height:44px;color:#493f52;font:500 13px/1.25 'DM Sans',sans-serif;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.mg-proto-tabs button[aria-selected=true]{background:#49365e;border-color:#49365e;color:#fff}
.mg-proto-tabs button:focus-visible,.mg-proto-step:focus-visible,.mg-phone button:focus-visible,.mg-audience-options button:focus-visible{outline:3px solid #2599ad;outline-offset:3px}
.mg-proto-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.86fr);gap:30px;align-items:center;background:#e9eee9;border-radius:24px;padding:30px;min-height:690px}
.mg-proto-copy{max-width:470px}
.mg-proto-status{display:inline-block;background:#fff;color:#4c6756;border-radius:999px;padding:9px 12px;font:10px/1.4 var(--font-mono);text-transform:uppercase;letter-spacing:.025em}
.mg-proto-copy h3{font-size:clamp(27px,3.4vw,40px);line-height:1.12;letter-spacing:-.035em;margin:22px 0 14px;max-width:14ch}
.mg-proto-copy>p{color:#605969;font-size:16px;line-height:1.6;max-width:47ch;margin:0}
.mg-proto-controls{display:none!important}
.mg-phone-wrap{display:grid;justify-items:center;gap:14px;width:100%}
.mg-phone{position:relative;width:min(100%,350px);aspect-ratio:402/874;overflow:hidden;border:1px solid rgba(116,119,117,.44);border-radius:48px;background:#f1f8f3;box-shadow:0 18px 46px rgba(38,43,39,.12);color:#091723;font-family:'DM Sans',Arial,sans-serif;container-type:inline-size}
.mg-phone::before{content:none}
.mg-phone-screen{position:relative;height:100%;display:flex;flex-direction:column;overflow:hidden;background:#f1f8f3;border-radius:inherit}
.mg-f-status{height:8.2%;min-height:34px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 13.5%;font-size:clamp(10px,3.3cqw,14px);font-weight:700;color:#071723}
.mg-f-status span:last-child{letter-spacing:1px}
.mg-f-toolbar{height:7.1%;min-height:36px;flex:none;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;padding:0 4%;color:#0b1b28}
.mg-f-toolbar>strong{text-align:center;font-size:clamp(10px,3.6cqw,15px);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mg-f-back{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#0c1d28;font:28px/1 Arial,sans-serif;box-shadow:0 4px 15px #0d222312;cursor:pointer}
.mg-f-toolbar-right{width:38px}
.mg-f-scroll{position:relative;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:2% 4% 6%}
.mg-f-scroll::-webkit-scrollbar{display:none}
.mg-f-fixed{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:12px 7% 6%;background:linear-gradient(transparent 0,#f1f8f3 18%)}
.mg-f-primary{width:100%;min-height:48px;border:0;border-radius:999px;background:#009bbc;color:white;font:600 14px 'DM Sans',Arial,sans-serif;cursor:pointer}
.mg-f-page-heading{padding:4% 4% 5%}
.mg-f-pill{display:inline-block;padding:5px 12px;border-radius:999px;background:#e3ece8;color:#0c1b24;font-size:11px;font-weight:600}
.mg-f-title-line{display:flex;justify-content:space-between;align-items:center;margin-top:13px}
.mg-f-title-line h3{font-size:clamp(22px,6.1cqw,26px);line-height:1.15;margin:0;font-weight:700;letter-spacing:-.03em}
.mg-f-house{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#29afbd;color:#b5fff0;font-size:32px}
.mg-f-card{background:white;border-radius:22px;padding:16px;margin:0 0 12px;color:#0a1c28}
.mg-f-card strong{font-size:12px;line-height:1.35}
.mg-f-card p{font-size:11px;line-height:1.45;color:#697984;margin:8px 0 10px}
.mg-f-reminder{position:relative;min-height:108px;padding:14px 16px;overflow:hidden}
.mg-f-reminder>strong{display:block;max-width:78%}
.mg-f-reminder p{max-width:72%;margin:6px 0 9px}
.mg-f-link,.mg-f-inline-link{border:0;background:transparent;color:#009dbb;font:600 11px 'DM Sans',Arial,sans-serif;cursor:pointer;padding:0}
.mg-f-art{position:absolute;right:14px;top:36px;width:74px;height:58px;display:grid;place-items:center;color:#08a8b8;font-size:44px;transform:rotate(-12deg)}
.mg-f-step-card{padding:16px 14px 10px}
.mg-f-step-card>strong{display:block;margin:0 0 11px}
.mg-f-steps{display:flex;flex-direction:column}
.mg-f-step{display:grid;grid-template-columns:28px 1fr;gap:10px;min-height:44px;align-items:start;position:relative}
.mg-f-node{position:relative;z-index:1;display:grid;place-items:center;width:19px;height:19px;margin:2px 0 0 2px;border-radius:50%;background:#071923;color:#fff;font:700 12px/1 Arial,sans-serif}
.mg-f-node.has-line:after{content:"";position:absolute;z-index:-1;top:18px;left:8px;height:30px;border-left:2px solid #0c2431}
.mg-f-step-copy{font-size:11.5px;line-height:1.35;padding:1px 0 12px}
.mg-f-step-copy small{display:block;color:#687985;font-size:10px;margin-top:2px}
.mg-f-deal{padding:14px 12px 10px}
.mg-f-deal>strong{display:block;margin:0 0 11px}
.mg-f-deal-row{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:9px 0;border-top:1px solid #edf0f0;border-bottom:1px solid #edf0f0;font-size:11px}
.mg-f-deal-row small{display:block;color:#72808a;font-size:10px;margin-top:2px}
.mg-f-deal-row>b{font-size:18px;font-weight:500}
.mg-f-deal>small{display:block;color:#78858c;font-size:9px;line-height:1.4;margin:7px 2px 0}
.mg-f-bank-icon,.mg-f-benefit-icon,.mg-f-expert-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#13a6c1;color:#fff;font-size:17px}
.mg-f-list-button{display:flex;align-items:center;gap:10px;width:100%;min-height:43px;border:0;border-radius:999px;background:#fff;padding:0 13px;margin:0 0 9px;text-align:left;font:12px 'DM Sans',Arial,sans-serif;color:#0b1b27}
.mg-f-list-button>b{margin-left:auto;color:#b2bcc1;font-size:22px;font-weight:400}
.mg-f-list-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#029abb;color:#fff;font-weight:700}
.mg-f-list-icon.is-red{background:#f20f1d}
.mg-f-overlay{position:absolute;z-index:8;inset:0;display:flex;align-items:flex-end;justify-content:center;background:#06172266;padding-top:14%}
.mg-f-sheet{position:relative;width:100%;max-height:83%;overflow-y:auto;border-radius:24px 24px 0 0;background:#f8fbf8;padding:30px 15px 20px;color:#091723;box-shadow:0 -8px 30px #05121b22}
.mg-f-sheet h4{font-size:14px;margin:0 0 14px}
.mg-f-close{position:absolute;top:10px;right:14px;width:32px;height:32px;border:0;border-radius:50%;background:#fff;font-size:24px;line-height:1;cursor:pointer}
.mg-f-overlay .mg-f-steps{background:#fff;border-radius:20px;padding:16px 12px 8px}
.mg-f-overlay .mg-f-step{min-height:48px;grid-template-columns:26px 1fr;gap:10px}
.mg-f-overlay .mg-f-node{width:20px;height:20px;background:transparent;border:2px solid #b4bdc2;color:#ff791f}
.mg-f-overlay .mg-f-step:first-child .mg-f-node{border-color:#ff791f}
.mg-f-overlay .mg-f-node.has-line:after{border-left:2px dashed #b6bec2;top:18px;height:34px}
.mg-f-overlay .mg-f-step-copy{font-size:13px;padding:0 0 11px}
.mg-f-overlay .mg-f-step-copy small{font-size:11px}
.mg-f-illustration{height:27%;min-height:130px;display:flex;align-items:center;justify-content:center;gap:0;color:#00a2c1;font-size:68px}
.mg-f-illustration span{transform:rotate(-8deg)}
.mg-f-illustration i{font-style:normal;color:#f26522;margin:22px 0 0 -16px;font-size:46px}
.mg-f-next{padding:18px 16px 16px}
.mg-f-action-line{display:flex;justify-content:space-between;align-items:center;color:#ed8b0a;font-size:13px}
.mg-f-progress-track{height:7px;border-radius:99px;background:#eef0f0;margin:18px 0 16px}
.mg-f-progress-track i{display:block;width:50%;height:100%;border-radius:inherit;background:#ff8900}
.mg-f-card hr{border:0;border-top:1px solid #edf0f0;margin:0 0 16px}
.mg-f-next h3{font-size:18px;line-height:1.3;margin:0 0 5px;letter-spacing:-.02em}
.mg-f-next p{font-size:14px;margin:0 0 18px}
.mg-f-expert{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:14px}
.mg-f-expert-mark{width:32px;height:32px;background:#f53445;font-weight:700}
.mg-f-expert>span:nth-child(2){font-size:12px}
.mg-f-expert small{display:block;font-size:10px;color:#74828a;margin-top:3px}
.mg-f-expert>button{border:0;border-radius:999px;background:#f2f5f5;color:#009dbb;padding:8px 11px;font-weight:600;cursor:pointer}
.mg-f-under-card{margin:0 0 12px 16px!important;font-size:11px!important}
.mg-f-offer{padding:16px 14px 12px}
.mg-f-green-tag{display:inline-flex;background:#eef8f1;color:#0aa657;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:600}
.mg-f-offer-main{display:flex;align-items:center;gap:14px;margin:18px 0 4px}
.mg-f-bank-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#51206f;color:#ff3c68;font-size:26px}
.mg-f-offer-main>strong{font-size:24px;line-height:1}
.mg-f-offer-main>strong small{font-size:13px;font-weight:400}
.mg-f-offer>p{font-size:10px;margin:0 0 12px}
.mg-f-rate-row{display:grid;grid-template-columns:1fr 1fr 24px;gap:8px;align-items:center;padding-top:12px;border-top:1px solid #eef0f1;font-size:10px;color:#6f7b81}
.mg-f-rate-row span b{display:block;color:#16232d;font-size:14px;margin-top:3px}
.mg-f-info{width:18px;height:18px;border:0;border-radius:50%;background:#009bbc;color:#fff;font-size:12px}
.mg-f-benefit{padding:14px 14px 4px}
.mg-f-benefit>strong,.mg-f-research>strong{display:block;margin-bottom:10px}
.mg-f-benefit-row{display:flex;align-items:center;gap:9px;width:100%;min-height:48px;text-align:left;border:0;border-top:1px solid #edf0f0;background:#fff;color:#0a1b27;font:12px 'DM Sans',Arial,sans-serif;padding:8px 0;cursor:pointer}
.mg-f-benefit-row>b{margin-left:auto;color:#00b463;font-size:14px;white-space:nowrap}
.mg-f-benefit-icon{flex:none;background:#00c760;color:#fff}
.mg-f-benefit-icon.is-blue{background:#029bbc}
.mg-f-reasons{padding:14px 14px 5px}
.mg-f-expert-head{display:grid;grid-template-columns:42px 1fr;gap:8px;align-items:center;padding-bottom:10px;border-bottom:1px solid #e8eeee}
.mg-f-expert-head .mg-f-expert-mark{width:34px;height:34px}
.mg-f-expert-head small,.mg-f-expert-head b{display:block;font-size:10px;line-height:1.3}
.mg-f-expert-head small{color:#77848b}
.mg-f-expert-head b{font-size:12px;font-weight:500;color:#0a1b27}
.mg-f-reason{display:flex;gap:10px;align-items:center;min-height:47px;padding:8px 3px;border-bottom:1px solid #edf0f0;font-size:12px}
.mg-f-reason:last-child{border:0}
.mg-f-reason i{display:grid;place-items:center;flex:none;width:18px;height:18px;border-radius:50%;background:#0c1c27;color:#fff;font-style:normal;font-size:11px}
.mg-f-research{padding:14px 14px 4px}
.mg-f-research .mg-f-benefit-row>span:nth-child(2){flex:1}
.mg-f-research .mg-f-benefit-row small{display:block;color:#8a969d;font-size:9px;line-height:1.3;margin-top:2px}
.mg-f-cost-row{display:flex;justify-content:space-between;padding:14px 0;border-top:1px solid #edf0f0;font-size:13px}
.mg-f-chat-phone{display:flex;flex-direction:column;padding:0 4% 3%;background:#fff}
.mg-f-chat-device-toolbar{position:absolute;top:8.7%;left:4%;z-index:3}
.mg-f-chat-head{display:flex;align-items:center;justify-content:center;gap:8px;height:14%;padding:0 42px 0 8px;text-align:center;border-bottom:1px solid #f4f4f4}
.mg-f-chat-head>span:last-child{display:block}
.mg-f-chat-head b{display:block;font-size:13px}
.mg-f-chat-head small{display:block;color:#7a858a;font-size:10px;margin-top:2px}
.mg-f-avatar{display:none}
.mg-f-chat-history{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:6% 2% 3%;scrollbar-width:none}
.mg-f-chat-bubble{max-width:88%;padding:11px 12px;border-radius:17px;background:#f0f7f2;color:#10202c;font-size:12.5px;line-height:1.35}
.mg-f-chat-bubble.is-agent{align-self:flex-start}
.mg-f-chat-bubble.is-customer{align-self:flex-end;background:#007c90;color:#fff}
.mg-f-chat-bubble .mg-f-primary{margin-top:14px;min-height:44px}
.mg-f-composer{display:grid;grid-template-columns:1fr 36px 36px;gap:3px;align-items:center;min-height:62px;margin-bottom:4px;padding:0 8px;border-radius:16px;background:#f0f7f2}
.mg-f-composer input{min-width:0;border:0;outline:0;background:transparent;color:#0a1c27;font:14px 'DM Sans',Arial,sans-serif}
.mg-f-plus,.mg-f-send{border:0;background:transparent;color:#008ba9;font-size:20px;cursor:pointer}
.mg-f-keyboard{flex:none;height:31%;margin:0 -4.5% -3%;padding:8px 4px 4px;background:#d3d9e1;color:#0b1720;text-align:center;font-size:12px}
.mg-f-keyboard>div:first-child{display:flex;justify-content:space-around;height:22px}
.mg-f-keys{display:flex;flex-wrap:wrap;justify-content:center;gap:3px 4px;padding-top:5px}
.mg-f-keys i{display:grid;place-items:center;min-width:7.7%;height:29px;border-radius:4px;background:#fff;box-shadow:0 1px 0 #9ca6b2;font-style:normal;font-size:14px}
.mg-f-space{display:flex;justify-content:space-around;margin-top:7px;font-size:10px}
.mg-f-space span{background:#fff;border-radius:5px;padding:4px 20%}
.mg-f-ready-art{height:17%;display:grid;place-items:center;color:#00aac0;font-size:64px}
.mg-f-ready-title{font-size:23px;line-height:1.18;margin:1% 4% 6%;letter-spacing:-.03em}
.mg-f-readiness{min-height:90px;padding:16px;margin-bottom:12px}
.mg-f-readiness>strong{display:block;margin-bottom:18px}
.mg-f-readiness-row{display:flex;align-items:center;gap:12px;font-size:13px}
.mg-f-readiness-row>i{display:grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;background:#102431;color:#fff;font-style:normal;font-size:12px}
.mg-f-readiness-row small{display:block;color:#77858d;font-size:10px;margin-top:2px}
.mg-f-timeline-title{font-size:22px;line-height:1.2;margin:3% 4% 9%;letter-spacing:-.025em}
.mg-f-app-timeline{padding:16px 13px 9px}
.mg-f-app-timeline>strong{display:block;padding-bottom:12px}
.mg-f-app-timeline>strong span{color:#71808a;font-weight:500}
.mg-f-app-steps{position:relative;padding:0 3px 0 5px}
.mg-f-app-steps:before{content:"";position:absolute;top:14px;bottom:16px;left:15px;border-left:2px dashed #adb8be}
.mg-f-app-step{position:relative;display:grid;grid-template-columns:28px 1fr;gap:12px;min-height:43px;align-items:start;padding:4px 0 6px;font-size:12px;line-height:1.35}
.mg-f-app-step>i{position:relative;z-index:1;width:20px;height:20px;border:2px solid #adb8be;border-radius:50%;background:#fff}
.mg-f-app-step small{display:block;color:#76838b;font-size:10px;margin-top:2px}
.mg-f-expand{position:relative;margin:1px 0 8px 40px;border:0;border-radius:999px;background:#f1f3f3;color:#009bb7;padding:7px 12px;font:600 11px 'DM Sans',Arial,sans-serif;cursor:pointer}
.mg-f-secure{display:flex;align-items:center;gap:12px;margin:15px 4%;padding:12px 14px;border-radius:22px;background:#e4ede8;font-size:10px;line-height:1.4}
.mg-f-secure b{font-size:20px;color:#687c80}
.mg-f-profile-mark{position:absolute;top:-28px;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;border:4px solid #f1f8f3;background:#d8f3ed;color:#ef83c5;font-size:18px}
.mg-f-progress-pills{display:flex;gap:3px;width:60%;height:9px;margin:10px 0 12px}
.mg-f-progress-pills i{flex:1;border-radius:20px;background:#00cf93}
.mg-f-progress-pills i:last-child{background:#d3f1df}
.mg-f-journey-tiles{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding-bottom:2px}
.mg-f-journey-tiles button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;flex:none;width:31%;min-height:112px;border:0;border-radius:14px;background:#f0f7f2;padding:10px;text-align:left;color:#10202a}
.mg-f-journey-tiles button>span{height:48px;align-self:center;font-size:34px}
.mg-f-journey-tiles button>b{font-size:10px;white-space:nowrap}
.mg-f-journey-tiles button>i{width:100%;height:6px;margin-top:8px;border-radius:9px;background:#08c95c}
.mg-f-journey-tiles button:nth-child(2)>i,.mg-f-journey-tiles button:nth-child(3)>i{background:#d9e6df}
.mg-f-adviser-card{position:relative;min-height:130px;padding:16px;overflow:hidden}
.mg-f-adviser-card>strong{display:block;font-size:14px}
.mg-f-adviser-card p{max-width:65%;font-size:12px;margin:8px 0 10px}
.mg-f-adviser-card>button{border:0;border-radius:999px;background:#f1f3f3;color:#00a2bd;padding:8px 12px;font-weight:600}
.mg-f-adviser-card .mg-f-avatar{display:grid;position:absolute;right:14px;bottom:13px;width:70px;height:70px;border-radius:50%;background:#f3ded5;color:#ba806b;font-size:26px}
.mg-f-education{padding:14px 12px}
.mg-f-education>strong{display:block;margin-bottom:12px}
.mg-f-education>div{display:flex;gap:8px;overflow:auto;scrollbar-width:none}
.mg-f-education button{display:flex;flex-direction:column;justify-content:space-between;gap:8px;flex:none;width:42%;min-height:112px;border:0;border-radius:14px;background:#f0f7f2;padding:11px;text-align:left;color:#687780;font:10px/1.35 'DM Sans',Arial,sans-serif}
.mg-f-education button span{font-size:32px;color:#00889f}
.mg-proto-phone-caption{font:10px/1.5 var(--font-mono);color:#68736e;text-align:center}
@media(max-width:760px){.mg-prototypes{padding-top:48px}.mg-proto-panel{grid-template-columns:1fr;gap:24px;padding:20px;min-height:0}.mg-proto-copy h3{font-size:30px}.mg-phone{width:min(100%,360px)}.mg-proto-tabs{gap:6px}.mg-proto-tabs button{font-size:11px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.mg-proto-tabs button{transition:none}}

/* The prototype uses the actual exported Figma frames; only personal and financial details are masked. */
.mg-proto-screen{display:grid;justify-items:center;width:100%;min-width:0}
.mg-phone.mg-phone-figma{width:min(100%,350px);height:auto;aspect-ratio:auto;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;container-type:inline-size}
.mg-figma-image{display:block;width:100%;height:auto;border-radius:0}
.mg-figma-cover{position:absolute;z-index:2;left:var(--x);top:var(--y);width:var(--w);height:var(--h);display:flex;align-items:center;overflow:hidden;padding:0 1%;background:var(--cover);color:#0a1c28;font:500 clamp(7px,2.8cqw,11px)/1.15 'DM Sans',Arial,sans-serif;white-space:nowrap}
.mg-figma-deal-redaction{left:8%;top:69%;width:84%;height:3.5%;padding:0 0;display:grid;grid-template-columns:1fr auto;grid-template-rows:1fr 1fr;background:#fff}
.mg-figma-deal-redaction b{font-size:clamp(8px,3cqw,12px);font-weight:500;align-self:end;padding-left:16%}
.mg-figma-deal-redaction small{grid-column:1;align-self:start;padding-left:16%;color:#72808a;font-size:clamp(6px,2.4cqw,9px)}
.mg-figma-deal-redaction strong{grid-column:2;grid-row:1/3;align-self:center;padding-right:9%;font-size:clamp(13px,5cqw,19px);font-weight:500}
.mg-figma-bank-redaction{left:8%;top:16.7%;width:12.2%;height:4.3%;justify-content:center;padding:0;border-radius:11px;background:#e5f5f0;color:#008da7;font-weight:700}
.mg-figma-adviser-redaction{left:7.5%;top:44.7%;width:78%;height:6%;gap:4%;background:#fff;white-space:normal}
.mg-figma-adviser-redaction b{display:grid;place-items:center;flex:none;width:12cqw;height:12cqw;max-width:34px;max-height:34px;border-radius:50%;background:#e5f5f0;color:#008da7;font-size:12px}
.mg-figma-adviser-redaction span{font-size:clamp(8px,3cqw,12px)}
.mg-figma-chat-avatar{left:4%;top:20.5%;width:6%;height:2.7%;border-radius:50%;background:#e3f1ec}
.mg-figma-spot{position:absolute;z-index:3;left:var(--x);top:var(--y);width:var(--w);height:var(--h);padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer}
.mg-figma-spot:focus-visible{outline:3px solid #009bbc;outline-offset:2px;background:#009bbc22}
.mg-phone-figma:has(.mg-figma-spot:hover) .mg-figma-spot:hover{background:#009bbc14}
