/* Version 3: original visual design, limited content and alignment adjustments. */
/* Decorative overlines are removed in HTML, so their margins disappear as well. */
.hero-copy{padding-top:0}
.portrait-scene{height:620px}
.portrait-placeholder{height:470px;bottom:136px}
.portrait-caption{position:absolute;bottom:36px;left:12%;right:12%;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:20px;border-top:1px solid var(--color-border)}
.portrait-caption strong{font-size:24px;line-height:32px;font-weight:700;letter-spacing:-.6px}
.portrait-caption>span{font-size:16px;line-height:24px;margin-top:4px;color:var(--color-text-primary)}
.portrait-caption small{font-size:14px;line-height:20px;margin-top:8px;color:var(--color-text-secondary)}
.chip-code{bottom:174px}
.chip-strategy{top:150px}
/* Service icon and title share a row. Two lines of text equal the icon height. */
.service-heading{display:flex;align-items:center;gap:16px;width:100%;margin-bottom:24px}
.service-heading .service-icon{width:56px;height:56px;flex:0 0 56px;margin:0}
.service-heading h3{font-size:22px;line-height:28px;min-width:0;margin:0;letter-spacing:-.5px}
.service-card{display:flex;flex-direction:column;align-items:start}
/* Solution titles follow the same rule at a smaller component size. */
.solution{display:block}
.solution-heading{display:flex;align-items:center;gap:16px;margin-bottom:12px}
.solution-heading .solution-icon{width:40px;height:40px;flex:0 0 40px}
.solution-heading h3{font-size:16px;line-height:20px;letter-spacing:0;min-width:0;margin:0}
.solution p{margin:0;font-size:14px;line-height:24px}
.floating-chip{align-items:center}
.floating-chip svg{width:40px;height:40px;flex:0 0 40px}
.floating-chip .code-symbol{width:40px;line-height:40px;text-align:center;flex:0 0 40px}
.floating-chip>span:not(.code-symbol){line-height:20px}
.folder-items>div{align-items:center;line-height:20px;min-height:60px}
.folder-icon{flex-shrink:0}
@media(min-width:1600px){.portrait-scene{height:680px}.portrait-placeholder{height:530px;bottom:136px}}
@media(max-width:1200px){
 .portrait-scene{height:600px}.portrait-placeholder{height:450px;bottom:136px}
 .portrait-caption{left:8%;right:8%;bottom:32px}.portrait-caption strong{font-size:22px;line-height:28px}
 .service-heading{gap:12px}.service-heading h3{font-size:20px;line-height:28px}
 .chip-strategy{top:130px}.chip-code{bottom:178px}
 .floating-chip svg{width:36px;height:36px;flex-basis:36px}.floating-chip .code-symbol{width:36px;line-height:40px;flex-basis:36px}
}
@media(max-width:900px){
 .portrait-scene{height:550px}.portrait-placeholder{height:400px;bottom:136px}
 .portrait-caption{left:5%;right:5%;bottom:32px;padding-top:16px}.portrait-caption strong{font-size:20px;line-height:28px}.portrait-caption>span{font-size:14px;line-height:20px}.portrait-caption small{font-size:12px;line-height:20px}
 .service-heading h3{font-size:20px;line-height:28px}
 .chip-strategy{top:120px}.chip-code{bottom:174px}
}
@media(max-width:700px){
 .hero{padding-top:32px}
 .hero-copy h1{margin-top:0}
 .portrait-scene{height:480px;max-width:440px}
 .portrait-placeholder{height:354px;bottom:116px;inset-inline:10%}
 .portrait-caption{bottom:4px;left:12%;right:12%;padding-top:16px}
 .portrait-caption strong{font-size:24px;line-height:32px}.portrait-caption>span{font-size:16px;line-height:24px}.portrait-caption small{font-size:14px;line-height:20px;margin-top:4px}
 .scene-caption{display:none}
 .chip-code{bottom:162px}.chip-strategy{top:96px}
 .orb-one{top:40px}.orb-two{bottom:154px}
 .portrait-halo{inset:24px 16px 112px}
 .service-heading{gap:16px;margin-bottom:20px}
 .service-heading h3{font-size:20px;line-height:28px}
 .service-heading .service-icon{width:56px;height:56px;flex-basis:56px}
 .solution-heading{gap:12px}.solution-heading h3{font-size:16px;line-height:20px}
 .solution-heading .solution-icon{width:40px;height:40px;flex-basis:40px}.solution-heading svg{width:24px;height:24px}
 .floating-chip svg{width:32px;height:40px;flex-basis:32px}.floating-chip .code-symbol{width:32px;line-height:40px;flex-basis:32px}
 .folder-items>div{line-height:20px}
}
.portrait-halo{bottom:136px}
@media(max-width:700px){.portrait-halo{bottom:112px}}
@media(max-width:380px){
 .solution{padding-inline:12px}
 .solution-heading{gap:10px}
 .solution-heading h3{font-size:14px;line-height:20px}
}

/* Real portrait: frame the visible subject while preserving the supplied PNG. */
.portrait-photo .hero-photo{width:100%;height:100%;display:block;filter:none;overflow:hidden}

/* Extend the opaque header into the top inset used by embedded browsers.
   Absolute painting preserves the header height and the position of its controls. */
.header{background:var(--color-background)}
.header::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:max(200px,env(safe-area-inset-top,0px));background:var(--color-background);pointer-events:none}
