/* Preserve the preferred live hero: name, role, large portrait, lime circle. */
.legacy-home .hero-live-upgrade { --live-art-height: clamp(460px,39vw,560px); padding: 126px 0 28px; min-height: 0; background: var(--bg); }
.legacy-home .hero-live-upgrade .premium-hero-inner { display: block; min-height: 0; }
.legacy-home .hero-live-upgrade .premium-hero-copy { width: 100%; max-width: 1160px; padding: 0; margin: 0 auto; background: none; text-align: center; }
.legacy-home .hero-live-upgrade .premium-kicker { justify-content: center; gap: 10px; margin: 0 0 18px; font: 500 10px/1.6 'DM Mono',monospace; letter-spacing: .11em; color: var(--olive); }
.legacy-home .hero-live-upgrade .premium-kicker > span { width: 7px; height: 7px; background: var(--olive); box-shadow: 0 0 0 5px var(--icon-bg); }
.legacy-home .hero-live-upgrade .premium-title { font: 800 clamp(42px,5.3vw,82px)/1.12 Manrope,sans-serif; letter-spacing: -.055em; margin: 0; max-width: none; color: var(--ink); text-wrap: balance; }
.legacy-home .hero-live-upgrade .premium-title em { display: inline; font-family: 'Playfair Display',serif; font-style: italic; font-weight: 700; font-size: inherit; color: var(--olive); letter-spacing: -.045em; margin-inline-start: .03em; }
.legacy-home .hero-live-upgrade .premium-role { font: 650 clamp(21px,2vw,28px)/1.4 Manrope,sans-serif; letter-spacing: -.03em; margin: 12px 0 0; color: var(--ink); }
.legacy-home .hero-live-upgrade .premium-sub { max-width: 840px; font-size: 17px; line-height: 1.75; text-wrap: balance; color: var(--muted); margin: 17px auto 0; padding: 0; }
.legacy-home .hero-live-upgrade .premium-sub strong { color: var(--ink); font-weight: 600; }
.legacy-home .hero-live-upgrade .hero-capabilities { gap: 8px; margin: 20px auto 0; }
.legacy-home .hero-live-upgrade .hero-capabilities a { display: inline-flex; align-items: center; min-height: 35px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 10px; line-height: 1.6; font-weight: 600; transition: border-color .2s,background .2s; }
.legacy-home .hero-live-upgrade .hero-capabilities a:hover { border-color: var(--olive); background: var(--surface); }
.legacy-home .hero-live-upgrade .premium-stage { position: relative; width: 100%; max-width: 1120px; margin: 26px auto 0; min-height: 0; height: auto; }
.live-hero-art { position: relative; isolation: isolate; height: var(--live-art-height); }
.legacy-home .hero-live-upgrade .premium-person { z-index: 4; top: auto; bottom: 0; height: calc(var(--live-art-height) - 8px); width: calc(var(--live-art-height) * .8); left: 50%; transform: translateX(-50%); }
.legacy-home .hero-live-upgrade .premium-person img { width: auto; height: 100%; max-height: 100%; object-fit: contain; }
.legacy-home .hero-live-upgrade .premium-disc { z-index: 1; width: calc(var(--live-art-height) * .96); height: calc(var(--live-art-height) * .96); bottom: 0; left: 50%; transform: translateX(-50%); background: radial-gradient(circle at 37% 28%,#e0ff9f 0%,#c8ff5a 65%,#b7ed45 100%); box-shadow: 0 25px 70px #9bb74915; }
.legacy-home .hero-live-upgrade .premium-word { z-index: 0; top: 57px; left: 50%; font-size: clamp(150px,18vw,275px); color: var(--ink); opacity: .045; }
.legacy-home .hero-live-upgrade .real-logo { z-index: 10; width: 57px; height: 57px; padding: 8px; border-radius: 17px; background: #FFFDF8; border: 1px solid #D8D1C3; box-shadow: 0 12px 30px #1818150a; animation: live-logo-float 8s ease-in-out infinite; }
.legacy-home .hero-live-upgrade .logo-meta { left: 15%; top: 22%; transform: rotate(-7deg); }
.legacy-home .hero-live-upgrade .logo-linkedin { right: 20%; top: 26%; transform: rotate(7deg); animation-delay: -3s; }
.legacy-home .hero-live-upgrade .logo-reddit { left: 9%; top: 62%; transform: rotate(6deg); animation-delay: -5s; }
.legacy-home .hero-live-upgrade .logo-x { right: 5%; top: 59%; transform: rotate(-5deg); animation-delay: -1s; }
.legacy-home .hero-live-upgrade .logo-google { right: 20%; top: auto; bottom: 25px; transform: rotate(7deg); animation-delay: -4s; }
.live-star { position: absolute; z-index: 2; width: 32px; height: 32px; top: 18px; left: 26%; color: var(--growth-orange); transform: rotate(12deg); }
.legacy-home .hero-live-upgrade .hero-proof-grid { display: contents; }
.legacy-home .hero-live-upgrade .premium-proof { position: absolute; z-index: 12; display: flex; flex-direction: column; gap: 7px; width: 180px; min-width: 0; padding: 15px 16px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); box-shadow: none; backdrop-filter: none; transition: border-color .2s; text-align: start; }
.legacy-home .hero-live-upgrade .premium-proof:hover { border-color: var(--olive); }
.legacy-home .hero-live-upgrade .premium-proof strong { font: 800 31px/1.05 Manrope,sans-serif; letter-spacing: -.05em; color: var(--ink)!important; }
.legacy-home .hero-live-upgrade .premium-proof > span { font: 400 10px/1.6 Inter,sans-serif; color: var(--muted)!important; }
.legacy-home .hero-live-upgrade .premium-proof .live-arrow { position: absolute; top: 18px; right: 14px; width: 13px; height: 13px; color: var(--olive); }
.legacy-home .hero-live-upgrade .proof-spend { left: 0; right: auto; top: auto; bottom: 28px; }
.legacy-home .hero-live-upgrade .proof-installs { right: 0; left: auto; top: auto; bottom: 28px; }
.legacy-home .hero-live-upgrade .proof-years { right: 0; left: auto; top: 64px; bottom: auto; }
.legacy-home .hero-live-upgrade .premium-hero-footer { display: flex; flex-direction: row; align-items: center; justify-content: space-between; max-width: 1120px; gap: 30px; margin: 0 auto; padding: 22px 0 0; min-height: 0; border-top: 1px solid var(--line); background: var(--bg); }
.legacy-home .hero-live-upgrade .premium-statement { max-width: 450px; }
.legacy-home .hero-live-upgrade .premium-statement .mono { color: var(--olive); font: 400 9px/1.8 'DM Mono',monospace; letter-spacing: .06em; }
.legacy-home .hero-live-upgrade .premium-statement strong { font: 600 16px/1.5 Manrope,sans-serif; color: var(--ink); letter-spacing: -.015em; }
.legacy-home .hero-live-upgrade .premium-socials { display: flex; margin-top: 12px; gap: 8px; }
.legacy-home .hero-live-upgrade .premium-socials a { background: var(--paper); color: var(--ink); border-color: var(--line); min-height: 32px; font-size: 10px; }
.legacy-home .hero-live-upgrade .social-dot { background: var(--growth-orange); }
.legacy-home .hero-live-upgrade .premium-actions { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.legacy-home .hero-live-upgrade .premium-actions .btn { min-height: 49px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 17px; gap: 13px; font-size: 12px; line-height: 1.6; }
.legacy-home .hero-live-upgrade .premium-actions .btn-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); padding-inline-end: 8px; }
.legacy-home .hero-live-upgrade .premium-actions .btn-light { background: var(--paper); color: var(--ink); }
.live-arrow { width: 16px; height: 16px; flex-shrink: 0; }
.live-cta-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--growth-orange); color: #181815; }
.hero-live-upgrade a:focus-visible { outline: 3px solid var(--olive); outline-offset: 5px; }
:root[data-theme=dark] .legacy-home .hero-live-upgrade .premium-hero-copy { background: none; }
:root[data-theme=dark] .legacy-home .hero-live-upgrade .premium-proof { background: var(--bg); box-shadow: none; border-top: 1px solid var(--line); border-radius: 0; }
:root[data-theme=dark] .legacy-home .hero-live-upgrade .premium-actions .btn-dark { background: var(--growth-lime); color: #181815; border-color: var(--growth-lime); }
html[lang=ar] .hero-live-upgrade .premium-title,html[lang=ar] .hero-live-upgrade .premium-title em,html[lang=ar] .hero-live-upgrade .premium-role { font-family: 'Noto Sans Arabic',sans-serif; font-style: normal; letter-spacing: 0; line-height: 1.55; }
html[lang=ar] .legacy-home .hero-live-upgrade .premium-title { font-size: clamp(38px,4.3vw,64px); }
html[lang=ar] .hero-live-upgrade .premium-kicker,html[lang=ar] .hero-live-upgrade .premium-statement .mono { font-family: 'Noto Sans Arabic',sans-serif; letter-spacing: 0; }
html[lang=ar] .hero-live-upgrade .live-hero-art { direction: ltr; }
html[lang=ar] .hero-live-upgrade .premium-proof .live-arrow { right: auto; left: 14px; }
html[lang=ar] .hero-live-upgrade .proof-years strong { font-family: 'Noto Sans Arabic',sans-serif; font-size: 25px; letter-spacing: 0; }
@keyframes live-logo-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@media(max-width:1000px) {
 .legacy-home .hero-live-upgrade { --live-art-height: 470px; padding-top: 118px; }
 .legacy-home .hero-live-upgrade .premium-proof { width: 152px; padding: 14px; }
 .legacy-home .hero-live-upgrade .premium-proof strong { font-size: 27px; }
 .legacy-home .hero-live-upgrade .proof-years { top: 15px; }
 .legacy-home .hero-live-upgrade .logo-meta { left: 9%; }
 .legacy-home .hero-live-upgrade .logo-linkedin { right: 11%; top: 30%; }
 .legacy-home .hero-live-upgrade .logo-reddit { left: 3%; top: 62%; }
 .legacy-home .hero-live-upgrade .logo-x { right: 3%; top: 60%; }
 .legacy-home .hero-live-upgrade .logo-google { right: 11%; top: 44%; bottom: auto; }
 .legacy-home .hero-live-upgrade .premium-hero-footer { gap: 24px; }
 .legacy-home .hero-live-upgrade .premium-statement strong { font-size: 14px; }
}
@media(max-width:680px) {
 .legacy-home .hero-live-upgrade { --live-art-height: clamp(330px,94vw,425px); padding: 110px 0 25px; }
 .legacy-home .hero-live-upgrade .premium-kicker { font-size: 8px; letter-spacing: .07em; margin-bottom: 15px; }
 .legacy-home .hero-live-upgrade .premium-title { font-size: clamp(35px,8.7vw,51px); line-height: 1.16; }
 .legacy-home .hero-live-upgrade .premium-title em { display: block; margin-inline-start: 0; }
 .legacy-home .hero-live-upgrade .premium-role { font-size: clamp(18px,4.6vw,23px); line-height: 1.5; margin-top: 12px; }
 .legacy-home .hero-live-upgrade .premium-sub { font-size: 14px; line-height: 1.8; margin-top: 14px; max-width: 440px; }
 .legacy-home .hero-live-upgrade .hero-capabilities { gap: 6px; margin-top: 17px; }
 .legacy-home .hero-live-upgrade .hero-capabilities a { min-height: 31px; font-size: 9px; padding: 6px 9px; }
 .legacy-home .hero-live-upgrade .premium-stage { margin-top: 22px; max-width: 480px; }
 .legacy-home .hero-live-upgrade .premium-disc { width: calc(var(--live-art-height) * .87); height: calc(var(--live-art-height) * .87); }
 .legacy-home .hero-live-upgrade .premium-person { width: calc(var(--live-art-height) * .79); height: calc(var(--live-art-height) - 7px); }
 .legacy-home .hero-live-upgrade .premium-word { font-size: clamp(78px,20vw,132px); top: 45px; opacity: .06; }
 .legacy-home .hero-live-upgrade .real-logo { width: 39px; height: 39px; padding: 6px; border-radius: 12px; }
 .legacy-home .hero-live-upgrade .logo-meta { left: 3%; top: 24%; }
 .legacy-home .hero-live-upgrade .logo-linkedin { right: 3%; top: 27%; }
 .legacy-home .hero-live-upgrade .logo-reddit { left: 0; top: 61%; }
 .legacy-home .hero-live-upgrade .logo-x { right: 0; top: 62%; }
 .legacy-home .hero-live-upgrade .logo-google { right: 0; top: auto; bottom: 9px; }
 .live-star { width: 24px; height: 24px; left: 12%; top: 10px; }
 .legacy-home .hero-live-upgrade .hero-proof-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; position: relative; margin: 14px 0 0; }
 .legacy-home .hero-live-upgrade .premium-proof { position: relative; inset: auto!important; width: auto; align-items: center; text-align: center; padding: 12px 5px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; gap: 6px; }
 .legacy-home .hero-live-upgrade .premium-proof strong { font-size: clamp(20px,5.5vw,26px); white-space: nowrap; }
 .legacy-home .hero-live-upgrade .premium-proof > span { font-size: 9px; line-height: 1.6; text-wrap: balance; }
 .legacy-home .hero-live-upgrade .premium-proof .live-arrow { display: none; }
 .legacy-home .hero-live-upgrade .premium-hero-footer { flex-direction: column; align-items: center; text-align: center; gap: 22px; margin-top: 20px; padding-top: 22px; }
 .legacy-home .hero-live-upgrade .premium-socials,.legacy-home .hero-live-upgrade .premium-actions { justify-content: center; }
 .legacy-home .hero-live-upgrade .premium-actions .btn { min-height: 47px; font-size: 11px; padding: 7px 14px; gap: 9px; }
 .legacy-home .hero-live-upgrade .premium-actions .btn-dark { padding-inline-end: 7px; }
 :root[data-theme=dark] .legacy-home .hero-live-upgrade .premium-proof { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; }
 html[lang=ar] .legacy-home .hero-live-upgrade .premium-title { font-size: clamp(31px,7.7vw,43px); line-height: 1.6; }
 html[lang=ar] .legacy-home .hero-live-upgrade .proof-years strong { font-size: 18px; }
}
@media(prefers-reduced-motion:reduce) { .legacy-home .hero-live-upgrade .real-logo { animation: none; } .legacy-home .hero-live-upgrade a { transition: none; } }

/* Fit the restored composition to the first screen. The selector deliberately
   beats restore.css's older 885px minimum without changing the hero markup.
   Copy and footer keep their intrinsic height; the portrait gets what remains. */
.legacy-home .hero-premium.hero-v11.hero-live-upgrade {
 height: 100vh;
 height: 100svh;
 min-height: 0;
 padding: 110px 0 16px;
 overflow: visible;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-hero-inner {
 height: 100%; min-height: 0;
 display: flex; flex-direction: column; gap: 10px;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-hero-copy {
 flex: 0 0 auto; padding: 0; background: none;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-kicker {
 font-size: 9px; line-height: 1.4; margin-bottom: 10px;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-title {
 font-size: clamp(36px,min(5.2vw,7svh),72px); line-height: 1.1;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-role {
 font-size: clamp(18px,min(2vw,2.8svh),25px);
 line-height: 1.35; margin-top: 6px;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-sub {
 max-width: 1000px; font-size: 15px; line-height: 1.5; margin-top: 8px;
}
.legacy-home .hero-v11.hero-live-upgrade .hero-capabilities {
 /* Reset the global nav shell around these existing service pills. */
 width: auto; max-width: 100%; padding: 0; margin: 10px auto 0;
 display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
 background: none; border: 0; border-radius: 0; box-shadow: none;
 backdrop-filter: none;
}
.legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a {
 min-height: 29px; padding: 5px 10px; font-size: 9px; line-height: 1.5;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-stage {
 flex: 1 1 0; display: flex; flex-direction: column;
 height: auto; min-height: 0; width: 100%; margin: 0 auto;
}
.legacy-home .hero-v11.hero-live-upgrade .live-hero-art {
 flex: 1 1 0; height: auto; min-height: 0;
 /* Absolute artwork sizes follow this measured flex area, not viewport width. */
 container-type: size;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-person {
 height: calc(100% - 4px); width: 80%; max-width: none;
 bottom: 0; top: auto;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-person img {
 width: auto; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-disc {
 width: min(94cqh,86cqw); height: min(94cqh,86cqw); bottom: 0;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-word {
 font-size: min(18vw,58cqh,275px); top: 13%;
}
.legacy-home .hero-v11.hero-live-upgrade .real-logo {
 width: clamp(38px,5.8svh,54px); height: clamp(38px,5.8svh,54px);
 padding: 7px; border-radius: 15px;
}
.legacy-home .hero-v11.hero-live-upgrade .live-star {
 width: 26px; height: 26px; top: 4px;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-proof {
 width: 166px; padding: 11px 13px; gap: 5px;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-proof strong { font-size: 28px; }
.legacy-home .hero-v11.hero-live-upgrade .proof-spend,
.legacy-home .hero-v11.hero-live-upgrade .proof-installs { bottom: 10px; }
.legacy-home .hero-v11.hero-live-upgrade .proof-years { top: 12px; }
.legacy-home .hero-v11.hero-live-upgrade .premium-hero-footer {
 flex: 0 0 auto; width: 100%; min-height: 0;
 flex-direction: row; text-align: start; gap: 20px;
 margin: 0 auto; padding-top: 10px;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-statement {
 max-width: 420px; min-width: 0;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-statement .mono {
 font-size: 9px; line-height: 1.4; margin-bottom: 2px;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-statement strong {
 font-size: 13px; line-height: 1.4;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-socials {
 margin-top: 5px; gap: 6px;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-socials a {
 min-height: 26px; padding: 4px 10px; font-size: 9px; line-height: 1.4;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-actions {
 flex-wrap: nowrap; justify-content: flex-end;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-actions .btn {
 min-height: 45px; padding: 6px 14px; font-size: 11px; line-height: 1.4;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-actions .btn-dark { padding-inline-end: 7px; }
.legacy-home .hero-v11.hero-live-upgrade .live-cta-icon { width: 30px; height: 30px; }
html[lang=ar] .legacy-home .hero-v11.hero-live-upgrade .premium-title {
 font-size: clamp(30px,min(4vw,5.7svh),56px); line-height: 1.4;
}
html[lang=ar] .legacy-home .hero-v11.hero-live-upgrade .premium-role { line-height: 1.45; }

@media(max-width:1000px) and (min-width:681px) {
 .legacy-home .hero-v11.hero-live-upgrade .premium-title { font-size: clamp(32px,5.2vw,50px); }
 .legacy-home .hero-v11.hero-live-upgrade .premium-sub { max-width: 740px; font-size: 14px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-proof { width: 145px; padding: 9px 11px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-proof strong { font-size: 25px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-statement strong { font-size: 12px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-actions .btn { font-size: 10px; padding-inline-start: 10px; gap: 9px; }
}
@media(max-height:750px) and (min-width:681px) {
 .legacy-home .hero-premium.hero-v11.hero-live-upgrade { padding-top: 104px; padding-bottom: 12px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-hero-inner { gap: 8px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-kicker { margin-bottom: 6px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-title { font-size: clamp(32px,min(5vw,6.6svh),52px); }
 .legacy-home .hero-v11.hero-live-upgrade .premium-role { font-size: 18px; margin-top: 4px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-sub { font-size: 14px; margin-top: 6px; }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities { margin-top: 8px; }
 html[lang=ar] .legacy-home .hero-v11.hero-live-upgrade .premium-title { font-size: clamp(29px,min(4vw,5.4svh),42px); }
}
@media(max-width:680px) {
 .legacy-home .hero-premium.hero-v11.hero-live-upgrade { padding: 94px 0 12px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-hero-inner { gap: 8px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-kicker { font-size: 8px; margin-bottom: 6px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-title { font-size: clamp(27px,min(8.2vw,4.5svh),42px); line-height: 1.12; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-role { font-size: 15px; line-height: 1.35; margin-top: 5px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-sub { font-size: 12px; line-height: 1.5; margin-top: 6px; max-width: 430px; }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities { margin-top: 8px; gap: 4px; }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a { min-height: 24px; padding: 4px 7px; font-size: 8px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-stage { max-width: 480px; margin: 0 auto; }
 .legacy-home .hero-v11.hero-live-upgrade .real-logo { width: 32px; height: 32px; padding: 5px; border-radius: 10px; }
 .legacy-home .hero-v11.hero-live-upgrade .logo-meta { left: 9%; top: 12%; }
 .legacy-home .hero-v11.hero-live-upgrade .logo-linkedin { right: 9%; top: 12%; }
 .legacy-home .hero-v11.hero-live-upgrade .logo-reddit { left: 0; top: 52%; }
 .legacy-home .hero-v11.hero-live-upgrade .logo-x { right: 0; top: 52%; }
 .legacy-home .hero-v11.hero-live-upgrade .logo-google { right: 20%; top: auto; bottom: 2px; }
 .legacy-home .hero-v11.hero-live-upgrade .live-star { width: 19px; height: 19px; top: 0; left: 23%; }
 .legacy-home .hero-v11.hero-live-upgrade .hero-proof-grid { flex: 0 0 auto; margin-top: 6px; gap: 6px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-proof { width: auto; padding: 6px 4px; gap: 3px; border-radius: 10px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-proof strong { font-size: 21px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-proof > span { font-size: 9px; line-height: 1.4; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-hero-footer {
  display: flex; flex-direction: column-reverse; padding-top: 8px; gap: 6px; text-align: start;
 }
 .legacy-home .hero-v11.hero-live-upgrade .premium-actions { width: min(100%,430px); justify-content: center; gap: 8px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-actions .btn {
  flex: 1 1 0; min-width: 0; min-height: 44px;
  padding: 5px 10px; gap: 7px; font-size: 10px; line-height: 1.35;
  white-space: normal; text-align: center;
 }
 .legacy-home .hero-v11.hero-live-upgrade .premium-actions .btn-dark { padding-inline-end: 5px; }
 .legacy-home .hero-v11.hero-live-upgrade .live-cta-icon { width: 27px; height: 27px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-statement {
  width: 100%; max-width: 430px; display: grid;
  grid-template-columns: minmax(0,1fr) auto; gap: 2px 8px; align-items: center;
 }
 .legacy-home .hero-v11.hero-live-upgrade .premium-statement .mono { grid-column: 1; font-size: 8px; margin: 0; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-statement strong { grid-column: 1; font-size: 10px; line-height: 1.4; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-socials { grid-column: 2; grid-row: 1 / 3; margin: 0; gap: 5px; }
 /* Icon-only social controls keep the existing link names in the accessibility
    tree. The full labels are also available in the normal site footer. */
 .legacy-home .hero-v11.hero-live-upgrade .premium-socials a { display: grid; place-items: center; width: 28px; height: 28px; min-height: 28px; padding: 0; font-size: 0; border-radius: 50%; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-socials .social-dot { display: none; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-socials a::before { content: ''; width: 15px; height: 15px; background: var(--ink); mask-size: contain; mask-position: center; mask-repeat: no-repeat; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-socials a[href*='instagram']::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='17' cy='7' r='1'/%3E%3C/svg%3E"); }
 .legacy-home .hero-v11.hero-live-upgrade .premium-socials a[href*='linkedin']::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M7 10v7M7 7v.1M11 17v-7m0 3c0-4 6-4 6 0v4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
 html[lang=ar] .legacy-home .hero-v11.hero-live-upgrade .premium-title { font-size: clamp(25px,min(7.2vw,4svh),36px); line-height: 1.4; }
 html[lang=ar] .legacy-home .hero-v11.hero-live-upgrade .proof-years strong { font-size: 17px; }
}
@media(max-width:680px) and (max-height:650px) {
 .legacy-home .hero-premium.hero-v11.hero-live-upgrade { padding-top: 90px; padding-bottom: 10px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-hero-inner { gap: 6px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-kicker { margin-bottom: 4px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-title { font-size: 27px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-role { font-size: 14px; margin-top: 4px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-sub { font-size: 11px; line-height: 1.45; margin-top: 4px; }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities { margin-top: 6px; }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a { min-height: 22px; padding: 3px 6px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-statement strong { font-size: 9px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-proof strong { font-size: 20px; }
 html[lang=ar] .legacy-home .hero-v11.hero-live-upgrade .premium-title { font-size: 25px; }
}
/* Extremely short windows and high zoom may grow rather than clip text. */
@media(min-width:681px) and (max-height:499px), (max-width:680px) and (max-height:479px) {
 .legacy-home .hero-premium.hero-v11.hero-live-upgrade { height: auto; min-height: 100svh; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-hero-inner { height: auto; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-stage { flex: none; height: 320px; }
}
@media(max-width:680px) and (max-height:479px) {
 .legacy-home .hero-v11.hero-live-upgrade .premium-stage { height: 220px; }
}

/* Editorial detail pass on the approved composition. Decorative layers stay
   out of normal flow; the viewport, text metrics and artwork sizing stay intact. */
.legacy-home .hero-v11.hero-live-upgrade .premium-kicker::before,
.legacy-home .hero-v11.hero-live-upgrade .premium-kicker::after {
 content: ''; flex: 0 0 26px; height: 1px;
 background: var(--olive); opacity: .3;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-kicker > span {
 background: var(--growth-orange);
 box-shadow: 0 0 0 4px #ff6b3518;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-title em { position: relative; }
.legacy-home .hero-v11.hero-live-upgrade .premium-title em::after {
 content: ''; position: absolute; inset-inline-start: 17%; bottom: -.03em;
 width: 66%; height: .12em; border-bottom: 2px solid var(--growth-orange);
 border-radius: 50%; transform: rotate(-1.2deg); opacity: .85;
 pointer-events: none;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-disc {
 background:
  radial-gradient(circle,#3857190c .7px,transparent .9px) 0 0 / 8px 8px,
  radial-gradient(circle at 37% 28%,#e0ff9f 0%,#c8ff5a 65%,#b7ed45 100%);
 box-shadow: 0 18px 40px #61763b10;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-disc::before {
 content: ''; position: absolute; inset: -8px;
 border: 1px solid var(--line); border-radius: 50%; pointer-events: none;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-disc::after {
 content: ''; position: absolute; left: -12%; top: 29%;
 width: 124%; height: 42%; border: 1px solid var(--ink); border-radius: 50%;
 opacity: .16; transform: rotate(-14deg); pointer-events: none;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-person img {
 filter: saturate(.97) contrast(1.015) drop-shadow(0 7px 12px #23331314);
}
.legacy-home .hero-v11.hero-live-upgrade .premium-word {
 color: transparent; -webkit-text-stroke: 1px var(--line); opacity: .65;
}
.legacy-home .hero-v11.hero-live-upgrade .real-logo {
 border-color: #d8d1c3;
 box-shadow: 0 6px 18px #1818150b,0 1px 0 #ffffff inset;
}
.legacy-home .hero-v11.hero-live-upgrade .live-star {
 animation: live-star-detail 24s linear infinite;
}
.legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a:first-child {
 background: var(--icon-bg); border-color: var(--olive); color: var(--olive);
}
.legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a:nth-child(3) {
 background: var(--paper);
 background: color-mix(in srgb,var(--growth-orange) 10%,var(--paper));
}
.legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a:hover {
 border-color: var(--olive); color: var(--olive);
}
.legacy-home .hero-v11.hero-live-upgrade .premium-proof::before {
 content: ''; position: absolute; top: -1px; inset-inline-start: 13px;
 width: 32px; height: 3px; border-radius: 99px; background: var(--growth-lime);
 pointer-events: none;
}
.legacy-home .hero-v11.hero-live-upgrade .proof-installs::before { background: var(--growth-orange); }
.legacy-home .hero-v11.hero-live-upgrade .proof-years::before { background: var(--growth-lavender); }
.legacy-home .hero-v11.hero-live-upgrade .premium-proof .live-arrow {
 top: 12px; right: 12px; width: 26px; height: 26px; padding: 5px;
 border: 1px solid var(--line); border-radius: 50%; background: var(--paper);
 transition: background .2s ease,border-color .2s ease;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-proof:hover .live-arrow {
 background: var(--icon-bg); border-color: var(--olive);
}
.legacy-home .hero-v11.hero-live-upgrade .premium-hero-footer::before {
 content: ''; position: absolute; top: -1px; inset-inline-start: 0;
 width: 76px; height: 2px;
 background: linear-gradient(90deg,var(--growth-lime) 0 65%,var(--growth-orange) 65% 100%);
 pointer-events: none;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-actions .btn-dark {
 box-shadow: 0 3px 0 var(--growth-orange);
}
.legacy-home .hero-v11.hero-live-upgrade .live-cta-icon {
 transition: transform .2s ease;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-actions .btn-dark:hover .live-cta-icon {
 transform: rotate(8deg);
}
.legacy-home .hero-v11.hero-live-upgrade .premium-actions .btn-light:hover {
 border-color: var(--olive); background: var(--icon-bg);
}
html[lang=ar] .legacy-home .hero-v11.hero-live-upgrade .premium-proof .live-arrow {
 right: auto; left: 12px;
}
html[dir=rtl] .legacy-home .hero-v11.hero-live-upgrade .premium-title em::after { transform: rotate(1.2deg); }
html[dir=rtl] .legacy-home .hero-v11.hero-live-upgrade .premium-hero-footer::before {
 background: linear-gradient(270deg,var(--growth-lime) 0 65%,var(--growth-orange) 65% 100%);
}
/* The longer Arabic year label needs room beside its circular arrow. */
@media(min-width:681px) {
 html[lang=ar] .legacy-home .hero-v11.hero-live-upgrade .proof-years strong { font-size: 23px; }
}
@media(min-width:681px) and (max-width:1000px) {
 html[lang=ar] .legacy-home .hero-v11.hero-live-upgrade .proof-years strong { font-size: 19px; }
}

/* Icons enter only when all five existing service pills fit on one line. */
@media(min-width:1001px) {
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a { gap: 6px; }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a::before {
  content: ''; width: 13px; height: 13px; flex-shrink: 0; background: currentColor;
  mask-size: contain; mask-position: center; mask-repeat: no-repeat;
 }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a:nth-child(1)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17 10 11l4 3 6-9M14 5h6v6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a:nth-child(2)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/g%3E%3C/svg%3E");
 }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a:nth-child(3)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 3 6 18 3-7 7-3L4 3Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a:nth-child(4)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3v17h17M8 16v-5m5 5V7m5 9V4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 }
 .legacy-home .hero-v11.hero-live-upgrade .hero-capabilities a:nth-child(5)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 8a8 8 0 0 1 14-2l2 2M21 3v5h-5M19 16a8 8 0 0 1-14 2l-2-2M3 21v-5h5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 }
}
@media(max-width:680px) {
 .legacy-home .hero-v11.hero-live-upgrade .premium-kicker::before,
 .legacy-home .hero-v11.hero-live-upgrade .premium-kicker::after { flex-basis: 12px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-disc::before { inset: -5px; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-disc::after {
  left: -5%; top: 27.5%; width: 110%; height: 45%; transform: rotate(-12deg);
 }
 .legacy-home .hero-v11.hero-live-upgrade .premium-proof::before {
  inset-inline-start: 50%; transform: translateX(-50%); top: -1px; width: 23px; height: 2px;
 }
 .legacy-home .hero-v11.hero-live-upgrade .premium-person img { filter: saturate(.97) contrast(1.015); }
 html[dir=rtl] .legacy-home .hero-v11.hero-live-upgrade .premium-proof::before { transform: translateX(50%); }
}
@keyframes live-star-detail { from { transform: rotate(12deg); } to { transform: rotate(372deg); } }
@media(prefers-reduced-motion:reduce) {
 .legacy-home .hero-v11.hero-live-upgrade .live-star { animation: none; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-proof .live-arrow,
 .legacy-home .hero-v11.hero-live-upgrade .live-cta-icon { transition: none; }
 .legacy-home .hero-v11.hero-live-upgrade .premium-actions .btn-dark:hover .live-cta-icon { transform: none; }
}

/* Useful detail, same approved first-screen composition. Nothing new enters
   the height calculation. The original portrait and type sizes are preserved. */
.legacy-home .hero-premium.hero-v11.hero-live-upgrade {
 background:
  radial-gradient(ellipse at 12% 55%,#ff6b3506,transparent 38%),
  radial-gradient(ellipse at 88% 55%,#c9c1ff0b,transparent 38%),var(--bg);
}
.legacy-home .hero-v11.hero-live-upgrade .premium-sub .hero-industry-link {
 color: inherit; font: inherit; text-decoration: underline;
 text-decoration-color: var(--line); text-decoration-thickness: 1px;
 text-underline-offset: 3px; transition: text-decoration-color .2s;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-sub .hero-industry-link:hover {
 text-decoration-color: var(--growth-orange);
}
.legacy-home .hero-v11.hero-live-upgrade .hero-work-note { display: none; }
.legacy-home .hero-v11.hero-live-upgrade .premium-hero-footer { position: relative; }
.legacy-home .hero-v11.hero-live-upgrade .premium-proof {
 transition: border-color .2s,background .2s;
}
.legacy-home .hero-v11.hero-live-upgrade .premium-proof:hover {
 background: var(--paper);
}
/* Notes and logo captions appear only when the existing artwork has room. */
@container (min-width:1000px) and (min-height:320px) {
 .legacy-home .hero-v11.hero-live-upgrade .hero-work-note {
  position: absolute; display: grid; gap: 9px; z-index: 11;
  left: 0; top: 8%; width: 148px; color: var(--ink); text-align: start;
 }
 .hero-work-note .hero-note-label {
  color: var(--olive); font: 500 8px/1.5 'DM Mono',monospace; letter-spacing: .09em;
 }
 .hero-work-note > strong {
  font: 700 15px/1.45 Manrope,sans-serif; letter-spacing: -.025em;
 }
 .hero-work-note .hero-note-link {
  display: flex; align-items: center; gap: 7px; width: fit-content;
  color: var(--muted); font: 500 9px/1.5 Inter,sans-serif;
 }
 .hero-note-link svg { width: 12px; height: 12px; color: var(--olive); }
 .hero-note-sketch { width: 103px; height: 30px; color: var(--growth-orange); margin-top: -4px; }
 .hero-work-note:hover .hero-note-link { color: var(--ink); }
 .legacy-home .hero-v11.hero-live-upgrade .real-logo::after {
  content: attr(title); position: absolute; left: 50%; top: calc(100% + 7px);
  transform: translateX(-50%); color: var(--muted); white-space: nowrap;
  font: 500 8px/1.4 Inter,sans-serif; letter-spacing: .015em;
 }
 html[lang=ar] .hero-work-note { direction: rtl; }
 html[lang=ar] .hero-work-note > strong,
 html[lang=ar] .hero-work-note .hero-note-label { font-family: 'Noto Sans Arabic',sans-serif; letter-spacing: 0; }
}
@media(prefers-reduced-motion:reduce) {
 .legacy-home .hero-v11.hero-live-upgrade .premium-sub .hero-industry-link,
 .legacy-home .hero-v11.hero-live-upgrade .premium-proof { transition: none; }
}
