@font-face{font-family:Editorial;src:url('../fonts/SourceSerif4.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url('../fonts/IBMPlexMono-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url('../fonts/IBMPlexMono-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
.merged-home{max-width:1600px;margin:auto;min-height:884px;padding:44px 64px 70px;display:grid;grid-template-columns:minmax(0,440fr) minmax(0,590fr) minmax(0,226fr);gap:28px;align-items:center}
.merged-home .copy{position:relative;z-index:2;padding-bottom:18px}
.merged-home h1{font-family:Editorial,Georgia,serif;font-size:66px;font-weight:400;line-height:1.065;letter-spacing:-.043em;margin:0 0 37px;max-width:440px}
.merged-home h1 span{display:block}
.merged-home p{font-size:20px;line-height:1.48;margin:0;max-width:375px}
.merged-home .scene{height:730px;position:relative;margin:0 2px}
.merged-home .photo{position:absolute;inset:25px 28px 32px 30px;overflow:hidden;border-radius:5px;margin:0}
.merged-home .photo img{width:100%;height:100%;object-fit:cover;object-position:52% center;display:block}
.merged-home .tile{position:absolute;width:166px;height:auto;margin:0;border-radius:14px;overflow:hidden;box-shadow:var(--lift);z-index:1;background:var(--sage);animation:arrive .95s var(--ease) both}
.merged-home .tile img{width:100%;height:auto;display:block}
.merged-home .dictionary{left:-24px;top:-8px;transform:rotate(-7deg);--angle:-7deg}
.merged-home .skills{right:-15px;top:-32px;width:156px;transform:rotate(7deg);--angle:7deg;animation-delay:.08s}
.merged-home .prompt{left:-16px;bottom:0;transform:rotate(-6deg);--angle:-6deg;animation-delay:.16s}
.merged-home .connector{right:-32px;bottom:38px;transform:rotate(8deg);--angle:8deg;animation-delay:.24s}
.merged-home .actions{display:flex;flex-direction:column;gap:17px;align-items:flex-start;padding-left:4px;margin-top:42px;position:relative;z-index:2}
.merged-home .actions a{font-size:17px;display:flex;align-items:center;justify-content:space-between;gap:14px;white-space:nowrap;min-height:54px;transition:background .18s,color .18s,transform .18s}
.merged-home .actions svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.merged-home .primary{background:var(--petrol);color:var(--paper);padding:0 17px;border-radius:7px}
.merged-home .primary:hover{background:var(--ink);transform:translateY(-2px)}
.merged-home .secondary{padding:0 17px;min-width:98px}
.merged-home .secondary:hover{color:var(--teal);transform:translateX(3px)}
@keyframes arrive{from{opacity:.6;translate:0 16px;rotate:2deg}to{opacity:1;translate:0 0;rotate:0deg}}
@media(min-width:1500px){.merged-home h1{font-size:72px}
.merged-home{gap:34px}
.merged-home .scene{height:760px}
.merged-home .tile{width:180px}
}
@media(max-width:1199px) and (min-width:901px){.merged-home{padding-left:40px;padding-right:40px;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:34px;min-height:850px}
.merged-home h1{font-size:59px}
.merged-home .scene{height:670px;grid-column:2;grid-row:1 / span 2}
.merged-home .copy{align-self:end}
.merged-home .actions{grid-column:1;margin:0;align-self:start;padding:0}
.merged-home .tile{width:140px}
.merged-home .skills{width:136px}
.merged-home .connector{right:-12px}
.merged-home .dictionary{left:-15px}
}
@media(max-width:900px){.merged-home{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:50px 36px 56px;min-height:0;align-items:start}
.merged-home .copy{grid-column:1/-1;display:block;padding:0}
.merged-home h1{font-size:58px;margin:0 0 26px;max-width:650px}
.merged-home .lead{font-size:19px;padding-bottom:5px;max-width:600px}
.merged-home .scene{grid-column:1/-1;width:460px;height:620px;margin:6px auto 0}
.merged-home .photo{inset:20px 24px 28px}
.merged-home .tile{width:150px}
.merged-home .skills{width:144px}
.merged-home .dictionary{left:-20px;top:0}
.merged-home .skills{right:-12px;top:-6px}
.merged-home .prompt{left:-20px;bottom:0}
.merged-home .connector{right:-24px;bottom:25px}
.merged-home .actions{grid-column:1/-1;flex-direction:row;justify-content:center;margin:0;padding:0;gap:20px}
}
@media(max-width:560px){.merged-home{display:flex;flex-direction:column;gap:0;padding:31px 24px 42px}
.merged-home .copy{display:block;padding:0;width:100%}
.merged-home h1{font-size:48px;line-height:1.07;letter-spacing:-.04em;margin:0 0 25px;max-width:350px}
.merged-home .lead{font-size:18px;line-height:1.5;max-width:350px;padding:0}
.merged-home .scene{width:100%;height:463px;margin:42px auto 34px}
.merged-home .photo{inset:16px 27px 24px 25px;object-position:center}
.merged-home .tile{width:108px;border-radius:10px}
.merged-home .dictionary{left:0;top:0}
.merged-home .skills{right:0;top:-9px;width:104px}
.merged-home .prompt{left:0;bottom:0}
.merged-home .connector{right:0;bottom:18px}
.merged-home .actions{display:flex;flex-direction:column;align-items:stretch;gap:5px;width:100%;margin:0}
.merged-home .actions a{font-size:18px;min-height:56px}
.merged-home .secondary{justify-content:flex-start!important;gap:23px!important}
.merged-home .primary{padding:0 20px}
}
@media(max-width:350px){.merged-home h1{font-size:42px}
.merged-home{padding-left:20px;padding-right:20px}
.merged-home .scene{height:425px}
.merged-home .tile{width:97px}
.merged-home .skills{width:95px}
}
@media(min-width:901px){.merged-home .skills{top:-56px}
}
@media(min-width:561px) and (max-width:900px){.merged-home .skills{top:-30px}
.merged-home .scene{margin-top:24px}
}
@media(max-width:560px){.merged-home .scene{margin-top:55px}
.merged-home .skills{top:-25px}
.merged-home .photo img{object-position:59% center}
}
@media(prefers-reduced-motion:reduce){}
.merged-home h1 .code-word{font-family:"IBM Plex Mono",monospace;font-size:.94em;font-weight:400;letter-spacing:-.065em;color:var(--code-ink)}
.merged-home h1 .accent-word{display:inline;font-family:Georgia,serif;font-style:italic;color:var(--teal)}
.merged-home .tile{animation:none;overflow:visible;background:none;box-shadow:none}
.merged-home .tile .tile-motion{display:block;overflow:hidden;border-radius:inherit;background:var(--sage);box-shadow:var(--lift);animation:tile-drift var(--duration,10s) ease-in-out var(--phase,0s) infinite}
.merged-home .dictionary{--duration:10.4s;--phase:-2.1s;--dx:1.5px;--dy:-4px;--turn:.35deg}
.merged-home .skills{--duration:11.6s;--phase:-7.3s;--dx:-1.5px;--dy:3.5px;--turn:-.3deg}
.merged-home .prompt{--duration:9.2s;--phase:-4.7s;--dx:1px;--dy:4px;--turn:.3deg}
.merged-home .connector{--duration:10.8s;--phase:-1.4s;--dx:-1.5px;--dy:-3.5px;--turn:-.35deg}
@keyframes tile-drift{0%,100%{transform:translate(0,0) rotate(0deg)}50%{transform:translate(var(--dx),var(--dy)) rotate(var(--turn))}}
.merged-home .scene[data-paused="true"] .tile-motion{animation-play-state:paused}
@media(max-width:900px){.merged-home .scene{margin-bottom:68px}}
.merged-home .motion-toggle{position:absolute;bottom:-60px;left:50%;transform:translateX(-50%);border:0;background:var(--paper);color:var(--ink);padding:8px 12px;z-index:3;cursor:pointer;border-radius:5px;min-height:44px;max-width:100%;white-space:nowrap;font:16px Source,sans-serif}
.merged-home .motion-toggle:focus-visible{outline:3px solid var(--teal);outline-offset:9px}
.merged-home .motion-toggle span{pointer-events:none}
@media(prefers-reduced-motion:reduce){.merged-home .tile .tile-motion{animation:none!important}
.merged-home .motion-toggle{display:none}
}

/* Home-only integration; shared production chrome and page typography remain intact. */
.merged-home{--code-ink:#255b62;--sage:#DCE8E1;--lift:0 18px 38px -16px #142d363e;--ease:cubic-bezier(.16,1,.3,1)}
.merged-home h1{font-synthesis:none;text-wrap:wrap;overflow-wrap:normal}
.merged-home h1 .ai-word{font-weight:400}
.merged-home p{margin-bottom:0}
.merged-home .actions{flex-wrap:nowrap}
.merged-home .actions a{font-weight:400;line-height:1.55;text-decoration:none}
.merged-home .primary{border-radius:16px}


/* v27: slight depth on the moving hero icons only; motion and geometry unchanged. */
.merged-home .tile .tile-motion{filter:drop-shadow(0 3px 5px rgb(20 45 54 / 10%))}

/* v17: leave the artwork clear; reveal the real pause control on keyboard focus. */
.merged-home .motion-toggle.focus-reveal:not(:focus){width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.merged-home .motion-toggle.focus-reveal:focus{width:max-content;height:auto;clip-path:none;outline:3px solid var(--teal);outline-offset:5px;border-radius:16px}
/* Coming-soon concepts only; scoped to Home and independent of App page. */
.planned-workspace{background:var(--ink);color:var(--paper);padding:88px 44px 96px}
.planned-inner{max-width:1232px;margin:auto}
.planned-intro{display:grid;grid-template-columns:1fr 1fr;column-gap:80px;align-items:start;margin-bottom:56px}
.planned-intro h2{font:600 24px/1.3 Source,sans-serif;letter-spacing:0;margin:0 0 24px;grid-column:1/-1}
.planned-statement{font:400 clamp(32px,3.6vw,50px)/1.12 Source,sans-serif;letter-spacing:-.025em;margin:0;max-width:650px}
.planned-summary{font-size:20px;line-height:1.5;margin:0;max-width:410px;align-self:end;color:var(--paper)}
.planned-label{font-size:20px;font-weight:600;margin:0 0 22px}
.planned-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.planned-card{min-width:0;background:var(--petrol);border-radius:20px;overflow:hidden}
.planned-card>img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover}
.planned-card-copy{padding:24px 26px 28px}
.planned-card h4{font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.015em;margin:0 0 12px;color:var(--paper)}
.planned-card p{font-size:18px;line-height:1.45;margin:0;color:var(--paper)}
@media(max-width:1000px){.planned-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.planned-intro{column-gap:36px}.planned-workspace{padding:64px 36px 72px}}
@media(max-width:560px){.planned-workspace{padding:48px 24px 56px}.planned-intro{display:block;margin-bottom:34px}.planned-intro h2{font-size:22px;margin-bottom:24px}.planned-statement{font-size:32px;line-height:1.15}.planned-summary{font-size:18px;margin-top:22px}.planned-grid{grid-template-columns:1fr;gap:24px}.planned-card-copy{padding:22px 24px 26px}.planned-card h4{font-size:24px}.planned-label{margin-bottom:20px}}
@media(max-width:350px){.planned-workspace{padding-left:20px;padding-right:20px}.planned-statement{font-size:28px}.planned-card-copy{padding:20px}.planned-card h4{font-size:23px}}

/* v18: use the App page's original illustration language and approved reverse logo. */
.planned-intro h2{display:flex;align-items:center;flex-wrap:wrap;gap:12px 15px}
.planned-intro .planned-brand{display:block;width:112px;max-width:100%;height:auto}
.planned-card>img{aspect-ratio:16/11;object-fit:contain}
@media(max-width:560px){.planned-intro .planned-brand{width:102px}.planned-intro h2{gap:10px 12px}}

/* v20: separate portrait bubbles overlap the outside edge, never inline text. */
.home-v5-next .home-v7-chat{gap:28px;padding:12px 22px 0}
.home-v5-next .home-v7-chat .home-question{position:relative;width:fit-content;max-width:90%}
.home-v5-next .home-v7-chat .home-question:nth-child(2){align-self:flex-end}
.home-v5-next .home-v7-chat .home-question p{display:block;max-width:100%;padding:20px 24px 16px 32px}
.home-v5-next .home-v7-chat .home-question:nth-child(2) p{padding:20px 32px 16px 24px;background:var(--petrol);color:var(--paper);border-bottom-left-radius:24px;border-bottom-right-radius:7px}
.home-v5-next .home-v7-chat .home-question:nth-child(2) p:before{left:auto;right:-7px;transform:scaleX(-1)}
.home-v5-next .home-v7-chat .home-question:nth-child(3) p{background:#dce7dd}
.home-v5-next .home-v7-chat .home-question-avatar{position:absolute;z-index:1;top:-12px;left:-20px;display:block;width:44px;height:44px;max-width:none;border:3px solid #ecefe8;border-radius:50%;object-fit:cover;box-sizing:border-box}
.home-v5-next .home-v7-chat .home-question:nth-child(2) .home-question-avatar{left:auto;right:-20px}
.home-v5-next .home-business-guidance .home-inline-wordmark{display:inline-block;width:auto;height:.85em;max-width:none;vertical-align:baseline;transform:translateY(7.4182%)}
@media(max-width:480px){.home-v5-next .home-v7-chat{gap:26px;padding:12px 18px 0}.home-v5-next .home-v7-chat .home-question{max-width:94%}.home-v5-next .home-v7-chat .home-question p{padding:18px 18px 14px 28px}.home-v5-next .home-v7-chat .home-question:nth-child(2) p{padding:18px 28px 14px 18px}.home-v5-next .home-v7-chat .home-question-avatar{width:40px;height:40px;left:-18px}.home-v5-next .home-v7-chat .home-question:nth-child(2) .home-question-avatar{right:-18px}}
